• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Favorites Redirect Custom AD Policy

I search long and far for this one. I am looking for a way to redirect client's favorites folder to a network share by way of AD policy. So far I found a way to creat a custom policy and a tool to do it (Policy Template Editor).

Everything seems to be ok, but when I add the custom policy, the icon shows up in red (instead of blue) and doesn't not work. Also, if I set Administrative templates to View "Policies only", the folder with the policy shows up, but the policy does not.

Here is the FavoritesRedirect.adm that I created:


   CLASS USER
      CATEGORY "!!FavoritesRedirect"
         KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
         POLICY "!!FavoritesRedirect"
            KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
            EXPLAIN "Redirect Clients Folders to a Network Location (\\server\share\%username%\favorites)"
            VALUENAME "Favorites"
            VALUEON "\\solfs001\users\%username%\favorites"
         END POLICY ; !!FavoritesRedirect
      END CATEGORY ; !!FavoritesRedirect
 
[STRINGS]
FavoritesRedirect ="Redirect Clients Favorites"
0
pwslgl
Asked:
pwslgl
  • 2
1 Solution
 
oBdACommented:
It's normal that it's displayed in red. This setting is not a group policy, it's what Microsoft calls "Preferred Setting" or "Branding". The key is outside the ...\Policies\... keys in the registry, so this will behave like an NT4 System Policy: It will NOT simply "go away" if you delete the GPO or set the policy to "Not Configured", it will remain at the last setting it was (as if you manually edited the registry).
Assuming that editing this key works correctly, this template should work for you:

CLASS USER
CATEGORY "!!FavoritesRedirect"
  POLICY "!!FavoritesRedirect"
    KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    PART "Redirect Clients Folders." TEXT END PART
    PART "New Path:" TEXT END PART
    PART " " EDITTEXT REQUIRED EXPANDABLETEXT
      VALUENAME "Favorites"
      DEFAULT "\\solfs001\users\%username%\favorites"
    END PART
  END POLICY ; !!FavoritesRedirect
END CATEGORY ; !!FavoritesRedirect

[STRINGS]
FavoritesRedirect ="Redirect Clients Favorites"
0
 
beatifiedCommented:
I am trying to do the same thing (redirect the favorites folder) and used the method above but have no luck enableing the redirection. A folder shows up called Redirect Clients Favorites but I can not do anything with it. I have also noticed that folder redirection needs to be enabled to have this show at all.

Any help would be appriciated,
Thanks.
0
 
beatifiedCommented:
Sorry found the answer to my own question.

gpedit.msc
Right click "Admistrative Templates"
Highlight "View"
Click "Filtering..."
Deselect "Only show policy settings that can be fully managed."
Click "OK"
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now