Start-OOBEDeploy

21.7.26

This new function is part of the OSD PowerShell Module and is meant to "bridge" an OEM Image to Enterprise Ready. It can be used in conjunction with AutopilotOOBE, or standalone

This function is experimental for now so things may change, and this document will change too :)

OOBE

Also known as Out of Box Experience, this is where you will use this function as designed. It doesn't matter if this device is Autopilot Enrolled or not at this point. The important thing to remember is that in this state, your system can get to anything on the Internet, including Windows Update :)

Command Prompt

Start by pressing Shift + F10 to open a Command Prompt. If you are on a laptop keyboard, you may have to add the Fn key. Once that is open, simply Start PowerShell. You can close the Command Prompt at this point

PowerShell

Run the following lines in PowerShell to make sure you have the latest OSD PowerShell Module from the PowerShell Gallery

Set-ExecutionPolicy RemoteSigned -Force
Install-Module OSD -Force
Import-Module OSD -Force

If you are on a VM like me, you can use the following command to change your resolution

Set-DisRes 1600

Start-OOBEDeploy

Let's take a look at Start-OOBEDeploy now without any parameters. As you can see the only thing it really does is

  • Write a Transcript to C:\Windows\Temp

  • Set PSGallery as Trusted

-AddNetFX3

You can easily enable any Windows Capability since you aren't blocked by any WSUS policy

-AddRSAT

This is now a breeze to install your Admin Tools before you even get logged into Windows

-SetEdition Enterprise

We deploy Windows 10 Enterprise, but our new computers from Dell and Lenovo are Windows 10 Pro. This parameter takes care of all of that

-RemoveAppx

I don't know about you, but I don't like all the default shit that comes in Windows 10, so I like to nip that in the bud

I simply give some strings to match and let it take care of the rest

Much better!

-UpdateDrivers

This will install the PSWindowsUpdate Module to do the heavy lifting

This will update all your installed Drivers from Windows Update. Sorry no screenshots as there is nothing to update in Hyper-V

-UpdateWindows

This will install the PSWindowsUpdate Module to do the heavy lifting

-CustomProfile

If you want to automate all of your settings into a Custom Profile, let me know what you want and I'll add it to the Module (AutopilotOOBE uses CustomProfile as well!)

Last updated