Open in the explorer

Configure device installation time-out

Configurer le délai d’attente d’installation de périphérique

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Device Installation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Installation de périphériques
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
DeviceInstallation.admx
Internal name
DeviceInstallation/DeviceInstall_InstallTimeout

Explanation

This policy setting allows you to configure the number of seconds Windows waits for a device installation task to complete.

If you enable this policy setting, Windows waits for the number of seconds you specify before terminating the installation.

If you disable or do not configure this policy setting, Windows waits 240 seconds for a device installation task to complete before terminating the installation.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de configurer le nombre de secondes pendant lesquelles Windows attend la fin d’une tâche d’installation d'appareil.

Si vous activez ce paramètre de stratégie, Windows attend pendant le nombre de secondes spécifié avant de mettre fin à l’installation.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows attend pendant 240 secondes la fin de la tâche d'installation avant d'y mettre fin.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings
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: DeviceInstallation/DeviceInstall_InstallTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Device Installation Timeout (in seconds)
Set-ItemProperty -Path $k -Name 'InstallTimeout' -Value 300 -Type DWord  # between 240 and 4294968

Disable

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

Revert to "Not configured"

# Revert to "Not configured": DeviceInstallation/DeviceInstall_InstallTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
Remove-ItemProperty -Path $k -Name 'InstallTimeout' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Device Installation Timeout (in seconds)Délai d’attente d’installation de périphérique (en secondes)DeviceInstall_InstallTimeout_TimeNumeric boxdecimalInstallTimeoutREG_DWORD
Min: 240 · Max: 4294968 · Default (UI): 300

Availability