Developer tools (or Microsoft Edge DevTools) help to perform a lot of tasks within the browser like edit CSS, make changes to the HTML webpage, debug your script or code, etc. There is a good list of DevTools in Microsoft Edge that helps the developers to test and build websites. While it is a crucial feature for developers, regular users rarely or never use it. Therefore, they like to disable it. If you also want the same, then this post can help you. You can disable Developer tools in Microsoft Edge with the help of Registry or Group Policy Editor on Windows 10.
Before you try that tweak, you should have a Registry backup. This is handy to get rid of unexpected changes as you will be able to restore Registry using that backup.
Disable Developer Tools in Edge using Registry
Once you’ve disabled DevTools, you won’t able to open it using hotkey (F12 or Ctrl+Shift+I) or the option available under the Settings. That option would be greyed out. You can also enable DevTools anytime for the Edge browser. Here are the steps:
- Open Registry Editor
- Access Microsoft key
- Create Edge key under Microsoft key
- Create DeveloperToolsAvailability DWORD value
- Set its Value data to 2
- Restart File Explorer.
In the first step, you need to open Registry Editor by typing regedit in the Search box or using some other preferred way.
In the Registry Editor window, access the Microsoft key. Its path is:
Select Edge key and on the right-hand section, create or add DeveloperToolsAvailability name DWORD value. For this, right-click anywhere on the empty area, access New, and use DWORD (32-bit) Value. When the value is added, rename it to DeveloperToolsAvailability.
Now double-click on that value. When you will see a small box, put 2 in its Value data, and use the OK button.
Finally, either restart File Explorer or your PC. Developer tools in Microsoft Edge have been disabled now.
To enable Developer Tools again in Microsoft Edge, just follow the above steps, and either delete the DeveloperToolsAvailability value or set its Value data to 0.
Turn off Developer Tools using Group Policy
It is also possible to disable or turn off Developer Tools in Edge using the Local Group Policy Editor. However, for that, you must add the Group Policy Template for Edge. Once you are done with that, the following steps will help.
To disable Developer Tools in Edge using GPEDIT, follow these steps-
- Press Win+R > type gpedit.msc and press the Enter button.
- Go to Microsoft Edge in Computer Configuration.
- Double-click on the Control where developer tools can be used setting.
- Select the Enabled option.
- Choose Don’t allow using the developer tools from the drop-down list.
- Click the OK button.
At first, you need to open the Local Group Policy Editor. For that, press Win+R, type
gpedit.msc, and hit the Enter button. Then, navigate to the following path-
Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge
Double-click on the Control where developer tools can be used setting visible on the right-hand side, and choose the Enabled option.
Then, expand the drop-down list and select Don’t allow using the developer tools.
At last, click the OK button.
Restart PC or File Explorer to set the changes.