Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I connect to a desktop machine on my LAN using RDC and use shutdown.exe -f to force a shutdown. For some reason, the machine almost always restarts instead. I have also tried shutdown.exe - s but with the same result.

The machine in question is running Windows 7 (64 Bit) with all Windows Updates applied.

Am I missing something and is there an alternative way to shut down?

share|improve this question
    
What happens when you use Windows Security from the Start Menu and choose the Shut Down option there? – user3463 Jul 17 '12 at 6:08
    
What if open command prompt and type shutdown -s -f -t 10 Where s = shutdown, f = force and t = time and the numbers is seconds (I put this for clarity for everyone to read, I'm sure you know this already) – Dave Jul 17 '12 at 7:40
    
Actually I have not tried -s and -f together, although the command prompt documentation for -s clearly states shutdown. Will give this a try and revert back. – Raheel Khan Jul 17 '12 at 13:15
    
The -i option also seems worth a try. – Raheel Khan Jul 17 '12 at 13:17
    
It appears that the problem had nothing to do with RDC. The machine in question does the same sometimes when shutdown from the start menu without remoting. – Raheel Khan Jul 31 '12 at 0:35

Do this:

shutdown /f /s /t 0

/f (force) /s (shutdown) /t 0 (instantly)

share|improve this answer
    
This should do the trick. Use f and s. – MDT Guy Feb 25 '13 at 19:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .