Hi Sudipta Patnaik,
In addition to the response of Suwarna S Kale,
The VMAccess Extension is used to manage administrative users, configure RDP, and check or repair disks on Azure Windows virtual machines if you become locked out or if RDP is misconfigured. If you remove the extension but RDP is already set up correctly, you can able to connect via RDP. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-windows
How to check if RDP is enabled:
- By running sysdm.cpl, you must press Win + R, type sysdm.cpl, and then hit the Enter key. Now, to view the relevant Remote Desktop settings, locate the “Remote” tab. Then, you can easily check if the Remote Desktop feature is enabled or not. To do this, check if the “Allow connections to this computer” is selected. By default, RDP only allows local Administrator group members to connect remotely to a machine. Click Select Users to give additional users access to RDP.
(or)
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server and check below configurations RDP is enabled if the fDenyTSConnections key value is 0. RDP is not enabled if the fDenyTSConnections key value is 1.
However, if you later lose access (for example, you forget the password or RDP is disabled), you will not be able to use Azure's built-in tools to reset credentials or repair RDP settings until you reinstall the VMAccess Agent extension.
If the information is helpful, please click on 'Upvote"
If you have any queries, please do let us know, will help you.