Ouvrir dans l'explorateur

Cause sync client to ignore normal web proxy detection logic

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 › OneDrive EN : Computer Configuration › Policies › Administrative Templates › OneDrive
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
OneDrive.admx
Nom interne
OneDrive/IgnoreWebProxy

Explication

This setting controls whether the OneDrive sync client does its default web proxy detection logic or not.

If you enable this setting, the sync client will not do its normal web proxy detection and will attempt direct connections to the internet web endpoints it needs to communicate with. This is equivalent of having no web proxy settings configured and no automatic proxy script.

If you disable or do not configure this setting, the sync client will detect if a web proxy is configured on your network and use it if so.

For more info see https://learn.microsoft.com/troubleshoot/windows-server/networking/configure-proxy-server-settings

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
Nom de la valeur
IgnoreWebProxy
É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 : OneDrive/IgnoreWebProxy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IgnoreWebProxy' -Value 1 -Type DWord

Désactiver

# Désactiver : OneDrive/IgnoreWebProxy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IgnoreWebProxy' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : OneDrive/IgnoreWebProxy
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
Remove-ItemProperty -Path $k -Name 'IgnoreWebProxy' -ErrorAction SilentlyContinue

Application

Microsoft OneDrive (Microsoft) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.