What is reboot.bat




















Some additions to the shutdown and rundll PSShutdown - requires a download from windows sysinternals. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How do I shutdown, restart, or log off Windows via a bat file? Ask Question. Asked 13 years ago. Active 7 months ago. Viewed 2. How do I control my computer's power state through the command line? Improve this question. MultiplyByZer0 4, 3 3 gold badges 28 28 silver badges 46 46 bronze badges. Keng Keng Add a comment. Active Oldest Votes. The most common ways to use the shutdown command are: shutdown -s — Shuts down. The commands above can be combined with these additional options: -f — Forces programs to exit.

Prevents the shutdown process from getting stuck. Use -t 0 to shutdown immediately. The message will end up in the Event Log. Improve this answer. Do read about using -f for force in the next answer. Says the guy who didn't and now has a computer stuck on shutdown on the other side of the planet during the weekend : — pasx. My experience: Using the -s option shutdown in Remote Desktop as the OP mentions only terminates the remote desktop but leaves the remote machine untouched.

I use "-r" for Remote Machines. So it will restart and not need manual intervention. To force an immediate reboot: shutdown -t 0 -r -f. For a more friendly "give them some time" option, you can use this: shutdown -t 30 -r.

The -f is implied by the timeout. Show 1 more comment. I use this whenever I want to force an immediate reboot: shutdown -t 0 -r -f For a more friendly "give them some time" option, you can use this: shutdown -t 30 -r As you can see in the comments, the -f is implied by the timeout.

JosephStyons JosephStyons Reading the help for shutdown on Windows 8. That's a good point. I've modified the example accordingly. Your email address will not be published.

Skip to main content Skip to footer restart. BAT — Disclaimer Every attempt has been made to provide you with the correct information for restart.

You should verify the accuracy of information we provided about restart. Leave a Reply Cancel reply Your email address will not be published. What does this file do? Is it legitimate or something that your computer is better without? Do you know how it was installed on your system? Did you install it yourself or did it come bundled with some other software?

Is it running smoothly or do you get some error message? Any information that will help to document this file is welcome. Thank you for your contributions. I'm reading all new comments so don't hesitate to post a question about the file. If I don't have the answer perhaps another user can help you. Vendor and version information [? Digital signatures [? Hashes [?



0コメント

  • 1000 / 1000