https://techdirectarchive.com/2021/08/11/the-connection-was-denied-because-the-user-account-is-not-authorized-for-remote-login-how-to-add-and-remove-remote-desktop-users/
The connection was denied because the user account is not authorized for remote login: How to add and remove Remote Desktop Users