shutdown command

By mephisto_007
Feb 6, 2006
  1. I've always wanted to ask this question, we're using window XP for all computers that hook up to a "WORKGROUP" network... Some Computers I am able to use the "SHUTDOWN - I" command to shut down any particular computers, but some doesn't... What is the most likely cause?
  2. cozofdeath

    cozofdeath TS Rookie Posts: 19

    Someone probably set a group policy or edited the registry to remove the shutdown command.
  3. mephisto_007

    mephisto_007 TS Guru Topic Starter Posts: 224

    I'm pretty sure there're no one who know how to that... since I did most restriction to block users from accessing it...
  4. Spike

    Spike TS Evangelist Posts: 2,168

    Windows XP has a little bit of security surrounding remotely shutting down machines. To be sure that you are able to shut down a machine over the network you nee3d one of two things - either administrative network access to the target machine, or for the target machine to be set to allow guest shuntdown.

    Myself, I eventually opted for creating a shortcut that shut down the machine I wanted, and ran it as administrator to use it.
  5. mephisto_007

    mephisto_007 TS Guru Topic Starter Posts: 224

    How am I about to do that spike? :p
  6. cozofdeath

    cozofdeath TS Rookie Posts: 19

    Have you tried to force the shutdown with the /f switch?
  7. cozofdeath

    cozofdeath TS Rookie Posts: 19

    Or maybe this

  8. mephisto_007

    mephisto_007 TS Guru Topic Starter Posts: 224

    Hey cozofdeath that command only work with local computer right? cannot be use over the network, remotely?

    When I use "shutdown - i" it do not give me the optional to use "F" only giving the Computer Name, Option to restart or shutdown, Timing, and Reason of Act...
  9. Spike

    Spike TS Evangelist Posts: 2,168

    well, for the shortcut trick to work, you may need to have an administrative account on the target machine with a username and password that matches one on the machine you're using.

    Never the less, to cretae shuch a shortut, just rightclick on the desktop and select "new"->"shortcut"

    when prompted for the shortcut path, write out the command in full.

    to run the shorcut as an administrative account, right click on it, click on the shortcut tab, and click the "advanced" button. Check the "run with different credentials box, hit ok, and then hit apply and ok on the shortcut tab.

    Each time you rightclick the shortcut from then on you will have the option to "Run As...". Select this option, choose the administrative account which you would like to run it with, enter the password, and away it runs.

    As for the precise command, I've forgotten whether I used tsshutdn or shutdown myself, but if you're having trouble knowing which to use and with which switches, I'll fire up my second machine and get it for you
  10. Spike

    Spike TS Evangelist Posts: 2,168

    ANother (rather insecure) way of doing it, is to allow guests on the remote machine to "force shutdown from remote system". Do this by going to

    administrative tools -> Local security policies -> user rights assignment -> and add the guest account to the policy "force shutdown from remote system"
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...