App-v client tip – unable to run PS scripts without admin privileges?

Just noticed this on the test VDI was working as quite a lot of app-v sequences have dependencies on external powershell scripts.

Noticed on migrating these sequences to Windows 10 had issues with running App-v apps which included sequences that had external powershell scripts that were being called wouldn’t work unless I logged on with a user with administrator privileges. To fix package scripts needs to be enabled.

To enable package scripts you can do one of the following;

powershell command Set-AppvClientConfiguration -EnablePackageScripts 1

or

change the reg key value to 1 (hex) for HKLM\SOFTWARE\Microsoft\AppV\Client\Scripting\EnablePackageScripts

Needless to say above can add the above key as a  group policy preference.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s