window 设置自动关机 在命令窗口输入 shutdown -s -t 7200 【1小时=3600秒, 这里设置7200就等于两个小时之后电脑自动关机】(有空格) 取消自动关机命令:shutdown -a 成功提示