From testing it appears Type 4 - User Mode Drivers are not prompting. The drivers must be on the client computer already from OS image, windows update/WSUS or installed using a tool with admin credentials. The installed printer will get driver settings from the print sever but not the driver itself.
Problem is even a lot of recent updated drivers are Type 3 and can't find Type 4....
Answer from jameselees on learn.microsoft.comHow can we allow the installation or update of the printer drivers with Group Policy Objects without the user being administrator after updating kb5005033?
How to install HP Printer Drivers?
My printer driver does not install!!!
Print driver installation from print server
Videos
Here is a guide on how to deploy printer drivers to local machines via pnputil.exe. This can help with the latest PrintNightmare issue where users no longer have the ability to install printer drivers automatically from print servers. I also include how to deal with some printer drivers that have certificate issues.
I am assuming the print servers in use are 64-bit Windows machines. As a starting point, printer drivers should be manually installed on a test Windows computer or print server. Here are the locations for print driver info in the Windows registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-4
These registry locations list what printer models are assigned to which printer driver. Pay attention to the InfPath key inside each printer listed. This shows the location of the 64-bit printer driver inside C:\Windows\System32\DriverStore\FileRepository. This is helpful if you don’t know what driver is necessary for each printer, like when you inherited an environment. The idea here is to get the driver from the source so you know you have an exact match.
If you know the GUID of the printer driver (seen inside the InfPath key) you can also find the printer drivers nicely packaged up inside .cab files in \\server\printer$ or C:\Windows\System32\spool\drivers. There is a sub-folder for each architecture, with a PCC sub-folder in each one. The PCC sub-folder has a .cab file with each printer driver packaged inside.
Edit: use the Print Management tool in Windows Administrative Tools instead. You can add columns of info to the display so you don’t have to fool with the registry like I did! Oh well I was just trying to learn the real nuts and bolts. You can also try to remove drivers here too.
Copy the printer drivers you want to a central location for deployment and testing. Put each one in a separate sub-folder.
For testing purposes, use a Windows 10 client machine that has never had network printer drivers installed.
If you don’t have that on hand, you can uninstall drivers manually.
Go to Control Panel, Devices and Printers, select each network printer one at a time and remove them.
Select a built-in printer that is left and select “Printer server properties” in the menu. In the Print Server Properties window, click the Drivers tab. Select “Change Driver Settings” with the shield and remove any network printer drivers. Use the “Remove driver and driver package” option.
Install printer drivers on your client test machine (using an elevated command prompt) with a command like:
pnputil.exe /add-driver "\\server\share\drivers\driver1\*.inf" /install
Record the output of the command, as you will want to uninstall the driver and do it again for further testing and validation. The output will have the name of the Inf you need to perform the uninstall. The uninstall command is:
pnputil.exe /delete-driver installeddrivername.inf
Edit: You can also delete a driver by just calling the inf from your install location. Just tried this and it worked.
If you can’t uninstall with pnputil for some reason, go back to the Printers and Devices and remove network printers. Also go to “Printer server properties” and remove there. Then try the uninstall again.
Older printer drivers can have certificate issues, like expired code signing certificates. They will give a pop-up window saying “Would you like to install the device software?” when installing via pnputil.
To mitigate this, install the printer driver on a test machine and export the certificate. Use the exported certificate in your driver install script by following these steps:
On a test box use pnputil.exe to install the printer. When asked “Would you like to install the device software” check "Always trust software from", and click install.
Once the install is finished run certmgr.msc. Under certmgr.msc navigate to Trusted Publishers>Certificates>"name of new cert". Right click the cert and export it. Leave all questions at default and choose an appropriate export folder. Make sure your exported file ends in .cer.
Use the certutil.exe tool to add the certificate to the machine before installing drivers with pnputil.exe.
Certutil.exe -addstore "TrustedPublisher" \\server\share\certs\cert_name.cer
You should now have what’s necessary to deploy printer drivers onto machines. Just use whatever deployment method you want with a batch file or powershell script. GPO script, MEMCM, GPO Task Scheduler, PDQ Deploy, Intune, whatever should work.
Not all printer drivers will work using this method, but most will. For example, old Sharp MFC drivers will not deploy properly using this method.
For example, a memcm task sequence could run a batch file with content like this:
cmd.exe /c “certutil.exe -addstore "TrustedPublisher" \\server\share\certs\cert1.cer” cmd.exe /c “certutil.exe -addstore "TrustedPublisher" \\server\share\certs\cert2.cer” cmd.exe /c “pnputil.exe /add-driver \\server\share\drivers\driver1\*.inf /install” cmd.exe /c “pnputil.exe /add-driver \\server\share\drivers\driver2\*.inf /install”
If you know of any other tricks for using pnputil to install drivers please reply in the comments.
EDIT: The reason a lot of drivers did not work was because of a bug in driver detection. The October patch appears to be a help! https://www.reddit.com/r/sysadmin/comments/q7pqjo/printnightmare_driver_update_needed_bug_fixed_by/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
From testing it appears Type 4 - User Mode Drivers are not prompting. The drivers must be on the client computer already from OS image, windows update/WSUS or installed using a tool with admin credentials. The installed printer will get driver settings from the print sever but not the driver itself.
Problem is even a lot of recent updated drivers are Type 3 and can't find Type 4....
we are using Point and Print restrictions via GPO before printernightmare and we are doing it also now so i added the regkey
"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 0 /f
to get back the old behaviour.
default users can install the printer & driver from two print servers without being admin, if they try to install it from somewhere else UAC will appear
Suggest me a website to install HP Printer drivers as, I was looking for one but I found [link removed by moderator]. This is for Brother Printer not HP.
Thanks
Official HP Printer Drivers and Software Download | HP Support
As an IT Admin this should be an easy enough task to find.
I bought a canon i sensys mf3010 printer and scanner a few years ago.
When buying, I installed the printer and scanner driver on laptop A with Windows 10 pro 64 bit and after a while on laptop B with Windows 10 pro 64 bit and it was used without any problems.
Now, after 1 year, I installed the same Windows version of laptop B for laptop A. Laptop A and B are equal in terms of software, but it is not possible to install the printer driver on laptop A and it only installs the scanner driver.
The first point: the smaller images are related to device A, which has been installed, but still only the scanner is installed.
The second point: The bigger picture is related to device B, where both the printer and the scanner have been successfully installed.
Third point: Both devices A and B have not received any updates after installing Windows
The fourth point: 3 ways to install have been tried: installation from the factory CD disk - installation from the main site - getting the driver zip file from different sites and manual installation. None of which worked.
How can I solve this problem?
@michal
The current default is admin access to install software from the server.
With the registry key added so the non admin can install the software when no server name is configured in Point and Print policy, you get the error?
The other policy that forces a similar check is the Package Point and Print policy. Make sure you don't have a server name in that policy.
Sorry, not currently at a computer to confirm the exact name.
Thanks
Hi @Alan Morris .... that's right ... with the configuration you see above, I'm getting the messages that user is restricted to access printer. From many online sources I've seen, that it should -at least- ask for Administrator credentials.... which is not my case either :/
Btw, "Package Point and Print policy" is set as "Not Configured"
PS: I have that GPO applied directly to domain. I'm not expert with GPO, but I guess it should be automatically applied to all users/computers in that domain...
Hey guys,
So with the latest update bricking the point to print feature. I was asked to find out if we can deploy printer drivers, without adding the printer.
Ideally we want to pre-install the printer drivers when imaging workstations.
Does anyone know what cmd, or powershell commend can be used for this? I have read a few that can do this, but require an INF file, has anyone done this? Currently confused on where I would find an INF file for each printer model we have at our site.
and advice is welcome..