Configure Offer Remote Assistance
Configurer Proposer l’Assistance à distance
Explanation
This policy setting allows you to turn on or turn off Offer (Unsolicited) Remote Assistance on this computer.
If you enable this policy setting, users on this computer can get help from their corporate technical support staff using Offer (Unsolicited) Remote Assistance.
If you disable this policy setting, users on this computer cannot get help from their corporate technical support staff using Offer (Unsolicited) Remote Assistance.
If you do not configure this policy setting, users on this computer cannot get help from their corporate technical support staff using Offer (Unsolicited) Remote Assistance.
If you enable this policy setting, you have two ways to allow helpers to provide Remote Assistance: "Allow helpers to only view the computer" or "Allow helpers to remotely control the computer." When you configure this policy setting, you also specify the list of users or user groups that are allowed to offer remote assistance.
To configure the list of helpers, click "Show." In the window that opens, you can enter the names of the helpers. Add each user or group one by one. When you enter the name of the helper user or user groups, use the following format:
<Domain Name>\<User Name> or
<Domain Name>\<Group Name>
If you enable this policy setting, you should also enable firewall exceptions to allow Remote Assistance communications. The firewall exceptions required for Offer (Unsolicited) Remote Assistance depend on the version of Windows you are running.
Windows Vista and later
Enable the Remote Assistance exception for the domain profile. The exception must contain:
Port 135:TCP
%WINDIR%\System32\msra.exe
%WINDIR%\System32\raserver.exe
Windows XP with Service Pack 2 (SP2) and Windows XP Professional x64 Edition with Service Pack 1 (SP1)
Port 135:TCP
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpsvc.exe
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpctr.exe
%WINDIR%\System32\Sessmgr.exe
For computers running Windows Server 2003 with Service Pack 1 (SP1)
Port 135:TCP
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpsvc.exe
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpctr.exe
Allow Remote Desktop Exception
Ce paramètre de stratégie vous permet d’activer ou de désactiver l’option Proposer l’assistance à distance (non sollicitée) sur cet ordinateur.
Si vous activez ce paramètre de stratégie, les utilisateurs de cet ordinateur peuvent obtenir de l’aide du support technique de l’entreprise à l’aide de l’option Proposer l’assistance à distance (non sollicitée).
Si vous désactivez ce paramètre de stratégie, les utilisateurs de cet ordinateur ne peuvent pas obtenir de l’aide du support technique de l’entreprise à l’aide de l’option Proposer l’assistance à distance (non sollicitée).
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs de cet ordinateur ne peuvent pas obtenir de l’aide du support technique de l’entreprise à l’aide de l’option Proposer l’assistance à distance (non sollicitée).
Si vous activez ce paramètre de stratégie, deux options s’offrent à vous pour autoriser une connexion à distance de l’assistance : « Ne permettre aux conseillers que de voir l’ordinateur » ou « Permettre aux conseillers de contrôler l’ordinateur à distance ». Lorsque vous configurez ce paramètre de stratégie, vous spécifiez également quels utilisateurs ou groupes d’utilisateurs peuvent offrir une assistance à distance.
Pour configurer la liste des personnes qui dispensent de l’assistance, cliquez sur « Afficher ». Dans la fenêtre qui s’affiche, vous pouvez entrer leur nom. Ajoutez les utilisateurs ou les groupes un par un. Utilisez le format suivant pour entrer un nom d’utilisateur ou de groupe :
<Domaine>\<Utilisateur> ou
<Domaine>\<Groupe>
Si vous activez ce paramètre de stratégie, vous devez également activer les exceptions de pare-feu appropriées pour autoriser les communications d’assistance à distance. Les exceptions de pare-feu nécessaires pour l’option Proposer l’assistance à distance (non sollicitée) varient en fonction de la version de Windows en cours d’exécution.
Windows Vista et versions suivantes
Activez l’exception d’assistance à distance pour le profil du domaine. L’exception doit contenir :
Port 135:TCP:
%WINDIR%\System32\msra.exe
%WINDIR%\System32\raserver.exe
Windows XP avec Service Pack 2 (SP2) et Windows XP Professionnel Édition x64 Service Pack 1 (SP1)
Port 135:TCP:
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpsvc.exe:
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpctr.exe:
%WINDIR%\System32\Sessmgr.exe
Pour les ordinateurs exécutant Windows Server 2003 Service Pack 1 (SP1)
Port 135:TCP:
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpsvc.exe:
%WINDIR%\PCHealth\HelpCtr\Binaries\Helpctr.exe:
Autoriser l’exception du Bureau à distance
Registry
HKEY_LOCAL_MACHINE\Software\policies\Microsoft\Windows NT\Terminal Services- Value name
fAllowUnsolicited
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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.
Enable
# Enable: RemoteAssistance/RA_Unsolicit
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fAllowUnsolicited' -Value 1 -Type DWord
# Permit remote control of this computer
# Possible options:
# Allow helpers to remotely control the computer = 1
# Allow helpers to only view the computer = 0
Set-ItemProperty -Path $k -Name 'fAllowUnsolicitedFullControl' -Value 1 -Type DWord
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Helpers
# Non-additive list: existing values of the key are cleared first
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: RemoteAssistance/RA_Unsolicit
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fAllowUnsolicited' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": RemoteAssistance/RA_Unsolicit
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fAllowUnsolicited' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'fAllowUnsolicitedFullControl' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Permit remote control of this computer:Autoriser le contrôle à distance de cet ordinateur :RA_Unsolicit_Control_List | Drop-down listenum | fAllowUnsolicitedFullControl | REG_DWORD | Default choice (UI): #0
| ||||||
| Helpers:Assistance :RA_Unsolicit_DACL_Edit | List (table)list | Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicitNumbered values (1, 2, 3…) | REG_SZ (values under the key) |