Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excluding My Music and My Pictures from folder redirection (My documents)

Posted on 2008-10-16
5
Medium Priority
?
2,607 Views
Last Modified: 2013-11-06
I have folder redirection of "My Documents" in a Windows 2003 Server environment.  Folders such as "My Pictures" and "My Music" are inside the My Documents folder and redirected to server.  iTunes music and personal pictures should not be saved on corporate file server.  I looked at GPO: \\User Configuration\Administrative Templates\System\User Profiles\"Exclude directories in roaming profile" but this only lets me exclude from user profile's root path, not from inside the My Documents folder.
0
Comment
Question by:virtech
  • 3
  • 2
5 Comments
 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 22736663
In Vista/2008, the profile structure has been redesigned to have this folders as parallell folders instead of subfolders and can be managed with native folder redirection.

In XP/2003, you nead to modify the registry manual or by custom ADM
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Create REG_EXPAND_SZ named 'My Music' and point it to your own path. If the folder contains data, you nead to script or manual move that to the new location.

For 'My Pictures': In redirection policy for 'My Documents', click Settings-tab and change the radio button of 'My Pictures Preferences' to not follow 'My Documents'. If you want to use a custom location, do the same thing as with 'My Music'
0
 

Author Comment

by:virtech
ID: 22741045
Great suggestion, what is "custom ADM"?
0
 

Author Comment

by:virtech
ID: 22741168
"For 'My Pictures': In redirection policy for 'My Documents', click Settings-tab and change the radio button of 'My Pictures Preferences' to not follow 'My Documents"  This is grayed-out.  I cannot change radio button.
0
 
LVL 31

Accepted Solution

by:
Henrik Johansson earned 2000 total points
ID: 22747497
I missed that "My Pictures Preferences" can only be edited when creating a new redirection policy and not when editing an existing.

ADM is the file extension for Administrative Templates. Copy the attached code snippet into notepad and save it as %WINDIR%\inf\mymusic.adm
Use GPMC to create a GPO and import the ADM. As the policy isn't using the Policies-hive in registry, you nead to use View|Filtering and untick the "Only show policy settings that can be fully managed" to see the policy setting.

If not having GPMC installed, it can be downloaded here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0a6d4c24-8cbd-4b35-9272-dd3cbfc81887&displaylang=en

CLASS USER
  CATEGORY MyMusic
    KEYNAME "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
     POLICY "My Music"
       EXPLAIN !!MyMusicExplain
       PART "Location" EDITTEXT REQUIRED EXPANDABLETEXT DEFAULT "%USERPROFILE%\My Music"
       VALUENAME "My Music"
     END PART
  END POLICY
END CATEGORY
 
[strings]
MyMusicExplain="Custom folder redirection policy for My Music"

Open in new window

0
 

Author Comment

by:virtech
ID: 23142091
Good
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
How to take pictures with depth using iOS 10
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question