+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 47
Windows 7 Thread, Controlling Libraries with Group Policy in Technical; Originally Posted by mrbios Well, yes and no, my issue was that libraries took 10 seconds to do anything from ...
  1. #31
    dhoward_westexetc's Avatar
    Join Date
    May 2008
    Location
    Exeter, Devon
    Posts
    223
    Thank Post
    46
    Thanked 21 Times in 17 Posts
    Rep Power
    16
    Quote Originally Posted by mrbios View Post
    Well, yes and no, my issue was that libraries took 10 seconds to do anything from the shortcuts on the explorer bar, the start menu icons work fine, so this removed the ones from the explorer bar
    Right, I have the slowness on the Start Menu shortcuts as well as those on the explorer bar. It does that even with the Public folder removed.

  2. #32
    dhoward_westexetc's Avatar
    Join Date
    May 2008
    Location
    Exeter, Devon
    Posts
    223
    Thank Post
    46
    Thanked 21 Times in 17 Posts
    Rep Power
    16
    Hey all, thanks for your help. Managed to fix my Libraries issue by....denying Students access to the Public folder location. Now the libraries comes up in an instant!!

  3. #33

    Join Date
    Apr 2010
    Location
    Chicagoland
    Posts
    9
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    0

    Customizing Libraries

    Thanks for the information on locking down libraries. For our faculty & staff, we don't currently plan on restricting their ability to customize, but we did want to be able to do some customizing ourselves.

    As AngryTechnician indicated, Microsoft's official way is to customize and replace the .library-ms XML files, but that overwrites any customizations already made to a library. What we ended up doing is using a run-once login script to run some commands using a command-line utility I was able to find (I found a couple of them, actually) that removed the Public folders from the default libraries and also added some folders that we create on our employee's local disks for their personal music, pictures, etc. to the default libraries (we tend to dissuade them from putting non-school related, personal media on the network).

    The downside was that the two utilities were just source code samples from Microsoft so I had to make them and then figure them out myself since there was virtually no documentation:


    Hope this is useful. I'm glad I found these forums, though, as it looks like a lot of valuable information gets tossed around.

  4. Thanks to Seker from:

    Rich (30th April 2010)

  5. #34
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,662
    Thank Post
    166
    Thanked 220 Times in 203 Posts
    Rep Power
    67
    2 years on from this thread, what are people doing with Libraries now?

    a) disable completely (does this affect anything else?)
    b) customise the library file to remove the Public locations
    c) something else?

  6. #35
    DrCheese's Avatar
    Join Date
    Apr 2008
    Posts
    1,032
    Thank Post
    97
    Thanked 160 Times in 109 Posts
    Rep Power
    59
    I customise the library file to remove the public locations.

    Other than that, it's never been a problem at all. I have no idea why people are butchering Windows & removing them totally, putting them in an unsupported scenario.

  7. Thanks to DrCheese from:

    gshaw (28th May 2012)

  8. #36
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,662
    Thank Post
    166
    Thanked 220 Times in 203 Posts
    Rep Power
    67
    Quote Originally Posted by DrCheese View Post
    I customise the library file to remove the public locations.

    Other than that, it's never been a problem at all. I have no idea why people are butchering Windows & removing them totally, putting them in an unsupported scenario.
    Agree, once the Public locations are out the way I'll tolerate the rest in order to stay supported, likewise with roaming profiles \ Sysprep...

    Edit: just did it from the Windows GUI and copied the resulting files across into the mandatory profile
    Last edited by gshaw; 28th May 2012 at 11:44 AM.

  9. #37

    Join Date
    Sep 2012
    Location
    LEesburg, VA,
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    3rd party utils to manage libraries.

    This seems to be the only viable option I've found after searching on the issue for 20 minutes.

    grimadmin dot com. They've got a command line util to manage libraries. Which would allow you to remove the default C:\Users\Public... and have it work kinda the way it used to in XP, just redirecting to their networked document location.

    I would post a link, but. The spam bots don't trust me.

  10. #38
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Quote Originally Posted by bmagurn View Post
    This seems to be the only viable option I've found after searching on the issue for 20 minutes.

    grimadmin dot com. They've got a command line util to manage libraries. Which would allow you to remove the default C:\Users\Public... and have it work kinda the way it used to in XP, just redirecting to their networked document location.

    I would post a link, but. The spam bots don't trust me.
    Only 20 minutes? lol

    I went down the copying custom XML files to the users. Made the mistake of making the files read only though..... yeah don't do that..... causes some strange 'read only' documents folder, but the sub folders underneath are writable! Confused a few staff that did!

  11. #39

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,223
    Thank Post
    874
    Thanked 2,717 Times in 2,302 Posts
    Blog Entries
    11
    Rep Power
    780
    Quote Originally Posted by DrCheese View Post
    I customise the library file to remove the public locations.

    Other than that, it's never been a problem at all. I have no idea why people are butchering Windows & removing them totally, putting them in an unsupported scenario.
    Agreed, I have been using them across three sites for two years and have had exactly one problem with them caused by a corrupted profile. Guess what the fix was for that, delete the library and it creates a new one automagiclly.

  12. #40

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,993
    Thank Post
    866
    Thanked 1,452 Times in 999 Posts
    Blog Entries
    47
    Rep Power
    642
    Necro time!

    Further to the below:

    Quote Originally Posted by AngryTechnician View Post
    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.
    Doing all that still didn't remove the Documents folder, as had been noted, and is generally a bit destructive. But there is A Better Way.

    Do everything above, except instead of Delete, use Update and tick hidden. Everything else the same. Bam. Sorted.

    You're welcome

  13. #41

    Join Date
    Jan 2010
    Posts
    64
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    that didnt work for me, still see 2 locations c:\users\public\documents and h:\
    how can i remove c:\users\public\documents ? succesfffuly removed all the other ones

  14. #42

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,993
    Thank Post
    866
    Thanked 1,452 Times in 999 Posts
    Blog Entries
    47
    Rep Power
    642
    Quote Originally Posted by zbjsy View Post
    that didnt work for me, still see 2 locations c:\users\public\documents and h:\
    how can i remove c:\users\public\documents ? succesfffuly removed all the other ones
    Did you follow my post above? (i.e. setting the folder to Hidden, instead of deleting it)

  15. #43

    Join Date
    Jan 2010
    Posts
    64
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    yes i did

  16. #44

    Join Date
    Jan 2010
    Posts
    64
    Thank Post
    7
    Thanked 5 Times in 5 Posts
    Rep Power
    10
    do i change %userprofile% to c:\users\public\documents ?

  17. #45

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,993
    Thank Post
    866
    Thanked 1,452 Times in 999 Posts
    Blog Entries
    47
    Rep Power
    642
    If you're trying to remove the public folders, I think the way I did it on my network was to run this code as a logon script batch file:
    Code:
    COPY /Y %0\..\w7_libraries_configuration_documents.xml "%APPDATA%\Microsoft\Windows\Libraries\Documents.library-ms"
    COPY /Y %0\..\w7_libraries_configuration_music.xml     "%APPDATA%\Microsoft\Windows\Libraries\Music.library-ms"
    COPY /Y %0\..\w7_libraries_configuration_pictures.xml  "%APPDATA%\Microsoft\Windows\Libraries\Pictures.library-ms"
    COPY /Y %0\..\w7_libraries_configuration_videos.xml    "%APPDATA%\Microsoft\Windows\Libraries\Videos.library-ms"
    with the following XML files in the script folder alongside the batch file

    w7_libraries_configuration_documents.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
      <name>@shell32.dll,-34575</name>
      <ownerSID>S-1-0</ownerSID>
      <version>1</version>
      <isLibraryPinned>true</isLibraryPinned>
      <iconReference>imageres.dll,-1002</iconReference>
      <templateInfo>
        <folderType>{7d49d726-3c21-4f05-99aa-fdc2c9474656}</folderType>
      </templateInfo>
      <propertyStore>
        <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property>
        <property name="ShowNonIndexedLocationsInfoBar" type="boolean"><![CDATA[false]]></property>
      </propertyStore>
      <searchConnectorDescriptionList>
        <searchConnectorDescription publisher="Microsoft" product="Windows">
          <description>@shell32.dll,-34577</description>
          <isDefaultSaveLocation>true</isDefaultSaveLocation>
          <isSupported>false</isSupported>
          <simpleLocation>
            <url>knownfolder:{FDD39AD0-238F-46AF-ADB4-6C85480369C7}</url>
          </simpleLocation>
        </searchConnectorDescription>
      </searchConnectorDescriptionList>
    </libraryDescription>
    w7_libraries_configuration_music.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
      <name>@shell32.dll,-34584</name>
      <ownerSID>S-1-0</ownerSID>
      <version>1</version>
      <isLibraryPinned>true</isLibraryPinned>
      <iconReference>imageres.dll,-1004</iconReference>
      <templateInfo>
        <folderType>{94d6ddcc-4a68-4175-a374-bd584a510b78}</folderType>
      </templateInfo>
      <propertyStore>
        <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property>
        <property name="ShowNonIndexedLocationsInfoBar" type="boolean"><![CDATA[false]]></property>
      </propertyStore>
      <searchConnectorDescriptionList>
        <searchConnectorDescription publisher="Microsoft" product="Windows">
          <description>@shell32.dll,-34586</description>
          <isDefaultSaveLocation>true</isDefaultSaveLocation>
          <isSupported>false</isSupported>
          <simpleLocation>
            <url>knownfolder:{4BD8D571-6D19-48D3-BE97-422220080E43}</url>
          </simpleLocation>
        </searchConnectorDescription>
      </searchConnectorDescriptionList>
    </libraryDescription>
    w7_libraries_configuration_pictures.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
      <name>@shell32.dll,-34595</name>
      <ownerSID>S-1-0</ownerSID>
      <version>1</version>
      <isLibraryPinned>true</isLibraryPinned>
      <iconReference>imageres.dll,-1003</iconReference>
      <templateInfo>
        <folderType>{b3690e58-e961-423b-b687-386ebfd83239}</folderType>
      </templateInfo>
      <propertyStore>
        <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property>
        <property name="ShowNonIndexedLocationsInfoBar" type="boolean"><![CDATA[false]]></property>
      </propertyStore>
      <searchConnectorDescriptionList>
        <searchConnectorDescription publisher="Microsoft" product="Windows">
          <description>@shell32.dll,-34597</description>
          <isDefaultSaveLocation>true</isDefaultSaveLocation>
          <isSupported>false</isSupported>
          <simpleLocation>
            <url>knownfolder:{33E28130-4E1E-4676-835A-98395C3BC3BB}</url>
          </simpleLocation>
        </searchConnectorDescription>
      </searchConnectorDescriptionList>
    </libraryDescription>
    w7_libraries_configuration_videos.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
      <name>@shell32.dll,-34620</name>
      <ownerSID>S-1-0</ownerSID>
      <version>1</version>
      <isLibraryPinned>true</isLibraryPinned>
      <iconReference>imageres.dll,-1005</iconReference>
      <templateInfo>
        <folderType>{5fa96407-7e77-483c-ac93-691d05850de8}</folderType>
      </templateInfo>
      <propertyStore>
        <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property>
        <property name="ShowNonIndexedLocationsInfoBar" type="boolean"><![CDATA[false]]></property>
      </propertyStore>
      <searchConnectorDescriptionList>
        <searchConnectorDescription publisher="Microsoft" product="Windows">
          <description>@shell32.dll,-34622</description>
          <isDefaultSaveLocation>true</isDefaultSaveLocation>
          <isSupported>false</isSupported>
          <simpleLocation>
            <url>knownfolder:{18989B1D-99B5-455B-841C-AB7C74E4DDFC}</url>
          </simpleLocation>
        </searchConnectorDescription>
      </searchConnectorDescriptionList>
    </libraryDescription>
    I cannot, for the life of me, remember nor find where I got these files from, but I imagine it was on here somewhere.

SHARE:
+ Post New Thread
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Group Policy
    By Iain.Faulkner in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 30th April 2009, 04:16 PM
  2. Controlling context menu in group policies
    By thesk8rjesus in forum Network and Classroom Management
    Replies: 5
    Last Post: 5th September 2008, 10:21 AM
  3. group policy not being seen at all
    By krisd32 in forum Windows
    Replies: 5
    Last Post: 31st August 2007, 09:07 AM
  4. Group Policy
    By jman167 in forum Windows
    Replies: 1
    Last Post: 28th June 2007, 10:27 PM
  5. Group Policy
    By faza in forum Windows
    Replies: 15
    Last Post: 23rd May 2006, 09:39 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •