shafia2009 Posted February 17, 2011 Posted February 17, 2011 Does anyone have a script that can be applied on Windows Server 2003 that will automatically shut down all PC in school after 7.00pm. THANK YOU
witch Posted February 17, 2011 Posted February 17, 2011 This is what you want: http://www.edugeek.net/forums/edugeek-shutdownertron/25480-released-shutdownertron-v1-3-a.html It's very good!!
2097 Posted February 17, 2011 Posted February 17, 2011 i use shutdownatron all the time . On some machines it can be a bit buggy sometimes and hang the machine . Another way is create a Bat to send a RPC shutdown and schedule it on the server
mac_shinobi Posted February 17, 2011 Posted February 17, 2011 make sure it excludes the servers if you are scheduling it on the server
themightymrp Posted February 17, 2011 Posted February 17, 2011 We used to run shutdowns via a batch file but no we use the features built into BrowseControl, works great
witch Posted February 17, 2011 Posted February 17, 2011 make sure it excludes the servers if you are scheduling it on the server Yes, I forgot the first time and caused chaos every morning when school started and the server was off!! Took me a couple of days to realise what I had done!
AceDaz Posted February 17, 2011 Posted February 17, 2011 Yes, I forgot the first time and caused chaos every morning when school started and the server was off!! Took me a couple of days to realise what I had done! lol it's easily done tho. I run a utility to delete the local profiles at shutdown because GPO doesn't seem to be doing it properly. I had a few complaints from Media Studies who login locally and need the profile to be permament...I was confused until I realised that their profiles weren't excluded from the profile cleaner lol
36Degrees Posted February 18, 2011 Posted February 18, 2011 +1 for Shutdownertron. You can install on all machines and then just create a GPO for different times to apply to different OUs.
IanT Posted February 20, 2011 Posted February 20, 2011 I wrote a VB script which takes a list of computer names from a text file which shuts all workstations down at 21:00, just create a task in schedule - if you want a copy let me know.
superfletch Posted February 20, 2011 Posted February 20, 2011 This is a .bat script, run it on a scheduled task at 1900 hrs. shutdown -s -m \\computer1 -t 300 -c "***" -f shutdown -s -m \\computer2 -t 300 -c "***" -f shutdown -s -m \\computer3 -t 300 -c "***" -f -t 300 is a timeout of 5 minutes giving users 5 minutes to shut their pc down. -c "***" allows the admin to enter a comment that appears on the target machine. If you are using shared profiles or desktops it can be worthwhile putting a delay inbetween each line, since there is no wait command built into dos then just use a ping.
IanT Posted February 20, 2011 Posted February 20, 2011 ...............or as I've said you could just have a VB Script scheduled which talks to a text file which lists the machines you want to shutdown.
superfletch Posted February 20, 2011 Posted February 20, 2011 I didn't say it was better than what you suggested, it's obviously less technical. Although it's old most people are are at least a little familiar with DOS. I don't know any VB, and you don't give the commands to show how to do it.
somabc Posted February 20, 2011 Posted February 20, 2011 (edited) You will find many examples at TechNet Script Center Repository Edited February 20, 2011 by somabc 1
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