But when I close the lid the computer hibernates anyway, which is the previous setting.Ĭ:\Windows\System32\powercfg.exe -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0Īlso tried using the power plan GUID instead of SCHEME_CURRENT with identical behavior The script does indeed change the setting in control panel/power/system settings - it displays 'Do nothing'. I created a desktop shortcut to run the dc value change then pinned it to start so i could quickly switch the setting to 'do nothing' before closing the lid.
I was so happy finding this, it's exactly what i needed but I am having issues with the option 3/4 script. Other Info: Logitech Z625 speaker system, Internet Speed: 1 Gbps Download and 35 Mbps UploadĪntivirus: Windows Defender and Malwarebytes Premium Monitor(s) Displays: 2 x Samsung Odyssey G75 27' Sound Card: Integrated Digital Audio (S/PDIF) Graphics Card: ASUS ROG-STRIX-GTX1080TI-O11G-GAMING Memory: 16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz Motherboard: ASUS ROG Maximus XI Formula Z390 OS: 64-bit Windows 11 Pro for Workstations System Manufacturer/Model Number: Custom self built