Printing on Azure Virtual Desktop using Universal Print
The improvements described in this article apply to Windows 11 multi-session 22H2 and later. Windows 10 users and users on older Windows 11 versions will still experience the issues described in the Universal Print Known Issues article here.
The improvements made in Windows 11 22H2 address user experience issues on Azure Virtual Desktop. There are 3 major improvements to the print scenario
Printers are installed as part of the user profile
Instead of printers being installed as a machine-wide resource (i.e., all installed printers are visible to all users who sign in to the VM), each user sees only the printers they install.
Printers roam with user profiles
When user profiles are configured to roam (e.g. using FSLogix), printers that the user installs on one VM will be automatically installed on other VMs the user signs into. This behavior also works when users remove printers from their profile.
Location-based printer search the local device location
Instead of finding printers close to the location of the VM where the user is signed in, location-based printer search will find printers based on the device the user is connecting from. This requires the location override functionality to be enabled.
Relevant information and caveats
Location override configuration
To enable location-based printer search using the AVD client location, location services must be configured on all VMs as follows:
- Open the Settings app in Windows and go to Privacy & security.
- In the App permissions section, click Location.
- Enable Location services.
- Enable Allow location override.
Printer redirection affects whether the printers installed on the PC the user is connecting from will be available in the remote session. While there is no recommended setting, this configuration affects the printers that will be available to the user in the remote session. Therefore, the admin should decide what the correct configuration is for their users.
Configure printer redirection
- Go to https://portal.azure.com
- Under Azure services, click Azure Virtual Desktop.
- Click on Host pools and click on the host pool you would like to configure.
- On the host pool configuration page, click on RDP Properties, then click on Device redirection.
- Choose your preferred printer redirection setting.
Printer redirection affects the default printer behavior. When you choose to have printers on the local computer be available in the remote session, the default printer on the local computer will become the default printer in the remote session.
Printing preferences and printer properties
Printing preferences are the options the user chooses every time they print. Depending on what the printer supports, this could be things like paper size, stapling, color vs. greyscale, etc. When a user sets their printing preferences defaults, these user preferences roam with the user across different sessions hosts.
Printer properties are the configuration of a printer on a particular PC. These are things like the printer driver, the ports where the printer is installed on this PC, and other printer settings. This configuration is machine-specific, and does not roam with the user across session hosts.
Removing a printer while multiple users are signed in
When a user removes a printer, that printer gets removed from other users who installed it, if they are signed in to the same VM as the user who removed that printer.
- Universal Print discussions on the Microsoft Tech Community at https://aka.ms/UPDiscussion.