Skip to main content

Hello...



I'm using Energy Saver payload with following settings :








But, in the same time, I try to disable disksleep setting with this command line :
sudo pmset -a disksleep 0



The setting works well. When I type "pmset -g", I can see disksleep with 0 value.
But when the computer restart, disksleep value back to 180.



If I delete Energy Saver payload, the disksleep value I put does not change anymore.



I've try multiple settings with Energy Saver payload but without success.
I try disable all Display(s) sleep on each Energy Saver payload tabs, without success.



When I use Energy Saver payload, I can't disable disksleep setting.



Please, can you help me.



Thanks

try modifying the plist itself and see how that works for you, deploy it with a script, etc



/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist


Thanks for your answer.



Sadly, it's not working.



I deploy the plist and when I restart the computer it's ok.....but....a few second after, disksleep back to 180.



I will try to delete the Energy Saver payload and deploy the following files :



com.apple.PowerManagement.plist
com.apple.AutoWake.plist



I don't know if it's a clean method but I don't have choice.



If you have a solution.....



Thanks a lot for your help.


you're welcome.



what operating system(s) are you working with?


10.11.6 & 10.12.6 with Jamf Pro 9.100


have you considered creating a launch daemon that rewrites the powermanagement plist to your custom settings? this way upon reboot you may be able to avoid it defaulting.



Not a lot of experience with the powersaving configs & settings so my knowledge is limited but i hope I've helped!


Thank you for your help.



I will try.



I need disable disksleep because I have issues with some iMac models (5k / SSD). They won't wake from sleep.
I have to force shutdown by holding power button in and then reboot.



it seems that the problem disappears with disksleep disabled (I hope so....).



Thanks again.


Reply