Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to disable all "Public Folders" from users' Windows 7 libraries using a group policy. How would I go about implementing this?

share|improve this question
up vote 2 down vote accepted

Libraries physically exist as XML files located in %APPDATA%\Microsoft\Windows\Libraries. You could simply attach a login script to a group policy that replaces those files with a version you like.

See this Microsoft document for some details about Library Definition File Schema.

share|improve this answer
Is there a Group Policy that sets this? It would be more "simply" modified that way, but I appreciate the input! – muncherelli Feb 8 '11 at 22:38
I have searched for policies or scripts to work with libraries in the past. I am not aware of any existing policies that do anything with the libraries. For the most part group policies only work directly with settings in the registry. If you need to change configuration files on the file-system you have to write your own script or find one from someone else. – Zoredache Feb 8 '11 at 22:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.