Solved

Force Restart

Posted on 2007-11-22
8
4,086 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
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
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:…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

13 Experts available now in Live!

Get 1:1 Help Now