StuieNorris Posted May 28, 2010 Posted May 28, 2010 Hi Forum,Not sure if is the correct place to ask. However here goes.I have written a custom shell to use with WinPE 3.0 to deploy OS to multiple systems using WIM.The WinPE image I create is just default with WMI.cab included. My shell is copied into \windows\system32\myshell.exe and the winpeshi.ini.However, I cannot detect when the power button is pressed. I want the use after completion of the imaging to press the power button to shutdown the system.What do I need to do to be able to detect the power button pressed? Do I need to load drivers for the ACPI power buttons on my PC? Or are they just treated is it treated as just a standard power button.ThanksStuart
Tripredacus Posted May 28, 2010 Posted May 28, 2010 Can you just use the command to shut the machine down instead? It is:wpeutil shutdown
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