Solved

AppData/Local not copying back to roaming profile location

Posted on 2013-01-22
5
3,029 Views
Last Modified: 2013-01-28
We have an issue where one of our application's settings aren't saving because they are stored in the local folder under appdata. This folder is not retained when the profile is copied to the roaming location and simply disappears into thin air.

How can we change things so that this Local folder is retained when the user logs off from our Server 2008 R2 Terminal Services Environment and stored at the same remote location where the roaming folder does save to.
0
Comment
Question by:tegenius
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 25

Expert Comment

by:Sekar Chinnakannu
ID: 38804553
you can use group policy to perform the same under citrix profile management
path.jpg
0
 
LVL 23

Accepted Solution

by:
Ayman Bakr earned 500 total points
ID: 38804555
You need to see (by checking perhaps with the vendor) whether there exists a registry config that will change the apps settings to roaming rather than local. To see what I mean see this article I wrote about office applications Quick Access Toolbar (which is a local setting) and how you could change it to roaming:

http://www.experts-exchange.com/Software/Virtualization/A_8689-A-Quick-Win-in-Virtualizing-Office-Applications-Preserve-Quick-Access-Toolbar-Settings-for-Your-Users.html
0
 

Author Comment

by:tegenius
ID: 38804584
@Mutawadi

Is there a batch file approach where I can change a setting for users as soon as they logon? Or can you wildcard a .reg file i.e. %USERNAME%?
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 38804968
If you know of a configuration in the registry like I described for office in my article http://www.experts-exchange.com/Software/Virtualization/A_8689-A-Quick-Win-in-Virtualizing-Office-Applications-Preserve-Quick-Access-Toolbar-Settings-for-Your-Users.html then you can publish a vb script instead of the application itself, which will have the effect of:
1. first calling the batch file adding the registry configuration
2. calling the application execution (launching the app).

Another alternative if you don't know of any configuration to make the settings roaming is to create a folder in the user's roaming profile and make one logon script and another logoff script such that:
1. The logoff script will instruct the server to copy whatever settings are stored in the local part for the app to the folder you have created in the roaming profile of the user
2. The logon script will instruct the server to copy whatever is in the folder you created in the roaming profile to the local part of the app on the server.
0
 

Author Closing Comment

by:tegenius
ID: 38826494
Unfortuantely in my instance, there is no way the application can be modified in the registry. Instead I modified the "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ExcludeProfileDirs" key and removed the local entry.
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question