Open in the explorer

Configure driver search locations

Configurer les emplacements de recherche de pilotes

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Driver Installation FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Installation de pilotes
Supported on
Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP FR: Windows Server 2008, Windows Server 2003, Windows Vista et Windows XP
ADMX file
DeviceSetup.admx
Internal name
DeviceSetup/DriverSearchPlaces

Explanation

This setting configures the location that Windows searches for drivers when a new piece of hardware is found.

By default, Windows searches the following places for drivers: local installation, floppy drives, CD-ROM drives, Windows Update.

Using this setting, you may remove the floppy and CD-ROM drives from the search algorithm.

If you enable this setting, you can remove the locations by selecting the associated check box beside the location name.

If you disable or do not configure this setting, Windows searches the installation location, floppy drives, and CD-ROM drives.

Note: To prevent searching Windows Update for drivers also see "Turn off Windows Update device driver searching" in Administrative Templates/System/Internet Communication Management/Internet Communication settings.

French text from Windows 11 26H2

Ce paramètre configure l’emplacement où Windows recherche des pilotes quand un nouveau matériel est trouvé.

Par défaut, Windows recherche des pilotes aux emplacements suivants : installation locale, lecteurs de disquettes, lecteurs de CD-ROM, Windows Update.

Ce paramètre permet de retirer les lecteurs de disquettes et de CD-ROM de l’algorithme de recherche.

Si vous activez ce paramètre, vous pouvez retirer les emplacements en activant la case à cocher associée en regard du nom d’emplacement.

Si vous désactivez ce paramètre ou ne le configurez pas, Windows effectue une recherche dans l’emplacement d’installation, les lecteurs de disquettes et les lecteurs de CD-ROM.

Remarque : pour empêcher la recherche de pilotes sur Windows Update, consultez également « Désactiver la recherche de pilotes de périphériques sur Windows Update » dans « Modèles d’administration/Système/Gestion de la communication Internet/Paramètres de communication Internet ».

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\DriverSearching
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: DeviceSetup/DriverSearchPlaces
$k = 'HKCU:\Software\Policies\Microsoft\Windows\DriverSearching'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Do not search floppy disk drives
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'DontSearchFloppies' -Value 1 -Type DWord
# Do not search CD-ROM drives
Set-ItemProperty -Path $k -Name 'DontSearchCD' -Value 1 -Type DWord  # value not defined in the ADMX; 1 = checked, 0 = unchecked
# Do not search Windows Update
Set-ItemProperty -Path $k -Name 'DontSearchWindowsUpdate' -Value 1 -Type DWord  # value not defined in the ADMX; 1 = checked, 0 = unchecked

Disable

# Disable: DeviceSetup/DriverSearchPlaces
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": DeviceSetup/DriverSearchPlaces
$k = 'HKCU:\Software\Policies\Microsoft\Windows\DriverSearching'
Remove-ItemProperty -Path $k -Name 'DontSearchFloppies' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DontSearchCD' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DontSearchWindowsUpdate' -ErrorAction SilentlyContinue

Options (3)

LabelControlRegistry valueREG typeConstraints / details
Do not search floppy disk drivesNe pas rechercher sur les lecteurs de disquettesDriverSearchPlaces_FloppiesCheck boxbooleanDontSearchFloppiesREG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
Do not search CD-ROM drivesNe pas rechercher sur les lecteurs de CD-ROMDriverSearchPlaces_CDCheck boxbooleanDontSearchCDREG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
Do not search Windows UpdateNe pas rechercher sur Windows UpdateDriverSearchPlaces_WindowsUpdateCheck boxbooleanDontSearchWindowsUpdateREG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0

Availability