Skip to main content

Hey Guys,
Wondering if anybody has gotten Energy Saver settings to work using MCX.

Thanks
Larry

If I create a group that has askForPassword set to 0 instead of 1, that will change upon running sudo jamf mcx -username <username>. Im guessing because you are fully removing the key that you need to delete the MCXSettings altogether to clear up the cache.

You should check out John Detroye's Client Management slides from PSU Mac Admin Conference. http://macadmins.psu.edu/PSUMAC301-MCX-JohnDeTroye.pdf

Also Edward Marczak & Greg Neagle's Enterprise Mac Managed Preferences book is also a really good and quick read.

<http://macadmins.psu.edu/PSUMAC301-MCX-JohnDeTroye.pdf>Allen


Thanks for the help! I am going to check it out. I am still new to MCX's. I used to just script everything but its becoming harder to manage.

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST


No problem. I'm still learning myself.

MXC can be a pain but it also has a lot of rewards in the end.


Matt,

Just did a test on a mac here. My standard mcx for the screensaver is Enable askForPassword and 600 timeout. I created a Managed Preference Profile that just contained 600 Timeout and the ScreenSaver Module. I was seeing the same thing as you, the option to uncheck ask for password was grayed out. Along with the other two commands, I also ran:

sudo dscl . -delete /Users/<username> dsAttrTypeStandard:MCXSettings

That killed the askForPassword key and on subsequent reboots it has not returned. Hope this helps.

Allen


You are a rock star! I will test this out with my client in a few hours. I wonder if this is a bug?

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST