Forum Discussion
Tomaz9x
Mar 31, 2023Copper Contributor
AVD network printer redirection
Hello! I have problem with printer redirection to AVD. Users have local and network printers (IP port) installed on their PC. When they connect to Azure Virtual desktop (AVD) all their printers get ...
josequintino
Apr 02, 2023MCT
Hello @Tomaz.
Printer redirection in Azure Virtual Desktop (AVD) can sometimes cause issues, especially when dealing with a mix of local and network printers. To resolve the issue of network printers getting redirected, you can use a combination of Group Policy settings and registry edits to control which printers are redirected.
1- Create a Group Policy Object (GPO) for the AVD session hosts:
a. Open the Group Policy Management Console (GPMC) on a domain controller or a Windows
computer with the Remote Server Administration Tools (RSAT) installed.
b. Create a new GPO or edit an existing one that targets your AVD session hosts.
2- Configure the Group Policy settings to control printer redirection:
a. Navigate to "User Configuration" > "Policies" > "Administrative Templates" > "Windows
Components" > "Remote Desktop Services" > "Remote Desktop Session Host" > "Printer
Redirection".
b. Enable the policy "Do not allow client printer redirection" to disable printer redirection for
all printers. This is a temporary measure to prevent network printers from being redirected.
3- Configure registry settings to allow local printer redirection:
a. Navigate to "Computer Configuration" > "Preferences" > "Windows Settings" > "Registry"
in the GPO you created in step 1.
b. Create a new registry item with the following settings:
- Action: Update
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Value name: FDisableCpm
- Value type: REG_DWORD
- Value data: 0
4- Apply the GPO to your AVD session hosts and force a Group Policy update on the hosts by
running the following command in an elevated command prompt or PowerShell session:
gpupdate /force
5- Test the new configuration by logging into AVD and checking if only local printers are
redirected.
This configuration should disable printer redirection for all printers and then re-enable it only for local printers. If you still experience issues, consider further troubleshooting with event logs or reaching out to Microsoft Support.
Printer redirection in Azure Virtual Desktop (AVD) can sometimes cause issues, especially when dealing with a mix of local and network printers. To resolve the issue of network printers getting redirected, you can use a combination of Group Policy settings and registry edits to control which printers are redirected.
1- Create a Group Policy Object (GPO) for the AVD session hosts:
a. Open the Group Policy Management Console (GPMC) on a domain controller or a Windows
computer with the Remote Server Administration Tools (RSAT) installed.
b. Create a new GPO or edit an existing one that targets your AVD session hosts.
2- Configure the Group Policy settings to control printer redirection:
a. Navigate to "User Configuration" > "Policies" > "Administrative Templates" > "Windows
Components" > "Remote Desktop Services" > "Remote Desktop Session Host" > "Printer
Redirection".
b. Enable the policy "Do not allow client printer redirection" to disable printer redirection for
all printers. This is a temporary measure to prevent network printers from being redirected.
3- Configure registry settings to allow local printer redirection:
a. Navigate to "Computer Configuration" > "Preferences" > "Windows Settings" > "Registry"
in the GPO you created in step 1.
b. Create a new registry item with the following settings:
- Action: Update
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Value name: FDisableCpm
- Value type: REG_DWORD
- Value data: 0
4- Apply the GPO to your AVD session hosts and force a Group Policy update on the hosts by
running the following command in an elevated command prompt or PowerShell session:
gpupdate /force
5- Test the new configuration by logging into AVD and checking if only local printers are
redirected.
This configuration should disable printer redirection for all printers and then re-enable it only for local printers. If you still experience issues, consider further troubleshooting with event logs or reaching out to Microsoft Support.
fahiminamdar
Microsoft
Mar 20, 2024How do we redirect just the network printers to the AVD session host, I don't need my local printers, I want my network printers to get redirected josequintino