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. Anonymous
    2025-10-20T13:28:57.46+00:00

    For now, this temporary workaround works for my company using the following PowerShell command:

    Get-ChildItem -Path "C:\Users\username\Downloads" -Recurse | Unblock-File

    This command removes the block from all existing PDF files in the specified folder, allowing previews to work again. However, it needs to be re-run for newly downloaded files. Hopefully, this issue will be resolved in a future update.

    Was this answer helpful?


  2. Jodi Siegel 0 Reputation points
    2025-10-20T16:47:29.59+00:00

    I also used the Internet Option with Trusted Sites and now I can preview my files.

    Was this answer helpful?

    0 comments No comments

  3. Matthew Fabilenia 10 Reputation points
    2025-10-20T17:11:45.98+00:00

    In our Windows domain environment, network file shares weren’t accessible due to this issue. It’s not practical to unblock tens of thousands of files, especially with NTFS permissions restricting who can modify zone flags.

    This bug disables file previews for Internet Zone files, and domain shares can fall into that category if the domain isn’t explicitly defined as part of the Local Intranet zone.

    The script below allows previews for Internet Zone files and adds the domain to the Local Intranet (Zone 1):

    # Allow previews for Internet Zone files
    reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3" /v 180F /t REG_DWORD /d 0 /f | Out-Null
    reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\3" /v 180F /t REG_DWORD /d 0 /f | Out-Null
    
    # Flag internal domain as Local Intranet (Zone 1)
    reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\yourdomain.local" /v "*" /t REG_DWORD /d 1 /f | Out-Null
    

    Run elevated and reboot.

    Yes, AI rewrote my post because I can't talk gud.

    Was this answer helpful?

    3 people found this answer helpful.

  4. Paul Huff 35 Reputation points
    2025-10-20T17:21:10.97+00:00

    I have found a tedious work-around "fix"...

    1. Click on the first pdf file in the folder that is not previewing
    2. Alt-Enter to open properties
    3. Check Unblock and click on Apply and OK. (The preview will still not show)
    4. Repeat this for all of the pdf files in the folder that won't preview. (Dated after 7/2022)
    5. After Unblocking the last file, open it with your pdf reader and then close it
    6. For some unknown reason, the previews for all of the other unblocked files will now display OK

    Maybe someone reading this can come up with a batch way to do this or an explanation of what is really going on?

    Was this answer helpful?

    2 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.