1、运行注册表管理器,win+r 。
2、输入regedit.exe2。
3、定位到hkey_local_machine\system\currentcontrolset\control\power\powersettings\238c9fa8-0aad-41ed-83f4-97be242c8f20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca03。
4、修改attributes的值为0。
5、进入高级电源设置,在睡眠选项中会出现“无人参与系统睡眠超时”,将默认的2分钟修改成0。