+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
Windows Thread, Shutting Down computers remotely in Technical; I do it with a scheduled task as well but did have some problems with user rights, seems that unless ...
  1. #16
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,726
    Thank Post
    176
    Thanked 229 Times in 211 Posts
    Rep Power
    69
    I do it with a scheduled task as well but did have some problems with user rights, seems that unless the user is local admin they need "Shut down the system" and "Shut down remote system" rights for shutdown.exe to run properly?

    Also the scheduled task needed read, read & exec and write rights for it to run

  2. #17

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,867
    Thank Post
    412
    Thanked 778 Times in 651 Posts
    Rep Power
    183
    Quote Originally Posted by gshaw View Post
    I do it with a scheduled task as well but did have some problems with user rights, seems that unless the user is local admin they need "Shut down the system" and "Shut down remote system" rights for shutdown.exe to run properly?

    Also the scheduled task needed read, read & exec and write rights for it to run
    Yes, they do. Shutdownertron doesn't, though, because it runs in the system context not a user's, so it neatly gets round both these problems.

  3. #18
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,031
    Thank Post
    202
    Thanked 42 Times in 34 Posts
    Rep Power
    31
    In addition to what Friez said:-

    You need two files: the batch file and the list of machines.

    batch file (just one line):-

    Code:
    for /f %%a in (all_computers.txt) do ping -n 1 %%a | find "Reply" && shutdown /s /m \\%%a -t 60
    text file 'all_computers.txt' (a list of computer names):-

    Code:
    ict00
    ict01
    ict02
    ict03
    ict04
    ict05
    ict06
    ict07
    ict08
    Run the batch file from a server as a scheduled task with domain admin credentials.

    Having said that, it doesn't always shut down every computer, and doesn't seem to affect the one Vista machine I have.

  4. #19

    Join Date
    Oct 2008
    Posts
    67
    Thank Post
    1
    Thanked 9 Times in 6 Posts
    Rep Power
    14
    Quote Originally Posted by DMcCoy View Post
    I schedule beyondexec shutdown (BeyondExec - Spawn Processes or Shutdown Remote Windows NT/2000/XP WorkStations) with the startup script.

    If you do it with AT (NOT schtasks which can't do interactive properly) then the user gets a popup asking if they want to shutdown and can abort it, popup is also displayed on machines that are not logged in which is nice.
    The nice thing about BeyondExec is that you can set it to only shutdown those machines where no user is logged on. I have a schedule to do this at various times between 3:30pm and 10:00pm. The 10:00 pm one does a force shutdown.

  5. #20

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    PSShutdown Classroom

    PsShutdown Classroom

  6. #21

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,460
    Thank Post
    409
    Thanked 672 Times in 614 Posts
    Rep Power
    192
    Quote Originally Posted by mattx View Post
    PSShutdown Classroom

    PsShutdown Classroom
    Works a treat.

  7. #22

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741
    Quote Originally Posted by Edu-IT View Post
    Works a treat.
    No problem - glad to help.

  8. #23
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,497
    Thank Post
    282
    Thanked 196 Times in 167 Posts
    Rep Power
    76
    Quote Originally Posted by 7andY View Post
    The nice thing about BeyondExec is that you can set it to only shutdown those machines where no user is logged on.
    You can? That's cool - what is the command switch to do that?

  9. #24

    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,198
    Thank Post
    321
    Thanked 314 Times in 219 Posts
    Rep Power
    125
    or you could use lanview... but it does require you to install the client... but it is a great piece of software... again you can shutdown all the machines that aren't logged on... plus they are about to release a new version..

  10. #25

    Join Date
    Oct 2008
    Posts
    67
    Thank Post
    1
    Thanked 9 Times in 6 Posts
    Rep Power
    14
    Quote Originally Posted by NickJones View Post
    You can? That's cool - what is the command switch to do that?
    'Ignore computers in use' switch is -n

    7&Y

  11. Thanks to 7andY from:

    enjay (18th December 2008)

  12. #26
    silver's Avatar
    Join Date
    Dec 2008
    Location
    South
    Posts
    153
    Thank Post
    9
    Thanked 13 Times in 6 Posts
    Rep Power
    15
    Ok - Stupid here
    Can someone explain in words of one syllable how to get shutdownertron to be applied to all the computers?
    Last edited by silver; 23rd February 2009 at 10:56 AM.

  13. #27
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,477
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    53
    HI

    With Shudownerton in the install directory there is a amd file that you can import into active directory into a gpo. This will allow you to set times etc.

    Richard

  14. #28
    silver's Avatar
    Join Date
    Dec 2008
    Location
    South
    Posts
    153
    Thank Post
    9
    Thanked 13 Times in 6 Posts
    Rep Power
    15
    Just looked in GP management and I have no 'locations' so I don't see how I can install it on to the computers in the IT suite
    There must be a way?
    Sorry to be stupid - what do you mean by 'in the install directory?'



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Randomly shutting down
    By Lesley_tech in forum Windows
    Replies: 20
    Last Post: 20th June 2008, 01:40 PM
  2. Replies: 2
    Last Post: 1st April 2008, 11:49 PM
  3. Shutting down stations at certain time????
    By marvin in forum Windows
    Replies: 3
    Last Post: 13th March 2008, 10:01 AM
  4. Replies: 11
    Last Post: 16th October 2007, 03:37 PM
  5. pcs shutting down Whats causing it ?????
    By goodhead in forum Windows
    Replies: 14
    Last Post: 4th March 2007, 08:30 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
  •