Open in the explorer

Hide the file scan progress window

Masquer la fenêtre de progression de l’analyse des fichiers

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Windows File Protection FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Protection des fichiers Windows
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
WindowsFileProtection.admx
Internal name
WindowsFileProtection/WFPShowProgress

Explanation

This policy setting hides the file scan progress window. This window provides status information to sophisticated users, but it might confuse novices.

If you enable this policy setting, the file scan window does not appear during file scanning.

If you disable or do not configure this policy setting, the file scan progress window appears.

French text from Windows 11 26H2

Ce paramètre de stratégie masque la fenêtre de progression de l’analyse des fichiers. Cette fenêtre fournit des informations aux utilisateurs avancés à propos de l’état de l’analyse, mais elle peut prêter à confusion pour les débutants.

Si vous activez ce paramètre de stratégie, la fenêtre d’analyse des fichiers n’apparaît pas lors de l’analyse.

Si vous désactivez ce paramètre de stratégie ou ne configurez pas, la fenêtre de progression de l’analyse des fichiers s’affiche.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Windows File Protection
Value name
SfcShowProgress
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WindowsFileProtection/WFPShowProgress
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SfcShowProgress' -Value 0 -Type DWord

Disable

# Disable: WindowsFileProtection/WFPShowProgress
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SfcShowProgress' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsFileProtection/WFPShowProgress
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Windows File Protection'
Remove-ItemProperty -Path $k -Name 'SfcShowProgress' -ErrorAction SilentlyContinue

Availability