Open in the explorer

Extend Point and Print connection to search Windows Update

Développer la connexion Pointer et imprimer pour effectuer une recherche dans Windows Update

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Printers FR: Configuration ordinateur › Stratégies › Modèles d'administration › Imprimantes
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
Printing.admx
Internal name
Printing/DoNotInstallCompatibleDriverFromWindowsUpdate

Explanation

This policy setting allows you to manage where client computers search for Point and Printer drivers.

If you enable this policy setting, the client computer will continue to search for compatible Point and Print drivers from Windows Update after it fails to find the compatible driver from the local driver store and the server driver cache.

If you disable this policy setting, the client computer will only search the local driver store and server driver cache for compatible Point and Print drivers. If it is unable to find a compatible driver, then the Point and Print connection will fail.

This policy setting is not configured by default, and the behavior depends on the version of Windows that you are using.
By default, Windows Ultimate, Professional and Home SKUs will continue to search for compatible Point and Print drivers from Windows Update, if needed. However, you must explicitly enable this policy setting for other versions of Windows (for example Windows Enterprise, and all versions of Windows Server 2008 R2 and later) to have the same behavior.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de spécifier l’emplacement où l’ordinateur client recherche les pilotes Pointer et imprimer.

Si vous activez ce paramètre de stratégie, l’ordinateur client continue de chercher des pilotes Pointer et imprimer compatibles à partir de Windows Update après l’échec de la recherche du pilote compatible dans le magasin de pilotes local et dans le cache du pilote de serveur.

Si vous désactivez ce paramètre de stratégie, l’ordinateur client ne recherche les pilotes Pointer et imprimer compatibles que dans le magasin de pilotes local et le cache du pilote de serveur. S’il ne trouve aucun pilote compatible, la connexion Pointer et imprimer échoue.

Ce paramètre de stratégie n’est pas configuré par défaut et le comportement dépend de la version Windows que vous utilisez.
Par défaut, la famille de référence (SKU) Windows Édition Ultimate, Professionnel et Familiale continuera à rechercher des pilotes Pointer et imprimer compatibles à partir de Windows Update, lorsque cela est nécessaire. Vous devez cependant activer ce paramètre de stratégie de façon explicite pour les autres versions de Windows (par exemple, Windows Entreprise et toutes les versions de Windows Server 2008 R2 et ultérieures) pour qu’elles adoptent le même comportement.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers
Value name
DoNotInstallCompatibleDriverFromWindowsUpdate
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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/DoNotInstallCompatibleDriverFromWindowsUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotInstallCompatibleDriverFromWindowsUpdate' -Value 0 -Type DWord

Disable

# Disable: Printing/DoNotInstallCompatibleDriverFromWindowsUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotInstallCompatibleDriverFromWindowsUpdate' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Printing/DoNotInstallCompatibleDriverFromWindowsUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'DoNotInstallCompatibleDriverFromWindowsUpdate' -ErrorAction SilentlyContinue

Availability