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
tools
then selectActive Directory Users and Computers
- Right-click on name.local
new
thenOrganizational Unit
- Now create
Accounts
,Computers
,Groups
- Go to
- To add users to the OU
- Right-click on the Accounts
New
thenUser
- Right-click on the Accounts
- To add a computer to an OU
- Do the same as before except select
Computer
instead ofUser
- Do the same as before except select
- Creating Group Policy for OU
- Select your
Groups
then right-click on the AccountsNew
thenGroup
- Here you want to add the users to that policy
- Select your
- Group Policy Management
- Go to
tools
then selectGroup Policy Management
- Select the OU created before and
Create a GPO in this domain, and Link it here...
- 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 - Next got to
Delegations
tab and toDomain Computers
and change the Permissions so Deny is checked forApply Group Policy
- Go to
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
Edit
- Now if you want to remove the recyling bin navigate to
User Configuration/Administrative Temp/Desktop
and under desktop will be everything that can be changed
- Right-click and select
- To check if GPO is applied
- On a domain computer and login then pull up a power shell and type
gpresult /r
- under
Applied Group Policy Objects
will show what rules are applied gpudate /force
= will update the group policy by force
- under
gpresult /scope computer /r
= shows what is applied to current computer
- On a domain computer and login then pull up a power shell and type