Microsoft september patch printing issues

After installing latest server patch on Windows Server 2012R2 and 2016, clients were unable to print to network printers due to some protocol changes done. If you encounter 0x0000007b or 0x0000011b error while trying to print and you do not want to uninstall the latest patch here a workaround:

Go and open regedit and look for

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\

Then create a new DWORD value:

RpcAuthnLevelPrivacyEnabled=0

last go to services and restart the print spooler. Done, printing should work again.

PSGallery Windows Server 2016

If you should have problems installing packages from PSGallery on your Windows Server installation try the following:

Open a PowerShell session as administrator:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Unregister-PSRepository -Name "PSGallery"

Register-PSRepository -Default -Verbose

Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted