Solved

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

Posted on 2008-10-16
5
2,550 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Computer software inventory 5 119
iPhone 7 64GB 5 169
Forcibly removing a 2003 server from the Domain 4 62
windows Server 2003 in 2017 10 69
What's a UDID? If you're involved in developing, testing, or even reviewing an iOS application that's in beta, then at some point you may need to know the UDID for any iOS devices that you'll be testing on. What's the UDID? It stands for Unique Dev…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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