Deployment
When you are ready to deploy your AutopilotOOBE Configuration Json, there are three methods to do this
Command Line
I'd advise against this as this is quite a bit to type in, but it is absolutely possible. Good Luck!
$Params = @{
Title = 'OSDeploy Autopilot Registration'
GroupTag = 'Enterprise'
GroupTagOptions = 'Development','Enterprise'
Hidden = 'AddToGroup','AssignedComputerName','AssignedUser','PostAction'
Assign = $true
Run = 'NetworkingWireless'
Docs = 'https://autopilotoobe.osdeploy.com/'
}
AutopilotOOBE @Params
CustomProfile
You can easily send me your Configuration Json and I can add it to the AutopilotOOBE PowerShell Module. Once it is published, you will be able to use it right away as long as you install the latest AutopilotOOBE PowerShell Module

In OOBE, you simply add your CustomProfile name as an AutopilotOOBE parameter and it will import the CustomProfile to your ProgramData. This will ensure that any subsequent execution of AutopilotOOBE is customized for your Organization


Configuration Json Staging
If you are going to image the Device , then you can also save the Configuration Json in WinPE after your Operating System has been expanded to the Hard Disk. This will ensure that AutopilotOOBE will always be executed with your configuration
OSDHelp AutopilotOOBE
An example on how to do this is in OSDHelp which is part of the OSD PowerShell Module
Install-Module OSD -Force
Import-Module OSD -Force
OSDHelp AutopilotOOBE

OSDCloud
If you are using OSDCloud, you can apply the Configuration Json in a method similar to the script below, after Start-OSDCloud has completed
#=======================================================================
# OS: Params and Start-OSDCloud
#=======================================================================
$Params = @{
OSBuild = "21H1"
OSEdition = "Pro"
OSLanguage = "en-us"
OSLicense = "Retail"
SkipAutopilot = $true
SkipODT = $true
}
Start-OSDCloud @Params
#=======================================================================
# PostOS: AutopilotOOBE Staging
#=======================================================================
$AutopilotOOBEJson = @'
{
"Assign": {
"IsPresent": true
},
"GroupTag": "Enterprise",
"GroupTagOptions": [
"Development",
"Enterprise"
],
"Hidden": [
"AddToGroup",
"AssignedComputerName",
"AssignedUser",
"PostAction"
],
"PostAction": "Quit",
"Run": "NetworkingWireless",
"Docs": "https://autopilotoobe.osdeploy.com/",
"Title": "OSDeploy Autopilot Registration"
}
'@
$AutopilotOOBEJson | Out-File -FilePath "C:\ProgramData\OSDeploy\OSDeploy.AutopilotOOBE.
Sponsors
Last updated
Was this helpful?