Print server and Print Nightmare update

Manuel Galdamez 121 Reputation points
2021-08-17T16:16:05.733+00:00

Hi All,

I'm having issues with some Print Servers after running Windows Updates and installed

2021-08 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5005030)

After the update installation I'm getting the error "Connect to printer Windows cannot connect to the printer. Operation failed with error 0x0000011b" and the printer fails to install.

Is there any workaround to keep Print Severs up and running?

I cannot permanently remove the August update, because the Print Nightmare update will come again in Sept Cummulative Update.

I also tried to revert the configurations using:
* “Allow Print Spooler to accept client connections” policy
* HKEY_LOCAL_MACHINE \Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint.

Nothing worked. I will appreciate any advice.

Thanks,

Manuel

Windows for business | Windows Server | User experience | Print jobs

54 answers

Sort by: Oldest
  1. Michael McDonald 1 Reputation point
    2021-09-17T01:03:34.447+00:00

    We ended up redeploying the printers via GPO instead of the point and print method and so far so good since doing so.

    Was this answer helpful?

    0 comments No comments

  2. stevo2525 1 Reputation point
    2021-09-17T05:21:47.16+00:00

    What a fun day! We had the 0x0000011b issue appear today.

    For domain-joined computers I switched to Per-Machine GPO Deployment which (as others have mentioned) mitigates the new 'administrator privileges required' issue by installing as SYSTEM.

    The easiest way to do a quick Per-Machine GPO Deployment is to

    • Jump on the print server, open Print Management, right click each printer installed on your print server and choose Deploy with group policy.
    • Browse for the AD container for the most relevant computers for the printer you're deploying (In my case I just went ahead and deployed photocopiers to all computers to stop the tears), hit the Create a New GPO button and give it a name, then with the newly created GPO highlighted, press OK to finish browsing.
    • Tick the setting "The computers that this GPO applies to (per machine)", press Add and hit OK.
    • Have users restart their computers (twice if you like, to ensure a refresh and application of the newly created policy).

    For non domain-joined computers (or perhaps one off computers) I've asked users to install drivers manually. You can still point to shared printers on your printer server by taking the following steps:

    • Manually install the required print driver that matches the driver your print server is using on the users' computer (hopefully a universal driver - in my case it was the Ricoh PCL6 v4).
    • Add a new printer in Windows. In the add printer wizard, choose Add a local printer or network printer with manual settings.
    • Create a new port and make the Type of Port a Local Port
    • Enter your print server path in the Port Name field: e.g \printers\mygreatprinter
    • Manually select the driver you installed earlier (or use Have Disk..).
    • Next your way through the end of the wizard.

    I know uninstalling the updates or turning off the admin privileges requirement in the registry are easier fixes, but I'd be a bit concerned about the vulnerabilities that could be exploited against your environment if you take this path! From what I've seen, it looks like PrintNightmare related issues are trivial to exploit.

    Was this answer helpful?

    0 comments No comments

  3. HeikoB 1 Reputation point
    2021-09-17T07:19:36.187+00:00

    Hi all,

    sorry for my english it is not my native language.

    The solution for this problem is:

    1. Create a GPO and also a registry entry RestrictDriverInstallationToAdministrators like descriptions https://support.microsoft.com/en-us/topic/kb5005010-restricting-installation-of-new-printer-drivers-after-applying-the-july-6-2021-updates-31b91c02-05bc-4ada-a7ea-183b129578a7
    2. Understand that an update like KB5005010 or KB5005030 on print server side requires an update on client side otherwise the settings from first point not working
    3. Here you find the necessary updates (40 rows) for all windows version particulary for your clients https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36958 for example Windows Server 2008R2 or Windows 7 needs KB5005615, Windows 10 v2004 or newer KB5005565, Windows 10 v1909 KB5005566 and so on...
    4. The solution with registry entry "CopyFilePolicy" did not work for me, you find it here: https://www.bleepingcomputer.com/news/microsoft/microsoft-fixes-remaining-windows-printnightmare-vulnerabilities/
    5. If you have Windows 7 or Windows 2008R2 you need an ESU license for KB5005615 wich you get from your Microsoft Volume Licensing Service Center https://www.microsoft.com/Licensing/servicecenter/Default.aspx

    For Windows 7 and Windows Server 2008R2 you need the following updates installed:

    If you have no ESU license and you are installing KB5004951 everything seems to be fine. But after installing this update and restarting your device, you might receive the error, “Failure to configure Windows updates. Reverting Changes. Do not turn off your computer,” and the update might show as Failed in Update History. You find in windows event log error 0x80070661 as an reason
    https://support.microsoft.com/en-us/topic/july-6-2021-kb5004951-security-only-update-out-of-band-e05a81cd-9b45-4622-b715-ddb2367bca47

    Thanks,
    Heiko

    Was this answer helpful?


  4. Rick Stinson 1 Reputation point
    2021-09-17T13:28:43.777+00:00

    We run into this issue on Computers with Windows 10 Version 1909 installed.
    Upgrading Windows to the 20H2 or higher solves the Problem.

    Was this answer helpful?


  5. Shahin Mortazave 491 Reputation points
    2021-09-17T14:01:37.197+00:00

    Hi guy's,

    Our print server is a server 2012 R2 and we use follow my printer of Konica. Since the update KB5005613 was install our users cannot send print job to the printer and when we tried to add the printer again we got the error the PC cannot communicate with print server, error 283.
    On the print server we did enabled the policy that you guy's mentioned here, and set it to Show warning and Elevated Prompt and could see that registry keys were created on the print server, but still we have the same issue. The only solution was removing the update KB5005613 from the print server

    Does anyone else have the same experience with this update and server 2012 R2? how can we get this to work with this update?

    Thanks

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.