Issue
How can I tell if the Microsoft sysprep utility has successfully run on a Windows operating system?
Solution
The easiest way to determine whether or not Sysprep has run is to check the following registry location on the client machine:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State.
In this location there will be an ImageState string value. If this value shows as IMAGE_STATE_COMPLETE, Sysprep has run successfully. If any other value is shown, sysprep has not run or has not run successfully.
Another option is to look for the unattend.xml file in C:\Windows\System32\Sysprep. (Sysprep comes installed by default in Windows Vista.) If this file has a current date and timestamp then there’s a chance this file was updated during the imaging process. However, the first option is ultimately the best choice.