ugclee Posted July 19, 2005 Posted July 19, 2005 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 1st floor 70pc 2nd floor 55 3rd floor 75 staff not turn them off :@
totoymola Posted July 19, 2005 Posted July 19, 2005 I have a similar problem. But mine is is a little more complicated.http://www.msfn.org/board/index.php?showto...ndpost&p=354913Yes 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 systemsCopyright (C) 1999-2005 Mark RussinovichSysinternals - www.sysinternals.comusage: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 specifiedReasons 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
ugclee Posted July 20, 2005 Author Posted July 20, 2005 so i have to make a bat file with all computer name in ?
Martin Zugec Posted July 20, 2005 Posted July 20, 2005 Or you can use internal command shutdown with for /f wrapper. Shutdown.batFor /f "Usebackq " %%i in (`type computers.ini`) do ( echo shutdown -s -t 01 -f -m \\%%i )Computers.inicomputer1computer2
Martin Zugec Posted July 20, 2005 Posted July 20, 2005 Yes... However you can shutdown w2k stations from xpWhat OS is your admin machine?
ugclee Posted July 21, 2005 Author Posted July 21, 2005 server 2000 but i got a laptop with xp with admin tools installed so how i shut down 2k workstations
Martin Zugec Posted July 21, 2005 Posted July 21, 2005 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...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now