The error, a user account restriction is preventing you from logging on, is common when you try to access the remote desktop. Here is a real case:
Hello, I'm trying to connect to my computer ( Windows 10 ) from macros using Microsoft remote desktop but :
1) it asks me for a User Account ( Username & Password ). Should I type the user that I use on Windows? or is it a special account? 2) When I use the name of the user that I use for Windows, it gives me an error, saying: We couldn't connect to the remote PC because a user account restriction is preventing you from signing in. Contact your network administrator for assistance. Error code: 0xc07
I'd be obliged if you would help me in this case. – LovesSorrowanswers.microsoft.com
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
See, the error that you can’t log into the remote desktop is not a rare problem, but you can tackle this problem easily with the following two methods.
Fix 1: Disable the Restrict Delegation of Credentials Policy
Account restrictions are preventing this user from signing in usually because of the restrictions caused by policies. You can disable the corresponding policy to try to get rid of this error.
Step 1: Press Win + R to open the Run window.
Step 2: Type gpedit.msc into the text box and hit Enter to open the Local Group Policy Editor window.
Step 3: Navigate to Computer Configuration > Administrative Templates > System > Credentials Delegation. On the right pane, you need to choose Restrict delegation of credentials to remote servers.
Step 4: Double-click on the policy and opt for Disabled.
Step 5: Click Apply and OK to apply the change.
Fix 2: Disable Local Account Use of Blank Password Policy
If you access the remote desktop with an account that doesn’t have a password, you may also receive the error message: A user account restriction is preventing you from logging on. In this case, you can disable the account limit to see whether your problem is resolved.
Step 1: Press Win + R to open the Run window.
Step 2: Type secpol.msc and hit Enter to open the Local Security Policy window.
Step 3: Head to Local Policies > Security Options, then find and select the Accounts: Limit local account use of blank passwords to console logon only policy.
Step 4: Double-click to open this policy and choose Disabled from the prompt window. Click Apply > OK in sequence to save and apply the change.
After trying the above steps, you can try to access the remote desktop to see if you can log in successfully.
Bottom Line
It is not a tricky error that a user account restriction is preventing you from logging on. Many people handle this problem with the help of the above methods. Additionally, if you have lost important files, you can try MiniTool Power Data Recovery. The free edition gives 1GB of file recovery capacity for free.
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
Hope you can get useful information from this post.