Link to home
Start Free TrialLog in
Avatar of MartynLawson
MartynLawson

asked on

Custom Folder Redirection Admin Template

I have been trying to create an admin template that performs folder redirection. When I try and implement the template it shows up under the admin templates, but I am unable to see any options that can be changed. Also when I click on the policy in Group Policy management and go to settings to view the report of the selected settings the values that are contained within the template are not visible.

I have also tried logging on as user that the template is applied to and the application data appears to be redirected but the My Documents is not. I have included a copy of the template that I have created.

Does anyone have any ideas why this is not being applioed correctly as I am unable to see any errors in the event logs. I have also done an RSOP but it is not picking up the user when they are logged in
CLASS USER
 
    CATEGORY "Custom Folder Redirection Settings"
 
        POLICY "Redirect user shell folders to default (local/roaming) specified location"
 
            #if VERSION >= 3
            EXPLAIN "!!FolderRedirection_Help"
            #endif
 
            KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
 
            PART "Application Data path" EDITTEXT
                VALUENAME "AppData"
                DEFAULT "%USERPROFILE%\FldReDir\Application Data"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Cache path" EDITTEXT
                VALUENAME "Cache"
                DEFAULT "%USERPROFILE%\FldReDir\Local Settings\Temporary Internet Files"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Cookies path" EDITTEXT
                VALUENAME "Cookies"
                DEFAULT "%USERPROFILE%\FldReDir\cookies"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Desktop path" EDITTEXT
                VALUENAME "Desktop"
                DEFAULT "%USERPROFILE%\FldReDir\Desktop"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Favorites path" EDITTEXT
                VALUENAME "Favorites"
                DEFAULT "%USERPROFILE%\FldReDir\Favorites"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "History path" EDITTEXT
                VALUENAME "History"
                DEFAULT "%USERPROFILE%\FldReDir\Local Settings\History"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Local AppData path" EDITTEXT
                VALUENAME "Local AppData"
                DEFAULT "%USERPROFILE%\Application Data"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Local Settings path" EDITTEXT
                VALUENAME "Local Settings"
                DEFAULT "%USERPROFILE%\FldReDir\Local Settings"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "My Pictures path" EDITTEXT
                VALUENAME "My Pictures"
                DEFAULT "%USERPROFILE%\FldReDir\My Documents\My Pictures"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Personal path (My Documents)" EDITTEXT
                VALUENAME "Personal"
                DEFAULT "\\%HOMESHARE%%HOMEPATH%\FldREDir\My Documents"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Programs path" EDITTEXT
                VALUENAME "Programs"
                DEFAULT "%USERPROFILE%\FldReDir\Start Menu\Programs"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Recent path" EDITTEXT
                VALUENAME "Recent"
                DEFAULT "%USERPROFILE%\FldReDir\Recent"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "NetHood path" EDITTEXT
                VALUENAME "NetHood"
                DEFAULT "%USERPROFILE%\FldReDir\NetHood"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "PrintHood path" EDITTEXT
                VALUENAME "PrintHood"
                DEFAULT "%USERPROFILE%\FldReDir\PrintHood"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "SendTo path" EDITTEXT
                VALUENAME "SendTo"
                DEFAULT "%USERPROFILE%\FldReDir\SendTo"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Start Menu path" EDITTEXT
                VALUENAME "Start Menu"
                DEFAULT "%USERPROFILE%\FldReDir\Start Menu"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Startup path" EDITTEXT
                VALUENAME "StartUp"
                DEFAULT "%USERPROFILE%\FldReDir\Start Menu\Startup"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
            PART "Templates path" EDITTEXT
                VALUENAME "Templates"
                DEFAULT "%USERPROFILE%\FldReDir\Templates"
                #if VERSION >= 2
                EXPANDABLETEXT
                #endif
            END PART 
 
        END POLICY ; Redirect user shell folders to default (local/roaming) specified location
 
    END CATEGORY ; Custom Folder Redirection Settings
 
[STRINGS]
FolderRedirection_Help ="User Shell Folders, such as My Documents, Application Data, Recent, etc. may be redirected to a specific place, such as the user's home drive."

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MartynLawson
MartynLawson

ASKER

I have disabled that and I can see that it is showing that it is 'not configured'. I have changed this to enabled and it has started to work.

Thanks very much for your help :)