fnbtech
asked on
Favorites Folder Redirection with GPO
I'm trying to redirect all my users "Favorites" to their folders on the domain controller (domaincontroller). I ran across this on another site, so I've done everything there and still don't see a "Favorites" folder in my user folder on the domain controller (I am using myself as a test. I've created an OU "Test Users" and put myself in there. I added the default doman policy, changed the name, and added the "Favorites" administrative template to the policy.
Procedure completed (create a .adm file in notepad):
CLASS USER
CATEGORY !!WindowsComponents
CATEGORY !!InternetExplorer
CATEGORY !!IE_Favorites
KEYNAME "Software\Microsoft\Window s\CurrentV ersion\Exp lorer \User Shell Folders"
POLICY !!IE_Favorites
#if version >= 4
SUPPORTED !!SUPPORTED_IE5
#endif
EXPLAIN !!IE_Favorites_Location_Ex plain
PART !!IE_Favorites_Location_Ti p1 TEXT
END PART
PART !!IE_Favorites_Location EDITTEXT EXPANDABLETEXT
VALUENAME Favorites
DEFAULT %USERPROFILE%\Favorites
;; MAXLEN 120
REQUIRED
END PART
END POLICY
END CATEGORY ;; IE_Favorites
END CATEGORY ;; Internet Explorer
END CATEGORY ;; WindowsComponents
[strings]
WindowsComponents="Windows Components"
IE_Favorites="Location of Internet Explorer Favorites"
IE_Favorites_Location="The path to the favorites folder"
IE_Favorites_Location_Expl ain="Speci fy the path to the location of favorites. You can use variables like %USERPROFILE%, %USERNAME%, etc... Both local and UNC path 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"
Once I created this file. I added it to Default Domain Policy in the "User Configuration" "Administrative Templates" section.
This has to be done to see the policy setting:
After you add the custom administrative template and in the GPO editor uncheck:
View->Filtering->Only show policy settings that can be fully managed, you will find the settings you are interested in at the location shown in the picture.
I enable the setting and give this as the unc path for the redirection...
\\domaincontroller\Users$\ %USERNAME% \Favorites
When I force the gpupdate in the command prompt I don't see the "Favorites" folder in my folder on the server. I've also restarted and logged out and back in numerous times. I can't figure out what has went wrong. The guy that created the file above said his works perfectly.
Procedure completed (create a .adm file in notepad):
CLASS USER
CATEGORY !!WindowsComponents
CATEGORY !!InternetExplorer
CATEGORY !!IE_Favorites
KEYNAME "Software\Microsoft\Window
POLICY !!IE_Favorites
#if version >= 4
SUPPORTED !!SUPPORTED_IE5
#endif
EXPLAIN !!IE_Favorites_Location_Ex
PART !!IE_Favorites_Location_Ti
END PART
PART !!IE_Favorites_Location EDITTEXT EXPANDABLETEXT
VALUENAME Favorites
DEFAULT %USERPROFILE%\Favorites
;; MAXLEN 120
REQUIRED
END PART
END POLICY
END CATEGORY ;; IE_Favorites
END CATEGORY ;; Internet Explorer
END CATEGORY ;; WindowsComponents
[strings]
WindowsComponents="Windows
IE_Favorites="Location of Internet Explorer Favorites"
IE_Favorites_Location="The
IE_Favorites_Location_Expl
IE_Favorites_Location_Tip1
InternetExplorer="Internet
SUPPORTED_IE5="at least Internet Explorer v5.01"
Once I created this file. I added it to Default Domain Policy in the "User Configuration" "Administrative Templates" section.
This has to be done to see the policy setting:
After you add the custom administrative template and in the GPO editor uncheck:
View->Filtering->Only show policy settings that can be fully managed, you will find the settings you are interested in at the location shown in the picture.
I enable the setting and give this as the unc path for the redirection...
\\domaincontroller\Users$\
When I force the gpupdate in the command prompt I don't see the "Favorites" folder in my folder on the server. I've also restarted and logged out and back in numerous times. I can't figure out what has went wrong. The guy that created the file above said his works perfectly.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
RSOP is the Resultant set of policy which shows you what policies are applied to user and in which order. To run this you need to go to active directory users and computers-- then go to this OU, right click it. Point to all tasks and then select resultant set of policy.
ASKER
I ran the RSOP and it shows that the setting should be there, but it doesn't work.
What did it show? Have you created new policy for this OU?
ASKER
Administrative Templates
Windows Components/Internet Explorer/Location of Internet Explorer Favorites\
Policy
Location of Internet Explorer Favorites Enabled
Specify the UNC path to the favorites location The path to the favorites folder \\mainsvr\users$\%USERNAME %\Favorite s
Windows Components/Internet Explorer/Location of Internet Explorer Favorites\
Policy
Location of Internet Explorer Favorites Enabled
Specify the UNC path to the favorites location The path to the favorites folder \\mainsvr\users$\%USERNAME
"\\mainsvr\users$\%USERNAM E%\Favorit es" Is this a valid UNC path? As per my logic it should not.
ASKER
\\mainsvr(domaincontroller )\users$(s haredfolde r)\%USERNA ME%\Favori tes is not a valid UNC path?
Read these documents before replicating your friend's environment http://technet.microsoft.com/en-us/library/cc782799.aspx and http://technet.microsoft.com/en-us/library/cc781907.aspx.
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Good. Glad to hear that you got right settings. Always try to follow Misrosoft's articles.
ASKER
Microsoft (R) Windows (R) XP Operating System Group Policy Result tool v2.0
Copyright (C) Microsoft Corp. 1981-2001
Created On 4/2/2009 at 9:16:35 AM
RSOP results for domain\userid on machinename : Logging Mode
--------------------------
OS Type: Microsoft Windows XP Professional
OS Configuration: Member Workstation
OS Version: 5.1.2600
Domain Name: Domain
Domain Type: Windows 2000
Site Name: Main
Roaming Profile:
Local Profile: C:\Documents and Settings\username
Connected over a slow link?: No
COMPUTER SETTINGS
------------------
CN=machinename,CN=Computer
Last time Group Policy was applied: 4/2/2009 at 7:40:41 AM
Group Policy was applied from: domaincontroller.domain.lo
Group Policy slow link threshold: 500 kbps
Applied Group Policy Objects
--------------------------
Test User Policy
The following GPOs were not applied because they were filtered out
--------------------------
Local Group Policy
Filtering: Not Applied (Empty)
The computer is a part of the following security groups:
--------------------------
BUILTIN\Administrators
Everyone
BUILTIN\Users
NT AUTHORITY\NETWORK
NT AUTHORITY\Authenticated Users
machinename$
Domain Computers
USER SETTINGS
--------------
CN=user,OU=Test Users,DC=domain,DC=local
Last time Group Policy was applied: 4/2/2009 at 9:15:44 AM
Group Policy was applied from: domaincontroller.domain.lo
Group Policy slow link threshold: 500 kbps
Applied Group Policy Objects
--------------------------
Test User Policy
Test User Policy
The following GPOs were not applied because they were filtered out
--------------------------
Local Group Policy
Filtering: Not Applied (Empty)
The user is a part of the following security groups:
--------------------------
Domain Users
Everyone
Remote Desktop Users
BUILTIN\Users
BUILTIN\Administrators
NT AUTHORITY\INTERACTIVE
NT AUTHORITY\Authenticated Users
LOCAL
Domain Admins
Group Policy Creator Owners
Enterprise Admins
DHCP Administrators
DnsAdmins