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. Leaap-Itmair 50 Reputation points
    2025-10-17T11:01:23.19+00:00

    Just Uninstall this update Go to control panel > Uninstall Program > View installed update (on upper left side) > find this update ( Security Update for Microsoft Windows (KB5066835)) Uninstall it after that restart and preview will restore but......

    If you have NAS Drive or Network Shared drive you need to do one more thing, write internet option in search box, Go to Security > Click on Trusted SItes (Green Logo) > then sites > then uncheck "Require server verification bla bla''', then enter your NAS or Network Drive IP in this format - ( for Example) = \\192.168.1.75 just hit add and close it than close file explorer and refresh it and open again to see preview it will work.... thank me later.

    Was this answer helpful?

    9 people found this answer helpful.

  2. Dave Rowe 55 Reputation points
    2025-10-16T00:11:25.4033333+00:00

    I clicked on properties on the problematic files and see new "Security" options as shown below. I clicked "unblock", clicked apply and restarted Explorer. I had to restart Explorer to be able to preview the file. What a pain as I have 110 files I need to preview and tried to unblock them in a batch without success (I.e., (selecting multiple files and then clicking properties):

    User's image

    Was this answer helpful?

    9 people found this answer helpful.

  3. Kirill P 55 Reputation points
    2025-10-17T15:05:57.5366667+00:00

    After applying this solution, Windows will stop showing the "security warning" when you try to open files downloaded to your Downloads folder.

    Step 1: Unblock all already downloaded PDF files. Open PowerShell as Administrator and run:

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

    Replace admin with the actual path where your files are downloaded. Usually, it's your user folder on drive C. You can check your exact user path by running this command in PowerShell:

    $home
    

    Step 2: Prevent Windows from setting the "file is blocked" flag for newly downloaded files. Open Registry Editor (Win + R > type regedit) and navigate to:

    Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
    

    Create a new key named Attachments. Inside it, create a new DWORD (32-bit) value called SaveZoneInformation and set it to 1.

    Or paste this in PowerShell:

    New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" -Force | Out-Null
    New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" -Name "SaveZoneInformation" -PropertyType DWord -Value 1 -Force | Out-Null
    

    Alternatively, you can do the same via Group Policy Editor (Win + R > type gpedit.msc): User Configuration > Administrative Templates > Windows Components > Attachment Manager > Do not preserve zone information in file attachments > Enabled

    Step 3: The same issue can happen when opening PDFs from shared network locations. In that case, do the following: Press Win + R, type inetcpl.cpl, and open the Security tab. Select Local intranet > click Sites > check Automatically detect intranet network. You can also click Advanced, then add the required network IP range manually — for example: 192.168.1.* > click Add.

    Was this answer helpful?

    7 people found this answer helpful.

  4. TheodorJosef Eisenring 15 Reputation points
    2025-10-15T17:13:19.6633333+00:00

    Same problem after installing the final update KB5066791 in Windows 10 Version 22H2. The bug seems also to exist in Windows11 24H2 Update KB5066835 (Oct. 14)

    Was this answer helpful?

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