+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, Script to force reboot? in Coding and Web Development; Hi, I am looking for a batch file that will force a reboot of a computer. Can you use the ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,587 Times in 1,390 Posts
    Blog Entries
    10
    Rep Power
    427

    Script to force reboot?

    Hi,

    I am looking for a batch file that will force a reboot of a computer.

    Can you use the shutdown.exe application to reboot the computer even if it is locked by the user?

    Thanks

  2. #2
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    633
    Thank Post
    111
    Thanked 88 Times in 72 Posts
    Rep Power
    78
    wouldn't
    Code:
    shutdown \\computername -r -t 00
    save as .bat.. do the trick.. or do you want this for more than one..

  3. #3

    Join Date
    Jun 2005
    Location
    Elgin, Scotland
    Posts
    387
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    22
    If you add the -f switch, it won't hang up on applications not closing properly either.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 18
    Last Post: 12th September 2013, 05:44 PM
  2. Reboot Finction not working
    By FN-GM in forum EduGeek Shutdownertron
    Replies: 13
    Last Post: 1st October 2008, 09:43 PM
  3. Replies: 13
    Last Post: 8th November 2007, 02:53 PM
  4. server reboot
    By chrbb in forum Windows
    Replies: 25
    Last Post: 14th September 2007, 09:11 AM
  5. HP switch reboot, Help!
    By phil_thebeans in forum Wireless Networks
    Replies: 1
    Last Post: 6th March 2007, 08:51 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •