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

105 answers

Sort by: Most helpful
  1. 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?

    80+ people found this answer helpful.

  2. Mark Zuber 185 Reputation points
    2025-10-15T09:35:21.4533333+00:00

    Hey everyone,

    Just wanted to chime in – I’ve been running into the same issue with PDF previews in File Explorer since the 25H2 update. Some PDFs show the preview just fine, but others throw this message:

    "The file you are attempting to preview could harm your computer."

    After digging around a bit, I realized it’s related to the Mark of the Web (MOTW). Windows tags files downloaded from the internet, and apparently the preview handler now treats those more strictly.

    As a workaround, I ran this PowerShell command to unblock the files in a folder:
    Get-ChildItem -Path "C:\Users\Username\Documents\PDF" -Recurse | Unblock-File

    That actually fixed the preview for those PDFs – but it’s not really a proper solution. I’d rather not have to run this manually or script it every time. Would be great if Microsoft gave us a way to trust certain folders or disable this check for local files.

    Anyone else found a cleaner fix?

    Kind regards,

    Was this answer helpful?

    50+ people found this answer helpful.

  3. R B 140 Reputation points
    2025-10-16T01:56:57.3666667+00:00

    Problem Solved!! I un-installed the 25H2 updates and everything works GREAT!!

    Was this answer helpful?

    30+ people found this answer helpful.

  4. Ricky G 55 Reputation points
    2026-01-16T14:20:37.7033333+00:00

    This worked for me like a charm.

    Do not skip the reboot, it won't work before rebooting.

    Regedit:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3

    1. Navigate to Key: 180F 
    2. Change value to "0" if set to "3"
    3. Save changes and reboot

    Was this answer helpful?

    30+ people found this answer helpful.

  5. Striver 100 Reputation points
    2025-10-16T01:38:26.39+00:00

    Work-around: Use Microsoft Power Toys to preview.

    Install Microsoft's free Power Toys, which has many other great features. Installation is quick and easy.

    To preview a file in File Explorer, highlight the file. Then Ctrl + Space. Preview pops up.

    Works for most kinds of files.

    Was this answer helpful?

    20+ people 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.