April 2026 security update, Remote Desktop Connection shows new security warnings RDP

Created by Tony Contreras, Modified on Wed, 27 May at 10:01 AM by Tony Contreras

Step 1: Open PowerShell (Administrator) 


Step 2: Paste this command 

$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" 

$name = "RedirectionWarningDialogVersion" 

$value = 1 


if (-not (Test-Path $registryPath)) { 

New-Item -Path $registryPath -Force | Out-Null 

Write-Host "Key created successfully: $registryPath" -ForegroundColor Cyan 


New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWord -Force | Out-Null 


Write-Host "Configuration applied: $name set to $value." -ForegroundColor Green


Step 3: Reg Edit (Administrator)


Key Path: Software\Policies\Microsoft\Windows NT\Terminal Services\Client

Value Name: RedirectionWarningDialogVersion

Value Type: REG_DWORD

Value Data: 1


Step 4: Open RDP and now warning error should not appear. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article