Solved

Force Restart

Posted on 2007-11-22
8
4,091 Views
Last Modified: 2010-04-21
I am trying to restart the server remotely using the command window.  shutdown /f only logs out the user and does not restart the server
0
Comment
Question by:jtcomin
  • 3
  • 3
  • 2
8 Comments
 
LVL 3

Expert Comment

by:CaffeinatedTech
ID: 20337102
sutdown /f /r /t 0

doesn't work?
0
 
LVL 3

Expert Comment

by:CaffeinatedTech
ID: 20337104
If I could spell shutdown properly :P
0
 

Author Comment

by:jtcomin
ID: 20337148
shutdown /r - I get the error message that the machine is locked and I need to force a restart
shutdown /f - only logs me out and does not restart the server
shutdown /t 0 - nothing happens
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:jtcomin
ID: 20337157
I searched and found the command to do it before but I never wrote it down and I have spend a couple of hours trying to find it again with no luck.
0
 
LVL 25

Expert Comment

by:imitchie
ID: 20337162
try shutdown /?
it tells you that

No args    Display help. This is the same as typing /?
/f         Force running applications to close without forewarning users

so you've just logged everyone off and killed running applications. without actually shutting down
0
 
LVL 25

Expert Comment

by:imitchie
ID: 20337168
i thought you had it. anyway these are the two that you need from the help

/f         Force running applications to close without forewarning users
/s         Shutdown the computer

/r         Shutdown and restart the computer
0
 
LVL 3

Accepted Solution

by:
CaffeinatedTech earned 125 total points
ID: 20337185
Yeah all of the arguments into the one command like in my first post

shutdown /f /r /t 0

This will force a restart immediately.  The 0 is the countdown timer if you want to warn users, you can set it to like 500, all users will get a warning box with a countdown.
0
 

Author Closing Comment

by:jtcomin
ID: 31410624
I put them all together and it worked!  Thanks!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question