- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Restrict Windows Server Access to a Specific Active Directory Group
You are working on securing your Windows Servers, and as part of the effort, you want to make sure that only the correct people can log into them. You want to make sure that the employees on the sales team cannot access the servers via remote desktop. In order to do this, in this hands-on lab, you are going to create a Group Policy to deny access to any user in the **Sales** group if they try to log in.

Lab Info
Table of Contents
-
Challenge
Configure the Active Directory Domain Services Environment
- Confirm the private IP address of the domain controller VM is set to Static
- Install Active Directory Domain Services
-
Challenge
Restrict Access to Domain Controller Using Group Policy Object
- Configure the following users and groups:
- Create the Domain Admin user
- Create a Sales group
- Create an awesomesales user and add it to the Sales group
- Download the
configureusersandgroup
PowerShell script from the GitHub repository
- Create a Group Policy Object
- Deny remote access to the Sales group using the Deny log on through Remote Desktop Services group setting
- Configure the following users and groups:
-
Challenge
Confirm Sales User Cannot Remotely Connect to Domain Controller
- Log in to the VM
- Attempt to remote into the domain controller virtual machine using the Sales user account
- Confirm that the settings have been applied by the GPO
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.