Ouvrir dans l'explorateur

Limits print driver installation to Administrators (DEPRECATED)

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › MS Security Guide EN : Computer Configuration › Policies › Administrative Templates › MS Security Guide
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
SecGuide.admx
Nom interne
SecGuide/Pol_SecGuide_0721_Print_Driver

Explication

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.

Cas d'usage

Limite l’installation de pilotes d’imprimante aux administrateurs (valeur RestrictDriverInstallationToAdministrators = 1), ce qui neutralise l’élévation de privilèges de type PrintNightmare. Microsoft précise qu’aucune combinaison d’autres atténuations n’équivaut à cette valeur, qui prime sur toutes les restrictions Point and Print.

Cette valeur est 1 par défaut depuis les mises à jour d’août 2021 ; ne passez à 0 que temporairement, le temps de préparer votre environnement. Notez que ce paramètre de la baseline est signalé comme obsolète.

Sources Microsoft : 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

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Nom de la valeur
RestrictDriverInstallationToAdministrators
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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 DWord

Désactiver

# Désactiver : 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 DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : SecGuide/Pol_SecGuide_0721_Print_Driver
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint'
Remove-ItemProperty -Path $k -Name 'RestrictDriverInstallationToAdministrators' -ErrorAction SilentlyContinue

Application

Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.