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.
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
| État | Valeur é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 DWordDé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 DWordRevenir à « 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 SilentlyContinueApplication
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.