Solved

Force Restart

Posted on 2007-11-22
8
4,090 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
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:…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

786 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