Link to home
Start Free TrialLog in
Avatar of SCWestServer
SCWestServer

asked on

Can the AppData\Local folder be redirected?

Windows Server 2008 Group policy allows folder redirection for most of the user folders including AppData(Roaming).  I  need to redirect user folders on a terminal server so all user data will be saved on a seperate drive, not the C:\ drive.  Unfortunately there is not a policy to redirect the AppData\Local folder.  When users log on to a terminal server with this Group Policy all user folders but AppData\Local and AppData\LocalLow are redirected to another drive.  It is critical to redirect the AppData\Local folder because this is the default location for Outlook .pst files and I definetly don't want .pst files filling up my C: drive!

Is there a way to redirect the AppData\Local folder to another location?
Avatar of tigermatt
tigermatt
Flag of United Kingdom of Great Britain and Northern Ireland image

Simple answer: No. The AppData\Local folder is the equivalent to XP's "Local Settings" folder, which stores settings for a user which can only apply on one computer. In the case of a single TS environment with separate TS profiles, this obviously wouldn't make a difference, but unfortunately the way it is built means the feature is not possible.

The easiest way I can think of would be to use Roaming TS Profiles, and stores these on a share on the appropriate server / drive as appropriate. Once all users have a TS Roaming Profile, you can then use the option to delete cached copies of roaming profiles at logoff, keeping your C:\Users area clean.

-tigermatt
Avatar of SCWestServer
SCWestServer

ASKER

Even when using Roaming TS Profiles a local profile is still created on the C:\ drive and if that is deleted users get an error message that they are using a temporary profile so this will not work.  There must be a way to do this...

You are correct. A folder for the user will be created in the C:\Users folder, but only for the duration of the user's session. Once you enable the "Delete cached copies of roaming profiles at logoff" setting in Group Policy, and apply it to the server, the cached copies of the TS Roaming Profiles will be deleted when the user logs off. Thus, the only profiles present in that location will be the ones for logged in users.

Redirecting of the AppData\Local folder is something which isn't allowed for the reasons I've described above. If using the method of Deleting cached copies of profiles is not what you want, then you would need to look at doing something to move the Outlook PST to another location, rather than do something which is not supported. In any event, users not have local PST files anyway.

-tigermatt
tigermatt - Thanks for the suggestions.  This seems to work fine until I set up Outlook for that TS Roaming Profile.  It does indeed remove the cached copy of the profile and then gives me an error at the next logon that the profile could not be loaded.  When I launch Outlook again it acts as if it has never been configured before (basically the config was deleted with the cached profile).  

For some reason it does not seem that the AppData\Local folder or information is ever replicated to the TS Roaming Profile location, only AppData\Roaming exists there...
ASKER CERTIFIED SOLUTION
Avatar of tigermatt
tigermatt
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Thanks!
At this point I think I will just redirect the all the folders I can and then user the Office Admin Templates to move the default location of the .pst and .ost files.