Open in the explorer

Add Printer wizard - Network scan page (Unmanaged network)

Assistant Ajout d’imprimante - Page d’analyse réseau (réseau non géré)

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 Vista FR: Au minimum Windows Vista
ADMX file
Printing.admx
Internal name
Printing/NonDomainPrinters

Explanation

This policy sets the maximum number of printers (of each type) that the Add Printer wizard will display on a computer on an unmanaged network (when the computer is not able to reach a domain controller, e.g. a domain-joined laptop on a home network.)

If this setting is disabled, the network scan page will not be displayed.

If this setting is not configured, the Add Printer wizard will display the default number of printers of each type:
TCP/IP printers: 50
Web Services printers: 50
Bluetooth printers: 10
Shared printers: 50

If you would like to not display printers of a certain type, enable this policy and set the number of printers to display to 0.

In Windows 10 and later, only TCP/IP printers can be shown in the wizard. If you enable this policy setting, only TCP/IP printer limits are applicable. On Windows 10 only, if you disable or do not configure this policy setting, the default limit is applied.

In Windows 8 and later, Bluetooth printers are not shown so its limit does not apply to those versions of Windows.

French text from Windows 11 26H2

Cette stratégie définit le nombre maximal d’imprimantes (de chaque type) que l’Assistant Ajout d’imprimante affichera sur un ordinateur d’un réseau non géré (dans le cas où l’ordinateur ne peut pas atteindre un contrôleur de domaine, par exemple un ordinateur portable faisant partie d’un domaine dans un réseau domestique).

Si ce paramètre est désactivé, la page d’analyse réseau ne s’affiche pas.

Si ce paramètre n’est pas configuré, l’Assistant Ajout d’imprimante affiche le nombre d’imprimantes par défaut de chaque type :
Imprimantes TCP/IP : 50
Imprimantes des services web : 50
Imprimantes Bluetooth : 10
Imprimantes partagées : 50

Si vous ne souhaitez pas afficher les imprimantes d’un certain type, activez cette stratégie et définissez le nombre d’imprimantes à afficher sur 0.

Dans Windows 10 et versions ultérieures, seules les imprimantes TCP/IP peuvent s’afficher dans l’Assistant. Si vous activez ce paramètre de stratégie, seules les limites relatives aux imprimantes TCP/IP sont applicables. Sur Windows 10 uniquement, si vous désactivez ou ne configurez pas ce paramètre de stratégie, la limite par défaut s’applique.

Dans Windows 8 et versions ultérieures, les imprimantes Bluetooth ne s’affichent pas, si bien que leurs limites ne s’appliquent pas à ces versions de Windows.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\Wizard
Value name
NonDomainDisplayPrinters_State
StateValue written
EnabledREG_DWORD = 2
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/NonDomainPrinters
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Wizard'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NonDomainDisplayPrinters_State' -Value 2 -Type DWord
# Number of TCP/IP printers
Set-ItemProperty -Path $k -Name 'NonDomainIPprinters' -Value 50 -Type DWord  # maximum 1000
# Number of Web Services Printers
Set-ItemProperty -Path $k -Name 'NonDomainWSDprinters' -Value 50 -Type DWord  # maximum 1000
# Number of Bluetooth printers
Set-ItemProperty -Path $k -Name 'NonDomainBluetoothprinters' -Value 10 -Type DWord  # maximum 1000
# Number of shared printers
Set-ItemProperty -Path $k -Name 'NonDomainShareprinters' -Value 50 -Type DWord  # maximum 1000

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Printing/NonDomainPrinters
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Wizard'
Remove-ItemProperty -Path $k -Name 'NonDomainDisplayPrinters_State' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NonDomainIPprinters' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NonDomainWSDprinters' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NonDomainBluetoothprinters' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NonDomainShareprinters' -ErrorAction SilentlyContinue

Options (4)

LabelControlRegistry valueREG typeConstraints / details
Number of TCP/IP printersNombre d’imprimantes TCT/IPIPprintersNumeric boxdecimalNonDomainIPprintersREG_DWORD
Max: 1000 · Default (UI): 50
Number of Web Services PrintersNombre d’imprimantes des services WebWSDprintersNumeric boxdecimalNonDomainWSDprintersREG_DWORD
Max: 1000 · Default (UI): 50
Number of Bluetooth printersNombre d’imprimantes BluetoothBluetoothprintersNumeric boxdecimalNonDomainBluetoothprintersREG_DWORD
Max: 1000 · Default (UI): 10
Number of shared printersNombre d’imprimantes partagéesShareprintersNumeric boxdecimalNonDomainShareprintersREG_DWORD
Max: 1000 · Default (UI): 50

Availability