Hide the file scan progress window
Masquer la fenêtre de progression de l’analyse des fichiers
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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