⚡ PowerShell 5.1+

Check "Disable Remote Assistance" Status

Reads the current registry value behind the "Disable Remote Assistance" tweak so you can confirm whether it's applied.

By WindowsScripting.com · 786 B
Test-DisableRemoteAssistanceStatus.ps1
<#
.SYNOPSIS
    Checks whether "Disable Remote Assistance" is currently applied.

.DESCRIPTION
    Reads HKLM:\SYSTEM\CurrentControlSet\Control\Remote Assistance \ fAllowToGetHelp and reports its current value,
    or reports that it isn't set (falling back to the Windows default).

.EXAMPLE
    .\Test-DisableRemoteAssistanceStatus.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKLM:\SYSTEM\CurrentControlSet\Control\Remote Assistance'

$value = Get-ItemProperty -Path $regPath -Name 'fAllowToGetHelp' -ErrorAction SilentlyContinue

if ($null -eq $value) {
    Write-Host "'fAllowToGetHelp' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
    Write-Host "Current value of 'fAllowToGetHelp': $($value.'fAllowToGetHelp')" -ForegroundColor Green
}