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: Oldest
  1. DCH 10 Reputation points
    2025-12-24T05:57:29.4033333+00:00

    I have posted this as an aswer elsewhere, but I'll try again!

    Right click on the file - 'properties' - in the atributes section click the box 'unblock' - OK.

    Rename the file, all fixed!

    Was this answer helpful?

    1 person found this answer helpful.

  2. Alberto Pinho 15 Reputation points
    2025-12-28T19:11:01.2866667+00:00

    🔓 How to bulk unblock thousands of PDFs in Windows (PowerShell)

    Summary

    PDF files downloaded from the internet are marked by Windows as coming from another computer, disabling File Explorer preview and requiring manual unblocking.

    PowerShell allows removing this block in bulk, even for thousands of files.


    📌 The issue

    Files downloaded from:

    Browsers

    Email

    Government portals

    Receive a security flag (Mark of the Web), causing:

    Explorer preview disabled

    Security warnings

    Manual unblock required


    ✅ PowerShell solutions

    🔹 Case 1 — Unblock PDFs in the current folder and subfolders

    Get-ChildItem -Path . -Recurse -Filter *.pdf | Unblock-File
    

    Explanation:

    Lists all PDFs in the current folder and subfolders

    Removes the security block

    Use when: PowerShell is opened inside the target folder.


    🔹 Case 2 — Unblock ALL PDFs on a data drive (e.g., D:)

    Get-ChildItem -Path D:\ -Recurse -Filter *.pdf -ErrorAction SilentlyContinue | Unblock-File
    

    Key points:

    Scans the entire D: drive

    Ignores access-denied errors

    Use when: PDFs are spread across many folders and the drive is used only for data.


    ⚠️ Why you should NOT run this on drive C:

    Drive C: contains:

    Operating system files

    Protected system folders

    Active system processes

    ❌ Risks:

    Performance degradation

    Numerous permission errors

    Unnecessary scanning of system areas

    Potential system instability

    ✔ Best practice:

    Run only on:

    Data drives (D:, E:)

    Or specific document folders


    🟢 Final result

    PDFs open normally

    Explorer preview works again

    “Unblock” option is removed

    • File contents remain unchanged

      🔓 How to bulk unblock thousands of PDFs in Windows (PowerShell)

      Summary

      PDF files downloaded from the internet are marked by Windows as coming from another computer, disabling File Explorer preview and requiring manual unblocking. PowerShell allows removing this block in bulk, even for thousands of files.

      📌 The issue

      Files downloaded from:
    • Browsers
    • Email
    • Government portals Receive a security flag (Mark of the Web), causing:
    • Explorer preview disabled
    • Security warnings
    • Manual unblock required

      ✅ PowerShell solutions

      🔹 Case 1 — Unblock PDFs in the current folder and subfolders

        Get-ChildItem -Path . -Recurse -Filter *.pdf | Unblock-File
      
      Explanation:
      • Lists all PDFs in the current folder and subfolders
    • Removes the security block Use when:
      PowerShell is opened inside the target folder.

      🔹 Case 2 — Unblock ALL PDFs on a data drive (e.g., D:)

        Get-ChildItem -Path D:\ -Recurse -Filter *.pdf -ErrorAction SilentlyContinue | Unblock-File
      
      Key points:
      • Scans the entire D: drive
    • Ignores access-denied errors Use when:
      PDFs are spread across many folders and the drive is used only for data.

      ⚠️ Why you should NOT run this on drive C:

      Drive C: contains:
      • Operating system files
    • Protected system folders
    • Active system processes

      ❌ Risks:

      • Performance degradation
    • Numerous permission errors
    • Unnecessary scanning of system areas
    • Potential system instability

      ✔ Best practice:

      Run only on:
      • Data drives (D:, E:)
    • Or specific document folders

      🟢 Final result

      • PDFs open normally
      • Explorer preview works again
      • “Unblock” option is removed
      • File contents remain unchanged

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  3. Raymond Immigration 15 Reputation points
    2026-01-08T20:23:21.45+00:00

    Hey Everyone (SOLUTION FOUND)

    In Registry Editor (search regedit in taskbar), navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3

    Look for key 180F , double click on it and change its value to 0 (if present). 

    This solved the issue for our organization

    Was this answer helpful?

    2 people found this answer helpful.

  4. Ricky G 60 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?

    40+ 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.