I love sysprep! RRS feed

  • Question

  • Not. If I could find a way to avoid it, I would. Really, I do not want to use it, all it does is BOLX things up. What is the point of setting up the machine exactly the way you want it, only to have sysprep screw everything up.

    Can't I just duplicate and leave them in Audit mode? With a little command to tell EWF to not explode on startup? Right now, every single problem is sysprep related...


    In the OOBE section of x1.xml, I have "SkipUserOOBE" and "SkipMachineOOBE" true.

    I am clearly missing something, the first thing that

    sysprep /generalize /oobe /shutdown /unattend:c:\x1.xml

    does is blow away my intel graphics driver, never to be seen again. Thanks for that, it took me a week to find a version that wasn't a bucket of offal.

    Shortly after that, it has a "horrible error(TM)" related to IISAdmin. (not something I need or want, Windows Activation Something dragged it in.)

    2012-08-20 11:35:37, Info       [0x0f0080] SYSPRP LaunchDll:Found 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize'; executing it
    2012-08-20 11:39:45, Error      [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize', returned error code -2146893818
    2012-08-20 11:39:45, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2146893818
    2012-08-20 11:39:45, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80090006

    At this point, I am left with a mess and have to go back to the previous copy.


    Monday, August 20, 2012 2:55 AM


  • Solved this one after a while.

    Blame IIS_ADMIN that is dragged in by Windows Process Activation (Can I kill this please?)

    If you stop it, sysprep blooie.

    net start iisadmin

    sysprep /oobe /goat /sheep /unattend:unattend.xml 

    Now please don't hose my network settings!


    • Marked as answer by P 'Bunny' E Tuesday, August 21, 2012 6:21 PM
    Tuesday, August 21, 2012 6:21 PM