# Start-OOBE.autopilot

This function makes it easy for AutoPilot Manual Registration.  It will get stuck in a loop if you don't have an internet connection to powershellgallery.com

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNhaOKE68FQ5PO7xRb%2Fimage.png?alt=media\&token=0e1818f4-3b29-4d64-9d5d-140c70672190)

If you need to connect Wi-Fi, just **`CTRL + C`** to break out of this function and run **`Start-OOBE.wifi`**

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNhnbJ8OPL3xRIfVIN%2Fimage.png?alt=media\&token=1a4f9699-0d67-48f2-83fe-c82d51403ebd)

Once you have a good internet connection, run **`Start-OOBE.autopilot`** again and it will install all the Required Modules

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNi1w-hA4t2olHQkxX%2Fimage.png?alt=media\&token=064a7a5d-2067-4eeb-9741-dafff21b11d1)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNiDLH7VR8v42o60Sf%2Fimage.png?alt=media\&token=afefa8da-6a10-4eb7-ae09-e8382185f42e)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNiKsb-s42La5xHK2O%2Fimage.png?alt=media\&token=c60e9e70-6e6a-4fd8-8ef4-2f2125304168)

## Get-WindowsAutoPilotInfo Script

Finally the script you need will be installed

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNiS-k9pr7VUI7T-El%2Fimage.png?alt=media\&token=4ec0de10-0ebd-4023-9878-4f63d4db9280)

## New PowerShell Session

A new PowerShell session will open so you can do your AutoPilot business.  This lets you break out of the **`Start-OOBE.autopilot`** routine if there are additional steps that you need to run

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNiWhUNQEL77teNjij%2Fimage.png?alt=media\&token=589a70ff-9027-4976-9b60-e0b3b6830e2d)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNifA0FvnCE3qSEIkt%2Fimage.png?alt=media\&token=93258325-6608-44d2-bd46-04e7af246e61)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNinx-zhH0TBIiNPF2%2Fimage.png?alt=media\&token=b223c6f6-e121-4a48-90e7-0e633082d324)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNislPEQZteRdmxvJn%2Fimage.png?alt=media\&token=0ed721bd-c2f5-4115-b9a5-be0a83c33417)

## Sysprep

Finally when you close the new PowerShell session, you will be prompted to press Enter to start Sysprep.  One you press Enter, the following steps will occur

1. Set-ExecutionPolicy RemoteSigned
2. Sysprep /oobe /reboot

Once this is complete you should be back in OOBE ready for AutoPilot

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNj1XiswkZ3jBxQQ11%2Fimage.png?alt=media\&token=b38d7b0e-fd4d-43d1-890d-f8f8bdd03a82)

![](https://344220114-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVSV22dcsjKDdOxDA6n%2F-MWNZUx4SRUONFnY8Zoo%2F-MWNj7UussZSpzaBIIIY%2Fimage.png?alt=media\&token=63e3af3b-cc57-4478-a378-9948f8eb853d)
