Preventing Windows 7 embedded standard shutdown

[亡魂溺海] 提交于 2019-12-13 07:03:52

问题


Other similar question mostly target Windows XP, where everything was easier. =)

I'd like my application to be able to postpone the windows shutdown transparently, without having windows show this screen:

Is there any option left to me after the Vista changes to the WM_QUERYENDSESSION handling?

The target here is Windows 7 standard embedded on an embedded device that runs only my application. Before shutting down the user needs to perform some manual steps that can not be postponed until the next start and must not be forgotten. I'd like to have the user confirm these steps before shutting down.


回答1:


I've come to the conclusion, that there is no way to do this. =/

The workaround I've found is to allow shutdown only via the software at opportune moments. The start menu or task manager is not available to the user, and the hardware power button behavior can be configured to do nothing in the systems power options.



来源:https://stackoverflow.com/questions/8558421/preventing-windows-7-embedded-standard-shutdown

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!