Jump to content

How To ?


Recommended Posts

hello all, i have created a successful unattended xpsp2 cd. my only question is of course, how would i make the computer to auto shut down and restart? i am familiar with the old dos command of [shutdown -r -t00] how would i incorporate this into the unattended cd? thanks for reading and suggestions that you may offer :)

Link to comment
Share on other sites


i am familiar with the old dos command of [shutdown -r -t00] how would i incorporate this into the unattended cd? thanks for reading and suggestions that you may offer :)

Add shutdown [options] to the last line your runonceex.cmd then after eveything is installed your can either reboot, logoff or shutdown.

Link to comment
Share on other sites

I would be carefull not to shutdown to early. You need to put a decent enough timeout on the shutdown so that Windows can load correctly the first time (which if it doesn't can cause error later)

I use an over cautious 90 seconds. But I am usually away so it doesn't bother me.

shutdown.exe -r -f -t 90 -c "Restarting in 90 seconds"

Link to comment
Share on other sites

The example page http://unattended.msfn.org/global/examples.htm has how to do it and how to call it from runonce etc. I personally would recommend setting it something around a minute. If you find that this isnt enough time, for example if using the driver packs, then hit CTRL-ALT-DEL and start a new process CMD, then you can type

shutdown -a

which will cancel the current shutdown. then you can time it to see how much longer you need to make it.

Link to comment
Share on other sites

:P thank you very much for your help, all of you for your response and your suggestions, it worked and i am happy :P ps; if anyone has come up with a silent workaround for Microsoft Virtual PC service pack 1, please let me know. many thanks again :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...