Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How can this article save you time AND money?  In just a few minutes you may discover something you didn't know existed that is easy enough for you to fix yourself!
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

635 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