en-US windows user

Configure driver search locations

Verified with Windows 11 25H2 — updated on July 10, 2026

Windows 11 25H2

Supported on: Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP

Path in the GPO console

User Configuration\Administrative Templates\System\Driver Installation

Description

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.

Registry

HKCU Software\Policies\Microsoft\Windows\DriverSearching

More options available

Options

Do not search floppy disk drives
DontSearchFloppies boolean
Do not search CD-ROM drives
DontSearchCD boolean
Do not search Windows Update
DontSearchWindowsUpdate boolean

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure driver search locations
; State: Enabled
; Supported on: Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\DriverSearching]
"DontSearchFloppies"=dword:00000000
"DontSearchCD"=dword:00000000
"DontSearchWindowsUpdate"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure driver search locations
# State: Enabled
# Supported on: Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\Software\Policies\Microsoft\Windows\DriverSearching'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DontSearchFloppies' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'DontSearchCD' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'DontSearchWindowsUpdate' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview