I
Ian Murray
I have written a .adm file to redirect cookies and favorites to the
users home directory. My first attempt worked just fine, the only
problem was that when applied it was tattooed into the registry, the
key i modified was HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders after some research i discovered that if i modified
HKCU\Software\Policies\Microsoft\Explorer\User Shell Folders then the
change should be non-persistent. When i apply the policy, the registry
key is created and the value data states that favorites should go to
%homedrive%\favorites however they don't, they're still saved in
%USERPROFILES%/favorites. Here is my .adm file, any assistance would
be most appreciated as i'm going round and round in circles.........
CLASS USER
CATEGORY "Folder Redirection"
KEYNAME "Software\Policies\Microsoft\Explorer\User Shell Folders"
POLICY "Redirect the Cookies Folder"
EXPLAIN "When enabled this policy redirects the 'Cookies' folder to
the users home drive"
PART "Cookies Folder Path" EDITTEXT REQUIRED EXPANDABLETEXT
DEFAULT "%HomeDrive%\Cookies"
VALUENAME "Cookies"
END PART
END POLICY
POLICY "Redirect the Favorites Folder"
EXPLAIN "When enabled this policy redirects the 'Favorites' folder
to the users home drive"
PART "Favorites Folder Path" EDITTEXT REQUIRED EXPANDABLETEXT
DEFAULT "%HomeDrive%\Favorites"
VALUENAME "Favorites"
END PART
END POLICY
END CATEGORY; "Folder Redirection"
users home directory. My first attempt worked just fine, the only
problem was that when applied it was tattooed into the registry, the
key i modified was HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders after some research i discovered that if i modified
HKCU\Software\Policies\Microsoft\Explorer\User Shell Folders then the
change should be non-persistent. When i apply the policy, the registry
key is created and the value data states that favorites should go to
%homedrive%\favorites however they don't, they're still saved in
%USERPROFILES%/favorites. Here is my .adm file, any assistance would
be most appreciated as i'm going round and round in circles.........
CLASS USER
CATEGORY "Folder Redirection"
KEYNAME "Software\Policies\Microsoft\Explorer\User Shell Folders"
POLICY "Redirect the Cookies Folder"
EXPLAIN "When enabled this policy redirects the 'Cookies' folder to
the users home drive"
PART "Cookies Folder Path" EDITTEXT REQUIRED EXPANDABLETEXT
DEFAULT "%HomeDrive%\Cookies"
VALUENAME "Cookies"
END PART
END POLICY
POLICY "Redirect the Favorites Folder"
EXPLAIN "When enabled this policy redirects the 'Favorites' folder
to the users home drive"
PART "Favorites Folder Path" EDITTEXT REQUIRED EXPANDABLETEXT
DEFAULT "%HomeDrive%\Favorites"
VALUENAME "Favorites"
END PART
END POLICY
END CATEGORY; "Folder Redirection"