+ Post New Thread
Page 6 of 9 FirstFirst ... 23456789 LastLast
Results 76 to 90 of 123
Windows Thread, Software to shut down PC's? in Technical; Originally Posted by eean Here it is. Only works for XP. Hope it works. As we are getting a new ...
  1. #76

    Join Date
    May 2006
    Posts
    1,315
    Thank Post
    101
    Thanked 25 Times in 18 Posts
    Rep Power
    25

    Re: Software to shut down PC's?

    Quote Originally Posted by eean
    Here it is. Only works for XP. Hope it works.
    As we are getting a new computers with XP Pro across the entire school soon, my original issues are now resolved. I'm gonna download a copy of this and keep it for when the new computers are installed.

    Thanks for this

  2. #77
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    644
    Thank Post
    118
    Thanked 89 Times in 73 Posts
    Rep Power
    78
    Quote Originally Posted by fooby View Post
    In a startup script (on our image that is cloned / or in a group policy startup script)

    Code:
    REM Delete all tasks (not needed, butin case some evil person already has)
    schtasks /delete /tn * /f 
    
    REM Create a task for this computer to shut itself down at 6pm
    schtasks /create /sc daily /st 18:00:00 /tn "Shutdown at 1800" /tr "shutdown -s -t 60 -c \"This computer is scheduled to automatically shutdown at this time.          You have 60 seconds to save all your work and logoff.\"" /ru system
    This way theres no "I need a list of pc's" or "use this tool just search google all day" these are all in windows already and just need to be run once per machine - or placed carefully in a startup script. (Note, this is used on WinXP clients, with 2000 YMMV)

    fooby
    Sorry for digging up such an thread. But the holiday is here and work must go on!

    This script works when i run it on my computer, but when i save it as a .bat and set it to a logon script it doesn't run.

    Could anyone shed any light?

    Mike

  3. #78
    eean's Avatar
    Join Date
    May 2006
    Location
    Kuala Lumpur
    Posts
    559
    Thank Post
    65
    Thanked 52 Times in 37 Posts
    Rep Power
    29
    Quote Originally Posted by linkazoid View Post
    This script works when i run it on my computer, but when i save it as a .bat and set it to a logon script it doesn't run.
    The logon script doesn't have admin rights to the local machine? You can't have non-admins able to create scheduled tasks that run with system rights - that'd be a huge security hole!
    Try creating an MSI that will execute your batch file. You can do this easily through Windows Installer Wrapper Wizard You can then pop this into active directory and it will run with elevated rights.

  4. #79

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I use the following tool which I schedule to run every evening.

    Save it in a folder called Remoteshutdown on any server. Now open up notepad and copy the following:

    Code:
    REM \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
    REM
    REM	  ICT Shutdown Script
    REM          Shutdown Time: time
    REM       Scheduled on servername
    REM       
    REM	     
    REM \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
            
    remoteshutdown.exe /remote:Computername /f
    remoteshutdown.exe /remote:Computername /f
    remoteshutdown.exe /remote:Computername /f
    remoteshutdown.exe /remote:Computername /f
    remoteshutdown.exe /remote:Computername /f
    remoteshutdown.exe /remote:Computername /f
    Replace Computername with your actual workstation names. Now save the file as Remoteshutdown.bat in the Remoteshutdown folder. Now run Scheduled Tasks and when prompted, choose the batch file you've just created to run at a select time, daily, with domain admin credentials.

    That's it, job done. Your workstations will shutdown at the scheduled time. I use this at many schools running on 2003 Server and XP clients. I haven't tested it on Vista yet.

  5. #80
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    644
    Thank Post
    118
    Thanked 89 Times in 73 Posts
    Rep Power
    78
    I've decided to use the "system shutdown v1.1.msi" and this works perfectly, it installs ok on the computer startup as supposed to, but after installation it shutsdown the computer! can anyone modify the msi to stop it doing this.=?

    Thanks

    Mike

  6. #81
    Sunderwood's Avatar
    Join Date
    Jan 2008
    Posts
    130
    Thank Post
    9
    Thanked 10 Times in 6 Posts
    Rep Power
    15
    Or you can do what we do and write a script that emails me and all of SMT everynight which machines and which rooms are left on and it soon stops!!

  7. #82
    eean's Avatar
    Join Date
    May 2006
    Location
    Kuala Lumpur
    Posts
    559
    Thank Post
    65
    Thanked 52 Times in 37 Posts
    Rep Power
    29
    Quote Originally Posted by linkazoid View Post
    I've decided to use the "system shutdown v1.1.msi" and this works perfectly, it installs ok on the computer startup as supposed to, but after installation it shutsdown the computer! can anyone modify the msi to stop it doing this.=?
    Shutsdown the computer? It doesn't do this on our system. (I made it, by the way) it might restart the computer (I don't think it does) but I don't even know how to make shutdown!
    Is there any chance it was a fluke, eg. caused by WSUS applying some updates?

  8. #83
    linkazoid's Avatar
    Join Date
    May 2007
    Location
    London
    Posts
    644
    Thank Post
    118
    Thanked 89 Times in 73 Posts
    Rep Power
    78
    Thanks for the program! works a treat, cant understand why it shuts down tho, but the week is running out so i shall just email the staff giving them warning of the shutdown on first switching back on.

    Many Thanks

    Mike

  9. #84

    Join Date
    Mar 2007
    Location
    Norfolk.
    Posts
    166
    Thank Post
    28
    Thanked 8 Times in 8 Posts
    Rep Power
    16
    Hi all!!

    Does anyone know of a shutdown program thst you can schedule to force a shutdown..but with a pop up letting a user cancel? Would prefer to have cancel option up a good 15 minutes.

    Im using the shutdown command at the moment..but have to fun this later at night as more and more staff are staying later now and especially need a cancel button for parents evening/training etc.

    Dont care if its free or pay for as i've been looking for a long time now and just want it sorted.

    Cheers!

  10. #85

    Join Date
    Mar 2007
    Location
    Norfolk.
    Posts
    166
    Thank Post
    28
    Thanked 8 Times in 8 Posts
    Rep Power
    16
    Think ive found one called WinMend Auto shutdown.

    Looks like I have to install it..but is free and has a cancel button!!! Will report back if it works on win7.

  11. #86

    Join Date
    Apr 2013
    Location
    Lincolnshire
    Posts
    162
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    We use a programme called netsupport;

    Welcome to the home of NetSupport

    it give the teachers the option of classroom control but also has a technician console, this means that if people do leave pc’s on I can not only connect to them but turn them off, restart or with the aid of pxe boot turn the pc’s on for them, it’s a fantastic programme.

  12. #87

    Join Date
    Mar 2007
    Location
    Norfolk.
    Posts
    166
    Thank Post
    28
    Thanked 8 Times in 8 Posts
    Rep Power
    16
    Ive got that...good software.

    I use that to shutdown the pcs manually..but cant get it to auto shutdown. Also doesnt give the user an option to cancel shutdown.

  13. #88

    Join Date
    Apr 2013
    Location
    Lincolnshire
    Posts
    162
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Have you looked at spiceworks,

    Free IT Community, Help Desk, and Network Monitoring - Spiceworks

    Its free and you can automate startup and shutdown, not to sure if you can cancel it though but as it does work via a scheduled task you could cancel the task to stop it I suppose.

  14. #89

    Join Date
    Mar 2007
    Location
    Norfolk.
    Posts
    166
    Thank Post
    28
    Thanked 8 Times in 8 Posts
    Rep Power
    16
    Cheers..got it installed..will take a look.

  15. #90
    eean's Avatar
    Join Date
    May 2006
    Location
    Kuala Lumpur
    Posts
    559
    Thank Post
    65
    Thanked 52 Times in 37 Posts
    Rep Power
    29
    Back in the day I used psshutdown - have a google and see if it's still about.

SHARE:
+ Post New Thread
Page 6 of 9 FirstFirst ... 23456789 LastLast

Similar Threads

  1. UPS Won't Shut Up.
    By Greg_Jones in forum Hardware
    Replies: 12
    Last Post: 27th November 2007, 09:21 AM
  2. Replies: 6
    Last Post: 19th October 2007, 02:48 PM
  3. Shut Down Options
    By tomlin in forum How do you do....it?
    Replies: 9
    Last Post: 7th October 2007, 12:59 AM
  4. Script to shut down computers in a certain OU
    By tosca925 in forum Scripts
    Replies: 11
    Last Post: 25th September 2005, 09:23 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
  •