+ Post New Thread
Results 1 to 8 of 8
New Project Ideas Thread, Forced Shutdown Schedular in EduGeek Projects; OK not sure where this should really go so mods - feel free to move as needed I have packaged ...
  1. #1

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,543
    Thank Post
    831
    Thanked 610 Times in 413 Posts
    Rep Power
    432

    Forced Shutdown Schedular

    OK not sure where this should really go so mods - feel free to move as needed

    I have packaged the free "poweroff.exe" utility into an installable MSI file that will copy the exe to the system32 folder and add a service to the registry that has been coded to force a Shutdown of the PC at 8PM every day

    there are a few known issues at present:

    1) Cant figure out how to get VS2008 to add a "restart now/later prompt" during manual installation.

    2) Until the PC is restarted the servcie is not visible in services.msc - - a reboot is required even if deployed via GPO (Problem 1 above)

    I've uploaded it here if some of you wanna test it for me?
    Last edited by Gatt; 11th June 2008 at 10:19 AM. Reason: Rebooted needed after GPO deployment - damn!

  2. #2
    sharkster's Avatar
    Join Date
    Nov 2007
    Location
    Middlesbrough
    Posts
    149
    Thank Post
    23
    Thanked 26 Times in 21 Posts
    Rep Power
    18
    are you just wanted them to do a forced shutdown?
    you can do this using a batch file, i can send you it if you like and use taskschedual to set it off

  3. #3

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,580
    Thank Post
    872
    Thanked 1,294 Times in 787 Posts
    Blog Entries
    1
    Rep Power
    437
    How are you creating the service?
    We could make this a edugeek tool and make our own version of poweroff.exe (I can do it in VS2005 c# in minutes I think)
    Its easy to make a group policy module up for it too. You just need to read certain keys.

  4. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,543
    Thank Post
    831
    Thanked 610 Times in 413 Posts
    Rep Power
    432
    @ZH - imported reg script into the HKLM\CCS\services key

  5. #5
    iatkinson's Avatar
    Join Date
    Jun 2007
    Location
    Blackburn
    Posts
    135
    Thank Post
    5
    Thanked 6 Times in 5 Posts
    Rep Power
    15
    Been doing this with batch files but now looking for something to install to the individual PC's. Want them to shutdown about 5 o'clock but want staff/students to be able to interrupt the shutdown if they are still using the machine. i.e. 10 mins to enter a displayed passphrase to halt shutdown process.

  6. #6

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,580
    Thank Post
    872
    Thanked 1,294 Times in 787 Posts
    Blog Entries
    1
    Rep Power
    437
    Gatt: I would use the inbuilt service creation routine in the msi as I think it should list the service then. If you want I can take a stab and see what comes out?
    BTW added you to msn.

  7. #7
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,023
    Thank Post
    138
    Thanked 97 Times in 77 Posts
    Rep Power
    32
    Quote Originally Posted by iatkinson View Post
    Been doing this with batch files but now looking for something to install to the individual PC's. Want them to shutdown about 5 o'clock but want staff/students to be able to interrupt the shutdown if they are still using the machine. i.e. 10 mins to enter a displayed passphrase to halt shutdown process.
    exactly the same here

  8. #8

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,543
    Thank Post
    831
    Thanked 610 Times in 413 Posts
    Rep Power
    432
    @ZH - yeah trying to figure out HOW to get VS2008 to start the service after installtion - once its run a reboot is only needed to add it to services.msc

SHARE:
+ Post New Thread

Similar Threads

  1. Shutdown of VM on ESX Server
    By robknowles in forum Wireless Networks
    Replies: 5
    Last Post: 19th February 2010, 10:32 PM
  2. GPupdate on shutdown.
    By boomam in forum Windows
    Replies: 9
    Last Post: 28th February 2008, 03:48 PM
  3. Odd shutdown problem
    By Frazer in forum Windows
    Replies: 6
    Last Post: 7th September 2007, 08:50 AM
  4. UPS auto shutdown
    By adamyoung in forum How do you do....it?
    Replies: 14
    Last Post: 4th July 2007, 09:50 AM
  5. Christmas Shutdown
    By nawbus in forum Wireless Networks
    Replies: 16
    Last Post: 20th December 2005, 10:02 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
  •