The issue is that the default printer setting from the local desktop is not being preserved in the Azure Virtual Desktop (AVD) session. The most likely cause is that the group policy setting "Do not set default client printer to be default printer in a session" is enabled. This policy prevents the default client printer from being set as the default in the remote session. Disabling this policy should allow the default client printer to be set as the default in the AVD session.
To resolve the issue, follow these steps:
- Open the Group Policy Management Console (GPMC).
- Navigate to the relevant GPO applied to the AVD session hosts.
- Go to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Printer Redirection.
- Find the policy "Do not set default client printer to be default printer in a session".
- If the policy is enabled, set it to "Disabled" or "Not Configured".
- Update the group policy on the AVD session hosts by running
gpupdate /force or waiting for the next refresh cycle.
- Test to see if the default printer setting is now being preserved in the AVD session.
If the issue persists after disabling the policy, check the AVD host pool settings for any printer redirection options that might affect the default printer setting. If necessary, consider using a PowerShell script to set the default printer at logon.
However, the most likely solution is to disable the aforementioned group policy setting.
Therefore, the recommended solution is to disable the group policy setting "Do not set default client printer to be default printer in a session". This should allow the default printer from the local desktop to be set as the default in the AVD session, resolving the issue for the users.