By Ellie / Last Updated November 24, 2022

Get a message: This remote connection could harm your computer



“When I try to connect to a remote desktop, a message appears which says something like "This remote connection could harm your local or remote computer. Make sure that you trust the remote computer before you connect". Why would it harm my PC? I can understand that if I am sharing local resources or something like that, but if I am just connecting to a remote desktop how would that harm my computer? How can I remove the warning?”

- Question from  Stackexchange

This remote connection could harm your PC

Why would appear “This remote connection could harm your PC?”

Briefly, the warning is issued because there have been some very infamous RDP exploits of it in the past, such as vulnerability to attacks on non-encrypted connections. After describing the cause for the warning, let's look at the potential threats that the user may face.

  • User activity tracking and keylogging. In essence, an untrusted RDP remote server can record all your activities on the server, including the websites you browse, the files you download, the files you access, the passwords you enter when you access the remote service through the RDP server and essentially track your complete session, which may have a bad effect on your important data.
  • Client infection via remotely hosted files. Any files you download from the remote server that is hosting an RDP session may have been tampered with or infected with malware. You may erroneously believe any of these files and influence your work or something else.
  • Man-in-the-middle. Similar to user activity tracking, the attacker is active on the RDP server to which you connect and is listening in on your RDP client to the RDP server connection. Aside from being able to inspect the contents of exchanged network packets, a man-in-the-middle can also alter them. The RDP session can be secured using TLS, effectively prohibiting eavesdropping on it, however, this isn't always the case when connecting to other computers via the RDP server. Brief, the whole session of your remote connection is not private actually.
  • Hacking attacks. An attacker gains your trust and tricks you into entering an RDP server address that you think you can trust when establishing a new session, but the address you enter is actually the hacker's choice. The hacker can host an RDP server at this address for the sole purpose of recording your login credentials for another real RDP server that you intend to connect to.

How do I remove the warning?

After knowing the reason and the possible risks, you may have a thorough understanding of the warning “This remote connection could harm your computer”. So, how do we get rid of the connection warning so that we won’t be asked each time? Here in this part, we’ll give you the concrete steps on it.

✎ Pay attention: You can check the option “Don’t ask me again for connections to this computer”. If it prompts still, follows the methods below to take it away.

Step 1. Press Win + R and then enter “gpedit.msc”. Hit “OK”.

Run Box Gpedit

Step 2. Navigate to Computer Configuration\Administrative Templates\System\Credentials Delegation

Credentials Delegation

Step 3. Open the policy “Allow Saved Credentials with NTLM-only Server Authentication” (or “Allow Delegating Saved Credentials with NTLM-only Server Authentication” for Windows 7)

Allow Delegating

Step 4. Select “Enabled” and click on “Show”. Entered " TERMSRV/* ” which covers any server.

Show Delegating

 Step 5. Exit the Policy Editor, close the other screens, and run “gpupdate /force”at the command prompt (elevated cmd may be required)


Step 8. Test your changes to the local policy by establishing a connection again, choosing to save the password and then connecting.

Step 9. Log off right away and open the RDP connection once more to confirm it saved your credentials. Finally, tick the option “Don’t ask me again for connections to this computer”.

AnyViewer: Securely & privately get remote access

After the operation, are you still meeting with the warning “This remote connection could harm your computer” when you get remote access to a server? If it prompts still or you are worried about the security of RDP, we recommend a totally secure & easy-operated remote access software-- AnyViewer.

AnyViewer is secured by Elliptic Curve Cryptography (ECC) encryption, which means the whole remote connection is being protected and the data won’t be leaked. And with an advanced plan, you can also enjoy the feature Privacy Mode, with which the screen of the host PC will be blackened and the keyboard & mouse will be disabled, keeping your remote work invisible and private.

And the easy setup and operation of AnyViewer won’t disappoint you, for example, you can control the remote PC with one click after logging into the same account on 2 devices. Tick the blue button and enjoy AnyViewer right now.

Note: If you want to control a PC from an iOS device, you can try AnyViewer iOS version.

Download Freeware Win 11/10/8.1/8/7
Secure Download

 Step 1.  Install and run AnyViewer and then open it. Go to the “Log in” tab, click on “Sign up”.

Log in to AnyViewer

Step 2. Fill in the information and sign in to this account on the two computers. Once logged in, the PC will be assigned to the account automatically.  

Sign up for AnyViewer

Step 3. Then, click "Device", choose the PC that will be accessed and choose "One-click control". Then, you are able to take full control of the remote PC with one click. And you can view the files, run applications or help troubleshoot issues on the host computer. 


★ Note: If you want to experience the Privacy Mode, you can upgrade your account and then click on "Connect in privacy mode". Then the screen of the remote PC will be blackened.


In this post, we explain the reason and the risks of the warning “The remote connection could harm your computer” as well as tell the way on how to get rid of the warning. If you are still troubled by the warning or taking care of the security of RDP, you can also resort to a secure remote access software-- AnyViewer to make your remote session safer.