+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Server 2000/2003 Thread, Script in Technical; Does anyone have a script that can be applied on Windows Server 2003 that will automatically shut down all PC ...
  1. #1

    Join Date
    Jan 2009
    Location
    birmingham
    Posts
    35
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Script

    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

  2. #2

    witch's Avatar
    Join Date
    Nov 2005
    Location
    Dorset
    Posts
    11,359
    Thank Post
    1,396
    Thanked 2,406 Times in 1,692 Posts
    Rep Power
    708
    This is what you want:

    Released: Shutdownertron v1.3

    It's very good!!

  3. #3

    Join Date
    Jan 2009
    Location
    birmingham
    Posts
    35
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thank you i'll have a go

  4. #4

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    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

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,789
    Thank Post
    3,296
    Thanked 1,054 Times in 975 Posts
    Rep Power
    365
    make sure it excludes the servers if you are scheduling it on the server

  6. #6

    Join Date
    Oct 2008
    Posts
    67
    Thank Post
    1
    Thanked 9 Times in 6 Posts
    Rep Power
    14
    Beyondexec does it for us.

  7. #7
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,217
    Thank Post
    215
    Thanked 226 Times in 195 Posts
    Rep Power
    73
    We used to run shutdowns via a batch file but no we use the features built into BrowseControl, works great

  8. #8

    witch's Avatar
    Join Date
    Nov 2005
    Location
    Dorset
    Posts
    11,359
    Thank Post
    1,396
    Thanked 2,406 Times in 1,692 Posts
    Rep Power
    708
    Quote Originally Posted by mac_shinobi View Post
    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!

  9. #9

    Join Date
    Dec 2008
    Location
    Lancashire
    Posts
    380
    Thank Post
    28
    Thanked 6 Times in 6 Posts
    Rep Power
    13
    Quote Originally Posted by witch View Post
    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

  10. #10
    36Degrees's Avatar
    Join Date
    Jan 2010
    Location
    Nottingham
    Posts
    1,060
    Thank Post
    165
    Thanked 153 Times in 124 Posts
    Rep Power
    52
    +1 for Shutdownertron. You can install on all machines and then just create a GPO for different times to apply to different OUs.

  11. #11
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    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.

  12. #12

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    199
    shtdownartron here too

  13. #13
    superfletch's Avatar
    Join Date
    Nov 2007
    Location
    South
    Posts
    436
    Thank Post
    146
    Thanked 77 Times in 61 Posts
    Rep Power
    31
    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.

  14. #14
    IanT's Avatar
    Join Date
    Aug 2008
    Location
    @ the back of my server racks farting.....
    Posts
    1,891
    Thank Post
    2
    Thanked 118 Times in 109 Posts
    Rep Power
    60
    ...............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.

  15. #15
    superfletch's Avatar
    Join Date
    Nov 2007
    Location
    South
    Posts
    436
    Thank Post
    146
    Thanked 77 Times in 61 Posts
    Rep Power
    31
    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.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Have I done this right? - VB Script
    By Johan in forum Windows
    Replies: 4
    Last Post: 22nd September 2010, 03:30 PM
  2. Script help
    By dhorowitz in forum Scripts
    Replies: 6
    Last Post: 23rd July 2010, 07:12 PM
  3. Need a Script if Possible
    By Paul_L in forum Scripts
    Replies: 6
    Last Post: 2nd October 2008, 02:33 PM
  4. Logon script & Printer script question.
    By Galway in forum Windows
    Replies: 3
    Last Post: 29th August 2007, 11:00 AM
  5. Does anyone have a script...
    By wesleyw in forum Scripts
    Replies: 4
    Last Post: 5th July 2007, 01:58 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •