# Start-OOBEDeploy

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

{% hint style="warning" %}
This function is experimental for now so things may change, and this document will change too :)
{% endhint %}

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
OSDeploy is Sponsored by Recast Software
{% endembed %}

## 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 :)

![](/files/-MfZHQN-Fo5QKLADVL_h)

### 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

![](/files/-MfZI9BNhuKAo4upCD4k)

### 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
```

![](/files/-MfZJ-747EFXz1hzGIw4)

## 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

![](/files/-MfZJReNa5EOt6k-9y0d)

## -AddNetFX3

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

![](/files/-MfZK-T-FxWmft2nTghq)

![](/files/-MfZKRRozcULOFp57DWb)

## -AddRSAT

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

![](/files/-MfZLbcMJaI_lX57TgjL)

## -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

![](/files/-MfZM0sMTQVET_iy9VhS)

## -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

![](/files/-MfZMkaS2scY6jVzzck2)

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

![](/files/-MfZNEAQIAEYEvrm8loX)

Much better!

![](/files/-MfZNMyGkBk_fGxUFSJj)

## -UpdateDrivers

{% hint style="info" %}
This will install the PSWindowsUpdate Module to do the heavy lifting
{% endhint %}

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

## -UpdateWindows

{% hint style="info" %}
This will install the PSWindowsUpdate Module to do the heavy lifting
{% endhint %}

## -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!)

![](/files/-MfZPZ5tt634TtTSSM4X)

![](/files/-MfZPWz3_IgNmA291e56)

![](/files/-MfZPpSJ7u4ah0mZnVZb)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.osdeploy.com/archive/blog/2021/start-oobedeploy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
