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

Working with Windows Accounts and Security Policies
In this lab, we will learn how to configure Windows accounts and security policies. Specifically, we will set password requirements, configure account lockout settings, and create a temporary user account that expires in one week. NOTE: Once the lab is ready, please wait 4-5 additional minutes before attempting to remote desktop to the Windows machine. Prior to that, the provided credentials will not work. This is because the Windows machine runs several preparation scripts once it starts.

Lab Info
Table of Contents
-
Challenge
Set password requirements on the local server.
NOTE: Once the lab is ready, please wait 4-5 additional minutes before attempting to remote desktop to the Windows machine. Prior to that, the provided credentials will not work. This is because the Windows machine runs several preparation scripts once it starts.
- Open the Server Manager.
- From the Tools menu, select Local Security Policy.
- Expand Account Policies, and select Password Policy.
- Configure the following:
- Maximum password age = 180 days
- Minimum password age = 3 days
- Minimum password length = 12 characters
-
Challenge
Configure the account lockout settings.
- Open the Server Manager.
- Click Tools, and select Local Security Policy.
- Expand Account Policies, and select Account Lockout Policy.
- Set the following values:
- Account lockout threshold = 3 invalid logon attempts
- Account lockout duration = 10 minutes
-
Challenge
Create a temporary user account.
Create a temporary user account called
contractor1
that will expire one week from today.- Open the Command Prompt as Administrator.
- Run the following commands (remember to replace
<MM/DD/YYYY>
with the date one week from today):
net user contractor1 Pinehead123abc! /add net user contractor1 /expires MM/DD/YYYY
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.