Open in the explorer

Specify settings for optional component installation and component repair

Spécifier des paramètres pour l’installation des composants facultatifs et la réparation de composants

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
Servicing.admx
Internal name
Servicing/Servicing

Explanation

This policy setting specifies the network locations that will be used for the repair of operating system corruption and for enabling optional features that have had their payload files removed.

If you enable this policy setting and specify the new location, the files in that location will be used to repair operating system corruption and for enabling optional features that have had their payload files removed. You must enter the fully qualified path to the new location in the ""Alternate source file path"" text box. Multiple locations can be specified when each path is separated by a semicolon.

The network location can be either a folder, or a WIM file. If it is a WIM file, the location should be specified by prefixing the path with “wim:” and include the index of the image to use in the WIM file. For example “wim:\\server\share\install.wim:3”.

If you disable or do not configure this policy setting, or if the required files cannot be found at the locations specified in this policy setting, the files will be downloaded from Windows Update, if that is allowed by the policy settings for the computer.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie les emplacements réseau qui permettront de réparer un système d’exploitation corrompu et d’activer des fonctionnalités facultatives dont les fichiers de charge utile ont été supprimés.

Si vous activez ce paramètre de stratégie et spécifiez le nouvel emplacement, les fichiers se trouvant à cet emplacement serviront à réparer un système d’exploitation corrompu et à activer des fonctionnalités facultatives dont les fichiers de charge utile ont été supprimés. Vous devez indiquer le chemin d’accès complet au nouvel emplacement dans la zone « Autre chemin d’accès au fichier source ». Vous pouvez indiquer plusieurs emplacements en séparant chaque chemin d’accès par un point-virgule.

L’emplacement réseau peut être un dossier ou un fichier WIM. S’il s’agit d’un fichier WIM, vous devez spécifier l’emplacement en ajoutant le préfixe « wim » au chemin d’accès et en ajoutant l’index de l’image à utiliser dans le fichier WIM. Par exemple : « wim:\\server\share\install.wim:3 ».

Si vous désactivez ou ne configurez pas ce paramètre de stratégie ou si les fichiers nécessaires sont introuvables aux emplacements spécifiés dans ce paramètre de stratégie, les fichiers sont téléchargés à partir de Windows Update si le paramètre de stratégie appliqué à cet ordinateur le permet.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Servicing
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: Servicing/Servicing
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Servicing'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Alternate source file path
Set-ItemProperty -Path $k -Name 'LocalSourcePath' -Value '<value>' -Type ExpandString

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Servicing/Servicing
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Servicing'
Remove-ItemProperty -Path $k -Name 'LocalSourcePath' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Alternate source file pathAutre chemin d’accès au fichier sourceLocalSourcePath_TextBoxText boxtextLocalSourcePathREG_EXPAND_SZ

Availability