Lab 5.0: ADDS Group Policy
Summary
This lab was very straight forward except I hit a roadblock when it came to the disablelastlogin. Overall it was a very fun lab and I hope I do well when everything is deleted.
Assessment Prep
Remember to enable ICMP on windows and follow my documentation.
Commands / Steps
To add an Organization Unit or OU
Go to
toolsthen selectActive Directory Users and ComputersRight-click on name.local
newthenOrganizational UnitNow create
Accounts,Computers,Groups
To add users to the OU
Right-click on the Accounts
NewthenUser
To add a computer to an OU
Do the same as before except select
Computerinstead ofUser
Creating Group Policy for OU
Select your
Groupsthen right-click on the AccountsNewthenGroupHere you want to add the users to that policy
Group Policy Management
Go to
toolsthen selectGroup Policy ManagementSelect the OU created before and
Create a GPO in this domain, and Link it here...Now remove
Authenticated Usersand add the name of the Group Policy created beforeNext add the
Domain Computersso this affects all computers in the DomainNext got to
Delegationstab and toDomain Computersand change the Permissions so Deny is checked forApply Group Policy
To Clear Login After Every Logout * Create DisableLastLogin under the Computers OU * Now remove Authenticated Users and add the name of the Group Policy created before * Next add the Domain Computers so this affects all computers in the Domain * Make sure Apply Group Policy is checked under the Delegation tab for Domain Computers * Now right click on DisableLastLogin and select edit Computer Config/Policies/Windows Settings/Security Settings/Local Policies/Security Options right click on Security Options then find Don't display last signed-in and enable
PLEASE HIT APPLY WHEN YOU WANT TO CHANGE POLICY
To edit this new GPO
Right-click and select
EditNow if you want to remove the recyling bin navigate to
User Configuration/Administrative Temp/Desktopand under desktop will be everything that can be changed
To check if GPO is applied
On a domain computer and login then pull up a power shell and type
gpresult /runder
Applied Group Policy Objectswill show what rules are appliedgpudate /force= will update the group policy by force
gpresult /scope computer /r= shows what is applied to current computer
Last updated