- Install Windows Server 2008 R2 or Windows 7 and patch it.
- Run Sysprep (on Windows Server 2008 R2 this is located in c:\Windows\System32\Sysprep\Sysprep.exe).
- Ensure ‘System Out-of-Box Experience (OOBE)’ is selected.
- Tick the ‘Generalize’ option (this resets the SID).
- Select ‘Shutdown’ from the Shutdown Options. 5) Once the machine has shutdown, take your image and you are good to go!