Configurer Proposer l’Assistance à distance
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Au minimum Windows Server 2003 ou Windows XP Professionnel
Chemin dans la console GPO
Configuration ordinateur\Modèles d'administration\Système\Assistance à distance Description
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
Registre
Software\policies\Microsoft\Windows NT\Terminal Services Nom de valeur : fAllowUnsolicited
Activé : fAllowUnsolicited = 1
Désactivé : fAllowUnsolicited = 0
MDM / Intune (CSP)
./Device/Vendor/MSFT/Policy/Config/RemoteAssistance/UnsolicitedRemoteAssistance Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)
Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Configurer Proposer l’Assistance à distance
; State: Enabled
; Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
[HKEY_LOCAL_MACHINE\Software\policies\Microsoft\Windows NT\Terminal Services]
"fAllowUnsolicited"=dword:00000001
"fAllowUnsolicitedFullControl"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit]
; List values: enter one value per line in the builder UI. Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'fAllowUnsolicited' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'fAllowUnsolicitedFullControl' -Value 1 -Type DWord
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Intune XML
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/RemoteAssistance/UnsolicitedRemoteAssistance
Data type: String
Value:
<enabled/>
<data id="RA_Unsolicit_Control_List" value="1"/>
<!-- RA_Unsolicit_DACL_Edit: enter one value per line before copying this XML payload. --> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
# HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit: List values: enter one value per line in the builder UI.
$checks = @(
(Test-RegistryValue -Path 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowUnsolicited' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowUnsolicitedFullControl' -Expected 1 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'fAllowUnsolicited' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'fAllowUnsolicitedFullControl' -Value 1 -Type DWord
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Scripts SCCM
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
# HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit: List values: enter one value per line in the builder UI.
$checks = @(
(Test-RegistryValue -Path 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowUnsolicited' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services' -Name 'fAllowUnsolicitedFullControl' -Expected 1 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Configurer Proposer l’Assistance à distance
# State: Enabled
# Supported on: Au minimum Windows Server 2003 ou Windows XP Professionnel
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'fAllowUnsolicited' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'fAllowUnsolicitedFullControl' -Value 1 -Type DWord
$path = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services\RAUnsolicit'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI. Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).