Solution 1: Registry Edit (Recommended)
This procedure will configure Windows not to save zone information (Mark of the Web) for new file attachments.
⚠️ Warning: Editing the Registry incorrectly can cause system errors. Proceed with caution.
Press Win + R to open the Run dialog box.
Type regedit and press Enter. Click Yes if the User Account Control window appears.
Navigate to the following key in the Registry Editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
Create a New Key:
Right-click on the Policies key, select New -> Key.
Name the new key __`Attachments`__.
__Create a New DWORD Value:__
Right-click on the newly created __`Attachments`__ key, select __New__ -> __DWORD (32-bit) Value__.
Name the new value __`SaveZoneInformation`__.
__Modify the Value:__
Double-click on __`SaveZoneInformation`__.
Ensure the __`Value data`__ is set to __`1`__.
Click __OK__.
__Close the Registry Editor__ and __Restart your computer__ to apply the changes.
After restarting, new PDF files downloaded or created should no longer trigger the preview error.
Solution 2: Disable via Group Policy Editor (Applies to Windows Pro/Enterprise only)
If you are using Windows Pro or Enterprise edition, you can achieve the same result through the Local Group Policy Editor:
Press Win + R, type gpedit.msc and press Enter.
Navigate to:
User Configuration
-> Administrative Templates
-> Windows Components
-> Attachment Manager
Find the setting "Do not preserve zone information in file attachments".
Double-click this setting and select Enabled.
- Click Apply and OK.
Restart your computer to apply the changes.
Solution 1: Registry Edit (Recommended)
This procedure will configure Windows not to save zone information (Mark of the Web) for new file attachments.
⚠️ Warning: Editing the Registry incorrectly can cause system errors. Proceed with caution.
Press Win + R to open the Run dialog box.
Type __`regedit`__ and press __Enter__. Click __Yes__ if the User Account Control window appears.
Navigate to the following key in the Registry Editor:
```
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
```
__Create a New Key:__
Right-click on the __`Policies`__ key, select __New__ -> __Key__.
Name the new key __`Attachments`__.
__Create a New DWORD Value:__
Right-click on the newly created __`Attachments`__ key, select __New__ -> __DWORD (32-bit) Value__.
Name the new value __`SaveZoneInformation`__.
__Modify the Value:__
Double-click on __`SaveZoneInformation`__.
Ensure the __`Value data`__ is set to __`1`__.
Click __OK__.
__Close the Registry Editor__ and __Restart your computer__ to apply the changes.
After restarting, new PDF files downloaded or created should no longer trigger the preview error.
Solution 2: Disable via Group Policy Editor (Applies to Windows Pro/Enterprise only)
If you are using Windows __Pro__ or __Enterprise__ edition, you can achieve the same result through the Local Group Policy Editor:
Press __Win + R__, type __`gpedit.msc`__ and press __Enter__.
Navigate to:
```
User Configuration
-> Administrative Templates
-> Windows Components
-> Attachment Manager
```
Find the setting __"Do not preserve zone information in file attachments"__.
Double-click this setting and select __Enabled__.
Click __Apply__ and __OK__.
__Restart your computer__ to apply the changes.