Imposta analisi Protezione file Windows: valore del Registro di sistema SfcScanComputerHKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection
- ID criterio
- WFPScan
- Ambito
- Configurazione computer
- Supportato in
- Solo Windows Server 2003, Windows XP e Windows 2000
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › Protezione file Windows
Registro
SfcScan
REG_DWORDComputer- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Frequenza di analisi:
| Voce | Valore memorizzato |
|---|---|
| Non eseguire l'analisi all'avvio | 0 |
| Esegui analisi all'avvio | 1 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Windows File Protection] ; Opzioni (usarne solo una) ; Non eseguire l'analisi all'avvio "SfcScan"=dword:00000000 ; Esegui analisi all'avvio "SfcScan"=dword:00000001
CMD
:: Opzioni (usarne solo una) :: Non eseguire l'analisi all'avvio reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 0 /f :: Esegui analisi all'avvio reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Force | Out-Null # Opzioni (usarne solo una) # Non eseguire l'analisi all'avvio New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 0 -Force | Out-Null # Esegui analisi all'avvio New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 1 -Force | Out-Null