We're having the same problem with the libraries taking 5-10 secs to open under restricted accounts. dhoward, did you ever find a fix for it?
It seems as though Microsoft completely forgot about controlling libraries with group policy.
We're having the same problem with the libraries taking 5-10 secs to open under restricted accounts. dhoward, did you ever find a fix for it?
It seems as though Microsoft completely forgot about controlling libraries with group policy.
Phew! I am glad I wasn't the only one!
In the end I just googled the reg files to disable libraries completely and then found a neat little add-on to add the Classic Start Menu back to Windows 7. It is called Classic shell, and the homepage is here: Classic Shell. There are of course others, which are freeware.
The nice thing about the classic menu is the links under documents are My Documents and My Pictures, not the libraries.
All I have to do under our student policy now is find a way of removing the Favorites shortcuts (Downloads etc) in Explorer (they cause explorer.exe to crash, so removing them is more stable), remove the user folders links and tweak the start menu a bit then it is done!
In a GPO that applies to the user, go to User Configuration > Preferences > Windows Settings > Folders
Create a new Folder preference and set the action to Delete
Set Path to %USERPROFILE%\Documents
Tick the following: Delete this folder (if emptied), Recursively delete all subfolders (if emptied), Delete all files in folder(s), and Allow deletion of read-only files/folders
On the Common tab:
Tick Run in logged-on user's security context (user policy option)
Tick Item-level targeting and click the Targeting... button
Add a new File Match item:
Match type: Folder exists
Path: %USERPROFILE%\Documents
Click OK twice.
If it's set up correctly, you should see this when viewing the XML for the GPP item:
(The GUIDs may differ but everything else should be the same)Code:<?xml version="1.0" encoding="utf-8" ?> - <Folder clsid="{07DA02F5-F9CD-4397-A550-4AE21B6B4BD3}" name="Documents" status="Documents" image="3" changed="2010-02-02 10:25:49" uid="{4450598C-7EFB-463C-971F-F9C84B70384E}" userContext="1" bypassErrors="1"> <Properties action="D" path="%USERPROFILE%\Documents" deleteFolder="1" deleteSubFolders="1" deleteFiles="1" deleteReadOnly="1" deleteIgnoreErrors="0" readOnly="0" archive="1" hidden="0" /> - <Filters> <FilterFile bool="AND" not="0" path="%USERPROFILE%\Documents" type="EXISTS" folder="1" /> </Filters> </Folder>
Obviously if this works it WILL DELETE DATA, and if it goes awry it may delete the wrong data, so test first and use at your own risk.
sonofsanta (20th September 2012)
Sorry to be slow to reply, been a hectic couple of days!
This is the link to the web page that I found to disable Libraries: How to Disable “Libraries” Feature in Windows 7? - Tweaking with Vishal
They come as a zip file. It is a per machine setting so you can run it once on the machine and it will apply to all users. You could even put it in the base image I guess!
There is a custom gpo that can be used to do this.
It's here. It allows you to remove more than just the Libraries, we're using it here on our W7 machines in the office.
dhoward_westexetc (4th February 2010)
We also found that quite a few applications try to write to these areas so if you disable them you're out of luck. Still need some more testing but so far that's our findings.
Im having the same problems here.
Everything would be fine if the C:\users\public wasnt linked by default.
If I run the reg fixes to disable the libraries I aslo lose all links to the Documents/Music/Pictures on the start menu.
If there a way that I can remove the libraries and then re-add the 3 links to the profiles?
Also I cannot seem to remove the link to "Personal Folders"
Ive found the key in the reg, but cant seem to apply it:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Advanced]
"Start_ShowUser"=dword:00000001
If anyone could please help ?
1) Remove the Personal Folders" link on start menu by GP
2) Remove the default setting adding "Public" to all users libraries.
3) Add the normal links back for My docs / pictures / music
Any help would be greatly appreciated!
For now i have denied access to "C:\user\Public" to staff.
Just Realised that when Staff - Deny permissions are set, click "defaults" in the libraries menu now does not recreate the share to the public folder
I guess i need a way to have the "default" run on log in, or the
"c:\Users\USERNAME\AppData\Roaming\Microsoft\Windo ws\Libraries" files deleted on startup
I've managed to get a secure system with libraries running at last, incase it interests anyone this is how i have ours setup:
Group policy preferences:
GPP to delete the C:\Users\Public folder completely
otherwise the links in pictures and music redirected folders goes to the local folders within it, dont have to delete the whole thing but i do and it doesnt seem cause a problem
GPP to delete the registry key for libraries showing up in explorer:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Desktop\NameSpace\{031E4825-7B94-4dc3-B131-E946B44C8DD5}
Reason for this is this part seems to go weirdly slow, without it everything seemed better (You don't lose the start menu stuff this way)
Mandatory profiles are configured and in the .v2 folder there are no folders anymore like there was with XP, just the ntuser.man files and nothing else, else you get the problem with a local folder and a redirected folder showing up!!!!
This key stops people being able to write to the root of the user share (the GP of: Prevent users from adding files to the root of their Users Files folder. partially does it but you can still save documents there) This stops people from writing anything there (and even pops up asking if you want to save it to a folder within, in our case goes to the root of the H: drive which was lucky):
Action: Create
Hive HKEY_CURRENT_USER
Key path Software\Microsoft\Windows\CurrentVersion\RunOnce
Value name Prevent Users from adding files to the root of the User share
Value type REG_SZ
Value data icacls %userprofile% /deny "%userdomain%\%username%":(WD,AD,WDAC)
Run in conjunction with this logoff script:
icacls %userprofile% /remove:d "%userdomain%\%username%"
icacls %userprofile% /grant "%userdomain%\%username%":(W,AD)
That should do it i think, i've prossibly missed something somewhere but that's the main jist of it (i'll tidy this post up when i have time :p)
EDIT: i also have GPPs to change the local appdata folder to being a hidden folder
Last edited by mrbios; 9th March 2010 at 11:33 AM.
dhoward_westexetc (9th March 2010)
There are currently 1 users browsing this thread. (0 members and 1 guests)