Thank you for the helpful link I tried all of these so everything should be in order. However, the error still persists.
What I do not understand is why setting Logintoconsole=True in my case seems to solve the issues. Could it relate to some recent RDP security patch?