No announcement yet.

Sysprepping server 2008 R2

  • Filter
  • Time
  • Show
Clear All
new posts

  • Sysprepping server 2008 R2

    I have been looking at ways to sysprep server 2008 R2 for a couple of days now. I have found many resources on how to write the answer file and add and remove all of the yuckie stuff that I do not want. The problem I am having is activating my MAK keys. here is what I have in the answer file:

    cscript //b c:\windows\system32\slmgr.vbs /ipk xxxx-xxxx-xxxx-xxxx-xxxx

    cscript //b c:\windows\system32\slmgr.vbs /ato

    It would not let me post the actual xml

    This however does not work during sysprep. If I run those commands from the command line they work perfectly. Can I do the activation this way, or do I have to call a runonce script to run them from powershell after the sysprep boot.

    Thanks in advance.

    Takeoffs are optional, landings are mandatory
    Last edited by crash5050; 28th July 2011, 14:42. Reason: Uploading the XML FIle