In this hands-on lab, you will learn the steps needed to create and edit a Group Policy in a Windows Server.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a New Policy Object
In this first objective, you will log onto the
main-vm
and create a new Group Policy Object (GPO) namedLearning
.- Edit a Group Policy Object — Editing Folders
For the second objective, you should create a new computer preference that will delete the
C:Temp
folder and all files in it if the computer name ismain-vm
, the folder exists, and the C: drive free disk space is less than 1 GB.- Edit a Group Policy Object — Editing Files
In the final objective, you should:
- Open Notepad and create a file named
file.txt
and save it to the desktop. Then, create a folder namedLearning
and save it to the desktop. - Create a computer preference to create a file named
itworked.txt
in theLearning
folder if afile.txt
exists on the desktop. - Verify the operation.
- Edit the GPO to instead delete the
itworked.txt
file if it exists in theLearning
folder. - Verify the operation.
- Open Notepad and create a file named