Friday, March 29, 2024
HomeWINDOWSHow to allow or deny Audio Capture in Google Chrome on Windows...

How to allow or deny Audio Capture in Google Chrome on Windows 11/10

-


In this post, we will show you how to allow or deny audio capture for webpages in the Chrome browser on Windows 11/10 computers. By default, when some webpage (say a mic test tool or audio recording tool) needs access to your microphone, then a pop-up appears where you can set if that webpage can access the microphone. Granting the permission lets that webpage allow audio capture in Chrome. But, if you don’t want any webpage to access your microphone, then you can simply deny audio capture in the Chrome browser using the two different options covered in this post.

allow or deny Audio Capture in Google Chrome

Even if you have added some webpage/website to the allowed list from the Settings page of Google Chrome or grant permission to a webpage to access the microphone, the status of that website/webpage to access the microphone will remain blocked. You won’t be able to change that status to allowed from the Settings page. You need to use separate settings to add webpages to the allowed list so that only those webpages can have access to the microphone. We have included all the steps for that also.

How to allow or deny Audio Capture in Google Chrome on Windows 11/10

There are two native ways in Windows 11/10 OS using which you can allow or deny audio capture for all or specific sites only in the Chrome browser. These are:

  • Local Group Policy Editor
  • Registry Editor.

It is advised to create a system restore point before tweaking or changing any settings in the Local Group Policy Editor and Windows Registry Editor. When the system restore point is created, you can go ahead to try these options.

Allow or deny Audio Capture in Google Chrome using Local Group Policy Editor

Before using this option, you must integrate Google Chrome with Group Policy. Then only you can have all the settings related to the Chrome browser in the Local Group Policy Editor. When it is done, then you can follow these steps to use this option:

  1. Open Local Group Policy Editor
  2. Select the Google Chrome folder
  3. Open Allow or deny audio capture setting
  4. Click on the Disabled button
  5. Click on the OK button.

The detailed instructions to use these steps are covered below.

Open the Run Command box (Win+R), type gpedit.msc in the given box, and use the OK button. This action will open the Local Group Policy Editor window.

You will see multiple folders in different sections. You need to select the Google Chrome folder. For that, use this path:

Computer Configuration > Administrative Templates > Classic Administrative Templates (ADM) > Google > Google Chrome

access the google chrome folder

From the right-hand section, open Allow or deny audio capture setting by double-clicking on that setting.

A new window is opened for this setting. There, first, click on the Disabled option, and then click on the OK button.

allow audio capture disabled

This will deny or disable audio capture for all the webpages in Google Chrome. The setting is applied to the Chrome browser without any need to restart Google Chrome. You only need to refresh already opened tabs to apply the setting to those tabs.

To enable or allow audio capture for webpages in Google Chrome again, use the above steps, and open the Allow or deny audio capture setting. In that setting, click on the Not Configured option, and then press the OK button.

Allow Audio Capture for specific sites in Chrome using Local Group Policy Editor

allow sites for audio capture

If you want some sites that can use the microphone, then you can add them to the allowed list using another setting of Local Group Policy Editor. For this, here are the steps:

Computer Configuration > Administrative Templates > Classic Administrative Templates (ADM) > Google > Google Chrome
  • On the right-hand section, access the URLs that will be granted access to audio capture devices without prompt setting by double-clicking on it. This will open a separate window
  • In that window, select the Enabled option
  • Click on the Show button available in the left middle part of that window. A Show Contents box will open
  • In the Show Contents box, add the URL of a website in the Value column. In the same way, you can add URLs (one URL per line or row) for other websites in the Value column
  • Press the OK button to close the Show Contents box
  • Press the OK button to close the setting window.

Now only the allowed sites will be able to use the microphone without any prompt. All other sites will remain blocked from accessing the microphone in your Chrome browser.

When you want to remove the allowed websites from audio capture in the Chrome browser, follow the steps covered above. Open the same URLs that will be granted access to audio capture devices without prompt setting. In that setting, click on the Not Configured option (available on the top left part). Finally, click on the OK button, and the changes will be saved.

Related: How to allow or block screen Screen Capture on Google Chrome.

Enable or disable Audio Capture in Chrome browser using Registry Editor

These are the steps:

  1. Open Registry Editor
  2. Select the Policies key
  3. Create a Google key
  4. Add a Chrome key
  5. Create an AudioCaptureAllowed value
  6. Restart the Chrome browser.

In the very first step, write regedit in Windows 11/10 Search box, and hit the Enter key to open the Registry Editor window.

When Registry Editor is opened, select the Policies Registry key. Here is its path:

HKEY_LOCAL_MACHINESOFTWAREPolicies

access the policies key

Now create a Registry key and set the name of that new key to Google. In the same way, create another key (this time under the Google key), and rename it Chrome.

Right-click on the Chrome key or an empty section on the right-hand section, expand the New menu, and use the DWORD (32-bit) Value option. This will add a new value that you have to rename with AudioCaptureAllowed.

create audiocaptureallowed dword value

Finally, restart the Chrome browser if you have opened it and it will deny or disable audio capture for all the webpages in Google Chrome.

Whenever you want to allow or enable audio capture in your Chrome browser, follow the steps mentioned above, and access the Policies key. After that, delete the Google key that you created.

Restart Google Chrome and it will add the changes.

Also read: Prevent webpages from showing Images in Google Chrome.

Enable Audio Capture for selected sites in Google Chrome using Registry Editor

allow audio capture for selected sites

Above Registry Editor will block all the sites from accessing the microphone even if you have added sites to the allowed list using the Site Settings section of Chrome. So, if you want to allow selected sites to access to the microphone, you can use this Registry trick. Here are the steps:

HKEY_LOCAL_MACHINESOFTWAREPolicies
  • Add a Google key under the Policies Registry key
  • Now, add a Chrome key under the Google Registry key
  • Under the Chrome key, create an AudioCaptureAllowedUrls key
  • On the right-hand section, create a new String value. To do this, open the right-click context menu of the AudioCaptureAllowedUrls key, use the New menu, and select the String Value option
  • Rename that String value to 1
  • Double-click on the String value. An Edit String box will pop-up
  • In the Edit String box, enter the URL of a website in the Value data field
  • Press the OK button
  • Restart the Google Chrome browser.

Now only that website will be allowed for audio capture in the Chrome browser.

To add more websites to the allowed list, you can repeat the above steps. Just create String values under the AudioCaptureAllowedUrls key with names like 2, 3, etc., and add URLs of sites in the Value data field of each String value separately. Finally, restart the Chrome browser to apply the changes.

When you want to remove the allowed websites from accessing the microphone, follow the above steps and then delete the AudioCaptureAllowedUrls Registry key. After doing that, you might have to restart Google Chrome to save the changes.

How do I enable audio recording in Chrome?

If you have blocked some audio recording site or audio capture site from accessing the microphone, then you can enable audio recording in Chrome for that site using the following steps:

  1. Open the Chrome browser
  2. Press the Alt+F hotkey to open the Settings menu
  3. Click on the Settings option
  4. Access the Privacy and security category from the left section
  5. Access the Site Settings section
  6. Click on the Microphone option present in the Permissions section
  7. Check the blocked sites that are not allowed to use your microphone and select the site name for which you want to allow access to the microphone
  8. Select the Allow option from the drop-down menu available for the Microphone option.

Apart from that, you can also change location, camera, notifications, and other permissions for a particular site using the above steps.

How do I deny microphone permissions in Chrome?

Though there is a built-in feature to stop Chrome from accessing the mic, under the Site Setting section, on Windows 11/10 computer, anyone can change that setting and allow a blocked site to use the microphone. So, If you want to completely disable audio capture or deny microphone permissions for all sites in Chrome, then you need to use the Group Policy or Registry Editor feature of Windows 11/10.

These two features are more powerful as microphone permissions can’t be changed using the built-in feature of Google Chrome once you have used any of these options. This post has covered both the features with step-by-step instructions to do that. You can also allow sites of your choice to access the microphone.

Read next: How to Show or Hide Bookmarks Bar in Google Chrome on Windows PC.

allow or deny audio capture chrome



Source link

www.thewindowsclub.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular