Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 7220

AppV 5.0 SP3 client can't publish application to users on Server 2012 R2 RDS environment

$
0
0

Hi,

When using SCCM to publish an AppV application to a user any user with a profile created within the last 2 weeks gets the below error in the SCCM logs.  This has only started happening within the last 2 weeks or so. This environment uses full User Profile Disks but the error occurs without UPD's being turned on also.

I believe this is due to incorrect permissions on the %USERPROFILE%\AppData\Local\Microsoft\AppV\Client\VFS folder.  If the VFS folder is deleted the AppV client recreates it wiht the correct permissions and the application deploys successfully.

The permissions on the default profile are correct(has permissions for TrustedInstaller, ALL APPLICATION PACKAGES, SYSTEM) but when a new profile is created the permissions are inherited from C:\users\USER (SYSTEM, USER,Administrators).  The Session Hosts are on a regular patching schedule so it is possible this was caused by an update.

Our windows 7 laptop fleet are also patched regularly and do not have this problem with AppV 5.0 SP3.

SCCM AppEnforce.log is as below(and will deploy if VFS folder is deleted).

+++ Starting Install enforcement for App DT "7-Zip - Stream" ApplicationDeliveryType - ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da, Revision - 3, ContentPath - C:\Windows\ccmcache\7, Execution Context - Any    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
    A user is logged on to the system.    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
    Installing App-V 5.X package 7-Zip (DTId = ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da, Revision = 3)    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
The AppV 5X client is configured for use with ConfigMgr.    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
   Opened config file C:\Windows\ccmcache\7\7-Zip_UserConfig.xml for package [Id = 20c84446-3b80-4b2b-8495-f35ba7fb2acc] [Xml namespace=http://schemas.microsoft.com/appv/2010/userconfiguration].    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage -PackageID 20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] for the  user    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
    Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage -PackageID 20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)} with user context    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
    Process 4028 terminated with exitcode: 1    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
Here is the error message generated by the process:
Publish-AppvClientPackage : Application Virtualization Service failed to complete requested operation.
Operation attempted: Publish AppV Package.
AppV Error Code: 040000002C.
Error module: Virtualization Manager. Internal error detail: 4FC090040000002C.
Please consult AppV Client Event Log for more details.
At line:1 char:106
+ import-module 'C:\Program Files\Microsoft Application Virtualization\Client\Appv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (:) [Publish-AppvClientPackage], ClientException
    + FullyQualifiedErrorId : PublishPackageError,Microsoft.AppV.AppvClientPowerShell.PublishAppvPackage
 
    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage -PackageID 20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] failed with return code 1.    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
AppVManageClient5X::PublishAppVPackage() failed for package [20c84446-3b80-4b2b-8495-f35ba7fb2acc]. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
CAppV5XHandler::PublishSpecifiedAppVComponents() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
CAppV5XHandler::PublishAppVComponentsForDT() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    CAppV5XHandler::InstallApp() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
++++++ App enforcement completed (1 seconds) for App DT "7-Zip - Stream" [ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da], Revision: 3, User SID: S-1-5-21-924973937-481717530-2175923625-9537]++++++    AppEnforce    18/02/2015 16:16:18    304 (0x0130)

Thanks


Viewing all articles
Browse latest Browse all 7220

Trending Articles