Solved

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

Posted on 2008-10-16
5
2,526 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 500 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Smartwatches: just a fashion accessory or a useful device for all? The Apple Watch (http://www.apple.com/watch/) was launched in April of 2015 and has become a new way for iPhone users to stay connected. Ranging from $349 to $17,000, the Apple Watch…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now