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 ...
11th June 2008, 11:14 AM #1
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 11:19 AM.
Reason: Rebooted needed after GPO deployment - damn!
IDG Tech News
11th June 2008, 11:16 AM #2
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
11th June 2008, 11:44 AM #3
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.
11th June 2008, 12:02 PM #4
@ZH - imported reg script into the HKLM\CCS\services key
11th June 2008, 12:05 PM #5
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.
11th June 2008, 12:47 PM #6
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.
11th June 2008, 01:09 PM #7
exactly the same here
Originally Posted by iatkinson
11th June 2008, 01:20 PM #8
@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
By robknowles in forum Wireless Networks
Last Post: 19th February 2010, 11:32 PM
By boomam in forum Windows
Last Post: 28th February 2008, 04:48 PM
By Frazer in forum Windows
Last Post: 7th September 2007, 09:50 AM
By adamyoung in forum How do you do....it?
Last Post: 4th July 2007, 10:50 AM
By nawbus in forum Wireless Networks
Last Post: 20th December 2005, 11:02 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)