+ Post New Thread
Results 1 to 11 of 11
Windows Thread, Software to shutdown multiple remote PC's, that integrates with AD? in Technical; Hi Guy's/Gal's, I was wondering if anyone knew of any software to shutdown multiple remote PC's, that integrates with AD? ...
  1. #1
    wagnerk's Avatar
    Join Date
    Jun 2007
    Location
    Northants
    Posts
    807
    Thank Post
    64
    Thanked 166 Times in 135 Posts
    Rep Power
    46

    Software to shutdown multiple remote PC's, that integrates with AD?

    Hi Guy's/Gal's,

    I was wondering if anyone knew of any software to shutdown multiple remote PC's, that integrates with AD? But also has a report function built-in, eg how many PC's were left on, the amount of money saved by shutting down those PC's, how "green" we are and any other reports that may be requested.

    Thanks

    -Ken
    Last edited by wagnerk; 26th July 2009 at 10:02 PM. Reason: thanks added

  2. #2

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,998
    Thank Post
    352
    Thanked 1,301 Times in 891 Posts
    Blog Entries
    4
    Rep Power
    1131
    I have written a little batch file which runs PSShutdown. This file also writes back to the server echoing the on screen messages [effectively recording everything that is displayed while PSShutdown is running.

    I have a single GPO calling the batch file for all the workstation/laptops in all OUs on the domain but I plan to have differing GPOs so that the shut-down can start at different times and allow staff to cancel the shut-down if they are working at a dedicated staff [only] machine.

    I can post more details tomorrow.

    Would this be of any use?
    Last edited by DaveP; 26th July 2009 at 10:24 PM. Reason: Add detail to the post.

  3. Thanks to DaveP from:

    wagnerk (27th July 2009)

  4. #3

    Join Date
    May 2009
    Location
    UK
    Posts
    294
    Thank Post
    64
    Thanked 21 Times in 20 Posts
    Rep Power
    15
    I'd be interested in such a batch file to go into my "little black book" for future reference!

  5. #4

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,998
    Thank Post
    352
    Thanked 1,301 Times in 891 Posts
    Blog Entries
    4
    Rep Power
    1131
    Quote Originally Posted by Ignatius View Post
    I'd be interested in such a batch file to go into my "little black book" for future reference!
    OK I will post what I have tomorrow.

  6. #5
    wagnerk's Avatar
    Join Date
    Jun 2007
    Location
    Northants
    Posts
    807
    Thank Post
    64
    Thanked 166 Times in 135 Posts
    Rep Power
    46
    Quote Originally Posted by DaveP View Post
    ...Would this be of any use?
    Yes please

    -Ken

  7. #6

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,998
    Thank Post
    352
    Thanked 1,301 Times in 891 Posts
    Blog Entries
    4
    Rep Power
    1131
    This is what I have in place currently:

    echo. | time/t > PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station01.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station02.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station03.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    .....
    .....
    .....
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station300.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station301.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    psshutdown -m "This computer will shutdown in 5 minutes. Please save any unsaved work." -t 300 -f \\Station302.ChildDomain.ParentDomain.local >> PSShutdown.TXT 2>&1
    echo. | time/t >> PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT
    This is the output at the server:

    06:30 PM
    Wed 07/01/2009
    06:30 PM
    Wed 07/01/2009
    PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com
    The network path was not found.
    Connecting to Station01.ChildDomain.ParentDomain.LOCAL...

    Couldn't access Station01.ChildDomain.ParentDomain.LOCAL:
    Make sure that the default admin$ share is enabled on Station01.ChildDomain.ParentDomain.LOCAL.
    If Station01.ChildDomain.ParentDomain.LOCAL is already performing a shutdown operation you must
    abort it before issuing a different command.
    06:31 PM
    Wed 07/01/2009
    PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com
    Station02.ChildDomain.ParentDomain.LOCAL is scheduled to power off in 00:05:00.
    Connecting to Station02.ChildDomain.ParentDomain.LOCAL...

    Starting PsShutdown service on Station02.ChildDomain.ParentDomain.LOCAL...

    Connecting with psshutdown service on Station02.ChildDomain.ParentDomain.LOCAL...

    06:31 PM
    Wed 07/01/2009
    PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems
    Copyright (C) 1999-2006 Mark Russinovich
    Sysinternals - www.sysinternals.com
    Station03.ChildDomain.ParentDomain.LOCAL is scheduled to power off in 00:05:00.
    Connecting to Station03.ChildDomain.ParentDomain.LOCAL...

    Starting PsShutdown service on Station03.ChildDomain.ParentDomain.LOCAL...

    Connecting with psshutdown service on Station03.ChildDomain.ParentDomain.LOCAL...

    06:31 PM
    Wed 07/01/2009
    ....
    ....
    ....
    I have bracketed each station/laptop shutdown command with

    echo. | time/t > PSShutdown.TXT
    echo. | date/t >> PSShutdown.TXT

    because at the time of writing the batch file we were having trouble with comms on our network and I wanted to see:

    If the stations were seeing the shutdown command/being found by the shutdown command.
    How long it was taking to go from station to station.

    It may not be very neat but it does the job.

    I will be moving away from this method of shutting the stations down soon. When I wrote the original version of this batch file we were using Server 2003. We have since moved over to Server 2008. I can now add a scheduled task in Group Policy for each OU. Once the sheduled task is in place the scheduled task will run locally and all the stations will shutdown together, rather than sequentially, so I can have all stations shutdown in less than 5 minutes [compared with the 3 to 4 hours it currently takes]

    Hope this helps.
    Last edited by DaveP; 27th July 2009 at 08:44 AM. Reason: Correct post content.

  8. 2 Thanks to DaveP:

    Ignatius (18th August 2009), wagnerk (27th July 2009)

  9. #7

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    PSShutdown Classroom does not do everything you want it to do but may give you some ideas.....

    PsShutdown Classroom

  10. Thanks to mattx from:

    wagnerk (27th July 2009)

  11. #8

    Join Date
    Aug 2009
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by wagnerk View Post
    Hi Guy's/Gal's,

    I was wondering if anyone knew of any software to shutdown multiple remote PC's, that integrates with AD? But also has a report function built-in, eg how many PC's were left on, the amount of money saved by shutting down those PC's, how "green" we are and any other reports that may be requested.

    Thanks

    -Ken
    Hi.
    You can use Network Shutdown Tool. It's program can shutdown, reboot, wakeup a group of network PCs.
    I have been using this program on our domain.

  12. #9

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,828
    Thank Post
    3,340
    Thanked 1,057 Times in 978 Posts
    Rep Power
    365
    powdarrmonkey on edugeek has this

    Shutdownertron

  13. Thanks to mac_shinobi from:

    powdarrmonkey (18th August 2009)

  14. #10
    tosh74's Avatar
    Join Date
    Dec 2006
    Location
    Scotland
    Posts
    136
    Thank Post
    27
    Thanked 43 Times in 27 Posts
    Rep Power
    23

    Thumbs up

    another vote for powdarrmonkey's Shutdownertron

    Does what it says on the tin...with minimum fuss

  15. #11
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,035
    Thank Post
    305
    Thanked 293 Times in 203 Posts
    Rep Power
    120
    Lanview 3 is a great little piece of software that tells you how long a machine has been left on. We have a hit list of staff that are prone to leaving machines on.

SHARE:
+ Post New Thread

Similar Threads

  1. Found this for remote access to pc's
    By plexer in forum How do you do....it?
    Replies: 4
    Last Post: 28th August 2009, 04:25 PM
  2. Replies: 7
    Last Post: 10th July 2009, 06:43 PM
  3. Disabling the remote shutdown command.
    By IT_Man_Dan in forum Windows
    Replies: 15
    Last Post: 15th November 2007, 01:31 PM
  4. Remote shutdown
    By Kained in forum Windows
    Replies: 9
    Last Post: 28th August 2007, 06:44 PM
  5. Remote Shutdown Query
    By Kained in forum How do you do....it?
    Replies: 10
    Last Post: 27th April 2007, 08:57 AM

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
  •