Antivirusprogramma's waarschuwen wanneer bijlagen worden geopend: registerwaarde ScanWithAntiVirusGebruikerHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments

Beleids-ID
AM_CallIOfficeAntiVirus
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows XP Professional met SP2
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Bijlagebeheer

Register

ScanWithAntiVirus

REG_DWORDGebruiker
Waarde bij ingeschakeld
3
Waarde bij uitgeschakeld
1
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]

; Opties (gebruik er maar één)
; Ingeschakeld
"ScanWithAntiVirus"=dword:00000003
; Uitgeschakeld
"ScanWithAntiVirus"=dword:00000001
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "ScanWithAntiVirus" /t REG_DWORD /d 3 /f
:: Uitgeschakeld
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "ScanWithAntiVirus" /t REG_DWORD /d 1 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Name 'ScanWithAntiVirus' -PropertyType DWord -Value 3 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments' -Name 'ScanWithAntiVirus' -PropertyType DWord -Value 1 -Force | Out-Null