GitHub Bluesky Medium CodePen YouTube
×
GitHub Bluesky Medium CodePen YouTube

Setting up RDP access via GPO for Windows clients

In a Windows Server environment, Remote Desktop Protocol (RDP) is disabled by default for security reasons. To enable RDP access for employees using Windows clients, you need to configure the correct settings via Group Policy (GPO) in Active Directory (AD).

Open Active Directory Users and Computers

Open the Server Manager, click on Tools, and select Active Directory Users and Computers.

Organize Users and Computers

Navigate to your domain structure and verify the Organizational Units (OUs) for Computers and Users.

Add Users to a Security Group

Create or manage a group for Remote Desktop users and add the necessary users.

Open Group Policy Management

In the Server Manager, go to Tools and select Group Policy Management.

Create a New Group Policy Object (GPO)

Create a new GPO named Allow User Remote Desktop and link it to the desired OU.

Edit the Group Policy

Right-click on the GPO and select Edit to configure it.

Add Users to the Remote Desktop Group

Navigate to Computer ConfigurationPoliciesWindows SettingsSecurity SettingsRestricted Groups and add the required group.

Enable Remote Desktop in the GPO

Go to Computer ConfigurationPoliciesAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostConnections and enable Allow users to connect remotely using Remote Desktop Services.

Enable Network Level Authentication

Under Remote Desktop ServicesSecurity, enable Require user authentication for remote connections by using Network Level Authentication.

Configure Firewall Rules for RDP

Under Windows Defender Firewall with Advanced Security, create a new Inbound Rule for Remote Desktop.

Force Group Policy Update

Run the command gpupdate /force in PowerShell or Command Prompt as an administrator on both the server and the Windows client to immediately apply the new Group Policy settings.

gpupdate /force

Test the Remote Desktop Connection

Open Remote Desktop Connection, enter the target computer's name, and log in using the appropriate credentials.

Verify Successful Connection

If everything was configured correctly, you should now be able to remotely access the computer.

Remote Desktop Connection in vSphere Client

You can also test the Remote Desktop connection within a virtualized environment like vSphere Client.

Final Confirmation of Successful RDP Access

If all configurations are correct, the user should now have full Remote Desktop access to the target machine.

Congratulations! Remote Desktop access via Group Policy is now successfully set up.