AppV Fixing and Debugging Client Problems

From richud.com
Jump to: navigation, search

Fixes

App-V Client prompts for logon user credentials

Errors: Microsoft Virtual Application Desktop prompts for username and password

Error Codes: 4604EE8-1C504B01-0003100E 4604EE8-1690900A-00002002

Cause: Live Essentials has been installed and messed with LSA Security Packages registry key

Quick check, where xxxxxxx is remote machine name

Z:\>reg query "\\xxxxxxx\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v "Security Packages"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Security Packages    REG_MULTI_SZ    kerberos\0msv1_0\0schannel\0wdigest\0tspkg\0pku2u\0livessp

To fix remotely, removing 'livessp' from REG_MULTI_SZ value

Z:\>reg add "\\xxxxxxx\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v "Security Packages" /t REG_MULTI_SZ /d "kerberos\0msv1_0\0schannel\0wdigest\0tspkg\0pku2u" /f
The operation completed successfully.

List loaded programs remotely

  • Note sftmime cant dump to console via psexec
  • Note Default output paths are c:\Windows\SysWOW64\ if the program is 32bit and c:\Windows\system32\ if its 64bit
psexec -he \\xxxxxxx cmd /c ( SFTMIME.exe query obj:app /short /log \log.txt ^& type \log.txt ^& del \log.txt )

Nuke all cached programs

sftmime.exe remove obj:app /global /complete

Remotely

psexec -he \\xxxxxxxx cmd /c ( SFTMIME.exe remove obj:app /global /complete )

Nuke a specific cached program

psexec -he \\xxxxxxxx cmd /c ( SFTMIME.exe unload app:"You App Name From the Short List" ^& SFTMIME.exe remove app:"You App Name From the Short List" /complete )

Nuke cached programs via registry (needs reboot)

set State DWORD to 0

reg add \\xxxxxxx\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\AppFS /v State /d 0 /f