Thursday, May 18, 2017

How to use two concurrent RDP sessions on Windows Server 2012

 

Default Windows 2012 server allowed only one connection and if you want more RDP connections, then the option is to go with the RDS. But if you want to allow two Admin RDP sessions, Then you can follow the below mentioned steps to enable that.

Go into Group Policy Object Editor and then find,

Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.

Then disable the Restrict Remote Desktop Services users to a single Remote Desktop Services session as shown below,

Restrict Remote Desktop Services users to a single Remote Desktop Services session 
Restrict Remote Desktop Services users to a single Remote Desktop Services session 
Previous Setting 
C) Not Configured 
C) Enabled 
@ Disabled 
Options: 
Next Setting 
Comment: 
Supported on: 
At least Windows Server 2003 
Help: 
This policy setting allows you to restrict users to a single Remote 
Desktop Services session. 
If pu enable this policy setting, users who log on remotely by 
using Remote Desktop Services will be restricted to a single 
session (either active or disconnected) on that server. If the user 
leaves the session in a disconnected state, the user automatically 
reconnects to that session at the next logon. 
If you disable this policy setting, users are allowed to make 
unlimited simultaneous remote connections by using Remote 
Desktop Services. 
If you do not configure this policy setting, this policy setting is 
not specified at the Group Policy level

If you want to update immediately, Run GPupdate command.   

I have used this in my Azure environment. If you are also going to use this cloud environment, then you have to check whether there is an endpoint created for that particular VM and that is allowed. (Because of the security reasons you will be changing the RDP- 3389 public port and the source port. Then you have to make sure the given ACL is allowed to connect from the outside.)

Friday, May 5, 2017

How to reset Azure VM Built-in account

 

With the Azure RM portal, resetting the Built-in Administrator account is not a difficult task. But this feature will only support for the Local admin account password reset.

To do this you need to go to Support + Troubleshooting > Reset password. This can be found under the Virtual machine.

Under mode, you can select "Reset Password" or "Reset Configuration Only". Then  the selected blade will be displayed.

If you want to Reset the Remote Desktop service configuration, then you can select the "Reset Configuration Only".

R Update X Discard 
This uses the VMAccess extension to reset the built-in administrator account and reset the Remote Desktop service configuration. Leam more 
Mode O 
Reset password 
Reset password 
Reset configuration only 
Al user 
* Password 
* Confirm passw'ord

To reset the password, The VM need to be up and running. If not this service will not be available.

R Update 
X Discard 
The virtual machine must be running before using VMAccess. 
This uses the VMAccess extension to reset the built-in administrator account and reset the Remote Desktop service configuration. Leam more 
Mode O 
Reset password 
* User name O 
Al user 
* Password 
* Confirm passe.'ord