Situatie
You are provisioning devices manually in OOBE phase and you need to collect the Hardware Hash.
Requirements:
- Windows device in OOBE phase
- USB drive ( format FAT32 or NTFS )
- Internet connection
Solutie
Step 1 – Enter PowerShell in OOBE
When the device is at the Windows setup screen (region selection):
- Press: Shift + F10
- This Opens Command Prompt
- Type in Command Prompt:
powershell
- Press enter, you are now in PowerShell within OOBE
Step 2 – Install the Official Autopilot Script
Run:
install-script -name -get-windowsautopilotinfo -force
- If prompted about an untrusted repository, press A (yes to all)
- If prompted to install NuGet provider, press Y.
Step 3 – Export Hardware Hash to USB
Run:
get-windowsautopilotinfo -outputfile C:\hardwarehash.csv
The hardwarehash.csv file will be saved in C:\hardwarehash.csv
Run:
explorer
- File Explorer will open.
- Insert USB drive and navigate to C:\hardwarehash.csv
- Copy the file to your USB drive.
Leave A Comment?