Définir l’analyse de la Protection des fichiers Windows : valeur de Registre SfcScanOrdinateurHKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection
- ID de stratégie
- WFPScan
- Étendue
- Configuration ordinateur
- Pris en charge sur
- Windows Server 2003, Windows XP et Windows 2000 uniquement
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Système › Protection des fichiers Windows
Registre
SfcScan
REG_DWORDOrdinateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Fréquence d’analyse :
| Entrée | Valeur stockée |
|---|---|
| Ne pas analyser lors du démarrage | 0 |
| Analyser lors du démarrage | 1 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Windows File Protection] ; Options (en utiliser une seule) ; Ne pas analyser lors du démarrage "SfcScan"=dword:00000000 ; Analyser lors du démarrage "SfcScan"=dword:00000001
CMD
:: Options (en utiliser une seule) :: Ne pas analyser lors du démarrage reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 0 /f :: Analyser lors du démarrage reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 1 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Force | Out-Null # Options (en utiliser une seule) # Ne pas analyser lors du démarrage New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 0 -Force | Out-Null # Analyser lors du démarrage New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 1 -Force | Out-Null