Win10取消睡眠添加。
This commit is contained in:
15
System/Windows/取消睡眠.txt
Normal file
15
System/Windows/取消睡眠.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
https://help.realvnc.com/hc/en-us/articles/28401208368413-Resolving-the-Sleep-is-enabled-warning-in-RealVNC-Server
|
||||
|
||||
powercfg /query SCHEME_CURRENT SUB_SLEEP
|
||||
这个命令会查询并显示你当前活跃电源方案的所有与睡眠相关的电源设置,而不仅仅是某个特定设置。
|
||||
要更改设置以禁用任何睡眠命令,请在PowerShell窗口中运行以下作。
|
||||
|
||||
# Disable all timeouts for maximum "always on" configuration
|
||||
powercfg /change standby-timeout-ac 0
|
||||
powercfg /change standby-timeout-dc 0
|
||||
powercfg /change monitor-timeout-ac 0
|
||||
powercfg /change monitor-timeout-dc 0
|
||||
powercfg /change disk-timeout-ac 0
|
||||
powercfg /change disk-timeout-dc 0
|
||||
powercfg /change hibernate-timeout-ac 0
|
||||
powercfg /change hibernate-timeout-dc 0
|
||||
Reference in New Issue
Block a user