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: Most helpful
  1. Isaac Gonzalez 11 Reputation points
    2025-11-05T08:11:30.5066667+00:00

    @Sunny Surella had a pretty good suggestion for the powershell, except this doesn't handle newly created files so I scheduled a script to run every 5 minutes within user context to catch newly created files. Not the greatest but it's better than not having preview at all.

    Wondering if the regedit also requires to be ran continuously...sad that we have to hack it!

    I got the server files working easily via file:///server\path internet control panel, so no script needed there. file://c does not work on the local C drive, of course!! So powershell script on all user's workstations it is....

    Probably may want to add the user's one drive to that powershell as well actually so until Microsoft fixes that limitation scripting it is.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Andrea Cicchelli 5 Reputation points
    2025-11-04T07:27:56.28+00:00

    Good morning,

    you need to add the server to your intranet sites. Here the solution : https://mecdata.it/en/2025/10/anteprima-scomparsa-sui-file-di-rete-ecco-perche-windows-bloccava-i-tuoi-documenti/

    and reboot your machine

    Was this answer helpful?

    1 person found this answer helpful.

  3. Dan Feldman 5 Reputation points
    2025-10-31T16:18:13.54+00:00

    I followed a microsoft article and found a solution that works for me.

    In the windows search, pull up internet options

    Security > Trusted Sites - Click "Sites"

    Add the folder you need unblocked. In my case, it was a mapped drive to my work server and i put the drive letter, ex. "Q:". You'll need to uncheck require server verification.

    Was this answer helpful?

    1 person found this answer helpful.

  4. Enric Cortés 39,455 Reputation points Volunteer Moderator
    2025-10-27T13:15:48.1766667+00:00

    Thankfully, there’s a PowerShell script that lets you unblock all files in a specific path.

    In PowerShell, you just need to run the following command:

     Unblock-File -Path "C:\Users\admin\downloads\*.pdf"
    

    It will unblock all .pdf files in the downloads folder, including those you plan to download in the future. As long as you trust what you download, this should be good to go. You can run the same script for other paths or file types.


    Saludos,

    Enric

    Was this answer helpful?

    1 person found this answer helpful.

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.