Monthly Archives: December 2022

VPN: “A connection to the remote computer could not be established.”

When a client attempts to connect to a VPN host, it fails with “A connection to the remote computer could not be established. You might need to change the network settings for this connection.”

In Device Manager:

  1. Uninstall all adapters starting with “WAN Miniport” by right-clicking each > Uninstall
  2. At the top of the Device Manager tree, right-click the computer name > Scan for Hardware Changes. The adapters removed in step 1 will reinstall automatically without restarting

Eliminate UAC “Click Continue to permanently get access to this folder” when opening folders

When recovering data from a failing drive that is slow to read, you will get the occasional “You don’t currently have permission to access this folder. Click Continue to permanently get access to this folder” block that may never (or take forever to) finish.

You can avoid this by using an elevated instance of Explorer. However, the only option in Task Manager is to restart the Windows Explorer process so it’s impossible from a command prompt.

The solution is to perform the following commands from within an elevated session of PowerShell:

taskkill /f /FI "USERNAME eq $env:UserName"/im explorer.exe
c:\windows\explorer.exe /nouaccheck

Windows 11 – Remote Desktop stuck on “Estimating connection Quality”

A client RDP machine running Windows 11 may get stuck on “Estimating connection Quality” when connecting to some servers that are not up to date. To fix, add:

HKLM\Software\Policies\Microsoft\Windows NT\Terminal Service\Client

Add DWORD (32bit)

fClientDisableUDP  = 1

No need to restart the computer but kill stuck background Remote Desktop processes before trying it again. The previously-stuck sessions continue to run even if you close the RDP when it’s stuck on “Estimating connection Quality.”