Method 1: Modify the unattend.xml file
- Locate the unattend.xml file used in your OSD task sequence. This file is typically stored within the Operating System deployment files or on the MDT server.
- Open the unattend.xml file using Windows System Image Manager (SIM) or a text editor.
- In the unattend.xml file, add the following settings in the appropriate configuration pass (usually the oobeSystem pass):
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<OOBE>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>
</component>
</settings>
- Save the modified unattend.xml file.
- Update the deployment share or distribution points to include the updated unattend.xml file.
Method 2: Use a provisioning package
- Install the Windows Configuration Designer from the Microsoft Store if you haven't already.
- Open the Windows Configuration Designer and create a new provisioning package.
- In the package settings, navigate to Runtime settings > OOBE.
- Set the following options:
- HideLocalAccountScreen: Set to True.
- ProtectYourPC: Set to 3 (Do not show Express Settings and prevent the collection of usage data).
- Save the provisioning package and include it in your OSD task sequence.