File Explorer not previewing pdf files since 25H2 update

Paul Nicholson 560 Reputation points
2025-10-15T08:07:37.1033333+00:00

Since installing the 25H2 update to Windows 11, the preview for pdf files is not working.

I just get the following message "The file you are attempting to preview could harm your computer. If you trust the file and the source you received it from, open it to view its contents"

I have tried everything to restore the preview without success.

Any help would be much appreciated!

Windows for home | Windows 11 | Files, folders, and storage

Answer recommended by moderator
Vivekanandan Tiwari 210 Reputation points
2025-10-20T03:18:02.11+00:00

Here is a simple solution that worked for me -

in the file explorer, just disable this check box as shown in the image, this simply worked for me

(This happened on windows 10 as well!)
Screenshot 2025-10-20 084655

Was this answer helpful?

90+ people found this answer helpful.

103 additional answers

Sort by: Newest
  1. Vivekanandan Tiwari 210 Reputation points
    2025-10-20T03:20:03.47+00:00

    Screenshot 2025-10-20 084655

    Disabling this option worked for me.,

    Was this answer helpful?

    3 people found this answer helpful.

  2. Trung Nguyễn Thành 10 Reputation points
    2025-10-18T16:58:37.7066667+00:00

    Here are the English translations for the solutions provided:

    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.

    1. Click Apply and OK.

    Restart your computer to apply the changes.Here are the English translations for the solutions provided:

    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:
         
         ```yaml
         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:
                                                                     
                                                                     ```haskell
                                                                     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.
                                                                                 
    

    Was this answer helpful?

    0 comments No comments

  3. Pro450 15 Reputation points
    2025-10-18T03:30:45.1833333+00:00

    It's probable that this change by Microsoft is because of the Rendershock malware and other malware utilizing file preview to deploy it's payload.

    But wouldn't the susceptibility to a virus be dependent on which software is set as the preview handler? Further, if the preview handler can allow a virus to deploy payload, then wouldn't the same thing be true if the file is opened (which is obviously what will happen when it can't be previewed).

    Bottom line - Isn't the correct solution to fix the preview handling programs? Or is there something in Microsoft's code prior to calling the the preview handler that is vulnerable and needs to be fixed?

    This is killing every small business person I know. Almost everyone who deals with a lot of documents depends on preview. And most small systems these days are web based, thus their documents are getting tagged as a dangerous download.

    Good Rendershock description here:

    https://www.cyfirma.com/research/rendershock-weaponizing-trust-in-file-rendering-pipelines/

    Was this answer helpful?

    1 person found this answer helpful.

  4. Jam Z 0 Reputation points
    2025-10-17T21:07:50.85+00:00

    This error appeared following the security update. My google drive files could not be previewed.

    Few things to try to fix it from ChatGPT that worked for me:


    1: Remove the “Internet Zone” tag for all Google Drive files

    You can safely delete the Mark-of-the-Web tag from your Google Drive folder so previews work normally.

    Run PowerShell as Administrator, then paste this:

    Get-ChildItem "G:\My Drive" -Recurse | Unblock-File

    Replace G:\My Drive with your actual Google Drive path.


    1. (Adobe users)

    Open Adobe Acrobat Reader.

    Go to Edit → Preferences → Security (Enhanced).

    Uncheck Enable Protected Mode at startup (you can re-enable later).

    1. Restart File Explorer and test again.
    2. Add Google Drive’s mount path to Windows’ Trusted Locations

    Open Control Panel → Internet Options.

    Go to Security → Local intranet → Sites → Advanced.

    Click Add, and add:

    file://localhost/G:\

    (Replace G:\ with your actual Google Drive letter — check in File Explorer.)

    Click Close → OK → Apply.


    Hope this helps

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.