Point and Print registry builder
Point and Print: lock down printer drivers
Write the Point and Print registry values that keep printer driver installs with administrators, and list the print servers staff may use, as reg add lines, PowerShell or a .reg file. Paste a computer's values to see if it is still open from a PrintNightmare workaround. It runs in your browser: nothing you type is sent to us.
Paste this in Command Prompt
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v RestrictDriverInstallationToAdministrators /t REG_DWORD /d 1 /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v NoWarningNoElevationOnInstall /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v UpdatePromptSettings /t REG_DWORD /d 0 /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v Restricted /t REG_DWORD /d 1 /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v TrustedServers /t REG_DWORD /d 1 /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v ServerList /t REG_SZ /d "print01;print02.school.local" /f
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v InForest /t REG_DWORD /d 0 /fRestrictDriverInstallationToAdministrators1NoWarningNoElevationOnInstall0UpdatePromptSettings0Restricted1TrustedServers1ServerListprint01;print02.school.localInForest0
Then check it with reg query "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" and gpupdate /force.
With RestrictDriverInstallationToAdministrators at 1, staff who are not administrators cannot install or update a driver from a print server. Put the driver on each computer first, then they connect without a prompt.
ServerList takes the names exactly as computers reach the server. List both the short name and the full name if both are used.
Open Command Prompt with Run as administrator. HKLM values need it.
A Group Policy that sets Point and Print Restrictions writes the same key and wins at the next refresh. Change the policy itself on a domain.
Check a computer's Point and Print values
Run reg query "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" and paste what it prints. The example is a computer left open after a PrintNightmare workaround.
2 values leave this computer open to driver installs without an administrator. Fix RestrictDriverInstallationToAdministrators and NoWarningNoElevationOnInstall.
RestrictDriverInstallationToAdministratorsOpenStaff who are not administrators can install printer drivers. Microsoft warns this reopens the PrintNightmare hole (CVE-2021-34527). Set it to 1 and put drivers on with pnputil instead.NoWarningNoElevationOnInstallOpenNo warning or administrator prompt when a new printer's driver installs. Microsoft says to keep this at 0.UpdatePromptSettingsSafeUpdating an existing printer's driver shows the warning and asks for an administrator.
When Point and Print gets in the way
Point and Print is how a Windows computer takes a print driver from a print server when someone connects one of its printers. The print spooler installs it, which is why these values matter.
Staff get asked for an administrator when they add a printer
That is RestrictDriverInstallationToAdministrators at 1 doing its job: the driver is not on the computer yet. Put it on once with pnputil, or let IT add the printer, and the prompt stops for that driver.
Should RestrictDriverInstallationToAdministrators be 0?
Microsoft says no. 0 lets anyone install a printer driver, which is how PrintNightmare (CVE-2021-34527) ran code as SYSTEM. Keep it at 1 and pre-install the drivers staff need.
I changed the registry and it went back
A Group Policy is setting Point and Print Restrictions and rewrites the key at each refresh. Change it in the policy: Computer Configuration, Administrative Templates, Printers.
The value is not there at all
Then nothing is set and Windows uses its own default. Since the August 2021 update (KB5005652) that default is administrators only, so a missing key is safe.
Take it further
- pnputil printer driver builderPut the driver on each computer first, so staff connect without an administrator prompt.
- PrintUIEntry command builderConnect a print server's shared printer for every user with /ga, once the driver is there.
- PrintBrm printer migration builderMoving to a new print server? Add it to the approved list before the computers switch.
- Print queue clear commandSpooler stuck after a driver change: stop it, clear the spool folder and start it again.
No printer drivers for staff to install.
Point and Print decides who may install a printer driver on each computer. In KyberCopy teachers install nothing: they send the file, and the relay in the copy room sends it to the printer over IPP.
Book a demo