FQ word
Dear Sir,
(1)
Use powercfg.exe /SETACVALUEINDEX command to set the "Power and sleep button settings" power settings for my customer desktop
The "Power and sleep button settings"(Sleep button action) changed value cannot effective immediately
command is as follows:
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 0
Thanks.
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0
Change Power and sleep /SETACVALUEINDEX
Sets the value associated with a power setting
while the system is powered by AC power.
Use powercfg.exe /SETACVALUEINDEX command to set the "Power and sleep button settings" for desktop PC
The "Power and sleep button settings"(Power/Sleep button action) changed value cannot effective immediately
Command:
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 0
You need to do one more powercfg.exe /s to active your power scheme
Command:
powercfg /s e9a42b02-d5df-448d-aa00-03f14749eb61
And there will arrive one more suck
In Windows "Power and sleep button settings" GUI.
These MSFQ button action GUI do not follow the powercfg.exe settings
But system button actions behavior follow the powercfg.exe settings
You need to do one more powercfg.exe /SETACVALUEINDEX for "another"(Power saver/Balance/or...) power scheme
Then switch power scheme between them to make that "Power and sleep button settings" GUI follow your chnage value.
Command:
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0
powercfg /SETACVALUEINDEX e9a42b02-d5df-448d-aa00-03f14749eb61 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 0
powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 0
powercfg /SETACVALUEINDEX 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 0
powercfg /s 381b4222-f694-41f0-9685-ff5bb260df2e
powercfg /s e9a42b02-d5df-448d-aa00-03f14749eb61