防止 Windows 7 嵌入式标准关机 [英] Preventing Windows 7 embedded standard shutdown

查看:33
本文介绍了防止 Windows 7 嵌入式标准关机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其他类似的问题主要针对 Windows XP,在那里一切都更容易.=)

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

我希望我的应用程序能够透明地推迟 windows 关闭,而无需 windows 显示此屏幕:​​

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

Vista 更改为 WM_QUERYENDSESSION 处理后,我还有其他选择吗?

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

此处的目标是嵌入在仅运行我的应用程序的嵌入式设备上的 Windows 7 标准.在关机之前用户需要执行一些不能推迟到下次启动并且不能忘记的手动步骤.我希望用户在关机前确认这些步骤.

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.

推荐答案

我得出的结论是,没有办法做到这一点.=/

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.

这篇关于防止 Windows 7 嵌入式标准关机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆