+ 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,445
    Thank Post
    142
    Thanked 196 Times in 181 Posts
    Rep Power
    59
    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. IDG Tech News
  3. #17

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,856
    Thank Post
    412
    Thanked 776 Times in 649 Posts
    Rep Power
    170
    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.

  4. #18
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    989
    Thank Post
    192
    Thanked 39 Times in 32 Posts
    Rep Power
    25
    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.

  5. #19

    Join Date
    Oct 2008
    Posts
    67
    Thank Post
    1
    Thanked 9 Times in 6 Posts
    Rep Power
    11
    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.

  6. #20

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    8,960
    Thank Post
    991
    Thanked 1,014 Times in 597 Posts
    Rep Power
    689
    PSShutdown Classroom

    PsShutdown Classroom

  7. #21

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    6,189
    Thank Post
    374
    Thanked 495 Times in 455 Posts
    Rep Power
    146
    Quote Originally Posted by mattx View Post
    PSShutdown Classroom

    PsShutdown Classroom
    Works a treat.

  8. #22

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    8,960
    Thank Post
    991
    Thanked 1,014 Times in 597 Posts
    Rep Power
    689
    Quote Originally Posted by Edu-IT View Post
    Works a treat.
    No problem - glad to help.

  9. #23
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,342
    Thank Post
    267
    Thanked 190 Times in 162 Posts
    Rep Power
    72
    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?

  10. #24
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    2,249
    Thank Post
    201
    Thanked 153 Times in 121 Posts
    Rep Power
    73
    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..

  11. #25

    Join Date
    Oct 2008
    Posts
    67
    Thank Post
    1
    Thanked 9 Times in 6 Posts
    Rep Power
    11
    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

  12. Thanks to 7andY from:

    enjay (18th December 2008)

  13. #26
    silver's Avatar
    Join Date
    Dec 2008
    Location
    South
    Posts
    153
    Thank Post
    9
    Thanked 13 Times in 6 Posts
    Rep Power
    11
    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 09:56 AM.

  14. #27
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,421
    Thank Post
    19
    Thanked 159 Times in 152 Posts
    Rep Power
    48
    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

  15. #28
    silver's Avatar
    Join Date
    Dec 2008
    Location
    South
    Posts
    153
    Thank Post
    9
    Thanked 13 Times in 6 Posts
    Rep Power
    11
    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, 12:40 PM
  2. Replies: 2
    Last Post: 1st April 2008, 10:49 PM
  3. Shutting down stations at certain time????
    By marvin in forum Windows
    Replies: 3
    Last Post: 13th March 2008, 09:01 AM
  4. Replies: 11
    Last Post: 16th October 2007, 02:37 PM
  5. pcs shutting down Whats causing it ?????
    By goodhead in forum Windows
    Replies: 14
    Last Post: 4th March 2007, 07: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
  •