From f39caa9271dac6f1a09c2be875df2eba12eb9b8e Mon Sep 17 00:00:00 2001 From: taynpg Date: Sat, 7 Mar 2026 10:17:23 +0800 Subject: [PATCH] =?UTF-8?q?Win10=E5=8F=96=E6=B6=88=E7=9D=A1=E7=9C=A0?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Windows/取消睡眠.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 System/Windows/取消睡眠.txt diff --git a/System/Windows/取消睡眠.txt b/System/Windows/取消睡眠.txt new file mode 100644 index 0000000..b6a8cc9 --- /dev/null +++ b/System/Windows/取消睡眠.txt @@ -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 \ No newline at end of file