Отвечено Automating MP2011 deployment

  • Wednesday, June 20, 2012 7:22 PM
     
     
    I am working on a fairly large MP2011 test deployment using Atiris 6.9. For the most part I have everything I need figured out except for automating ConfigWiz.exe. Currently I am trying to use taskkil /f /im configwiz.exe to kill it then run configwiz.exe /unattend /wau 1 /wer 1 /ceip 0 per the thread linked below once configwiz is done running the computer should reboot, but this never happens. Taking a look at the configwiz logs it looks like it's running in repair mode with the message " In repair mode all switches but /unattend will be ignored"

    Configwiz In repair mode all switches but /unattend will be ignored

    http://social.technet.microsoft.com/Forums/en/windowsmultipointserver/thread/4005fc1c-0f02-470d-850a-81a4eed6a68c

    I have not seen any official documentation regarding running configwiz unattended. Does any exist? Is there anyone who has gotten this working? I am having altiris fire off a .bat file to try my unattended setup. Should I try running this from my setupcomplete.cmd? I believe this executes before the initial configwiz gui. Any help would be greatly appreciated.

    Roger

All Replies

  • Thursday, June 21, 2012 5:14 PM
     
     Answered

    Ok, figured it out I had some syntax errors you need to use on/off for the unatted switches not 1/0 also my script was rebooting before the configwiz /unattend was completing. I had to use start with the /wait flag to pause the script until configwiz.exe completes. If anyone is interested these are the batch commands I used to automate ConfigWiz.exe

    taskkill /F /IM "ConfigWiz.exe"
    start "" /wait "C:\Program Files\Windows MultiPoint Server\ConfigWiz.exe" /UNATTEND /wau on /wer on /ceip off

    shutdown /r /t 0

    • Marked As Answer by Roger Frutiger Thursday, June 21, 2012 5:14 PM
    •