Jump to content

Recommended Posts

Posted

hi is there anyway to auto shutdown 200 workstation ? we runing windows 2000 server and windows 2000/xp workstation any freeware or build in stuff that let me shutdown all workstation @ say 5pm (go home at 5:15) im to lasy to walk up 3 level :P 1st floor 70pc 2nd floor 55 3rd floor 75 :P staff not turn them off :@


Posted

I have a similar problem. :) But mine is is a little more complicated.

http://www.msfn.org/board/index.php?showto...ndpost&p=354913

Yes there is a way to shutdown those computers. Try using the Shutdown utility from Windows2000 Resource Kit or Windows XP, or Sysinternals' PsShutdown. :)

PsShutdown v2.42 - Shutdown, logoff and power manage local and remote systems
Copyright (C) 1999-2005 Mark Russinovich
Sysinternals - www.sysinternals.com

usage:
psshutdown -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t [nn|h:m]] [-e [u|p]:xx:yy] [-m "message"] [-u Username [-p password]] [-n s] [\\computer[,computer[,...]|@file]
  -a          Abort a shutdown (only possible while countdown is in progress)
  -c          Allow the shutdown to be aborted by the interactive user
  -d          Suspend the computer
  -e          Shutdown reason code (available on Windows XP and higher).
              Specify 'u' for unplanned and 'p' for planned
              shutdown reason codes.
              xx is the major reason code (must be less than 256)
              yy is the minor reason code (must be less than 65536)
  -f          Forces running applications to close
  -h          Hibernate the computer
  -k          Poweroff the computer (reboot if poweroff is not supported)
  -l          Lock the computer
  -m          Message to display to logged on users
  -n          Specifies timeout in seconds connecting to remote computers
  -o          Logoff the console user
  -p          Specifies optional password for user name. If you omit this
              you will be prompted to enter a hidden password.
  -r          Reboot after shutdown
  -s          Shutdown without poweroff
  -t          Specifies countdown in seconds until shutdown (default is 20) or
              the time of shutdown (in 24 hour notation)
  -u          Specifies optional user name for login to remote
              computer.
  computer    Shutdown the computer or computers specified
  @file       Shutdown the computers listed in the file specified


Reasons defined on this computer (U = unplanned, P = planned):
Type   Major   Minor   Title
 U      0       0     Other (Unplanned)
 P      0       0     Other (Planned)
 U      1       1     Hardware: Maintenance (Unplanned)
 P      1       1     Hardware: Maintenance (Planned)
 U      1       2     Hardware: Installation (Unplanned)
 P      1       2     Hardware: Installation (Planned)
 U      2       3     Operating System: Upgrade (Unplanned)
 P      2       3     Operating System: Upgrade (Planned)
 U      2       4     Operating System: Reconfiguration (Unplanned)
 P      2       4     Operating System: Reconfiguration (Planned)
 U      4       1     Application: Maintenance (Unplanned)
 P      4       1     Application: Maintenance (Planned)
 U      4       5     Application: Unresponsive
 U      4       6     Application: Unstable

Posted

Or you can use internal command shutdown with for /f wrapper.

Shutdown.bat

For /f "Usebackq " %%i in (`type computers.ini`) do (
echo shutdown -s -t 01 -f -m \\%%i
)

Computers.ini

computer1
computer2

Posted

You CAN shutdown workstations with command I provided. You only need to have this command on SERVER station, I mean station from which you will launch the mass shutdown. You dont need to have this command on every workstation you are trying to shut down.

Similar like accessing WMI from console - only master (server) have to contain ability, clients dont need it...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...