最近入坑kvm, Kvm下关机采用acpi,在关闭Windows时会因未登陆导致变成一个提示。
策略部分开启未登陆关机允许
win+r “gpedit.msc”
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\
“Shutdown: Allow system to be shut down without having to log on” –> 打开策略
关机超时时间改为1秒
shutdown.reg, 创建并执行
1 2 3 |
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows] "ShutdownWarningDialogTimeout"=dword:00000001 |