Unable to save default application on UPM on Windows Desktop OS VDAs after February MS updates

Unable to save default application on UPM on Windows Desktop OS VDAs after February MS updates

book

Article ID: CTX691100

calendar_today

Updated On:

Description

After Microsoft Windows Updates on February 2024, Desktop OS VDAs using Citrix Profile Manager (UPM profiles) are unable to save default applications

As part of the February 2024 updates (KB5034763 for Windows 10 and KB5034765 for Windows 11), Microsoft introduced a new driver called the "User Choice Protection Driver" (UCPD.sys). This driver prevents direct editing of specific Registry keys associated with URL associations (HTTP, HTTPS) and the PDF file extension.

 

On UPM logs we will see the following errors when local profile is copied to UPM profile at logoff:

ERROR;ApplyRegistryChanges: RegSetValueEx: Setting value <ProgId> in key <upm_USER-SID_network\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice> failed with: Access is denied.
ERROR;ApplyRegistryChanges: RegSetValueEx: Setting value <ProgId> in key <upm_USER-SI_network\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice> failed with: Access is denied.
ERROR;ApplyRegistryChanges: RegSetValueEx: Setting value <ProgId> in key <upm_USER-SI_network\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice> failed with: Access is denied.

Resolution

Workaround: disable UCPD driver
1. Set the startup type of UserChoice Protection Driver to disabled.
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\UCPD" -Name "Start" -Value 4 -PropertyType DWORD -Force
2. Deactivate the UCPD Velocity task in the Task Scheduler.
Delete or disable the "UCPD velocity" scheduled task under \Microsoft\Windows\AppxDeploymentClient.

A reboot is needed for these changes to take effect.


Problem Cause

Microsoft introduce UserChoice Protection Driver (UCPD) with Windows Updates on February 2024 for Windows 10 and Windows 11

This affects 3rd Party software to make changes to the registry keys

Additional Information

External resources:

How Microsoft is Locking Down Default Browser Settings in Windows
https://www.linkedin.com/pulse/how-microsoft-locking-down-default-browser-settings-windows-lepain-csike#:~:text=As%20part%20of%20the%20February,and%20the%20PDF%20file%20extension.

New sneaky Windows driver UCPD stops non-Microsoft software from setting defaults
https://www.ghacks.net/2024/04/08/new-sneaky-windows-driver-ucdp-stops-non-microsoft-software-from-setting-defaults/