Impedir a sincronização de arquivos do OneDrive em conexões limitadas: valor do Registro DisableMeteredNetworkFileSyncComputadorHKLM\Software\Policies\Microsoft\Windows\OneDrive

ID da política
PreventOneDriveFileSyncOnMeteredNetwork
Escopo
Configuração do Computador
Compatível com
Somente Windows Server 2012 R2, Windows 8.1 ou Windows RT 8.1
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › OneDrive

Registro

DisableMeteredNetworkFileSync

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Configuração de rede limitada
Opções
ItemValor armazenado
Bloquear sincronização em todas as conexões limitadas0
Bloquear sincronização em conexões limitadas apenas quando em roaming1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\OneDrive]

; Opções (use apenas uma)
; Bloquear sincronização em todas as conexões limitadas
"DisableMeteredNetworkFileSync"=dword:00000000
; Bloquear sincronização em conexões limitadas apenas quando em roaming
"DisableMeteredNetworkFileSync"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Bloquear sincronização em todas as conexões limitadas
reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableMeteredNetworkFileSync" /t REG_DWORD /d 0 /f
:: Bloquear sincronização em conexões limitadas apenas quando em roaming
reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableMeteredNetworkFileSync" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Force | Out-Null

# Opções (use apenas uma)
# Bloquear sincronização em todas as conexões limitadas
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Name 'DisableMeteredNetworkFileSync' -PropertyType DWord -Value 0 -Force | Out-Null
# Bloquear sincronização em conexões limitadas apenas quando em roaming
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Name 'DisableMeteredNetworkFileSync' -PropertyType DWord -Value 1 -Force | Out-Null