EJWill Posted December 16, 2009 Posted December 16, 2009 (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 December 17, 2009 by EJWill 3
featured_spectre Posted December 16, 2009 Posted December 16, 2009 (edited) To what folder does each one related too? Edited December 16, 2009 by featured_spectre
EJWill Posted December 16, 2009 Author Posted December 16, 2009 To what folder does each one related too? I have modified my first post to reflect your question.
ces973 Posted December 16, 2009 Posted December 16, 2009 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 3
ronnoco Posted December 16, 2009 Posted December 16, 2009 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.
EJWill Posted December 16, 2009 Author Posted December 16, 2009 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! 1
ces973 Posted December 16, 2009 Posted December 16, 2009 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.
mounters Posted December 16, 2009 Posted December 16, 2009 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.
EJWill Posted December 16, 2009 Author Posted December 16, 2009 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.
mounters Posted December 16, 2009 Posted December 16, 2009 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.
EJWill Posted December 16, 2009 Author Posted December 16, 2009 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
Popular Post EJWill Posted December 17, 2009 Author Popular Post Posted December 17, 2009 (edited) I have scoured the SevenForums.com site and have made an ADM for some of the tutorials by the user Brink. So to save others the leg work, this is what I have: CLASS MACHINE CATEGORY "Windows 7 Explorer Navigation Items" POLICY "Hide Libraries" KEYNAME "Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2962227469 VALUEOFF NUMERIC 2961178893 END POLICY POLICY "Hide Homegroup" KEYNAME "Software\Classes\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2962489612 VALUEOFF NUMERIC 2961441036 END POLICY POLICY "Hide Networking" KEYNAME "Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2962489444 VALUEOFF NUMERIC 2953052260 END POLICY POLICY "Hide Computer" KEYNAME "Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2962489612 VALUEOFF NUMERIC 2961441036 END POLICY POLICY "Hide Favourites" KEYNAME "Software\Classes\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2839544064 VALUEOFF NUMERIC 2693792000 END POLICY POLICY "Hide Control Panel" KEYNAME "Software\Classes\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\ShellFolder" VALUENAME Attributes VALUEON NUMERIC 2693791748 VALUEOFF NUMERIC 2684354564 END POLICY END CATEGORY; I no longer need to use the messy Disable Known Folder routine. Now all I need to do, is somehow redirect the UserFolder. Edited December 17, 2009 by EJWill 14
featured_spectre Posted December 17, 2009 Posted December 17, 2009 See for a 2008 R2 dummy like myself, how do I add that so that it is implimented?
Popular Post EJWill Posted December 17, 2009 Author Popular Post Posted December 17, 2009 You will need to paste this into a txt file with the extension '.adm'. ADM files go into %windir%\inf. Then when modifying a group policy, goto Computer Configuration/Policies. Right click on Administrative Templates and click Add/Remove Templates.... You should be able to browse for your adm in here and add it to your policy. In 2008 Server, a new folder will be created called Classic Administrative Templates (ADM) within the Administrative Templates folder. This will contain the imported adm. 6
featured_spectre Posted December 17, 2009 Posted December 17, 2009 done and done! Many thanks, nice to know that I still learn something new every day!
gopher_49 Posted January 27, 2010 Posted January 27, 2010 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?!
EJWill Posted January 27, 2010 Author Posted January 27, 2010 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.
gopher_49 Posted January 27, 2010 Posted January 27, 2010 here's my snapshot http://www.drexchem.com/gpo.jpg
gopher_49 Posted January 27, 2010 Posted January 27, 2010 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!
gopher_49 Posted January 27, 2010 Posted January 27, 2010 to recap. Had to install the above mentioned items on my Windows 7 box.
cicero44bc Posted January 18, 2011 Posted January 18, 2011 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.
ronnoco Posted February 3, 2011 Posted February 3, 2011 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
Sunderwood Posted February 3, 2011 Posted February 3, 2011 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!
ronnoco Posted February 3, 2011 Posted February 3, 2011 We're looking into how to hide the navigation pane right now....keep you posted.
kennysarmy Posted February 3, 2011 Posted February 3, 2011 Here you go: How to Remove “Network” from Windows 7 Explorer’s Navigation Pane? - Tweaking with Vishal It's my plan to do this and the other "hides" on our default build.... What I cannot work out is if students open WORD and try to save a document it does nt default to their H:\ drive but the damn libraries -> documents grrrr
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now