flyinghaggis Posted January 26, 2006 Posted January 26, 2006 We've been looking at ways to do this to save power/rollout software and to stop problems with files being skipped when our backup runs (due the users leaving themselves logged on all night with documents open). That and it'll stop people from leaving desktop PC's up for months without ever rebooting them! We've looked at using sysinternals PSShutDown running as a script from the server/locally and also considered deploying a scheduled task to the client workstations (via wininstall) but wondered if anyone else had any suggestions for the best way to go about doing this?
Guest Posted January 26, 2006 Posted January 26, 2006 I just use SHUTDOWN.EXE in a batch file, via scheduled task. For remote startup I enable WOL on the PCs and use a utility wol.exe plus batch file which interagates a CSV file with the PCs MAC addresses. You can the run the script to wake up different groups of computers. If you want a copy, let me know
krb548 Posted January 26, 2006 Posted January 26, 2006 I recently started using the PSShutdown tool. It appears to be working ok but I have noticed a problem with one pc. If for whatever reason Windows XP trys to syncronise offline files and it fails to complete the task for any reason it leaves the pc on displaying the error but other than that it works fine here.
StewartKnight Posted January 26, 2006 Posted January 26, 2006 I like the computer to be on overnight, because Sophos does a scan at 2am. I use "shadow volume" now, so that all files are "backed up", and if the occasional document is still open, it'll get backed up the next evening anyway!
ZeroHour Posted January 26, 2006 Posted January 26, 2006 Yeh we are having a play with PSShutdown right now. Seems good.
fooby Posted January 26, 2006 Posted January 26, 2006 This is in our startup script here, serves a dual purpose. One to schedule the shutdown of the pc's (and so if they come back on, it switches them off again) and it clears the scheduled task list (just in case someone gets one in there ) fooby schtasks /create /sc daily /st 18:00:00 /tn "Shutdown at 1800" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system schtasks /create /sc daily /st 22:00:00 /tn "Shutdown at 2200" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system schtasks /create /sc daily /st 00:00:00 /tn "Shutdown at 0000" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system schtasks /create /sc daily /st 01:00:00 /tn "Shutdown at 0100" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system schtasks /create /sc daily /st 03:00:00 /tn "Shutdown at 0300" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system schtasks /create /sc daily /st 05:00:00 /tn "Shutdown at 0500" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time. You have 60 seconds to save all your work and logoff.\"" /ru system
webman Posted January 26, 2006 Posted January 26, 2006 If you want to be able to reboot a selected group of workstations (to pick up an update) you can get hold of my RPKiller script from this here forum... just do a search.
MkII Posted January 26, 2006 Posted January 26, 2006 I use poweroff: http://users.pandora.be/jbosman/poweroff/poweroff.htm and wakeonlan as has been said. poweroff shutdown -remote -use_nt -warn -warntime 60 -msg "Your pc will power off in 60 seconds\nPlease save your work" -force -quiet
SpuffMonkey Posted January 26, 2006 Posted January 26, 2006 This is what I do - about 30 minutes before the backups start "E:\program files\PSShutdown\PSShutdown.exe" @PCList.txt -o -f > "E:\program files\psshutdown\logout.log" "C:\Program Files\LimitLogin\llogincmd.exe" /c PCList.txt is just a text file with a list of PC names in, and it dumps output into a file just in case I want to have a look. 1
indie Posted January 26, 2006 Posted January 26, 2006 I just use "shutdown -i" to invoke interactive mode and select a group of machines by name to shutdown. Doesn't take too much time to do! I've got a problem with WOL, our switches discard the MAC table after a couple of hours so in the mornings there's no MAC address info on the switches so WOL doesn't work Really need to look into that!
Michael Posted January 26, 2006 Posted January 26, 2006 I use Shutdown -i like Indie, however this only works on XP Professional machines and not 2000 Professional. Right click the desktop and select New > Shortcut The fields should read as follows: Target: %windir%\System32\shutdown.exe -i Start in: %windir%\System32\ Now apply changes. Double click the shortcut and you can specify any number of XP machines on your domain to restart or shutdown. I use this everynight to shutdown XP machines
Sirbendy Posted January 30, 2006 Posted January 30, 2006 look at Beyondexec....I use that. Does much more besides.. You'll need to google it though.
mac_shinobi Posted January 30, 2006 Posted January 30, 2006 From experts exchange : The icon simply executes a trivial batch file that has one line per PC to send a magic packet. Looks like this: mc-wol aa:bb:cc:dd:ee:ff mc-wol aa:bb:cc:dd:ee:ff mc-wol aa:bb:cc:dd:ee:ff where the aa:bb:cc:dd:ee:ff on each line is the NIC address for the different computers I want turned on. mc-wol is a simple utility that just sends a magic packet -- available free here: http://www.matcode.com/wol.htm They also have a free utility (mcgetmac) to show you the NIC address for each of your PC's. There is wake on lan and also remote shutdown Both free utils and you can get a batch file to use them as far as I am aware by using the mac addresses of the NICS. 1
ShorehamGeek Posted February 1, 2006 Posted February 1, 2006 From experts exchange The icon simply executes a trivial batch file that has one line per PC to send a magic packet. Looks like this mc-wol aabbccddeeff mc-wol aabbccddeeff mc-wol aabbccddeeff where the aabbccddeeff on each line is the NIC address for the different computers I want turned on. mc-wol is a simple utility that just sends a magic packet -- available free here http//www.matcode.com/wol.htm They also have a free utility (mcgetmac) to show you the NIC address for each of your PC's. There is wake on lan and also remote shutdown ) Both free utils and you can get a batch file to use them as far as I am aware by using the mac addresses of the NICS. Top tip Gecko Just tested on one PC - but it looks very promising. Hmmmm, this would replace the £600 of WOL software that F-S where going to charge. Many thanks.
mac_shinobi Posted February 1, 2006 Posted February 1, 2006 no problem, that site ( the matcode one ) also has other very useful stuff, especially in the code section for editing / reading the registry in dos ( if I remember correctly ) and other things like that. Which was used to retrieve the xp serial key from a dead system and could most likely be used to do the same for win 9x etc ( not that its of much use to a school because of volume licensing but I thought it was pretty nifty and handy to know about ) lol.
mac_shinobi Posted February 1, 2006 Posted February 1, 2006 no problem, that site ( the matcode one ) also has other very useful stuff, especially in the code section for editing / reading the registry in dos ( if I remember correctly ) and other things like that. Which was used to retrieve the xp serial key from a dead system and could most likely be used to do the same for win 9x etc ( not that its of much use to a school because of volume licensing but I thought it was pretty nifty and handy to know about ) lol.
Gatt Posted February 1, 2006 Posted February 1, 2006 I use something called AdvancedRemoteInfo found here Can batch shutdown/reboot/Logoff and even cancel them You can also get loads of info on a specific PC as well as take snapshot of the wokstation (handy for when a kid denies all knowledge of things!) though you need the screenshot add-on All free and very useful!
mac_shinobi Posted February 1, 2006 Posted February 1, 2006 I use something called AdvancedRemoteInfo found here Can you please re post the URL cos it dont work.
Gatt Posted February 2, 2006 Posted February 2, 2006 I use something called AdvancedRemoteInfo found here Can you please re post the URL cos it dont work. Sorry - here it is .. MasterBootRecord.de
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