Power Settings - Sleep Button Action keeps reverting to default setting
I have a Media PC that needs to ignore power on/off commands sent by Logitech Harmony remote (Media Centre profile) when the PC is switched on. The idea behind it is that when the PC on, sending IR power command doesn't put it to sleep. But when the PC is off, IR power command will wake it up. Putting the PC to sleep is achieved by mapping a completely irrelevant IR command to run a simple .bat script that engages the sleep mode.
Normally this can be easily achieved by going into Power Options > Change Plan Settings > Change Advanced Power Settings > Power Buttons and Lid > Sleep Button Action and set it to Do nothing.
The problem with this is that the setting for some reason doesn't stick. Every now and then Sleep Button Action for no apparent reason reverts to Sleep...