Gatt Posted June 11, 2008 Posted June 11, 2008 (edited) 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? Edited June 11, 2008 by Gatt Rebooted needed after GPO deployment - damn!
sharkster Posted June 11, 2008 Posted June 11, 2008 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
ZeroHour Posted June 11, 2008 Posted June 11, 2008 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.
Gatt Posted June 11, 2008 Author Posted June 11, 2008 @ZH - imported reg script into the HKLM\CCS\services key
iatkinson Posted June 11, 2008 Posted June 11, 2008 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.
ZeroHour Posted June 11, 2008 Posted June 11, 2008 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.
jamin100 Posted June 11, 2008 Posted June 11, 2008 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
Gatt Posted June 11, 2008 Author Posted June 11, 2008 @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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now