Skip to main content

How to permit users to logon remotely to a Domain Controller


Active Directory Domain Controller (AD-DS) is an important Windows Infrastructure role. In some circumstances you will have to provide remote access (RDP) to your helpdesk- and/or support personnel to connect to those machines. For me I needed to develop a plan to allow non “Domain Admin” personnel to remotely connect to our branch office DC’s.
Allowing non admin users to remotely connect to a domain controller requires couple of steps. Creating a security group and changing the “Default Domain Controller” group policy is how achieved that in my configuration.
If you don’t do anything then most probably people will contact you saying their remote desktop connection has been denied. E.g.
Remote Desktop Connection: The connection was denied because the user account is not authorized for remote login.

Start with creating a new windows security group.

Add all required user accounts to the new security group. After you are have added the user accounts, make the new security group member of “Remote Desktop Users” builtin group. Without this step these users won’t be allowed to use the Remote Desktop Protocol on the Windows Server.

Start Group Policy Management Editor and edit “Default Domain Controller” policy. Locate “Allow log on through Remote Desktop Services” User rights setting (Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\). Add the new security group and close the management console.

If you are too quick trying to log on with a supporter account, Domain Controller will shows you the following message.
CloseTo log on this remote computer, you must be granted the Allow log on through Terminal Services right. By default, members of the Administrators group have this right. If you are not a member of Administrators group or another group that has this right, or if the Administrators group does not have this right, you must be granted this right manually.

Make sure to wait that the “Default Domain Controller” policy has been processed or run gpupdate /force. I run the gpupdate command line and tried to log on with a supporter account. The remote desktop connection worked successfully and I was not a domain admin with this supporter account!


Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

How to configure.NET Framework 3.5 on Windows 8

If  an  utility  requires the .NET framework 3.5, however would not in finding that  version enabled  in your computer, it shows the following message box in Windows 8, both all the way through set up, or while you open the applying for the first time. In the message box, choose Install this feature to enable the .NET Framework 3.5. This option requires an Internet connection. If in case you have ever tried to update the . net   frame work  3.5 from windows features you will get 0x800F0906 or 0x800F081F error . In this article I am showing How to fix . net  framework 3.5 installation in windows 8 or 8.1 error code 0x800f0906  or 0x800F081F.      . NET Framework 4.5 is enabled by default in Windows 8 and Windows 8.1. Windows 8 & Windows 8.1 does not include .NET 3.5 by default, but the files for .NET 3.5 are available on the Wind...

test vpn bandwidth and speed with iperf

This article explains how to use a free utility called iPerf to test the speed of a VPN connection. In this example I am running iPerf on windows but there are other versions available (i.e. Linux). Download iPerf from  http://linhost.info/2010/02/iperf-on-windows/ Put a copy on 2 computers with 1 either side of the VPN. In this example I have put in the c:\triangle folder On the “server” PC open a cmd prompt and navigate to the folder containing iperf. Note on computers running Win7 or Win2008 I recommend running the cmd prompt in elevated mode. Run the command  iperf –s On the “client” PC open a cmd prompt and again navigate to the folder containing iperf. Run the command  iperf –c After a short while the estimated bandwidth is displayed.