Limits print driver installation to Administrators (DEPRECATED)
Explanation
This setting has moved to a new inbox location which can be found at Printers\Limits print driver installation to Administrators.
NOTE - This derecated setting shares the same registry entry as the new one.
Determines whether users that aren't Administrator can install print drivers on this computer.
By default, users that aren't Administrators can't install print drivers on this computer.
If you enable this setting or do not configure it, the system will limit installation of print drivers to Administrators of this computer.
If you disable this setting, the system will not limit installation of print drivers to this computer.
Additional Information: 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 for additional information.
Use cases
Limits printer driver installation to administrators (RestrictDriverInstallationToAdministrators = 1), which neutralises PrintNightmare-style privilege escalation. Microsoft states that no combination of other mitigations is equivalent to this value, which overrides all Point and Print restrictions.
The value has been 1 by default since the August 2021 updates; only set 0 temporarily while preparing your environment. Note that this baseline setting is flagged as deprecated.
Microsoft sources: KB5005652: Manage new Point and Print default driver installation behavior (CVE-2021-34481) · KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint- Value name
RestrictDriverInstallationToAdministrators
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: SecGuide/Pol_SecGuide_0721_Print_Driver
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictDriverInstallationToAdministrators' -Value 1 -Type DWordDisable
# Disable: SecGuide/Pol_SecGuide_0721_Print_Driver
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RestrictDriverInstallationToAdministrators' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": SecGuide/Pol_SecGuide_0721_Print_Driver
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint'
Remove-ItemProperty -Path $k -Name 'RestrictDriverInstallationToAdministrators' -ErrorAction SilentlyContinueApplication
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.