June 28 2010

App-V sequenced applications not keeping settings / preferences

I’ve recently been using the Microsoft Application Virtualization Sequencer 4.6 (aka App-V 4.6) and come across an interesting default setting that ended up being the reason for many of our sequencing problems. The symptom was that sequenced applications run in the virtual ‘bubble’ would not save preference settings or maintain any type of settings from the previous session (eg if the application was open, a few settings changed, closed and then reopened, all settings would be back to default).

The culprit ending up being the ‘Enforce Security Descriptors’ checkbox on the Deployment tab during sequencing – this is turned on by default.

The solution was to UNTICK this box before saving your project (aka compiling). In effect, this is actually giving the security object ‘Everyone’ NTFS ‘Full Control’ on the Q:%APPDIR% directory (with Q:%APPDIR% being the sequencing directory you are using based on a name that meets the 8.3 Naming Convention) inside your virtual ‘bubble’. This is enough to allow the user privledge to save application settings into the virtual application path and therefore the settings are maintained when the application is closed and re-opened.

For a more detailed article on ‘Using the “Security Descriptors” within the App-V 4.5 Sequencer’, see http://www.softgridblog.com/?p=105

While on the topic of App-V and since there have been many new terms introduced, there is an excellent Application Virtualization Glossary located on Technet here – http://technet.microsoft.com/en-us/library/cc843850.aspx

I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.