Solved

Force Restart

Posted on 2007-11-22
8
4,087 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
 

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
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.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server Licensing - Home Server 6 57
SolarWind and DNS Server 12 69
Windows Server 2003 Policy Preventing Updates 6 22
need help with active directory 4 27
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 is around source server preparation. No migration is an easy migration, there is a…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now