1. First, we use the shortcut key win+r on the remote Windows computer to open the Run window. In the Run window, enter CMD to open the Command Prompt window;
2. Open the Local Group Policy Editor by entering the Gpedit.msc command directly in the Command Prompt window;
3, in the "Local Group Policy Editor" click "Computer Configuration"--> "Windows Settings"--> "Security Settings"--> "User Rights Assignment";
4. In the User Rights Assignment view, look for deny logon through Remote Desktop Services, and then double-click to open it.
5. In the "Deny logon through Remote Desktop Services" Property window, see if you have remote Desktop users and domain user accounts that need to be logged in, such as please delete;
6, and then in the User Rights Assignment view, look for "Allow logon through Remote Desktop Services," and then double-click to open it;
7. In the "Allow logon through Remote Desktop Services" Property window, see if you have remote Desktop users and domain user accounts that need to be logged on, if not added;
8, for example, here we add a YYY user account (note that the YYY account itself is there), click "OK" button;
9, then, with another host remote login to the host, enter the appropriate IP address, username and password and then click "OK."
10, the end will find that you can log on to the remote host normally, this solves the problem that can not be logged in.