Empêcher l’utilisation de OneDrive pour le stockage de fichiers sur Windows 8.1 : valeur de Registre DisableFileSyncOrdinateurHKLM\Software\Policies\Microsoft\Windows\OneDrive
- ID de stratégie
- PreventOnedriveFileSyncForBlue
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Windows Server 2012 R2, Windows 8.1 ou Windows RT 8.1 uniquement
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › OneDrive
Registre
DisableFileSync
REG_DWORDOrdinateurHKLM\Software\Policies\Microsoft\Windows\OneDrive Clé actuelle
- Valeur si activée
- 1
- Valeur si désactivée
- 0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\OneDrive] ; Options (en utiliser une seule) ; Activé "DisableFileSync"=dword:00000001 ; Désactivé "DisableFileSync"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSync" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Windows\OneDrive" /v "DisableFileSync" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Name 'DisableFileSync' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\OneDrive' -Name 'DisableFileSync' -PropertyType DWord -Value 0 -Force | Out-Null