A fatal error occurred while trying to sysprep the machine.

Today, while getting ready to deploy an updated Citrix farm for a set of Line of Business applications, I got an error during the sysprep process.  The machine in question is a 2008 64 bit machine.  It has Citrix and all the applications installed.  It is also a Hyper-V VM. 

I created an answer file and when I run Sysprep I get a popup that says:  A fatal error occurred while trying to sysprep the machine.

Hmm..  so I look at the logs and here is what I find:

2010-06-03 10:42:33, Error      [0x0f0085] SYSPRP LaunchDll:Could not load DLL drmv2clt.dll[gle=0x0000007e]
2010-06-03 10:42:33, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 126[gle=0x0000007e]
2010-06-03 10:42:33, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x8007007e[gle=0x0000007e]

I found lots of references to Windows Media Player, and that you can’t have sharing enabled.  Not a problem on this machine.  Not any help either. 

I did find this article helpful: http://myit4u.wordpress.com/2010/03/17/launchdll-could-not-load-dll-drmv2clt-dll/

Guess what?! Those aren’t shown in on a Windows Server 2008! Our workaround was to install the Desktop Experience feature on the server.

I added the “Desktop Experience” feature did the sysprep and then uninstalled it on each of the new machines.  Rather a pain, but I didn’t have a lot of time to work on figuring out a better answer.

Leave a Reply