Because of the need, in a large LAN on a friend's computer Remote Desktop Connection control.
Set "Allow users to connect remotely to this computer" on his computer side.
Then run MSTSC to open the Remote Desktop, fill in the IP for access when it is prompted "due to account restrictions, you cannot log in."
This is due to the fact that the "Local account with blank password allows only console login" is set in Windows security policy.
This is a simple solution.
First, set the password and then login
Second, change the settings "local account with blank password only allow console login" is disabled.
The change method is as follows:
1. Open "Group Policy". --gpedit.msc
2. Expand: Computer Configuration-windows Settings-security settings-Local Policies-security options
3. Find "account: Local account with blank password only allows console login"
4. Change the properties in the diagram to "disabled" on the line.
Remote Desktop Connection Prompt "You cannot log on due to account restrictions" to resolve