Autopilot Bootstick

Autopilot Bootstick
💡
Dieser Artikel ist veraltet

Bootable WinPE USB für Intune Enrollment erstellen

1. PowerShell 7 herunterladen

PowerShell 7 Installation

2. Windows 11 ISO herunterladen

Windows 11 Download

3. ADK und WinPE Addon herunterladen

ADK Installation

Das ADK wird benötigt, um an die oa3tool.exe zu kommen. Installation per Silent Setup:

adksetup.exe /installpath C:\temp\adk /features OptionId.DeploymentTools /quiet

Anschließend die oa3tool.exe nach _DOWNLOAD\SCRIPT\ kopieren.

4. Intune USB Creator

Das Skript erstellt den bootfähigen WinPE USB Stick für das Intune Enrollment:

GitHub - SuperDOS/Intune-USB-Creator: Creates a bootable WinPE USB used to provision devices for enrollment to Intune.
Creates a bootable WinPE USB used to provision devices for enrollment to Intune. - SuperDOS/Intune-USB-Creator

5. Optional: Updates aus dem Image entfernen

Falls keine zusätzlichen Pakete ins WinPE Image eingebunden werden sollen, kann folgender Codeblock im Skript angepasst oder auskommentiert werden:

# Inject any needed update
if ($(Test-IsDirectoryEmpty $winPEupdates).IsEmpty -eq $false) {
    "Adding Updates..."
    Get-ChildItem $winPEupdates -Filter *.cab | ForEach-Object {
        Add-WinPEPackage -MountPath $peMount -Package $_.FullName -PackagePath $winPEupdates
    }
}