DCSIMG
Redirecting IE Favorites via GPO - Windowmaker's blog

Redirecting IE Favorites via GPO

I have seen this question multiple times at different web forums and newsgroups. Sometimes you want to redirect user's favorites to a network share, letting user access his favorites when he logs on from different workstations (or just for the sakes of backups).
 
The location of the user's favorites is determined by the following registry value:

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Value: Favorites
Type: REG_EXPAND_SZ
Default: %USERPROFILE%\Favorites

 
The fact that the registry value has a type of REG_EXPAND_SZ is actually very convenient - you can use environment variables when pointing to the location of the Favorites.
 
Now you can solve the issue of redirecting the folder using either logon script or something similar, but being GPO addict I decided to create an administrative template to handle the task.
Here is what I came up with:
(you can download the ADM from here. No need to cut&paste)

CLASS USER
CATEGORY !!WindowsComponents
CATEGORY !!InternetExplorer
CATEGORY !!IE_Favorites
  KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"

  POLICY !!IE_Favorites
    #if version >= 4
      SUPPORTED !!SUPPORTED_IE5
    #endif

    EXPLAIN !!IE_Favorites_Location_Explain
    
    PART !!IE_Favorites_Location_Tip1 TEXT
    END PART

    PART !!IE_Favorites_Location EDITTEXT EXPANDABLETEXT
    VALUENAME Favorites
    DEFAULT "%USERPROFILE%\Favorites"
    REQUIRED
  END PART
  END POLICY

END CATEGORY ;; IE_Favorites
END CATEGORY ;; Internet Explorer
END CATEGORY ;; WindowsComponents


[strings]

WindowsComponents="Windows Components"
IE_Favorites="Favorites"
IE_Favorites_Location="The path to the favorites folder"
IE_Favorites_Location_Explain="Specify the path to the location of favorites. You can use variables like %USERPROFILE%, %USERNAME%, etc... Both local and UNC paths are valid."
IE_Favorites_Location_Tip1="Specify the UNC path to the favorites location"
InternetExplorer="Internet Explorer"
SUPPORTED_IE5="at least Internet Explorer v5.01"

 

How to use it:

  1. Follow the steps outlined in Daniel Petri's Adding New Administrative Templates to a GPO article on general instructions on how to add or remove an .ADM file from the Administrative Templates section in GPO.
  2. Because we are dealing with so called "preference" and not policy setting (we are tattooing the registry just like with NT4 policies), you will need to make the GPO Editor to show the preferences. Instruction for doing that can be found here under the "Disabling GPO settings filtering" section.
  3. Go to User Configuration-->Administrative Templates-->Windows Components-->Internet Explorer-->Favorites
  4. You will see there something like this:


  5. Configure the new location and apply the policy to the users you want their Favorites being redirected:
 
 
Published Saturday, November 18, 2006 10:29 PM by Guy Teverovsky

Comments

Sunday, January 28, 2007 2:54 AM by TrackBack

# http://edugeek.net/index.php?name=forums&file=viewtopic&p=62453

Friday, March 16, 2007 5:46 PM by Greg

# re: Redirecting IE Favorites via GPO

The group policy is creating the Favorites folder where I directed it to but it is not moving the favorites from the workstation to the created folder. Also when the user opens up IE and goes to favorites it is looking at the redirected folder because it's empty. If I move the favorites from the workstation to the redirected folder they do show up in IE then. Where am I going wrong?

Friday, April 20, 2007 5:27 PM by Guy Teverovsky

# re: Redirecting IE Favorites via GPO

You are doing nothing wrong. This is the expected behavior. You'll need to move the Favorites manually or using some kind of script.

Thursday, June 07, 2007 1:29 AM by Matt

# re: Redirecting IE Favorites via GPO

I added it and it seems that it created the favorites folder under

User Configuration-->Administrative Templates-->Windows Components-->Internet Explorer-->Favorites

but there is no Favories icon in the folder or properties. I am using Windows SBS 2003.

Thursday, June 07, 2007 2:37 AM by Matt

# re: Redirecting IE Favorites via GPO

Nevermind......I had to modify filtering

Thanks to: http://www.faronics.com/news/tips02.htm

Wednesday, August 15, 2007 6:57 PM by Mark

# re: Redirecting IE Favorites via GPO

I'm trying to apply this GPO so that it only applies when a user logs on to one specific server. I have the server in it's own Organizational Unit and am applying the policy to that OU only. Unfortunately, it doesn't seem to be working. Any ideas?

Friday, August 31, 2007 10:36 AM by Guy Teverovsky

# re: Redirecting IE Favorites via GPO

Mark,

This is a user setting rather than computer setting. This means that you can filter either based on user account, or you cat turn loopback on the GPO that is applied to the OU the computer resides in

Wednesday, October 24, 2007 7:44 PM by Bora

# re: Redirecting IE Favorites via GPO

Hi, after I apply the GPO on SBS2003 and logon my XP laptop. IE favorites are gone and does not show anywhere. I don't see the Favorites folder on the sepcify server either and now I can't even import or create a new IE favorite, any idea on how to correct this?

Tuesday, March 04, 2008 11:04 AM by Mikael Persson

# re: Redirecting IE Favorites via GPO

Good

Tuesday, March 04, 2008 11:05 AM by Mikael Persson

# re: Redirecting IE Favorites via GPO

Good

Tuesday, April 15, 2008 6:12 PM by japi

# re: Redirecting IE Favorites via GPO

if any possible redirect IE Favorites to Network drive  any option do this

Monday, April 28, 2008 8:52 PM by John

# re: Redirecting IE Favorites via GPO

I'm in the exact same spot as Greg.  

I can get it to create a Favorites folder on our users' home directory.  However, I need to copy their existing favorites first.  Some of our users have extensive favorites lists.  

In the login script, I typed:

copy %USERPROFILE%\Favorites %HOMEDRIVE% /y

but all that seemed to do is copy some default favorites, not the favorites of the actual user.

So, then I tried:

copy "c:\documents and settings\%USERNAME%\Favorites" %HOMEDRIVE% /y

That didn't seem to do anything.  I'm stuck right now on how to script copying user's favorites up to the network drive.  Getting the Favorites "redirected" via GPO is working though.

Thursday, May 08, 2008 9:34 PM by Paul

# re: Redirecting IE Favorites via GPO

Is your home drive mapping before the favorites copy script run?  Try coping it to the URL of the location of their home drive instead of the drive letter.  (i.e. \\ServerName\HomeDriveShareNane\%username%)

Tuesday, May 27, 2008 8:44 PM by N'Bhan

# re: Redirecting IE Favorites via GPO

Works a treat, Thanks

Tuesday, July 01, 2008 8:02 PM by gpo remove ie

# gpo remove ie

Pingback from  gpo remove ie

Thursday, July 03, 2008 11:13 PM by EJJ

# re: Redirecting IE Favorites via GPO

The included Folder Redirection options (Desktop, My Documents, Start Menu, Application Data) all include an advanced option to apply to a specific AD group.

Is there anyway to add that to this adm?

Monday, August 04, 2008 6:51 AM by giom

# re: Redirecting IE Favorites via GPO

Hi guys,

I´ve installed this gpo on my domain server and it works fine.

just the behavior is not exactly the one I was expecting.

Actually this GPO make a redirection, it means if the users have saved personal favorites in their local profile, those favorites will not appear anymore, just will appear the favorites of the redirected folder.

What I would like to do wit his GPO, is the following:

this gpo keeps the favorites for each user too.

It would be like Adding instead of redirecting.

Anyone could help me , please?

thanks

Cheers,

Monday, August 04, 2008 6:53 AM by giom

# re: Redirecting IE Favorites via GPO

Hi guys,

I´ve installed this gpo on my domain server and it works fine.

just the behavior is not exactly the one I was expecting.

Actually this GPO make a redirection, it means if the users have saved personal favorites in their local profile, those favorites will not appear anymore, just will appear the favorites of the redirected folder.

What I would like to do wit his GPO, is the following:

this gpo keeps the favorites for each user too.

It would be like Adding instead of redirecting.

Anyone could help me , please?

thanks

Cheers,

Thursday, August 07, 2008 3:48 AM by Valium.

# Buy valium.

Buy valium c.o.d.. Valium drug test. Valium liquid form. Valium.

Thursday, August 07, 2008 10:16 AM by CCLab

# re: Redirecting IE Favorites via GPO

Great resource!  Thanks for your time and effort on this issue!

Thursday, October 09, 2008 11:37 AM by smi

# re: Redirecting IE Favorites via GPO

works fine!

Thursday, January 15, 2009 7:06 PM by Stan the Man

# re: Redirecting IE Favorites via GPO

Excellent - did the trick!  Many thanks Guy!

Tuesday, January 20, 2009 11:45 AM by ADMtemp

# re: Redirecting IE Favorites via GPO

Have you tried to manage favorites using Group Policy? I noticed that if I add new favorite for users using GPO, this doesn't work... When I remove or change default Favorite path, then GPO favorite additions works fine.

Friday, January 23, 2009 7:25 AM by Mike

# re: Redirecting IE Favorites via GPO

great thread, very helpful. I do have a question though... When users now log off there is an annoying little windows that comes up and says "Synchronizing..." why does it do that?

Wednesday, February 25, 2009 10:08 PM by IE7 organising favourties

# IE7 organising favourties

Pingback from  IE7 organising favourties

Friday, March 06, 2009 3:41 PM by Henry

# re: Redirecting IE Favorites via GPO

@ADMtemp, How did you remove or change the Favorite path? Cause I have the same problem

# Small Business Server 2003 GPO Trick with IE « SMB Dude

Pingback from  Small Business Server 2003 GPO Trick with IE « SMB Dude

# Windows Seven » ?????????????????????????????? ???????????????? IE ?????????? GPO

Pingback from  Windows Seven » ?????????????????????????????? ???????????????? IE ?????????? GPO

Thursday, June 16, 2011 5:38 PM by Shared IE favorites « scriptinggeek

# Shared IE favorites « scriptinggeek

Pingback from  Shared IE favorites « scriptinggeek

Friday, April 27, 2012 10:17 PM by Redirect favorites | Shoplucybelle

# Redirect favorites | Shoplucybelle

Pingback from  Redirect favorites | Shoplucybelle

Thursday, March 21, 2013 7:43 AM by pvs??????Xenapp?????? | Xentool

# pvs??????Xenapp?????? | Xentool

Pingback from  pvs??????Xenapp?????? | Xentool