Windows sysprep reference
Last updated:
WINDOWS
Located: %WINDIR%\system32\sysprep\sysprep.exe
%WINDIR%\system32\sysprep\sysprep.exe /generalize /shutdown /oobe
Sysprep will remove language location settings, etc.
So let the server boot up, select region. Then shutdown and convert it to template.\
After bootup:
- Select region
- Remove IP
- Remove any groups from local groups
- Also cleanup all logs
Get-EventLog -LogName * | ForEach { Clear-EventLog $_.Log }
references: Sysprep (Generalize) a Windows installation | Microsoft Learn Boot Windows to Audit Mode or OOBE | Microsoft Learn