Hi everyone,
i am trying to register applications via PowerShell on a per user basis. Staging as admin works fine.
Registering per user fails with the following message:
- Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
- AppxManifest.xml(23,9584): error 0x80073D28: Cannot register the GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 package. Administrator privileges required to install packaged service
- NOTE: For additional information, look for [ActivityId] a7377816-941e-0000-25f7-7609e61bd701 in the Event Log or use the command line Get-AppPackageLog -ActivityID a7377816-941e-0000-25f7-7609e61bd701
The log gives the following information:
- 3/18/2021 11:56:29 AM 573 Setting Sync Enabled status, package family name GoogleChrome_74vyvr5aw93s6, enabled false.
- 3/18/2021 11:56:29 AM 10000 About to service package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6. Setting the package state to disabled returned with 0x0.
- 3/18/2021 11:56:29 AM 10000 About to service package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6. Setting the package state to disabled returned with 0x0.
- 3/18/2021 11:56:29 AM 9626 AppxManifest.xml(23,9584): PackagedServiceDEH successfully parsed manifest for package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 install
- 3/18/2021 11:56:29 AM 9626 AppxManifest.xml(23,8619): PackagedServiceDEH successfully parsed manifest for package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 install
- 3/18/2021 11:56:29 AM 9626 AppxManifest.xml(23,7415): PackagedServiceDEH successfully parsed manifest for package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 install
- 3/18/2021 11:56:29 AM 9621 AppxManifest.xml(23,9584): error 0x80073D28: Cannot register the GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 package. Administrator privileges required to install packaged service
- 3/18/2021 11:56:29 AM 303 error 0x80073D28: While preparing to process the request, the system failed to register the windows.service extension due to the following error: The package installation failed because administrator privileges are required. Please contact an administrator to install this package.
- 3/18/2021 11:56:29 AM 300 error 0x80073D28: Cannot register the GoogleChrome_74vyvr5aw93s6 package due to the following error: The package installation failed because administrator privileges are required. Please contact an administrator to install this package.
- 3/18/2021 11:56:29 AM 605 The last successful state reached was ResolvedDeferredRegistrations. Failure occurred before reaching the next state SingletonRegisterAdd. hr: 0x80073CF6
- 3/18/2021 11:56:29 AM 10001 Finished servicing package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6. Setting the package state to enabled returned with 0x0.
- 3/18/2021 11:56:29 AM 10001 Finished servicing package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6. Setting the package state to enabled returned with 0x0.
- 3/18/2021 11:56:29 AM 401 Deployment Register operation with target volume C: on Package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 from: (AppxManifest.xml) failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
- 3/18/2021 11:56:29 AM 404 AppX Deployment operation failed for package GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 with error 0x80073CF6. The specific error text for this failure is: AppxManifest.xml(23,9584): error 0x80073D28: Cannot register the GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6 package. Administrator privileges required to install packaged service
Here is the command, i am trying to use:
Add-AppxPackage -Path $path -DisableDevelopmentMode -Register
Environment
- WVD ARM
- W10 2004 Single Session and Multi Session
- Recent Updates and Patches
Added Recommendations
- reg add HKLM\Software\Policies\Microsoft\WindowsStore /v AutoDownload /t REG_DWORD /d 0 /f
- Schtasks /Change /Tn "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
- reg add HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager /v PreInstalledAppsEnabled /t REG_DWORD /d 0 /f
- reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\Debug /v ContentDeliveryAllowedOverride /t REG_DWORD /d 0x2 /f
- "Perform volume maintenance tasks" set in GPO
Any ideas are highly appreciated!