How to automatically disconnect from remote access in Chrome – TWCN Tech News

How to automatically disconnect from remote access in Chrome – TWCN Tech News

By default, if you connect to a remote computer via Google Chrome, it stays connected as long as you want. However, sometimes you might forget to disconnect from the remote access and end up wasting your bandwidth. That is why you need to follow this tutorial to automatically disconnect from remote access on Google Chrome. It is possible to do it with the help of the Local Group Policy Editor and the Registry Editor.

Let’s assume that you often connect to other remote computers via the Google Chrome browser. Or you often seek help from other people who assist you remotely. In such cases, you obviously use remote access to get them done quickly. The default setting or policy doesn’t help you disconnect from the remote access automatically so that you can stay connected for as long as you want. However, if you want to disconnect automatically from the remote or host computer, here is what you need to do.

How to automatically disconnect from remote access on Chrome

To automatically disconnect from remote access on Chrome, using Registry Editor, follow these steps:

  1. Press Win+R to display the Run dialog.
  2. Type regedit > press Enter> click the Yes 
  3. Navigate to Policies in HKLM.
  4. Right-click on Policies > New > Keyand set the name as Google.
  5. Right-click on Google > New > Keyand set the name as Chrome.
  6. Right-click on Chrome > New > DWORD (32-bit) Value.Name it RemoteAccessHostMaximumSessionDurationMinutes.
  7. Double-click on it and select Decimal base.
  8. Enter a value from 30 to 10080.
  9. Click the OK button.

Let’s take a look at these steps in detail.

To get started, press Win+R > type regedit and hit the Enter button. If the UAC prompt appears, click on the Yes button to open the Registry Editor on your computer.

After that, navigate to this path:

HKEY_LOCAL_MACHINESOFTWAREPolicies

However, if you want to apply it to the current user only, navigate to this path:

HKEY_CURRENT_USERSOFTWAREPolicies

Right-click on the Policies key > select New > Key and set the name as Google. Then, right-click on the Google key, choose New > Key and name it Chrome.

Here you need to create a REG_DWORD value. For that, right-click on the Chrome key, select New > DWORD (32-bit) Value, and name it as RemoteAccessHostMaximumSessionDurationMinutes.

Then, you need to set the Value data. To do that, double-click on the REG_DOWRD value and switch to the Decimal base. After that, enter Value data anything between 30 to 10800.

For your information, this Value data is calculated in minutes. In other words, if you enter 50, the remote access connection will be disconnected after 50 minutes.

Finally, click the OK button, close all windows and restart your computer.

How to set maximum time duration for remote access in Chrome

To set maximum time duration for remote access in Chrome, using Group Policy Editor, follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Type gpedit.msc and hit the Enter button.
  3. Navigate to Remote access in Computer Configuration.
  4. Double-click on the Maximum session duration allowed for remote access connections setting.
  5. Choose the Enabled option.
  6. Enter minutes in the empty box.
  7. Click the OK button.

To know more about these steps, keep reading.

First, you need to press Win+R, type gpedit.msc, and press the Enter button to open the Local Group Policy Editor. Then, navigate to this path:

Computer Configuration > Administrative Templates > Google Chrome > Remote access

Double-click on the Maximum session duration allowed for remote access connections setting and choose the Enabled option.

Then, enter the time duration in the box. Like the REGEDIT method, you can enter any value from 30 to 10080.

Click the OK button to save the change.

How do I disable remote access in Chrome?

To disable remote access in Chrome, open the Local Group Policy Editor and go to the Remote access section. Then, double-click on the Allow remote access connections to this machine setting. Choose the Disabled option and click the OK button. For your information, you can do the same in Registry Editor as well.

Does Chrome Remote Desktop have a timeout?

Although there is no in-built setting in the browser, you can use the Group Policy and Registry Editor to set a timer. For that, open the GPEDIT and double-click on the Maximum session duration allowed for remote access connections setting. Then, choose the Enabled option and enter a value from 30 to 10080. Click the OK button to save the change.

That’s all! Hope it helped.

Read: Enable or disable PIN-less authentication for Remote Access Hosts in Chrome.

Source: https://www.thewindowsclub.com/automatically-disconnect-from-remote-access-chrome