Some update broke the preview of PDFs in Windows Explorer

spoolin01

New member
Local time
2:47 AM
Messages
21
Back around October, apparently a security update broke the preview function in Windows Explorer for Windows 7, 10, and 11. I fixed this on my Win10 laptop but don't recall now what all I did. I'm about to dig into this for Windows 7 now. Anyone have a handy method or source to fix this in batch fashion, both for new and existing downloaded PDFs?

ETA: I found this PowerShell command to unblock all files within the target folder:

Set-Location -Path "<folder path>"
Get-ChildItem -File -Recurse | Unblock-File

Replace <folder path> with the folder path (e.g. D:\my folders\targetfolder). Requires PowerShell 3.0 or higher for the Unblock-File command. I used 3.0.
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Pro x64Intel i7 6th Gen16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 Pro x64
CPU
Intel i7 6th Gen
Motherboard
Asus Z170e
Memory
16GB
Antivirus
Eset NOD32
Browser
Firefox
actually 2 settings
when you view/preview a new pdf it generally opens a new window in your browser.... so thats a browser setting
for downloaded pdfs it will depend on which Reader program you have... ie Adobe
 

My Computer My Computer

At a glance

W7 home premium 32bit/W7HP 64bit/w10 tp insid...E5300 dual core3gbNvidia Geforce 7100 Nforce 630i
Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
actually 2 settings
when you view/preview a new pdf it generally opens a new window in your browser.... so thats a browser setting
for downloaded pdfs it will depend on which Reader program you have... ie Adobe
I'm just dealing with the Windows Explorer preview function, not browser viewing. There is some sort of flag that is added to internet downloads apparently (MOTW) Mark of the Web - Wikipedia and an October 2025 update changed the handling of these to prevent previewing, over some sort of security concern. There are a couple of ways to change this policy back or reverse the flagging for the next files you download, but the damage to existing downloads was already done. I found the above PowerShell commands to allow batch unblocking of existing files at the folder level. It may need tweaking to work for sub-folders, I haven't tried yet.
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel i7 6th Gen16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 Pro x64
CPU
Intel i7 6th Gen
Motherboard
Asus Z170e
Memory
16GB
Antivirus
Eset NOD32
Browser
Firefox
Back
Top