Open in the explorer

Maximum session duration allowed for remote access connections

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Brave Software › Brave › Remote access User Configuration › Policies › Administrative Templates › Brave Software › Brave › Remote access
Supported on
Microsoft Windows 7 or later
ADMX file
brave.admx
Internal name
brave/RemoteAccessHostMaximumSessionDurationMinutes

Explanation

If this policy is set, remote access connections will automatically disconnect after the number of minutes defined in the policy have elapsed. This does not prevent the client from reconnecting after the maximum session duration has been reached. Setting the policy to a value that is not within the min/max range may prevent the host from starting. This policy does not affect remote support scenarios.

This policy has no effect if it is not set. In this case, remote access connections will have no maximum duration on this machine.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave
HKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: brave/RemoteAccessHostMaximumSessionDurationMinutes
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum session duration allowed for remote access connections
Set-ItemProperty -Path $k -Name 'RemoteAccessHostMaximumSessionDurationMinutes' -Value 30 -Type DWord  # between 30 and 10080

Disable

# Disable: brave/RemoteAccessHostMaximumSessionDurationMinutes
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": brave/RemoteAccessHostMaximumSessionDurationMinutes
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'RemoteAccessHostMaximumSessionDurationMinutes' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Maximum session duration allowed for remote access connections:RemoteAccessHostMaximumSessionDurationMinutesNumeric boxdecimalRemoteAccessHostMaximumSessionDurationMinutesREG_DWORD
Min: 30 · Max: 10080

Application

Brave (Brave Software) — November 2026 templates

Official templates downloaded on November 12, 2026.