Forum Discussion

steventpowers_2019's avatar
steventpowers_2019
Copper Contributor
Apr 11, 2021
Solved

Custom Policy to Turn off Hard Drive for both Battery and Plugged in

I have created 5 OMA-URI Power Policies to turn off the display, sleep etc, and I am trying to create one for Turning Off Hard Drive both for Battery and Plugged in and I can not find any Scopes/Sub ...
  • Rudy_Ooms_MVP's avatar
    Apr 13, 2021

    HI,

     

    From my understanding these are the only CSP which could be configured

     

     

    I am also using a powershell script to deploy other power settings which are not available with the CSP (yet?)

     

    powercfg -setdcvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
    powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 0
    powercfg.exe -x -standby-timeout-ac 0
    powercfg.exe -x -standby-timeout-dc 0
    powercfg.exe -x -hibernate-timeout-ac 0
    powercfg.exe -x -hibernate-timeout-dc 0
    powercfg.exe -x -monitor-timeout-ac 0
    powercfg.exe -x -monitor-timeout-dc 0
    powercfg.exe -x -disk-timeout-ac 0
    powercfg.exe -x -disk-timeout-dc 0

     

Resources