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.
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
| État | Valeur é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 StringDé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 DWordRevenir à « 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 SilentlyContinueOptions (2)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Use Office CDN (if needed)L_FallBackToCDN | Case à cocherboolean | fallbacktocdn | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 |
| Location of Office Deployment Tool:L_LocalODTPath | Zone de textetext | localodtpath | REG_SZ |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.