Policy
Notify antivirus programs when opening attachments
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
This policy setting allows you to manage the behavior for notifying registered antivirus programs. If multiple programs are registered, they will all be notified. If the registered antivirus program already performs on-access checks or scans files as they arrive on the computer's email server, additional calls would be redundant. If you enable this policy setting, Windows tells the registered antivirus program to scan the file when a user opens a file attachment. If the antivirus program fails, the attachment is blocked from being opened. If you disable this policy setting, Windows does not call the registered antivirus programs when file attachments are opened. If you do not configure this policy setting, Windows does not call the registered antivirus programs when file attachments are opened.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments\ScanWithAntiVirus | REG_DWORD | 3 | 1 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserDefault risk level for file attachmentsAt least Windows XP Professional with SP2
- UserDo not preserve zone information in file attachmentsAt least Windows XP Professional with SP2
- UserHide mechanisms to remove zone informationAt least Windows XP Professional with SP2
- UserInclusion list for high risk file typesAt least Windows XP Professional with SP2
- UserInclusion list for low file typesAt least Windows XP Professional with SP2
- UserInclusion list for moderate risk file typesAt least Windows XP Professional with SP2
- UserTrust logic for file attachmentsAt least Windows XP Professional with SP2