Ouvrir dans l'explorateur

Online Repair

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Office 2016 (ordinateur) › Mises à jour EN : Computer Configuration › Policies › Administrative Templates › Microsoft Office 2016 (Machine) › Updates
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
office16.admx
Nom interne
office16/L_OnlineRepair

Explication

This policy setting controls whether users can run an online repair for an Office client, such as Microsoft 365 Apps for enterprise, that comes with an Office 365 or Microsoft 365 plan. You can also control whether the online repair only uses a local source and doesn't use the Office Content Delivery Network (CDN) on the Internet.

Note: Users must have administrative privileges on the local computer to run an online repair.

If you enable or don't configure this policy setting, users can run an online repair from "Programs and Features" or "Add/Remove Programs" in Control Panel.

The online repair downloads and reinstalls Office from the Office CDN or from a local source, such a network share, depending on how Office is configured to get updates. If you aren't using the Office CDN, the local source must contain all the required files, including language files, to perform the repair.

Select "Use Office CDN (if needed)" if you want to use the Office CDN as an alternative location for the repair if the local source isn't available or doesn't contain all the necessary files.

You can also use a local copy of the Office Deployment Tool (setup.exe) for the repair by entering a local path for the Office Deployment Tool. This path can be a network share. If setup.exe can't be found in the local path specified, and "Use Office CDN (if needed)" is selected, then the online repair downloads a copy of setup.exe from the Office CDN. Otherwise, the online repair will fail.

The repair maintains all configuration settings, including products, languages, excluded applications, and update settings.

If you disable this policy setting, users can't run an online repair, but they can still run a quick repair.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise, and to subscription versions of Project and Visio.

Registre

HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\officeupdate
Nom de la valeur
onlinerepair
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : office16/L_OnlineRepair
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'onlinerepair' -Value 1 -Type DWord
# Use Office CDN (if needed)
# décoché : 0
Set-ItemProperty -Path $k -Name 'fallbacktocdn' -Value 1 -Type DWord
# Location of Office Deployment Tool
Set-ItemProperty -Path $k -Name 'localodtpath' -Value '<valeur>' -Type String

Désactiver

# Désactiver : office16/L_OnlineRepair
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'onlinerepair' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_OnlineRepair
$k = 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate'
Remove-ItemProperty -Path $k -Name 'onlinerepair' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'fallbacktocdn' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'localodtpath' -ErrorAction SilentlyContinue

Options (2)

LibelléContrôleValeur de registreType REGContraintes / détails
Use Office CDN (if needed)L_FallBackToCDNCase à cocherbooleanfallbacktocdnREG_DWORD
Coché : REG_DWORD = 1
Décoché : REG_DWORD = 0
Location of Office Deployment Tool:L_LocalODTPathZone de textetextlocalodtpathREG_SZ

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.