Ustaw skanowanie funkcji Ochrona plików systemu Windows: wartość rejestru SfcScanKomputerHKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection
- Identyfikator zasady
- WFPScan
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- Tylko systemy Windows Server 2003, Windows XP i Windows 2000
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- System › Ochrona plików systemu Windows
Rejestr
SfcScan
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- Częstotliwość skanowania:
| Pozycja | Zapisana wartość |
|---|---|
| Nie skanuj podczas uruchamiania | 0 |
| Skanuj podczas uruchamiania | 1 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Windows File Protection] ; Opcje (użyj tylko jednej) ; Nie skanuj podczas uruchamiania "SfcScan"=dword:00000000 ; Skanuj podczas uruchamiania "SfcScan"=dword:00000001
CMD
:: Opcje (użyj tylko jednej) :: Nie skanuj podczas uruchamiania reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 0 /f :: Skanuj podczas uruchamiania reg add "HKLM\Software\Policies\Microsoft\Windows NT\Windows File Protection" /v "SfcScan" /t REG_DWORD /d 1 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Force | Out-Null # Opcje (użyj tylko jednej) # Nie skanuj podczas uruchamiania New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 0 -Force | Out-Null # Skanuj podczas uruchamiania New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection' -Name 'SfcScan' -PropertyType DWord -Value 1 -Force | Out-Null