Managing the automatic loading of App-V packages

September 13, 2011

Managing the automatic loading of App-V packages

The automatic loading of App-V packages in the client cache is a feature introduced in the 4.x clients. The feature loads App-V packages in the client cache in the background.

The default configuration is as follows: Automatic loading of App-V packages is triggered when the user logs in and when launching an application. When triggered the App-V client loads the applications that have been used previously by the user. This is the configuration made by the client installer as shown in the next screenshot:

App-VRuntimePackagePolConfig

Associated registry keys

The following two registry keys control when the App-V client performs the automatic loading and what packages will be loaded. The registry values are located under:

On a x64 OS:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\Configuration

On a x32 OS:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration 

AutoLoadTriggers: Specifies WHEN to perform the automatic loading of the packages. If you want the auto loading to be triggered at multiple events, the value data of each event for AutoLoadTarget need to be added up as shown in the table.

Value data

Explanation

 

0

!! Use the AutoLoadTarget with value 0 to disable the auto load feature

 

1

Only at login

 

2

Only at publishing refresh

 

3

At login(1) and publishing refresh(2)

 

4

Only at application launch

 

5 (default)

At login(1) and at application launch(4)

 

6

At publishing refresh(2) and at launch(4)

 

7

At login(1), at publishing refresh(2) and at launch(4)

 

NOTE: If auto loading should not happen at all, use the AutoLoadTarget value to 0 disable it.

AutoLoadTarget: Specifies WHAT applications to load when the auto load feature is triggered.

Value data

Explanation

0

Do not automatically load applications

1 (default)

Automatically load previously used applications

2

Automatically load all applications

A registry export and registry screen shot of the default configuration for the auto load values is shown next (remove \Wow6432Node for x32 clients):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\Configuration]

"AutoLoadTarget"=dword:00000001

"AutoLoadTriggers"=dword:00000005

 App-VRegistryAutoLoad

Unattended installations

If you want to disable automatic loading of App-V packages you can specify the following MSI parameter with the App-V client installer:

AUTOLOADTARGET=\"NONE\"

Supported values are:

- NONE: No autoloading at all. For example in read-only cache scenarios.

- ALL: Autoload all App-V packages available to the user.

- PREVUSED: Only automatically load previously used App-V packages.

The MSI parameter works in combination with the Setup.exe /s /v"MSI parameters" command line.

Take a look at Aaron's App-V FAQ #12 to learn more about unattended installation of the App-V client.