For each new computer, please perform the following steps:
-
Boot up the new computer. (Make sure the computer is plugged in.)
-
When prompted for the username, give it a name such as
tempadminuser
and a password. (Once we are done with harvesting the hardware ID of this machine, we will do an OOBE reset in the next phase.) -
Be sure to connect the machine to the Internet.
-
Make note of the Service Tag Number of this machine. Henceforth, we will refer to this as the
{service-tag-number}
and we will use it later to name our output file. -
Harvesting the Hardware ID
- Launch PowerShell with elevated administrator privileges.
- Execute the following PowerShell commands:
- Answer "Yes" if you get prompted.
- Replace
{service-tag-number}
accordingly.
Set-ExecutionPolicy Unrestricted md C:\hardwareid cd C:\hardwareid Install-Script -Name Get-WindowsAutoPilotInfo Get-WindowsAutoPilotInfo.ps1 -OutputFile {service-tag-number}.csv
-
Copy the resulting C:\hardwareid\
{service-tag-number}
.csv file to my OneDrive shared folder. -
You can now shut down this computer.
-
Repeat these steps for the next computer.
Once we have attained the {service-tag-number}
.csv for all computers, I will take care of the device enrollment and user assignment from my end.
I will inform you when we are ready to begin the next phase.