Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ScottMonolith/8083c69870c1658ca9ca579d3bea2cf8 to your computer and use it in GitHub Desktop.

Select an option

Save ScottMonolith/8083c69870c1658ca9ca579d3bea2cf8 to your computer and use it in GitHub Desktop.
Autopilot
Devices, Windows, Configuration Policies, Create Profile, Win10+, Templates, Device restrictions
For Autopilot, Aaron recommends:
Under 'General' for Configuration settings - Autopilot Reset (allow), Phone reset (block) (even though it's a Windows device, this will disallow end users from factory resetting their machine - may want to block that, or if we want to allow remote end users to do this perhaps may want to allow it…)
Domain join profile - OOBE
Process:
https://learn.microsoft.com/en-us/autopilot/registration-overview
https://learn.microsoft.com/en-us/autopilot/add-devices
At OOBE, Shift+F10
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ## Likely not needed…
PowerShell.exe -ExecutionPolicy Bypass
Install-Script -Name Get-WindowsAutoPilotInfoCommunity
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Get-WindowsAutoPilotInfoCommunity -Online
Wait…
Reboot (shutdown /r /t 0)
Troubleshoot reboots during Autopilot
https://techcommunity.microsoft.com/blog/intunecustomersuccess/support-tip-troubleshooting-unexpected-reboots-during-new-pc-setup-with-windows-/3896960
Skip User ESP
./Device/Vendor/MSFT/DMClient/Provider/MS DM Server/FirstSyncStatus/SkipUserStatusPage
Set as boolean and the value to true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment