Link to home
Start Free TrialLog in
Avatar of Thomas N
Thomas NFlag for United States of America

asked on

Force reboot

What is the command to force reboot a machine or server at another location? I used to have a batch file I could run but cant find it. Thanks
Avatar of PowerEdgeTech
PowerEdgeTech
Flag of United States of America image

Is this what you're looking for?

shutdown -r -f -t 0

-r (reboot)
-f (force)
-t (time in seconds til shutdown)
ASKER CERTIFIED SOLUTION
Avatar of barane
barane
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Thomas N

ASKER

Does it use the login names authentication? What if I wanted to use another name. Thanks
I tried this command and it did not restart the computer. C:\WINDOWS\system32\shutdown.exe -r -m \\computername -s -t 5    Is there something I am missing?
Do a plain and simple shutdown -i and you can do everything you need to from a simple GUI interface
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial