This Windows Powershell solution worked to restore previewing ALL files in Download folder: https://allthings.how/fix-file-explorers-pdf-preview-warning-in-windows-11-25h2/
pdf preview pane issue in windows 11
We are experiencing the pdf preview issue after the windoiws updates and getting the error as "The file you are tryiong to attempt could harm to your computer"
Please check and do the needful on top prioriti basis
Windows for business | Windows 365 Business
4 answers
Sort by: Most helpful
-
Harry Phan 20,695 Reputation points Independent Advisor
2025-11-04T12:39:43.8966667+00:00 Just saw a post, saying:
"PDF viewing in Microsoft 365 for the web is not included as part of the Cloud Storage Partner Program. We are in the process of deprecating the feature over the coming months, and are not supporting this integration as part of the Cloud Storage Partner Program. We are also deprecating this support for Microsoft products such as OneDrive. OneDrive no longer uses Microsoft 365 for the web for PDF viewing.
Much has changed since Microsoft 365 for the web originally added PDF viewing support. In particular, most modern browsers have excellent built-in PDF support within the browser, and most mobile devices have excellent native PDF support as well. These industry advances have made the reasons support was originally added obsolete."
-
Harry Phan 20,695 Reputation points Independent Advisor
2025-11-04T12:28:10.35+00:00 Well, based on my experience, every update has a known issue every time MS releases it... and it takes them maybe a month or so to release a patch... We have face the same issue, not a specific company I believe.
-
Harry Phan 20,695 Reputation points Independent Advisor
2025-11-04T10:53:28.6366667+00:00 Hi Mareedu Sivaramakrishna, this warning is expected behavior after recent Windows 11 updates — it’s part of a new security feature in version 25H2. I know, everything is getting annoying since Windows 11 updates.
I don't think MS is gonna fix it anytime soon, guess we have to do some workaround meanwhile, I would suggest a few, hope it works:
Option 1: Unblock the PDF file manually:
- Right-click the PDF file.
- Select Properties.
- If you see a checkbox labeled “Unblock” at the bottom, check it and click Apply.
- This tells Windows you trust the file and allows previewing.
Option 2: Move the file to a trusted location:
- Files stored in certain folders (like Downloads) may be flagged.
- Try moving the PDF to a folder like
DocumentsorDesktop.
Let me know the result, okay?