Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to lock Screen Saver settings?

On Windows you have the ability to lock down and force a screen saver with the Group Policy Tool. If someone tries to change the setting in the control panel it will grey out the option to turn it off.

I want to do the same thing on my Mac without having to move the Desktop/Screen saver preference in system preferences.

I would like to have users still able to change their wallpaper but force a certain screen saver and make it start every 10 min. Any Thoughts???

Macbook, Mac OS X (10.4.6)

Posted on Jan 26, 2010 10:40 AM

Reply
9 replies

Jan 26, 2010 1:09 PM in response to tbharber

there is no setting for that. what you can do is lock screensaver preference files themselves. but that will need to be done individually on per-user basis and the users will be able to undo it if they want to (and know how) unless you also change permissions on those files. to do that set screensaver for a user as you want. then go to home directory/library/preferences/by host. select the file com.apple.screensaver..., enter command+i and in the resulting popup check the locked box. another option is to change ownership of this file to an admin user (or to root). but this would have to be done for every individual user.

a nicer method is to use Workgroup manager which is a part of server admin tools and is a free download. you can use it to remove screensaver and desktop preference pane from all users. I suspect that's the method Kiraly meant.

Jan 29, 2010 9:31 PM in response to tbharber

you must be looking in the wrong folders. that file exists on every account.
if you are having trouble finding it enter the following in terminal while logged into your main account

open ~/library/preferences/byhost


this will open a finder window for the folder in question locate the file whose name starts with com.apple.screensaver and lock it.

Jan 29, 2010 9:48 PM in response to baltwo

baltwo wrote:
Note that there are multiple such files in the ByHost subfolder. If you lock them, you'll have to do that for each user and then preclude those users from unlocking them.

yes, that's correct. you can do it by changing the ownership on those files for example. the following command will do it if run from an admin account

sudo chown `id -un` /users//library/preferences/byhost/com.apple.screensaver.


this will make that admin user the owner of all those files on all accounts and prevent other users from writing to them.

Jan 29, 2010 11:20 PM in response to V.K.

V.K., be aware that all that a user needs to do to override that is to just delete the file. Even if the .plist file is owned by somebody else and the user has no write permission to it, the user can still delete it because the user has write privileges to the enclosing folder (~/Library/Preferences).

Jan 30, 2010 6:19 AM in response to tbharber

I created a new "dummy" user to test all of this on. I could not originally find the com.apple.screensaver file as mentioned above even though I was looking in the correct folder.

After launching the "desktop/screensaver" in system preferences the com.apple.screensaver file appeared in the folder you mentioned. Perhaps it is not created until launched for the first time.

Anyway for the life of me could not get the method of "locking" the com file to work. I tried it as the normal user and as the admin. I could mark it as locked but even after a reboot it would not prevent the user from launching the preference.

I ended up downloading the server admin tools which is a much easier way of managing these settings and was very simple to use and after having the user log out/back in the desktop/screensaver preference is grayed out for them which is exactly what I wanted.

This method works better than expected because it still allows the user change their desktop wallpaper via Safari. The just have to find an image, right click on it and "use image as desktop picture."

Thanks guys!

How to lock Screen Saver settings?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.