Control where Chrome DevTools can be used: registry value DeveloperToolsAvailabilityComputerHKLM\Software\Policies\Google\Chrome
- Policy ID
- DeveloperToolsAvailability
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Windows 7 or later
- Source
- Google Chrome Policy Templates (version 156.0.8078.80)
- Category
- Google › Google Chrome
Registry
DeveloperToolsAvailability
REG_DWORDComputerUser…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Current key
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Enabled value
- Depends on the option value
- Element
- Control where Chrome DevTools can be used
| Item | Stored value |
|---|---|
| Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts | 0 |
| Allow usage of Chrome DevTools | 1 |
| Disallow usage of Chrome DevTools | 2 |
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Options (use only one) ; Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts "DeveloperToolsAvailability"=dword:00000000 ; Allow usage of Chrome DevTools "DeveloperToolsAvailability"=dword:00000001 ; Disallow usage of Chrome DevTools "DeveloperToolsAvailability"=dword:00000002
CMD
:: Options (use only one) :: Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts reg add "HKLM\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 0 /f :: Allow usage of Chrome DevTools reg add "HKLM\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 1 /f :: Disallow usage of Chrome DevTools reg add "HKLM\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (use only one) # Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 0 -Force | Out-Null # Allow usage of Chrome DevTools New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 1 -Force | Out-Null # Disallow usage of Chrome DevTools New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 2 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Options (use only one) ; Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts "DeveloperToolsAvailability"=dword:00000000 ; Allow usage of Chrome DevTools "DeveloperToolsAvailability"=dword:00000001 ; Disallow usage of Chrome DevTools "DeveloperToolsAvailability"=dword:00000002
CMD
:: Options (use only one) :: Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts reg add "HKCU\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 0 /f :: Allow usage of Chrome DevTools reg add "HKCU\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 1 /f :: Disallow usage of Chrome DevTools reg add "HKCU\Software\Policies\Google\Chrome" /v "DeveloperToolsAvailability" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (use only one) # Disallow usage of Chrome DevTools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allow usage of Chrome DevTools in other contexts New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 0 -Force | Out-Null # Allow usage of Chrome DevTools New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 1 -Force | Out-Null # Disallow usage of Chrome DevTools New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DeveloperToolsAvailability' -PropertyType DWord -Value 2 -Force | Out-Null