question

LukeTomczyk-7310 avatar image
0 Votes"
LukeTomczyk-7310 asked ·

Microsoft Print to PDF not working after Windows update to Windows Server 2019

We have been having an issue for the past 2 months where on all 4 of our Windows Server 2019 RDSH, the Microsoft Print to PDF feature stopped working along with other built in printers. At first we could not locate the issue, but some time later, after uninstalling the Windows updates, the feature started to work again.

Some things we have done...
-Uninstalled the printer and tried to reinstall. We are always presented with "Unable to install, Element not found".
-When clicking on the properties of the PDF printer, it mentions that the driver is not installed (although we believe it is). When going through the wizard to install the driver, we get the same error listed above.
-Performed a full reset and fresh windows install on the server. This works, until the Windows updates are installed, which breaks the printer again.


It almost seems like whatever is in this update is breaking any/all of the Type 4 printer drivers.
Does anyone know a fix for this issue? We would like to have the updates installed to stay up to date and safe, but the PDF printer is a must have.
Thanks!

windows-server-2019windows-server-print
· 1
10 |1000 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.

Same issue here. I can't find a fix. Tried uninstalling all recent updates, but that didn't help. I couldn't uninstall some of the security updates. I deleted the printers (XPS, PDF, OneNote) thinking that deleting all of them and starting from scratch with Type 4 drivers might help, but it didn't. Now I can't even install them. If I select Use the driver that is currently installed, I get "Unable to install printer. The handle is invalid." If I select Replace the current driver, I get "Printer driver was not installed. Element not found."

0 Votes 0 ·
JennyYan-MSFT avatar image
0 Votes"
JennyYan-MSFT answered ·

Hi,
1.If the print driver does install on the server, use the print backup utility c:\windows\system32\spool\tools\printbrm.exe to backup the driver and then restore the driver to the machine with the issue adding the driver to the driverstore.
printbrm -b -f backup.printerexport
printbrm -r -s printserver -f backup.printerexport

https://social.technet.microsoft.com/Forums/windowsserver/en-US/402a8e6d-a873-4cf7-8625-a8c50ef6ba47/printer-driver-was-not-installed-element-not-found?forum=winserverprint

2.There is a similar thread in QA forum that the user finally choose higher version of another PDF printer as workaround.
https://docs.microsoft.com/en-us/answers/questions/138777/windows-updates-kill-print-to-pdf-function-kb45747.html

3.What is the patched KB that has broken the PDF printer and you could post the details in user voice forum for the product team to check further.
https://windowsserver.uservoice.com/forums/295047-general-feedback


Hope this helps and please help to accept as Answer if the response is useful.

Thanks,
Jenny

· 3 ·
10 |1000 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 Jenny,

Unfortunately, option 1 does not fix the issue when the Windows updates are still installed.

As far as option 2 is concerned, we do not have a second installed PDF printer. We strictly use the Microsoft built in "Print to PDF" function.

I will be testing which exact update is breaking the drivers and then relay that message to the user voice forum.


Thanks,
Luke

0 Votes 0 ·

Hi Luke,
Thanks for the update. It is appreciated for you to update the KB details here and we would like to test in VMs and reproduce your issue if possible.

Best Regards,
Jenny

0 Votes 0 ·

Hi Jenny,

Sorry for the delayed response. I was waiting for the January 2021 patches to see if the issue would resolve itself. Unfortunately, it did not, but we have captured the patch that seems to be causing the issue.

Per testing, once we uninstall KB4598230, the print to PDF (along with all other type 4 printers), begin to work again. Any ideas on why this patch may be interfering with type 4 drivers/printers?

Thanks!
Luke

0 Votes 0 ·
acira-8787 avatar image
0 Votes"
acira-8787 answered ·

I am having the same issue on Server 2016 RDSH
https://docs.microsoft.com/en-us/answers/questions/166106/microsoft-print-to-pdf-stops-working-on-2016-rdsh.html

Any cumulative update since breaks it for me.

· 3 ·
10 |1000 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.

We're seeing the same thing here. Hoping that there is some sort of workaround identified or the patch itself modified. Let me know if you here anything!

0 Votes 0 ·
acira-8787 avatar image acira-8787 LukeTomczyk-7310 ·

I think it tries to use GPU resources to raster, I wonder if it has something to do with the RemoteFX vGPU vulnerability mitigation.

0 Votes 0 ·

That's an idea I hadn't even thought of. That could have some potential.

0 Votes 0 ·
EVOKMichaelErni-5457 avatar image
1 Vote"
EVOKMichaelErni-5457 answered ·

Hi,

Exactly the same problem here with a RDS Sever (2019).

Any news or updates about this case ?

· 1 ·
10 |1000 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.

We are currently working with MS support on the case now. Hopefully some resolution will come of it. They we able to remote to our environment and see the issue first had, where after updating, the type 4 printers fail. Any tricks they attempted did not work, so hoping that development can come up with some remediation.

0 Votes 0 ·
AlexCarlock-2314 avatar image
1 Vote"
AlexCarlock-2314 answered ·

We never found a solution. Had to install a 3rd party PDF Printer.

·
10 |1000 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.

Steven-9558 avatar image
0 Votes"
Steven-9558 answered ·

We had removed the updates from the server in November to regain functionality. About 2 weeks ago an update installed to our windows 10 workstations that broke this again. After testing, I found that Remote pdf printing now works if both the servers and workstations are updated. NOTE: our configuration is a little different. We are running windows server 2012 R2 (Now with all the latest updates) and Windows 10 1909 or windows 10 20h2 with all the latest updates.

·
10 |1000 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.