LogoLogo
TwitterLinkedInGitHubPowerShell Gallery
  • About
  • Events
  • Blog
    • 2022
      • 🆕OSD January Update
      • 🆕PSCloudScript Basics
    • 2021
      • Start-OOBEDeploy
      • OSDCloud
      • PowerShell Gallery in WinPE
      • BitLocker KeyProtectors
      • WindowsCapability -and WindowsPackage
      • Scheduled Tasks
        • Building a Task
        • Task Permissions
        • Task Trigger
        • Action a PowerShell File
        • Action a PS Encoded Script
        • Conclusion
          • Windows Activation and Edition Change
          • REG.exe and Multiple Actions
    • 2019
      • 2019-02
        • Offline Servicing vs Reference Image
      • 2019-04
        • Windows 10 Upgrade MultiLang (Uno)
      • 2019-06
        • Offline Servicing Windows 10 with CU for .NET 4.8
        • OSDBuilder and .NET CU KB4480056
      • 2019-09
        • Black Screen During Windows 10 Setup
      • 2019-11
        • I Hate OSDBuilder
    • 2018
      • WinPE 10 1809 WPF DLL Fix
      • Microsoft Update Releases
      • Create WinPE.wim from Boot.wim or WinRE.wim
      • Windows Setup: FAT32 USB with +4GB Install.wim
      • Windows 10 from ESD
      • Windows 10 1809 Appx Issues
      • Mount-WindowsImage -Optimize
  • Guides
    • Autopilot App Registration
    • PSCloudScript
      • PS Cmdlets
      • GitHub Gist
      • GitHub Git Repo
      • Content-Type | Azure Static Web App
      • Command Shortening
      • Azure Key Vault Secret
      • OSD PowerShell Module
      • PSCloudScript Examples
        • Autopilot
        • AutopilotOOBE
        • OSDCloud Live
        • WinPE PowerShell Gallery
        • OSDCloud WinPE and OOBE
    • go OSDCloud
      • Azure Function
      • Custom Domain
      • SSL Binding
      • Proxies
  • PowerShell
    • OSD
    • OSDCloud
    • OSDBuilder (Offline Servicing)
    • OSDSUS (Update Catalogs)
    • OSDUpdate (MS Updates)
    • OSDDrivers (Compact Drivers)
    • PShot
      • Release Notes
      • Usage
        • -Directory
        • $AutoPath
        • -Prefix
        • -Count
        • -Delay
        • -Clipboard
        • -Primary
        • The Object
      • Technical
        • Why a Module?
        • Resolution, Scale and DPI
Powered by GitBook
On this page
  • OOBE
  • Command Prompt
  • PowerShell
  • Start-OOBEDeploy
  • -AddNetFX3
  • -AddRSAT
  • -SetEdition Enterprise
  • -RemoveAppx
  • -UpdateDrivers
  • -UpdateWindows
  • -CustomProfile
  1. Blog
  2. 2021

Start-OOBEDeploy

21.7.26

Previous2021NextOSDCloud

Last updated 3 years ago

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

HomeRecast Software
OSDeploy is Sponsored by Recast Software
Logo