WSCript.Echo “B.HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\GeneralizationState:7”
WSCript.Echo “Changing the Following Registry Keys” WSCript.Echo “Done creating skiprearm.xml file”
WSCript.Echo “Creating skiprearm.xml file” Set objFile = objFS.CreateTextFile(strFile,true) StrFile = “c:\windows\system32\sysprep\skiprearm.xml” Set objFS = CreateObject(“Scripting.FileSystemObject”)
Thank you for this post, I wrote a VBS script for windows 2008 R2 64 Bit to do just this, it is below: Please let me know if this works for you. And it makes sense because were changing anything Microsoft may have done by skipping rearm, changing the generalization state, then reinstalling MSDTC. sysprep /generalize /oobe /shutdown /unattend:c:\Windows\skiprearm.xml.Run the following command from a command prompt:.Check the registry for the right registry keys values sysprep with the new XML answerfile.Start -> Run : msdtc -install (wait few seconds).Next, Start -> Run : msdtc -uninstall (wait few seconds).HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm: 1.HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\CleanupState: 2.Next, and this is the MONEYchange….you must check/edit 3 registry keys:.
That article can be found here: click here and you should copy and paste the code and store it where they want. But hold on, because you’ll still need it later on.
Have you run into an issue sysprepping in your virtual or Citrix environment using Vista, Windows 7 or Server 2008 including R2? Are you getting “Fatal Errors”? Are you frustrated with the lack of Microsoft knowledge on how to fix the problem? Or perhaps Microsoft’s lack of commitment to fixing the problem? Well, look no further.