Jump to content

Recommended Posts

Posted (edited)

Thought I would post our solution to the Libraries problem. It may seem a little messy as it still leaves the Libraries link in the Explorer Navigation side panel.

 

(A cleaner, more complete, ADM can be found on post #12)

 

Using Windows 7 with Group Policy Management installed or a 2008 Server. Navigate too:

 

User Configuration/Policies/Administrative Templates/Windows Components/Windows Explorer/

 

Enable Disable Known Folders and add the following:

 

{2112AB0A-C86A-4ffe-A368-0DE96E47012E} - Music Library

{491E922F-5643-4af4-A7EB-4E7A138D8174} - Videos Library

{7b0db17d-9cd2-4a93-9733-46cc89022e7c} - Documents Library

{A302545D-DEFF-464b-ABE8-61C8648D939B} - User Libraries Folder

{A990AE9F-A03B-4e80-94BC-9912D7504104} - Pictures Library

{031E4825-7B94-4dc3-B131-E946B44C8DD5} - Another reference to User Library

 

If you have a Windows 7 and XP mixed network on Server 2003 you may want to Disable Turn off Windows Libraries features that rely on indexed file data this will help with problems of folder redirection.

 

What this will do, is stop the library folders from being created.

 

I hope this is of help to some of you scratching your heads.

 

 

 

EDIT - HIDING LIBRARIES FROM EXPLORER SIDE BAR:

 

This custom ADM file will work for those of us still using Server 2003:

 

CLASS MACHINE

CATEGORY "Windows 7 Libraries"
POLICY "Hide Libraries"
	KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder"
	VALUENAME Attributes
	VALUEON NUMERIC 2962227469
	VALUEOFF NUMERIC 2961178893
END POLICY
END CATEGORY;

 

For those lucky enough to have Server 2008 you can modify the registry using group policy preferences. By modifying the attributes key at HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder too 2962227469 (DECIMAL)

 

A cleaner, more complete, ADM can be found on post #12

Edited by EJWill
  • Thanks 3
Posted

Hi,

 

Thanks for your post.

 

We are having trouble with Folder Redirection and I have just tried to change these settings but can't see them.

 

Are they specific to Server 2008 R2?

 

We are running Server 2008 Enterprise 32bit. All the new options for Folder Redirection are available, just can't see these settings?

 

Thanks very much.

Posted
Here's a link to remove the 'Libraries' link from the Nav Pane in Explorer.... Libraries Folder - Add or Remove from Navigation Pane - Windows 7 Forums

 

Smart find. However it only details how to hide the library if you were to modifiy each individual machine. Now we could create an ADM like:

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

CLASS MACHINE

CATEGORY "Windows 7 Libraries"
POLICY "Hide Libraries"
	KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder"
	VALUENAME Attributes
	VALUEON NUMERIC "2962227469"
	VALUEOFF NUMERIC "2961178893"
END POLICY
END CATEGORY;

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

However, I'm not sure if we can create a HEX DWORD or Decimal alternative. Much head scratching!

  • Thanks 1
Posted
Smart find. However it only details how to hide the library if you were to modifiy each individual machine. Now we could create an ADM like:

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

CLASS MACHINE

CATEGORY "Windows 7 Libraries"
POLICY "Hide Libraries"
	KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder"
	VALUENAME Attributes
	VALUEON NUMERIC "2962227469"
	VALUEOFF NUMERIC "2961178893"
END POLICY
END CATEGORY;

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

However, I'm not sure if we can create a HEX DWORD or Decimal alternative. Much head scratching!

 

 

Nice!

 

You're right, you cannot put this out to users if you already have Win7 deployed, but as we haven't yet, we can still make the registry changes before we take an image, and then that will be applied to all users.

Posted
Smart find. However it only details how to hide the library if you were to modifiy each individual machine. Now we could create an ADM like:

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

CLASS MACHINE

CATEGORY "Windows 7 Libraries"
POLICY "Hide Libraries"
	KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder"
	VALUENAME Attributes
	VALUEON NUMERIC "2962227469"
	VALUEOFF NUMERIC "2961178893"
END POLICY
END CATEGORY;

 

BE WARNED THIS IS PSEUDO - THIS HAS NOT BEEN FULLY TESTED

 

However, I'm not sure if we can create a HEX DWORD or Decimal alternative. Much head scratching!

 

Use a preference instead of a policy to push out a reg frag.

Posted
I was lead to believe Preference Group Policy settings would only work on Server 2008. Sadly we're still using 2003 and won't be migrating anytime soon.
Posted
I was lead to believe Preference Group Policy settings would only work on Server 2008. Sadly we're still using 2003 and won't be migrating anytime soon.

 

Ah, yes that is the case, you will need at least 1 2008 DC for prefs.

Posted

CLASS MACHINE

CATEGORY "Windows 7 Libraries"
POLICY "Hide Libraries"
	KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder"
	VALUENAME Attributes
	VALUEON NUMERIC 2962227469
	VALUEOFF NUMERIC 2961178893
END POLICY
END CATEGORY;

 

I have tested this out on two of our Win 7 computers, which appears to work. My original code was creating REG_SZ values by default instead of REG_DWORD. I will modify my first post so its easier to find the solution.

 

I think a drink is in order :)

  • 1 month later...
Posted
I copied and pasted this code into a .txt file and saved it as a .adm file. When importing to my administrative templates it's blank. I'm using Windows XP when working the Group Policy Management application. I also tried on my Windows 2003 server. Do I need a 2008 server to be able to see this .adm?!
Posted

The ADM file needs to go on your Domain Controller, then when you're within a GPO you should be able to import it from there.

 

This works on 2003, and I don't see why it won't work when using XP and Group Policy Management to modify your Group Policy.

Posted

I got it to work. I had to install Remote Server Administration Tools and added the correct features I was able to then see the contents of the custom .adm.

 

thanks!

  • 11 months later...
Posted
This is a brilliant step in the right direction. On server 2008 and windows 7 here it has successfully got rid of the link to the libraries. However, the default path in the save as path bar is still libraries\documents and when clicking the down arrow to display the usual there is nothing else there. Has anyone got round this? Has anyone also been able to deploy a default save and open path too? For example to a mapped drive, G: in our case.
  • 3 weeks later...
Posted

Thanks for this great info for preventing libraries. I am using the way of 'Enable Disable Known Folders and adding the values but the only one I can't seem to get rid of is the Music Library?

 

{2112AB0A-C86A-4ffe-A368-0DE96E47012E} - Music Library

 

I've tried putting it at the top and bottom of the list to new avail.

 

Anyone got any ideas why this one is still being displayed?

 

Thanks very much.

 

Gary

Posted
This is great however our students were saving work/games in their local desktop/Documents in the Users profile. So i hide the link to the users profile. But know if you right click in the navigation pane you get the option to show all folders and it reappears AAAArgghhh!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...