Limits print driver installation to Administrators
Limite l’installation du pilote d’impression aux administrateurs
Explanation
Determines whether users that aren't Administrators 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 won't limit installation of print drivers to this computer.
Détermine si les utilisateurs qui ne sont pas administrateurs peuvent installer des pilotes d’impression sur cet ordinateur.
Par défaut, les utilisateurs qui ne sont pas administrateurs ne peuvent pas installer de pilotes d’impression sur cet ordinateur.
Si vous activez ce paramètre ou si vous ne le configurez pas, le système limite l’installation des pilotes d’impression aux administrateurs de cet ordinateur.
Si vous désactivez ce paramètre, le système ne limitera pas l’installation des pilotes d’impression sur cet ordinateur.
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: Printing/RestrictDriverInstallationToAdministrators
$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: Printing/RestrictDriverInstallationToAdministrators
$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": Printing/RestrictDriverInstallationToAdministrators
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint'
Remove-ItemProperty -Path $k -Name 'RestrictDriverInstallationToAdministrators' -ErrorAction SilentlyContinue