I don't usually have problems running sysprep, but the first time I ran it on a Windows 7 RTM ( Just after installing windows, even hadnt configured anything on windows ) I received an error that Sysprep could not continue and was halted. I opened the error log file and saw this
2009-09-22 13:37:55, Error [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'drmv2clt.dll,Sysprep', returned error code -2147024864[gle=0x00000020]
2009-09-22 13:37:55, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2147024864[gle=0x00000020]
2009-09-22 13:37:55, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
I searched the MS KB, and sadly, could find nothing. Then I Googled some of the above and found a couple of references to this. They mentioned that drmv2clt.dll is associated with Digital Rights Management and this error in Sysprep could be fixed by disabling Media Sharing in Windows Media Player. That seemed odd. This Windows 7 PC was setup just to test Sysprep and imaging. I didn't even start or configure Windows Media Player. This bug was exist in Windows 7 Beta and RC version as well! but they still havent fixed it in RTM version yet
Reason : Windows Media Player Network Sharing Service.
Workaround:
Click Start > Run, type Services.msc to open the Services applet.
Scroll down to Windows Media Player Network Sharing Service, double click it, change the Startup type to Disabled. Click OK.
Once I did this, I re-ran Sysprep (sysprep /generalize /oobe /shutdown /unattend:answer.xml) and it ran without error.
Seems like a sysprep bug to me.



Help

Back to top











