How to block or allow Microsoft Edge to open PDF files on Windows 11

How to block or allow Microsoft Edge to open PDF files: You can allow or block Microsoft Edge from opening PDF files by changing some settings using Registry Editor or Group Policy Editor in Windows 11. This post, will guide you how to set Edge to open PDF files or block Edge from opening PDF files, depending on your preference.

How to block or allow Microsoft Edge to open PDF files on Windows 11

Block or allow Microsoft Edge to open PDF files

To allow or block Microsoft Edge from opening PDF files, follow these steps:

Using Group Policy Editor

Open Run, enter group policy and navigate to:

User Configuration > Administrative Templates > Microsoft Edge

In the Microsoft Edge folder, you can find a setting called Always open PDF files externally. You need to double click on this setting and select Enabled option to allow and Disabled option to block.

How to block or allow Microsoft Edge to open PDF files on Windows 11

Then, click the OK button to save the changes. Finally, you need to restart the Microsoft Edge browser.

Using the Registry

Open Run and type regedit navigate to:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge

If you can’t find Edge, right click on Microsoft > New > Key and name it Edge.
Then right click Edge > New > DWORD (32-bit) Value and name it AlwaysOpenPdfExternally.
By default, it comes with a Value data of 0. If you want to prevent Edge from opening the PDF to the outside, you need to keep that Value data. However, if you want to allow Edge to open an external PDF file, you need to double-click it and set the Value data to 1.

How to block or allow Microsoft Edge to open PDF files on Windows 11

Finally, click on the OK button, close all windows and restart your computer to receive the changes.

Conclude

There is also another way to block or allow Microsoft Edge to open PDF files is to choose the default application to open PDF files. However, hopefully with the instructions that this blog guideonline.biz has shared will still be useful to you, wish you success.

About firmwarecn

Check Also

How to fix "Error Opening File for Writing" error on Windows 10/11

How to fix “Error Opening File for Writing” error on Windows 10/11

Installation errors are errors that arise when a user tries to install some computer software …