Posts

Showing posts with the label UAC

Adobe Acrobat error 16 & UAC - App-V 5.1

Image
After converting Adobe Acrobat standard 10.0 application from App-V 4.6 to App-V 5.1 using powershell commands, it throws an error 16 when launching the shortcut. Reason: This is due to UAC and the application requires to be run as administrator. Solution: To test manually Click Start > All Programs. Right click on the Adobe Acrobat X Standard product and click Run As Administrator.The shortcut will launch without any error. So how to resolve this in the App-V 5.1 package? We need to suppress the UAC prompt when run as administrator. Check my another blog for more information to solve this issue  here

UAC and App-V 5.0 Demystified

Image
There are some methods through which we can suppress UAC prompts when virtualizing using App-V 5.0. You can try the below methods which ever suits your need. 1. SET __COMPAT_LAYER: Edit the sequenced shortcut and add the below command. cmd.exe /c “SET __COMPAT_LAYER=RunAsInvoker & START Appname.exe” Note: There is a space in between SET and __COMPAT_LAYER. If you didn't leave any space it will throw an error. "SET' is not recognized as an internal or external command. 2. Registry Method: Right click on the shortcut and select properties-compatibility-privilege level- run as admin-apply. This will create a registry entry in the HKCU\HKLM based upon User/Machine selection. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers (or) HKEY_Current_User\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Layers Export the registry key and add it in the deployment config file and register it in the local machine. NOTE: Enable script exec...