Run Sysprep
Sysprep /Generalize /oobe /reboot
Show the index wim files within the esd file
dism /Get-WimInfo /WimFile:<source.esd>
Export the selected wim file from the esd file
dism /export-image /SourceImageFile:<source.esd> /SourceIndex:<index> /DestinationImageFile:<destination.wim> /Compress:max /CheckIntegrity
Run to switch from stand-alone to AD integrated WDS server
wdsutil /uninitialize-server
Find the name of the of the computer model
wmic computersystem get model (deprecated)
wmic csproduct get name (deprecated)
Get-CimInstance -ClassName Win32_ComputerSystem
Start the deployment script from Windows PE
wscript.exe X:\Deploy\Scripts\LiteTouch.wsf
Before the image is applied to the machine
X:\MININT\SMSOSD\OSDLOGS
After the system drive has been formatted
C:\MININT\SMSOSD\OSDLOGS
After the image has been deployed
%WINDIR%\TEMP\DeploymentLogs
How to tell if the license is OEM or Retail
slmgr /dli
Uninstall the current product key for Windows
slmgr /upk
Clear the license from the Registry
slmgr /cpky
Install the current product key for Windows
slmgr /ipk <license key>
Verify the activation
slmgr /dlv
Activate the key with Microsoft support
slui 4
SkipApplications=YES
SkipBDDWelcome=YES
SkipBitLocker=YES
SkipComputerBackup=YES
SkipComputerName=YES
SkipDeploymentType=YES
SkipDomainMembership=YES
SkipUserData=YES
SkipFinalSummary=YES
SkipLocaleSelection=YES
SkipPackageDisplay=YES
SkipProductKey=YES
SkipRoles=YES
SkipSummary=YES
SkipTaskSequence=YES
SkipTimeZone=YES
FinishAction=REBOOT
Port used: 9293