Remote Desktop connection error "User account restrictions will prevent you from logging in..."

Posted Jun 16, 20201 min read

problem

When using remote desktop connection in win10, there is an error problem that user account limit(for example, time limit) will prevent you from logging in...:

1592015949255

This is because the user password of the remote system is empty, and by default, only local accounts with blank passwords are allowed to log in to the console

solve

Use win logo+R in the remote system to enter secpol.msc and press Enter:

1592016068917

On the left side of the pop-up window, select Local Policies -> Security Options, on the right side select Account:Local accounts with blank passwords are only allowed to log in to the console Double-click to edit:

1592016206795

Select Disabled and click Confirm to solve the problem

1592016250361