1. Home
  2. Knowledge Base
  3. SureMDM
  4. How to disable/enable inspect mode on Chrome browser and Microsoft Edge for Windows using SureMDM
  1. Home
  2. Knowledge Base
  3. Windows Management
  4. How to disable/enable inspect mode on Chrome browser and Microsoft Edge for Windows using SureMDM

How to disable/enable inspect mode on Chrome browser and Microsoft Edge for Windows using SureMDM

Admins can enable/disable inspect mode on browsers like Chrome and Microsoft Edge by restricting the same in the registry editor on Windows devices. 

Purpose

The purpose of the article is to provide a guide on how to disable/enable inspect mode on Chrome browser and Microsoft Edge for Windows using SureMDM.

Prerequisites

Windows 10 & Above.

Steps

  1. Login to SureMDM Console
  2. Navigate to Jobs and create a New Job
  3. Select Windows as the operating system
  4. Create a Runscript job for the below script to enable/disable the inspection based on the requirement. 
  5. Enter the Job name and save.
  6. Deploy the job to the device to reflect changes.

Chrome Browser:

# Disable Developer Tools for Google Chrome

reg add “HKLM\SOFTWARE\Policies\Google\Chrome” /v DeveloperToolsDisabled /t REG_DWORD /d 1 /f

# Enable Developer Tools for Google Chrome 

reg delete “HKLM\SOFTWARE\Policies\Google\Chrome” /v DeveloperToolsDisabled /f

Microsoft Edge

# Disable Developer Tools for Microsoft Edge 

reg add “HKLM\SOFTWARE\Policies\Microsoft\Edge” /v DeveloperToolsAvailability /t REG_DWORD /d 2 /f 

Stop-Process -Name explorer -Force

Start-Process explorer

# Enable Developer Tools for Microsoft Edge 

reg delete “HKLM\SOFTWARE\Policies\Microsoft\Edge” /v DeveloperToolsAvailability /f

Stop-Process -Name Explorer -Force

Start-Process explorer

Need help? CONTACT US

Was this helpful?
YesNo
Updated on April 2025
Need Support?
Can't find the answer you're looking for?
Contact Support