SOLVED
Home

Autopilot info hash is time-salted?

%3CLINGO-SUB%20id%3D%22lingo-sub-453780%22%20slang%3D%22en-US%22%3EAutopilot%20info%20hash%20is%20time-salted%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-453780%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CP%3EHey%20folk!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20tried%20to%20collect%20Autopilot%20hash%20information%20from%20my%20device%2C%20and%20while%20it%20collects%20just%20fine%2C%20I%20ran%20into%20quite%20interesting%20issue%20-%20it%20seems%20to%20me%2C%20at%20least%20on%20my%20machine%2C%20that%20Device%20hardware%20Data%20from%20CIM%20class%20is%20somehow%20time-based.%20In%20a%20sense%2C%20it%20gives%20a%20slightly%20different%20hash%20each%20second%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ESee%20here%3A%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%24AutopilotInfo1%20%3D%20(Get-WindowsAutoPilotInfo.ps1).%22Hardware%20Hash%22%3B%3CBR%20%2F%3EStart-Sleep%20-Seconds%202%3B%3CBR%20%2F%3E%24AutopilotInfo2%20%3D%20(Get-WindowsAutoPilotInfo.ps1).%22Hardware%20Hash%22%3B%3CBR%20%2F%3E%24AutopilotInfo1%20-eq%20%24AutopilotInfo2%3B%3CBR%20%2F%3EIf%20I%20remove%20the%20sleep%2C%20I%20get%20the%20equal%20info%2C%20but%20if%20there's%20at%20least%201%20sec%20delay%20-%20hashes%20are%20slightly%20different.%20Is%20it%20pooused%20to%20be%20like%20that%3F%20It's%20not%20really%20a%20definition%20of%20a%20hash%20too...%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-453780%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-455224%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20info%20hash%20is%20time-salted%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-455224%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186680%22%20target%3D%22_blank%22%3E%40Aleksander%20Pawlak%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20representation%20which%20you%20see%20is%20an%20encoded%20xml%20structure%20of%20the%20device%20which%20includes%20also%20a%20dateteime%20value%20and%20a%20special%20hardware%20data%20hash%20(OfflineDeviceId).%20That's%20why%20the%20%22hash%22%20gathered%20with%20the%20powershell%20script%20is%20always%20different%20every%20time%20when%20gathered.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20decode%20the%20information%20you%20can%20use%20the%26nbsp%3B%3CSTRONG%3Eoa3tool.exe%3C%2FSTRONG%3E%20from%20the%20Windows%20ADK%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fget-started%2Fadk-install)%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-hardware%2Fget-started%2Fadk-install)%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eit%20looks%20like%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CHARDWAREREPORT%3E%3C%2FHARDWAREREPORT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CHARDWAREINVENTORY%3E%3C%2FHARDWAREINVENTORY%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BToolVersion%26quot%3B%22%20v%3D%22%26quot%3B3%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BHardwareInventoryVersion%26quot%3B%22%20v%3D%22%26quot%3B131%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BToolBuild%26quot%3B%22%20v%3D%22%26quot%3B10.0.16299.15%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOSType%26quot%3B%22%20v%3D%22%26quot%3BFullOS%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOsCpuArchitecture%26quot%3B%22%20v%3D%22%26quot%3Bx64%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOsBuild%26quot%3B%22%20v%3D%22%26quot%3B10.0.16299.15%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOsSystemTime%26quot%3B%22%20v%3D%22%26quot%3B2017-11-02T15%3A26%3A32Z%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOsLocalTime%26quot%3B%22%20v%3D%22%26quot%3B2017-11-03T21%3A26%3A32%2B30%3A00%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BProcessorModel%26quot%3B%22%20v%3D%22%26quot%3BIntel(R)%22%20core%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BProcessorPackages%26quot%3B%22%20v%3D%22%26quot%3B1%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BProcessorThreads%26quot%3B%22%20v%3D%22%26quot%3B2%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BProcessorCores%26quot%3B%22%20v%3D%22%26quot%3B2%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BProcessorHyperThreading%26quot%3B%22%20v%3D%22%26quot%3Bfalse%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosRamArrayCount%26quot%3B%22%20v%3D%22%26quot%3B1%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosRamSlots%26quot%3B%22%20v%3D%22%26quot%3B1%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosRamErrorCorrection%26quot%3B%22%20v%3D%22%26quot%3BNone%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosRamMaximumCapacity%26quot%3B%22%20v%3D%22%26quot%3B2048%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BTotalPhysicalRAM%26quot%3B%22%20v%3D%22%26quot%3B18446744073709551615%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosFirmwareVendor%26quot%3B%22%20v%3D%22%26quot%3BMicrosoft%22%20corporation%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSystemManufacturer%26quot%3B%22%20v%3D%22%26quot%3BMicrosoft%22%20corporation%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSystemProductName%26quot%3B%22%20v%3D%22%26quot%3BVirtual%22%20machine%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSystemSerialNumber%26quot%3B%22%20v%3D%22%26quot%3B4677-3739-9388-5445-1471-5011-93%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosUuid%26quot%3B%22%20v%3D%22%26quot%3B2423a5f2-0d8b-4e61-8aca-5be1eb53208c%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSkuNumber%26quot%3B%22%20v%3D%22%26quot%3BNone%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSystemFamily%26quot%3B%22%20v%3D%22%26quot%3BVirtual%22%20machine%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosSystemVersion%26quot%3B%22%20v%3D%22%26quot%3BHyper-V%22%20uefi%3D%22%22%20release%3D%22%22%20v2.0%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosBoardManufacturer%26quot%3B%22%20v%3D%22%26quot%3BMicrosoft%22%20corporation%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosBoardProduct%26quot%3B%22%20v%3D%22%26quot%3BVirtual%22%20machine%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BSmbiosBoardVersion%26quot%3B%22%20v%3D%22%26quot%3BHyper-V%22%20uefi%3D%22%22%20release%3D%22%22%20v2.0%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BChassisType%26quot%3B%22%20v%3D%22%26quot%3B0x03%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BInternalDiskCount%26quot%3B%22%20v%3D%22%26quot%3B1%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDeviceNumber%26quot%3B%22%20v%3D%22%26quot%3B0%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BPrimaryDiskTotalCapacity%26quot%3B%22%20v%3D%22%26quot%3B136%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BPrimaryDiskType%26quot%3B%22%20v%3D%22%26quot%3BHDD%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDiskSerialNumber%26quot%3B%22%20v%3D%22%26quot%3B%7CVirtual%22%20disk%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOpticalDiskDriveType%26quot%3B%22%20v%3D%22%26quot%3Btrue%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BPhysicalMedium%26quot%3B%22%20v%3D%22%26quot%3BUnspecified%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BMacAddress%26quot%3B%22%20v%3D%22%26quot%3B00%3A11%3A22%3A01%3A42%3A11%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDisplayResolutionHorizontal%26quot%3B%22%20v%3D%22%26quot%3B1024%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDisplayResolutionVertical%26quot%3B%22%20v%3D%22%26quot%3B768%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDisplaySizePhysicalH%26quot%3B%22%20v%3D%22%26quot%3B0%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDisplaySizePhysicalY%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDigitizerSupportID%26quot%3B%22%20v%3D%22%26quot%3BIntegratedTouch%2C%22%20integratedpen%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BPowerPlatformRole%26quot%3B%22%20v%3D%22%26quot%3BDesktop%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BStatus%26quot%3B%22%20v%3D%22%26quot%3B0x00000000%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOfflineDeviceIdType%26quot%3B%22%20v%3D%22%26quot%3BUEFI_VARIABLE_RANDOMSEED%26quot%3B%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BOfflineDeviceId%26quot%3B%22%20v%3D%22%26quot%3B%26lt%3BSTRONG%22%3EMEyq3Ar1JdB6AVxl%E2%80%A6%E2%80%A6..J1P8gPegxts%3D%22%20%2F%26gt%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%20n%3D%22%26quot%3BDiskSSNKernel%26quot%3B%22%20v%3D%22%26quot%3B%7CVirtual%22%20disk%3D%22%22%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-455284%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20info%20hash%20is%20time-salted%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-455284%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174439%22%20target%3D%22_blank%22%3E%40Oliver%20Kieselbach%3C%2FA%3E%26nbsp%3BThank%20you%20for%20explanation!%20I%20wish%20these%20properties%20were%20exposed%20in%20CIM%20Namespace%20directly%2C%20but%20I%20guess%20I'll%20have%20to%20find%20machine%20identier%20otherwise%20for%20a%20side%20project%20I'm%20working%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Aleksander Pawlak
Contributor

Hey folk!

I tried to collect Autopilot hash information from my device, and while it collects just fine, I ran into quite interesting issue - it seems to me, at least on my machine, that Device hardware Data from CIM class is somehow time-based. In a sense, it gives a slightly different hash each second? 

See here: 

$AutopilotInfo1 = (Get-WindowsAutoPilotInfo.ps1)."Hardware Hash";
Start-Sleep -Seconds 2;
$AutopilotInfo2 = (Get-WindowsAutoPilotInfo.ps1)."Hardware Hash";
$AutopilotInfo1 -eq $AutopilotInfo2;
If I remove the sleep, I get the equal info, but if there's at least 1 sec delay - hashes are slightly different. Is it pooused to be like that? It's not really a definition of a hash too... 



2 Replies
Solution

Hi @Aleksander Pawlak,

 

The representation which you see is an encoded xml structure of the device which includes also a dateteime value and a special hardware data hash (OfflineDeviceId). That's why the "hash" gathered with the powershell script is always different every time when gathered.

 

To decode the information you can use the oa3tool.exe from the Windows ADK (https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install) 

 

it looks like this:

 

<?xml version="1.0"?>

<HardwareReport>

        <HardwareInventory>

                <p n="ToolVersion" v="3" />

                <p n="HardwareInventoryVersion" v="131" />

                <p n="ToolBuild" v="10.0.16299.15" />

                <p n="OSType" v="FullOS" />

                <p n="OsCpuArchitecture" v="x64" />

                <p n="OsBuild" v="10.0.16299.15" />

                <p n="OsSystemTime" v="2017-11-02T15:26:32Z" />

                <p n="OsLocalTime" v="2017-11-03T21:26:32+30:00" />

                <p n="ProcessorModel" v="Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz" />

                <p n="ProcessorPackages" v="1" />

                <p n="ProcessorThreads" v="2" />

                <p n="ProcessorCores" v="2" />

                <p n="ProcessorHyperThreading" v="false" />

                <p n="SmbiosRamArrayCount" v="1" />

                <p n="SmbiosRamSlots" v="1" />

                <p n="SmbiosRamErrorCorrection" v="None" />

                <p n="SmbiosRamMaximumCapacity" v="2048" />

                <p n="TotalPhysicalRAM" v="18446744073709551615" />

                <p n="SmbiosFirmwareVendor" v="Microsoft Corporation" />

                <p n="SmbiosSystemManufacturer" v="Microsoft Corporation" />

                <p n="SmbiosSystemProductName" v="Virtual Machine" />

                <p n="SmbiosSystemSerialNumber" v="4677-3739-9388-5445-1471-5011-93" />

                <p n="SmbiosUuid" v="2423a5f2-0d8b-4e61-8aca-5be1eb53208c" />

                <p n="SmbiosSkuNumber" v="None" />

                <p n="SmbiosSystemFamily" v="Virtual Machine" />

                <p n="SmbiosSystemVersion" v="Hyper-V UEFI Release v2.0" />

                <p n="SmbiosBoardManufacturer" v="Microsoft Corporation" />

                <p n="SmbiosBoardProduct" v="Virtual Machine" />

                <p n="SmbiosBoardVersion" v="Hyper-V UEFI Release v2.0" />

                <p n="ChassisType" v="0x03" />

                <p n="InternalDiskCount" v="1" />

                <p n="DeviceNumber" v="0" />

                <p n="PrimaryDiskTotalCapacity" v="136" />

                <p n="PrimaryDiskType" v="HDD" />

                <p n="DiskSerialNumber" v="|Virtual Disk    |Msft    " />

                <p n="OpticalDiskDriveType" v="true" />

                <p n="PhysicalMedium" v="Unspecified" />

                <p n="MacAddress" v="00:11:22:01:42:11" />

                <p n="DisplayResolutionHorizontal" v="1024" />

                <p n="DisplayResolutionVertical" v="768" />

                <p n="DisplaySizePhysicalH" v="0" />

                <p n="DisplaySizePhysicalY " v="0" />

                <p n="DigitizerSupportID" v="IntegratedTouch, IntegratedPen, MultiInput" />

                <p n="PowerPlatformRole" v="Desktop" />

                <p n="Status" v="0x00000000" />

                <p n="OfflineDeviceIdType" v="UEFI_VARIABLE_RANDOMSEED" />

                <p n="OfflineDeviceId" v="MEyq3Ar1JdB6AVxl……..J1P8gPegxts=" />

                <p n="DiskSSNKernel" v="|Virtual Disk    |Msft    " />

        </HardwareInventory>

</HardwareReport>

 

best,

Oliver

@Oliver Kieselbach Thank you for explanation! I wish these properties were exposed in CIM Namespace directly, but I guess I'll have to find machine identier otherwise for a side project I'm working :) 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies