App-V Registry Keys to force offline operation
Setting the following keys will allow app-v packages to be installed from the packages MSI (if the option is ticked for said package when sequencing) this should then allow for the packages to be run in offline / disconnect mode indefinitely.
MSI Install Example:
msiexec.exe /i “app-v msi package” sftpath=”path to matching package sft file”
Registry keys (taken from vbscript attached below)
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientNetwork”,”LimitDisconnectedOperation”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientNetwork”,”Online”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientConfiguration”,”AutoLoadTriggers”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientConfiguration”,”AutoLoadTarget”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientConfiguration”,”RequireAuthorizationIfCached”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientConfiguration”,”AllowIndependentFileStreaming”,0
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientPermissions”,”ToggleOfflineMode”,0
App-V Change Tray Visibility (taken from vbscript attached below)
HKEY_LOCAL_MACHINE, “SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientCustomSettings”
HKEY_LOCAL_MACHINE,”SOFTWAREWow6432NodeMicrosoftSoftGrid4.5ClientCustomSettings”,”TrayVisibility”,2
objReg.GetStringValue
Citrix Keys to prevent citrix thin wire session detection from ‘logging off’ the published App-V application (taken from vbscript attached below)
HKEY_LOCAL_MACHINE,”SYSTEMCurrentControlSetControlCitrixwfshellTWI”,”LogoffCheckSysModules”, strValue
objReg.SetStringValue HKEY_LOCAL_MACHINE,”SYSTEMCurrentControlSetControlCitrixwfshellTWI”,”LogoffCheckSysModules”, strValue & “,sftdcc.exe”
VBScript File (rename from .doc to .vbs)