File Explorer not previewing pdf files since 25H2 update

Paul Nicholson 540 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
{count} votes

57 answers

Sort by: Most helpful
  1. Antoine Knight 5 Reputation points
    2025-10-22T14:56:55.9733333+00:00

    We have solved this issue in our company by changing the security setting in "Internet Options" in control panel.

    Screenshot 2025-10-22 105150

    Once there go to trusted sites and place the path of the folder that has the docunements you want to view.

    Screenshot 2025-10-22 105406

    Make sure you click "Add" and uncheck the box.

    Screenshot 2025-10-22 105541

    1 person found this answer helpful.

  2. LKG 5 Reputation points
    2025-10-26T18:48:45.07+00:00

    I am running Win11Pro 25H2 - you need one change in group policy to allow downloads without MOTW- gpedit.msc: User Configuration > Administrative Templates > Windows Components > Attachment Manager Setting: Do not preserve zone information in file attachments → Enabled.

    To unlock all files previously downloaded run this as Admin in PowerShell - Replace "D:\Projects\PDFs" with your actual path.

    Get-ChildItem "D:\Projects\PDFs" -Recurse -File | ForEach-Object { Unblock-File -Path $_.FullName }

    If you are seeing an icon instead of your images, check File Explorer, Options, View and uncheck Always show icons, never thumbnails.

    1 person found this answer helpful.
    0 comments No comments

  3. M_HERMAN 20 Reputation points
    2025-10-27T02:24:42.0766667+00:00

    THIS INSANE "SECURITY FEATURE" IS NOW CAUSING ME POSSIBLY IRREPARABLE HARM!
    I am handling documents for the probate of a will, and I am unable to preview those documents. I do not have the time to open each and every one when I am searching for data. In addition, checking the UNBLOCK box does NOT FIX the preview issue. And I'll just add that these documents are on my non-networked laptop. This "feature" might as well be a North Korean Virus!

    1 person found this answer helpful.
    0 comments No comments

  4. Enric Cortés 38,315 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

    1 person found this answer helpful.

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

    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.