HecSpecialist2
New Member
Is there a way to have NTLITE start these commands in OOBE screen? The usual commands / instructions are below. It involves opening CMD window and starting PowerShell.
- From a fresh OS at the language menu Press Fn + shift + f10 or shift + f10 to get a command prompt to pop up.
- Type PowerShell.exe -ExecutionPolicy Bypass
- You should now be in a PowerShell window
- In the powershell window type Install-Script -name Get-WindowsAutopilotInfo –Force
- Type the letter Y for Yes
- After script is installed run the following command
Set-Executionpolicy –executionpolicy bypass
- This command will not show anything after it is executed.
- You can check it with the Get-ExecutionPolicy
- Run the script to upload your hash file to Intune. The script will ask you to authenticate with your credentials Run the script in PowerShell as Get-WindowsAutopilotInfo.ps1 –Online
Note: The script will take around 5 to 10 mins to run.
- Check to make sure the serial number is present in endpoint.microsoft.com/
Restart device
- Check to make sure the serial number is present in endpoint.microsoft.com/