• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

How can we turn off each pc from Windows 2000 Server

How can we turn offf each pc from windows 2000 server.  I am trying to do this remotely.
0
al4629740
Asked:
al4629740
  • 3
  • 3
  • 3
  • +2
2 Solutions
 
Shift-3Commented:
You can do this using PsShutdown.

Enter the target computer names into a text file, one per line, and then run a command like this:

psshutdown @computerlist.txt -k -f

Open in new window

0
 
Justin_W_ChandlerCommented:
Alternatively, you can just grab the shutdown.exe command from the resource kit, or any system running XP, 2003, 2008, or Vista
0
 
al4629740Author Commented:
where do i place the computerlist.txt file?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Shift-3Commented:
It would be easiest to place it in the same directory as psshutdown.exe.
0
 
al4629740Author Commented:
do i download pstools and then place the exe in the system32 directory???????????????
0
 
Shift-3Commented:
You could put it there for simplicity, but it will run fine from any directory.
0
 
Justin_W_ChandlerCommented:
It's a good idea to put it there, however... as that is within the executable search path :)
0
 
MrMintanetCommented:
open command prompt
shutdown -m \\computername

there are other options available

type: shutdown -?  to get the options

Another way:
Right click my computer and goto manage
Right click computer management (Local) and select connect to another computer
Enter in computer name of remote PC
When connected right click computer management (remote PC) and goto properties
Select the advanced tab
Press the settings button in the startup and recovery
At the bottem right of the window appears there is a shutdown button
Press it and it will bring up the options
0
 
al4629740Author Commented:
I did the following :
psshutdown \\* -k -f
but it shut my computer off before it could shutdown everyone else.  How can I shutdown everyone without shutting myself down
 
0
 
MrMintanetCommented:
shutdown -m \\computername

\\comptuername = REMOTE COMPUTER'S NAME
0
 
Justin_W_ChandlerCommented:
MRMINTANET he is using Windows 2000, which does not by default include shutdown.exe
0
 
David_WardCommented:
you can do it professionally with this ...

http://www.visionsoft.com/product.asp?prod=PO

we use it where I work, it is very good (works across all versions of WIndows from NT4 SP6 through Vista).
0
 
MrMintanetCommented:
Thank you for pointing that out.  I had assumed that the command was the same for both.  :S

*points at self*  "Stupid Kids...."
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now