Admin removed from RDP group Fix for Azure Portal

Admin removed from RDP group Fix for Azure Portal

  1. You were unable to RDP to the Azure VM “dc-sbs-01”, encountering the error “To sign in remotely, you need the right to sign in through Remote Desktop Services.  By default, members of the Administrators group have this right.  If the group you're in doesn’t have this right, or if the right has been removed from the Administrators group, you need to be granted this right manually.”.

 

 

 

  1. I have shared with you that this happens when the user that is trying to login using RDP, is not part of the local group Remote Desktop Users on the machine. By default, any machine will allow to RDP users that belongs either the Administrators or Remote Desktop Users local groups. So, it is possible that someone by mistake have changed that.

 

  1. To mitigate the issue, we started by accessing Serial Console. Please find below the steps we followed to launch the CMD instance to interact with the VM:

 

    1. In the Azure portal, on the VM blade, we clicked on “Serial Console”, under “Support + troubleshooting”. 
    2. After connecting to the console of the VM, you typed “cmd” to start the channel. You also got the name of the channel. 
    3. You switched to the channel running the CMD instance, by typing “ch -si 1”.
    4. Once you hit enter, it switched to that channel. You hit a second time and it asked for user, domain and password.
    5. After adding valid credentials, the CMD instance opened and we could interact with the VM.

 

  1. Since this VM is a domain controller, we added the domain user to the Remote Desktop Users group by running the below command:

 

net localgroup administrators domainname\username /add

 

  1. After this, and without the need for reboot, you were successfully able to connect to the VM via RDP.
    • Related Articles

    • Server RDP Grace Period

      https://www.360ict.nl/blog/no-remote-desktop-licence-server-availible-on-rd-session-host-server-2012/
    • How do I migrate Altaro backups to new storage?

      http://support.altaro.com/customer/portal/articles/2139129
    • Uninstalling Beachhead and Decrypting Files

      In Beachhead Portal, set required PC to "Inactive" and run the installer on the PC again, this will prompt saying it will uninstall Simply Secure. Alternatively, set PC to "Uninstall" in Portal and will uninstall. First option shows the progress so I ...
    • Cannot Share your own calendar Office 365

      If you encounter that you do not have permission to share your own Calendar. When I done this for Neuromod Medical It turned out that the user had shared her own calendar to herself with view only permissions on  a local Outlook on their PC and then ...
    • Exchange Online Powershell Add / Remove delegated mailbox

      Connect to Exchange Online PowerShell https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell?view=exchange-ps Set-ExecutionPolicy RemoteSigned $UserCredential = ...