
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!
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

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.

@ZH - imported reg script into the HKLM\CCS\services key
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.

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.

@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
There are currently 1 users browsing this thread. (0 members and 1 guests)