Jump to content

Recommended Posts

Posted

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 ;)

Posted
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!

Posted
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

Posted
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.
Posted

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.

Posted
...............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.
Posted

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.

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



×
×
  • Create New...