Unblock PDF Preview Using PowerShell in Windows 11

Step 1: Open PowerShell as Administrator

  1. Click Start Menu
  2. Type PowerShell
  3. Right-click Windows PowerShell
  4. Select Run as administrator
  5. Click Yes on the UAC prompt

Step 2: Run the PowerShell Command

Navigate to the folder containing your PDFs, then run:

Get-ChildItem "*.pdf" | Unblock-File

Previous Post Next Post