当电脑需要密码登录时,如何从 sleep 状态登录电脑。 我可以创建windows服务以在PC从 sleep 中唤醒时自动输入密码并登录吗?
据我了解,如果 PC 有密码,则需要自定义 Windows 凭据才能自动登录 PC。
我可以请求自定义 Windows 凭据的示例吗?
最佳答案
如果您想在 sleep /休眠后登录而不输入密码,只需更改电源设置即可:
https://superuser.com/questions/631286/how-to-automatically-log-in-after-sleep
Go to Control Panel, locate the "Power Settings" and double-click. There you should find an "Advanced" tab where you will see a checkbox "Ask for a password after waking up from sleep" or similar.
(Un)Check it, save, and you should be set.
关于.net - 使用事件目录中的信息解锁窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38407740/