Ouvrir dans l'explorateur

Exécuter une analyse complète sur les lecteurs réseau mappés

Run full scan on mapped network drives

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender › Analyse EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Scan
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
WindowsDefender.admx
Nom interne
WindowsDefender/Scan_DisableScanningMappedNetworkDrivesForFullScan

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer l’analyse des lecteurs réseau mappés.

Si vous activez ce paramètre, les lecteurs réseau mappés sont analysés.

Si vous désactivez ou ne configurez pas ce paramètre, les lecteurs réseau mappés ne sont pas analysés.

This policy setting allows you to configure scanning mapped network drives.

If you enable this setting, mapped network drives will be scanned.

If you disable or do not configure this setting, mapped network drives will not be scanned.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan
Nom de la valeur
DisableScanningMappedNetworkDrivesForFullScan
ÉtatValeur écrite
ActivéREG_DWORD = 0
DésactivéREG_DWORD = 1

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : WindowsDefender/Scan_DisableScanningMappedNetworkDrivesForFullScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableScanningMappedNetworkDrivesForFullScan' -Value 0 -Type DWord

Désactiver

# Désactiver : WindowsDefender/Scan_DisableScanningMappedNetworkDrivesForFullScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableScanningMappedNetworkDrivesForFullScan' -Value 1 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsDefender/Scan_DisableScanningMappedNetworkDrivesForFullScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
Remove-ItemProperty -Path $k -Name 'DisableScanningMappedNetworkDrivesForFullScan' -ErrorAction SilentlyContinue

Disponibilité