Translator
      English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flag
      Spanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
      Croatian flagDanish flagFinnish flagHindi flagPolish flagRomanian flagSwedish flagNorwegian flag
      Catalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flag
      Slovenian flagUkrainian flagVietnamese flagAlbanian flagEstonian flagGalician flagMaltese flagThai flag
      Turkish flagHungarian flagBelarus flagIrish flagIcelandic flagMacedonian flagMalay flagPersian flag
    Tag Cloud
    Sponsors
    Recent Comments
      Archives
      Link with us

      IT Solutions Knowledge Base

      Visitors
      Visits today: 230
      Online visits: 4
How to remotely shutdown, restart or logoff a Windo
Home » Microsoft, Networking, Windows Server, Windows Server 2003, Windows Server 2008, Windows Vista » How to remotely shutdown, restart or logoff a Windows Machine using Remote Shutdown Tool
By Glafkos Charalambous | 3 CommentsLeave a Comment
Last updated: Monday, April 20, 2009

This article will describe how we can remotely restart, shutdown, log off or even abort a system shutdown in our Local/Network machines using Remote Shutdown Tool (shutdown.exe).

We can use the Remote Shutdown Tool with GUI or from the command prompt but we need to have administrative privileges on those machines.

We can start the GUI of Remote Shutdown Tool by executing:

shutdown.exe /i

Remote Shutdown GUI

Adding a network computer

If we need to use the command line tool here are the options:

Note: We can use the – switch in case / switch does not work or vice versa

Usage examples:
Restart a network machine and force any running applications to close

shutdown /m \\computername /r /f

Abort a previous shutdown command

shutdown /m \\computername /a

Shutdown a network machine and force any running applications to close

shutdown /m \\computername /s /f

Logoff a machine and force any running applications to close (This cannot be used with /m to specify the target machine)

shutdown computername /l /f

Hibernate a local machine and force any running applications to close

shutdown /m \\computername /h /f

Note: By default the time-out period in previous examples is set to 30 seconds.

Restart a network machine and force any running applications to close giving a reason and set the time-out period to 1 minute (120 sec)

shutdown /m \\computername /r /f /c “Computers will restart in 1 minute, please save any work. System Administrator” /t: 120

Schedule a restart of a machine:

at 23:00 /every:M,T,W,Th,F shutdown /r /m \\computername

In case we want to shutdown/restart multiple network machines through a batch file have a look at the following article:
http://www.itsolutionskb.com/2009/01/remote-shutdown-windows-network-machines/

  • Digg
  • Facebook
  • Technorati
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Reddit
  • Google Bookmarks
  • Wikio IT
  • Slashdot
  • co.mments
  • Fark
  • Fleck
  • LinkedIn
  • Ma.gnolia
  • MySpace
  • Propeller
  • Print
  • email

Comments

3 comments
  1. Scag
    May 27, 2009

    Will this work on XP?
    And how do you give admin rights to the other PC?

    [Reply]

    Glafkos Charalambous Reply:

    Hello,

    Yes it will work on XP and you must be a domain admin or local administrator on the machines to be able to manage them.

    [Reply]

    Leave a reply
  2. abdullatheep
    February 10, 2010

    all command prompt

    [Reply]

    Leave a reply

Leave a Comment

Add your picture!
Join Gravatar and upload your avatar. C'mon, it's free!