Not to mention “shut down” on the start menu, although I think group policy can remove that.
Jan
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gary Little
Sent: Wednesday, August 21, 2013 1:57 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Capturing Physical Power Button Event in Windows XP Embedded
Maybe I have missed the point here, but I have been powering down and restarting XP machines without the use of a physical power button for years. PowerShell provides “stop-computer” and “restart-computer”, and if PowerShell is not installed, then a standard command line and “shutdown” will perform the required power off. In WinDbg I have been known to do “.reboot”. If I am not mistaken “Ctl+Alt+Del” provides a menu that includes power off, and at one time, Task Manager included power off.
There are many ways of powering off and restarting a system that does not require pressing a physical button.
Gary Little
xxxxx@comcast.netmailto:xxxxx
C 952-454-4629
Tain’t what you want that makes you fat, it’s what you get.
On Aug 21, 2013, at 3:24 PM, Maxim S. Shatskih > wrote:
The easiest way is to just disconnect the front panel power button from the motherboard physically, and set the BIOS option of “power up on AC power on”.
“Shuodan Chen” > wrote in message news:xxxxx@ntdev…
Thanks for your feedback. Yes, if the users want an intentional shutdown, power button press for 4 seconds will do it. The software implementation is meant to be a preventive measure to minimize accidental shutdown.
Scheduled automatic power on will not work since it requires altering the BIOS, which is one of the constraints.
Shuodan
On Tue, Aug 20, 2013 at 2:56 PM, Jan Bottorff > wrote:
>Purpose: Prevent the users from accidentally shutting down the system when they press the power button because the systems, which are in the >field, are used for communication and therefore need to remain ON.
And what’s to prevent a user from holding down the power button for typically 4 seconds when they notice the system is not shutting down. That’s not something you can control from software. On most motherboards, holding the power button will force a power off.
Perhaps you would be better off setting an automatic power on at a scheduled time.
Jan
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx>