question

Samuel-Petrovich-2299 avatar image
0 Votes"
Samuel-Petrovich-2299 asked JiaYou-MSFT edited

Print Queues Installed by Local Group Policy are Duplicated and Cannot Be Deleted

Hello all,

A little context first: My organization has three 2016 Print Servers each hosting 100+ print queues to Win10 workstations. There are 2 print queues identified that have the issue I am about to describe. Both of these queues are hosted on the same server. Printers are installed via Local Group Policy Editor on the workstation under Computer Configuration. I will focus on 1 of the problem print queues in my problem description.

The Issue: When the print queue is deployed to a computer in the area, the print queue shows up in the control panel multiple times. On some PCs 4 times, on others 6. These are NOT marked as "Printer 1 - Copy 1". They all bear the same name: "Printer 1 on PrintServer1". If you remove the duplicates, they nearly instantly re-install themselves. If you remove the printer from the Local Group Policy editor and perform a gpupdate /force, the printer and its duplicates are removed. However if you then re-deploy the printer it returns with the same number of duplicates (even if you delete the registry.pol file before doing this).

I have deleted and re-created the queue on the print server, but this had no effect.

Looking at the registry on one of the affected PCs, I found that there are maybe 100 registry keys created for the same print queue under HKLM\Software\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\Servers\PrintServer1\Printers. I deleted all these reg keys and rebooted the PC and the duplicates disappeared. However after making a change to the driver on the print queue the duplicates returned and more of these reg keys returned.

My own workstation is in a separate location and has not had printers deployed to it since it was imaged. I deployed these two print queues to my workstation and they are not duplicating.

I am not sure what else I can try if clearing out these reg keys is not a permanent fix. I am looking to understand the root cause.

Thanks!

windows-group-policywindows-server-print
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI

1."The duplicated print queues are both hosted from the same 2016 server. "
Does any version win10(1809/1909/2004/20h1) have the same issue?

2.Are all 2016 printer servers install the HP LaserJet M608 printer?

3.Could you please enter below command on both normal win10 and issue win10 respectively, then check if there is any difference about update patches?
get-hotfix

4.Could you please enter below command on both normal win10 and issue win10 respectively, then check if there is any difference about printer policy?
gpresult /h c:\normal.html
gpresult /h c:\issue.html

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
JiaYou-MSFT avatar image
0 Votes"
JiaYou-MSFT answered Samuel-Petrovich-2299 commented

HI

1.Could you please share the issue picture to us? (please don't include any private information)
2.Do you mean your duplicated print queue only happen on one 2016 printer servers?
3.Which printer policy did you use to deploy issue print to win10 client?
Computer policy
computer Configuration\Policies\windows settings\deployed printers​
computer Configuration\preferences\control pannel settings\printers​

User policy
user Configuration\Policies\windows settings\deployed printers​
user Configuration\preferences\control pannel settings\printers

4.What's your issue the print model?
5.What's printer driver do you use?

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

113359-multi1001.jpg




Unfortunately I do not have access to any of the affected PCs right now but this is an image one of the techs sent me. The duplicates are displayed in control panel and in device manager. The duplicated print queues are both hosted from the same 2016 server. All 3 of our print servers have 100+ print queues.

The policy used to deploy is Computer policy
computer Configuration\Policies\windows settings\deployed printers​.

Both print queues are HP LaserJet M608

I have tried the HPLaserJet M607 M608 M609 PCL-6 (V4) driver and the HP Universal Printing PCL 6 (v7.0.0) drivers with no detectable change between the two.

0 Votes 0 ·
multi1001.jpg (795.1 KiB)
JiaYou-MSFT avatar image JiaYou-MSFT Samuel-Petrovich-2299 ·

HI

1."The duplicated print queues are both hosted from the same 2016 server. "
Does any version win10(1809/1909/2004/20h1) have the same issue?

2.Are all 2016 printer servers install the HP LaserJet M608 printer?

3.Could you please enter below command on both normal win10 and issue win10 respectively, then check if there is any difference about update patches?
get-hotfix

4.Could you please enter below command on both normal win10 and issue win10 respectively, then check if there is any difference about printer policy?
gpresult /h c:\normal.html
gpresult /h c:\issue.html

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
  1. All affected workstations are running Windows 10 1809.

  2. The print queues are both HP LaserJet M608 printers.

  3. There are some differences in the get-hotfix results, but looking at the patch notes for each I see nothing that seems related to printing.

  4. I referenced these against each other and found no apparent difference between the two.


0 Votes 0 ·
JiaYou-MSFT avatar image
0 Votes"
JiaYou-MSFT answered JiaYou-MSFT edited

HI

1.Please make sure we install the same update on both normal win10(1809) and issue win10(1809).

2."I deployed these two print queues to my workstation and they are not duplicating."

(1)Please create a system restore point on issue win10 first
https://support.microsoft.com/en-us/windows/create-a-system-restore-point-77e02e2a-3298-c869-9974-ef5658ea3be9

(2)Download PSExec and run the following script in PowerShell as administrator to remove existing obsolete entries: (place pstools in this path: C: \ temp \ PSTools \ Psexec.exe)
Start-Process -FilePath cmd.exe -Verb Runas -ArgumentList '/k C:\temp\PSTools\Psexec.exe -I -s powershell.exe'
Remove-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\SWD\PRINTENUM*" -Recurse
Remove-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceClasses*" -Recurse
Remove-Item -Path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider*" -Recurse
PsExec v2.34
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

(3)Configure the registry key and restart win10, finally we can check the result.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\RemovePrintersAtLogoff
Value = 0

If the above steps can not help you, please check below document again.If all solution not help you, we can recover win10 to previous backup point.

Other document for your reference
Duplicate Printers Showing Up in Windows
https://www.amorales.org/2019/05/duplicate-printers-showing-up-in-windows.html
Please Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.