# AutoPilot in OOBE

Here is the link to the three new OOBE functions for OSDCloud

{% content-ref url="../../oobe" %}
[oobe](https://www.osdcloud.com/osdcloud-v1/recycle-bin/oobe)
{% endcontent-ref %}

## Start-OOBE.autopilot

This function will download all your AutoPilot Modules and Script assuming you have a good internet connection to PowerShell Gallery

![](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)
