How to Fix Remote Desktop CredSSP Error
Detailed guide on fixing the Remote Desktop CredSSP error on Windows via CMD, helping you quickly reconnect to your VPS when encountering authentication failures or remote access issues.
1. What Is the CredSSP Error?
CredSSP is an authentication provider used by Windows during Remote Desktop connections. This component helps safeguard credentials when a computer connects to a remote Windows VPS or server.
When your computer has updated security patches but the VPS still runs an outdated version, Windows may refuse the connection and show a CredSSP error.
This error is not directly related to CPU, RAM configuration, or hard drive capacity of the VPS. The primary cause stems from security policy incompatibility between the two devices.
2. How to Quickly Fix Remote Desktop CredSSP Error Using CMD
This is a simple method, suitable when you need to access your VPS again in a short time. When connecting via Remote Desktop to a Windows VPS, you may see this message:

This error typically occurs when the security update versions between the personal computer and the Windows VPS do not match. You can resolve it quickly using CMD according to the instructions below.
Step 1:Press the Windows key on your PC or Laptop, and type “cmd” into the search box. When the "Command Prompt" application appears, right-click the icon, then select 'Run as Administrator' to launch it.
Note: Running with Administrator privileges is mandatory

Step 2:When the black cmd window appears, copy the command below, right-click inside cmd and select 'Paste' to paste the command, then press Enter.
Note: In CMD, you cannot paste commands using the Ctrl+V key combination.
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /f /v AllowEncryptionOracle /t REG_DWORD /d 2
If the message appears:The operation completed successfully ->means the command was executed successfully.
After the command runs successfully, reconnect to the VPS to maximize work performance and manage the system professionally!
3. Why does the CredSSP error occur?
CredSSP is an authentication mechanism used by Windows during Remote Desktop connections. Errors usually occur in the following cases:
- The computer has updated Windows, but the VPS has not.
- The VPS has been updated, but the computer is still using the older Windows version.
- Windows Update on the VPS has been disabled for too long.
- Incompatible security policies between the computer and the VPS.
- The VPS has just installed an update but has not been restarted yet.
Frequently asked questions
Does the CredSSP error cause data loss on the VPS?
No. This change only affects the Remote Desktop authentication policy and does not delete data on the VPS.
What if the command runs successfully but it is still inaccessible?
Restart your computer, verify the IP, RDP port, and VPS operational status.
Do I need to run commands on the VPS?
Typically, the command is run on the computer currently being used to connect to Remote Desktop.
CONCLUSION
The Remote Desktop CredSSP error can be quickly resolved using CMD or Group Policy. However, to ensure long-term safe and stable operation, you should still keep Windows fully updated on both your personal computer and the VPS.
In practice, errors such as CredSSP, firewalls blocking ports, incorrect RDP configuration, or frozen operating systems can occur at any time. Therefore, choosing a VPS provider with stable infrastructure, a proactive management control panel, and good technical support will save you considerable troubleshooting time.
With a diverse service catalog, flexible management capabilities, and dedicated ongoing support, VPS from VPTS is a compelling choice for customers seeking a stable, easy-to-operate server solution tailored to various needs.
VPTS– Not only providing VPS, but also delivering stable operational solutions and long-term partnership with customers.
VPTS – Comprehensive Digital Infrastructure Solutions Provider
VPTS is a digital infrastructure solution provider in Vietnam, serving deployment, operation, and data storage needs for individuals, developers, and enterprises. The service ecosystem includesVietnam VPS, International VPS, VPS Anti DDoS, Hosting cPanel, dedicated server, Rack rental, Proxy IPv4/IPv6, S3 MinIOandCloud Storage.
Besides providing infrastructure resources, VPTS also focuses on assisting customers with deployment, configuration, and practical troubleshooting. Content on the VPTS Blog is drawn from common scenarios in operating VPS, servers, and online systems, helping readers understand root causes and apply clear solutions.
VPTS – Stable infrastructure, flexible solutions, and continuous partnership throughout operations.
VPTS Team Contact Information
Website: https://vpts.shop
Facebook: https://www.facebook.com/trang.vpsttt/
Zalo OA: https://zalo.me/vpstttgroup
Hotline: 0328 812 674