WindowsServer2016 Notes Part1 ADDS (DC)
WindowsServer2016 Notes Part1 ADDS (DC)
Windows 10:
Editions:
Home, Education, Enterprise, Pro
AD (Active Directory): A Directory Services Solution by Microsoft for
Centralized Authentication Services
AD is used for creating User Accounts, Groups, Domains, Sub-Domains, GPOs, etc...
AD Stores info about Network Objects in a Database form (Global Catalog)
> Physical NW Objects: PCs, Servers, NW Printers, ...
> Logical NW Objects: Users, Groups, Domains, Sub-Domains, OUs, GPOs, ...
Types of DC:
> Global Catalog (GC): Primary Read-Write Database of AD
> Read-Only Domain Controller (RoDC): Secondary Read-Only Copy of AD
> Install Windows Server 2016 -> Standard (Desktop Experience) (with GUI)
> Partition Size -> 40960 MB
> Assign Administrator Password -> Admin@123
> Login as Administrator
> Initial Configuration
>> Server Manager -> Manage Menu -> Server Manager Properties
-> Tick "Do not start Server Manager automatically"
-> 'Add a new Forest' -> Root Domain Name: ctrls.com (or any other name)
-> Next -> Next -> DSRM Password: Admin@123 -> Next -> Next -> Install
** In Win10 PC:
** In DC Server:
AD Group Scopes:
> Domain Local
> Global
> Universal
==============================================
Practice of the day:
Open Server Manager in DC Server -> Tools -> Active Directory Users & Computers
-> Right-Click on 'Users' in left panel -> New -> Group
-> Give Name like "hrgrp", "itgrp", "nwgrp", "salesgrp", etc.
-> Control Panel -> 'User Accounts' -> Again 'User Accounts'
-> 'Manage User Accounts' -> Add Domain Users as 'Administrator' -> Finish
-> Logout from localadmin
-> Login as Domain User for whom Admin rights are given
-> Test by clicking any 'Blue-Yellow Shield' icons
==============================================
Organizational Units (OU) in Active Directory:
> Logical Object in AD to act like a container to segregate, manage and maintain:
Users, Groups & Computers based on Location, Project, Section, Dept, etc...
> OUs are also used for applying GPOs
Group Policies:
'Group Policy' is a set of policies to modify behaviour of Member Server OS or Client PC OS.
Group Policies are configured in the DC Server using GPM Tool by creating GPOs.
Group Policy Objects (GPOs) are a list of such selected Group Policies under two categories:
> Computer Configuration: Impacts Computers in the OU where the GPO is linked
whoever may login to that Computers
> User Configuration: Impacts Users in the OU where the GPO is linked
where ever these Users login
Starter GPOs
A Starter GPO is a Template for creating new GPOs with pre-selected Group Policies
commonly needed in other GPOs.
Starter GPOs cannot be linked to Domains and OUs.
After the GPO is created using a Starter GPO, both GPO and Starter GPO will be separate.
==============================================
Practice of the day:
** In DC Server:
-> Right-Click existing OU like "Chennai" -> New -> Organizational Unit
-> Give Name like "Chennai-NWTeam", "Mumbai-DBTeam", etc.
> Open Server Manager in DC Server -> Tools -> Group Policy Management
-> Expand Forest -> Expand 'Domains' -> Expand Domain Name "ctrls.com"
-> Expand all OUs and folder 'Group Policy Objects'
-> Right-Click on folder 'Group Policy Objects' -> New -> Give Name to a GPO
-> Expand 'User Configuration' -> Policies -> Admin Templates -> All Settings
-> Open necessary policy settings and select 'Enabled' or 'Disabled' as needed
Ex: "Do not allow Snipping Tool to run" -> Enabled
-> In 'Group Policy Management' Window -> Click Green 'Refresh' button under top menu
-> In 'Group Policy Management' Window -> Right-Click any OU -> Link an existing GPO
-> Select the new GPO and click 'OK'
-> Restart Win 10 PC and login with any Domain User of the OU where new GPO is linked
-> Test the working of the policy 'Enabled' or 'Disabled' in the GPO linked to the OU
** In Win10 PC which is in the OU where a GPO is linked:
-> Login as any 'Domain User' of the OU where the GPO is linked
-> 'Run' -> cmd -> gpupdate /force
Note: The above command is to pull Group Policies from Active Directory,
which is a cumulative list of all GPOs linked to the OU of the User
and the OU of the Computer in which that User logs in.
** In Win10 PC:
==============================================