Hi everyone,
Sorry if this isn't the correct forum, but I couldn't find anything else that I thought would be suitable.
I'm currently developing a custom GPO to redirect the Favourites and My Pictures folders to a network drive.
The ADM looks as if it works, ie I can configure the setting in GP but when I test with a user it doesn't apply.
Here is the code:
================================
CLASS USER
CATEGORY !!UserProfiles
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
POLICY !!UserProfiles_MyPictures
Part !!UserProfiles_MyPicturesPath EDITTEXT REQUIRED EXPANDABLETEXT
Default !!UserProfiles_MyPicturesPathDefault
Valuename "My Pictures"
End Part
End Policy
POLICY !!UserProfiles_Favourites
Part !!UserProfiles_FavouritesPath EDITTEXT REQUIRED EXPANDABLETEXT
Default !!UserProfiles_FavouritesPathDefault
Valuename "Favourites"
End Part
End Policy
END CATEGORY
[strings]
UserProfiles="User Profiles through System Policies"
UserProfiles_MyPictures="Path to My Pictures Folder"
UserProfiles_MyPicturesPath="Enter Path to My Pictures folder"
UserProfiles_MyPicturesPathDefault="%USERPROFILE%\My Pictures"
UserProfiles_Favourites="Path to Favourites Folder"
UserProfiles_FavouritesPath="Enter Path to Favourites folder"
UserProfiles_FavouritesPathDefault="%USERPROFILE%\Favourites"
=================================
Am I missing something here really simple?
Many thanks in advance, James
Sorry if this isn't the correct forum, but I couldn't find anything else that I thought would be suitable.
I'm currently developing a custom GPO to redirect the Favourites and My Pictures folders to a network drive.
The ADM looks as if it works, ie I can configure the setting in GP but when I test with a user it doesn't apply.
Here is the code:
================================
CLASS USER
CATEGORY !!UserProfiles
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
POLICY !!UserProfiles_MyPictures
Part !!UserProfiles_MyPicturesPath EDITTEXT REQUIRED EXPANDABLETEXT
Default !!UserProfiles_MyPicturesPathDefault
Valuename "My Pictures"
End Part
End Policy
POLICY !!UserProfiles_Favourites
Part !!UserProfiles_FavouritesPath EDITTEXT REQUIRED EXPANDABLETEXT
Default !!UserProfiles_FavouritesPathDefault
Valuename "Favourites"
End Part
End Policy
END CATEGORY
[strings]
UserProfiles="User Profiles through System Policies"
UserProfiles_MyPictures="Path to My Pictures Folder"
UserProfiles_MyPicturesPath="Enter Path to My Pictures folder"
UserProfiles_MyPicturesPathDefault="%USERPROFILE%\My Pictures"
UserProfiles_Favourites="Path to Favourites Folder"
UserProfiles_FavouritesPath="Enter Path to Favourites folder"
UserProfiles_FavouritesPathDefault="%USERPROFILE%\Favourites"
=================================
Am I missing something here really simple?
Many thanks in advance, James