Roaming Profile
Roaming Profile
Roaming Profile
Creating a roaming user profile is a two-step process. First you create a test user profile, and
To create a test profile for the roaming user, follow these steps:
1. Log on as Administrator.
2. Click Start, point to Administrative Tools, and then click Computer Management.
3. In the console tree, expand Local Users and Groups, and then click Users.
10. Log on as the test user account that you created in step 7.
A user profile is automatically created on the local computer in the drive:\Documents and
11. Configure the desktop environment, including appearance, shortcuts, and Start menu
options.
1. Create a folder on a network drive in which you can store network profiles. For example:
\\server_name\Profiles\user_name
3. Click the Advanced tab, and then click Settings in the User Profiles section of the
in the "Create a Test Profile" section of this article, and then click Copy To.
5. In the Copy Profile To dialog box, type the network path to the folder.
7. Type the name of the user account that you created in the "Create a Test Profile" section,
12. Click the Profile tab. In the Profile path box, type the path to the network profile folder.
For example, type \\server_name\Profiles\user_name.
NOTE: To make this profile mandatory, rename the Ntuser.dat file as Ntuser.man in the user's
profile folder.
MICROSOFT CERTIFIED SYSTEMS ENGINEER
NETWORK: A network is a collection of computers connected together.
.NETWORKING: is a process of communication between the interconnected
devices basically to share the network resources.
Benefits of Networking:
1. Share resources.
i) Data
ii) Hardware
2. Share S/W
3. Sharing of license
Network is a collection of computers connected together to get benefited from
networking.
Networking: Networking is a process of communication among systems.
Types of Networks:
1) Local Area Network (LAN): Systems connected within the same
geographical area is called LAN. A LAN can span 2 kilometers.
Components of LAN:
1. .NIC (Network Interface Card) 2. Cable – Co axial, cat5 or cat6 3. Hubs or Switches.
2) Metropolitan Area Networking: MAN is a combination of LANs or WANS
located and connected within the same city.
Components of MAN:
1. Router
2. Brouter (Brouter is a combination of bridge or router)
3. ATM Switches
4. DSL connectivity (DSL – Digital Subscriber Link) ex: Star cables
.
3) Wide Area Networking (WAN): Interconnection of LANs or MANs located within the
same geographical area or different area it depends on telecommunication services.
Components of WAN: Same as MAN:
MCSE
Networking devices:
Hubs, Switches, Routers and NICs.
HUB: Hub is a centralized device provides communication among systems when
we have more than 2 computers we need to have a device called hub to
interconnect.
Disadvantage of a Hub:
When we want to transfer some data from one system to another system.
If our network has 24 systems the data packet instead of being sent only to the destined
system it is being send to all the network participants. (i.e. 24 systems.) Hubs follow
broadcasting
SWITCH: It is an advanced version over a Hub.
The main benefit of switch is Unicast. Data packets are transmitted only to the
target computer instead of all.
Switch maintains a table called MIT (Mac Information Table.) which is generated as soon
as we turn on the switch, which acts like an index table and easy the process of finding
the networked system. MIT contains the port no, IP address and MAC address.
MAC: (Media Access Control): It is an address burnt in the NIC by the
manufacturer.
MAC address is of 48 bits in the farm of Hexa decimal.
Every NIC has its own unique MAC address.
MAC address determines the physical location of a system.
ROUTER: Router is a device connects two different networks.
Class A network with Class C network etc.
Routing is a process of communication between two different networks.
Network Topologies:
The way of cabling is called topology.
The architecture of a network is called topology
E.g.: Bus, Star, Ring, and Mesh Topologies.
Bus Topology:
Components of Bus Topology:
1. Co-axial cable (back bone cable)
2. T- connectors
3. BNC (British Network Connector)
4. Terminator
5. Patch cable
Disadvantages of Bus:
If anything goes wrong with backbone cable whole network is down.
Follows a serial communication.
Outdated these days.
Star Topology:
Star topology is an advanced version over bus topology. Where it uses either a
hub or a switch, it uses cat5/6 cables.
It uses connecters called (Recommend Jack) - RJ45
Star topology offers faster data transfer or processing.
Ring Topology:
Ring topology is useful when we want redundancy (fault tolerance) we go with
this type of topology.
Ring topology uses a device called MSAU. (Multi Station Access Unit)
It is a unit inside which a logical ring is formed. This ring ensures the availability
of Network. The availability of ring ensures availability of network.
It was basically implemented in IBM networks.
Logical Topologies: are two types
1. Work group.
2. Domain
Workgroup (peer to peer):
•
Collection of computers connected together to share the resources.
•
No servers are used.
•
Only Client OS is mostly used.
•
Any O/S like, DOS, 95, 98, workstation, win 2000 pro, and XP pro can
be configured as work-group model.
•
Suitable for smaller organizations.
•
Where security is not the criteria.
•
No administrator is required
•
Where we are not using client server based applications. Like oracle,
SQL and exchange etc.
Domain (Client/Server)
Domain is a collection of computers connected together with a server and users
Domain model can have servers like UNIX, Novell NetWare, WIN-NT server,
2000 server, and 2003 server.
Provides centralized administration.
Suitable for medium to large size networks/organizations.
Suitable when we have client server architecture (Back ends & front ends)
Domain offers security and provides logon authentication.
Suitable if security is criteria
Requires an administrator.
The History of MS Network O/S:
1. Desktop O.S.: DOS, 95, WKS, 98, 2k Prof., XP-Prof.
2. Network O.S.: UNIX, Win NT server 4.0, Win 2000 server, Win 2003 server.
Win NT 3.1 – was introduced in 1993
Win NT 3.5 – was introduced in 1994
Win NT 4.0 – was introduced in 1996
Win NT5.0 was renamed as windows 2000 server.
.NET server was renamed as windows 2003 server
WINDOWS 2000
FAMILY
Professional (Client)
Standard Server
Advanced server
Data center server
WINDOWS 2003
FAMILY
Standard Server
Enterprise edition
Advanced server
Data center server
HARDWARE REQUIREMENTS
Windows 2003 Standard Edition:
RAM: Min:128 MB
Rec: 256 MB
Max. RAM 4 GB
Processor: Pentium 550 MHz
HDD free space 1.5GB
SMP: 4 processors
Windows 2003 Enterprise Editions:
RAM: Min:128 MB
Rec: 256 MB
Max. RAM 16 GB
Processor: Pentium 733MHz
HDD free space 1.5GB
SMP:16 processors
Windows 2003 Web Edition:
RAM: Min:128 MB
Rec: 256 MB
Max. RAM 2 GB
Processor: Pentium 550 MHz
HDD free space 1.5GB
SMP: 2 processors
Windows 2003 Data Center Edition:
RAM: Min: 1GB
Rec: 2GB
Max. RAM 64 GB
Processor: Pentium 733MHz
HDD free space 1.5GB
SMP: 64 processors
IP Addressing:
There are two versions of IPs
1. IP version 4: offers IPs up to 4.2 billion (32 bit size)
2. IP version 6: 128 bit size.
IP address is used for identifying the system and provides communication.
IP address is of 32 bits divided in four octets.
Each Octet is of 8 bits, separated by a (.) dot.
IP is a combination of Network ID & Host ID.
Uses subnet mask to differentiate Network ID with Host ID.
Subnet mask acts like a mask between Network ID & the Host ID.
Numbers range between 0-255.
Organizations responsible for assigning IPs to clients.
IANA: Internet Assign Naming Authority.
ICANN: Internet Corporation assigning for name Numbers.
IANA has classified IP addressing into classes.
Class A:
1-126(used in LAN/WAN)
Class B:
128 – 191(used in LAN/WAN)
Class C:
192 – 223(used in LAN/WAN)
Class D:
224 – 239 (used for multi casting)
Class E:
240 – 254 (used for experimentation & research)
Class Format
No of N/Ws
No of Hosts
Subnet mask Range
A
N.H.H.H
28-1126
224 –216.777.214
255.0.0.0
1 – 126
B
N.N.H.H
216-216.384
216 –265.534
255.255.0.0
128 - 191
C
N.N.N.H
224-32.097.152
28 –2254
255.255.255.0
192 – 223
D
MULTICAST
N/A
N/A
N/A
224 – 239
E
RESEARCH
N/A
N/A
N/A
240 - 254
Class A:The first octet is reserved for network ID.
The first bit of first octet is always (0).
Class B: The first two octets are reserved for Network IDs.
The first two bits of first octet are reserved as (10)
Class C: The first three octets are reserved as network portions.
The first three bits of first octet are reserved as (110)
Class D: Used for Multicasting.
The first four bits of first octet are reserved as (1110)
Class D: Used for Experimentation.
The first four bits of first octet are reserved as (1111)
The first bit of first octet is called as priority bit which determines the class of N/W
0.0.0.0. Are reserved as N/W ID.
255.255.255.255 is reserved as broadcast ID.
127.0.0.1 Is reserved as loop back ID
Implementing/Configuring TCP/IP.
On Desktop
Right click on my network places-properties
Double click local area network-Select properties
Click-Use the following ip address
Specify the address in the box
DNS also same as IP address.
Verifying:
Go to command prompt
Type” ping IP address”. (PING: Packet Internet Groper)
ACTIVE DIRECTORY
AD: Is a centralized database where it contains the information about the
objects like users, groups, computers, printers etc.
AD is a centralized hierarchical Directory Database.
AD is a searchable Database.
2003 O/S. when installed (gets installed as a stand alone server) to promoting to
D.C. We have to install A.D.
Domain Controller (D.C.)
A server where A.D. is installed is called D.C.
Functionality of A.D.:
Using A.D. we can organize, manage and control resources.
It provides single point of administration.
Purpose of A.D.:
1. Provides user logon authentication services.
2. To organize and manage user A/Cs, computers, groups and n/w
resources.
3. Enables authorized users to easily locate n/w resources.
Features of A.D.:
1. Fully integrated security system with the help of Kerberos.
2. Easy administration using group policy.
3. Scalable to any size n/w
4. Flexible (install/uninstall)
5. Extensible (modify the schema)
New features in 2003
6. Rename computer name & Domain names.
7. Cross –forest trust relationship.
8. Site-to-Site replication is faster.
Evolution of LDAP:
Earlier we had no database standard; hence TTU & ISO introduced X-500
LDAP (Light Weight Directory Access Protocol): It is an industry standard
directory access protocol used for querying and providing communication among
the objects in A.D.
It is directory access protocol.
It runs on the port no. 389.
DAP: It is based on OSI model.
LDAP: Is based on TCP/IP model
Installing A.D:
Requirements:
Windows 2003 O.S.
A static IP
NTFS partition with 250 MB of free HDD space
DNS (Domain Naming System)
Step1: on 2003 machine
Start > Run> dcpromo>next>next
>Select domain controller for a new domain
>Domain in a new forest >next
>Specify the domain name (Ex: zoom.com)
>Net bios name (do nothing)>Next
>database>next
>Sysvol>next
>Select middle one>next
>Provide pwd>next
>Restart - when it prompts
After installing A.D.
Go to
Start>programs> administration tools
We should notice 5 options like ADUC, ADDT, ADSS, DCSP, and DSP
Safe removal of A.D.
>Start >run >dcpromo
Forceful removal of A.D
.>Start >run > dcpromo / forceremoval
Tools used for:
Active Directory Domains and Trusts:
Implementing trusts
Raising domain/forest functional levels
Adding user logon suffixes
Active Directory Sites and Services:
Configuring intrasite/intersite replication
Configuring global catalog
Creation of sites, site links, subnets.
Scheduling replication
Active Directory Users and Computers:
Managing users/groups
Managing computers.
Managing OUs
Managing Group Policy (Domain Level)
Managing Operations masters.
Raising domain functional level.
Domain controller security policy:
Set account, audit and password policies
Set user rights
Permissions or policies Pertains only to the DC where you set.
Domain security policy:
Set account, audit and password policies
Set user rights
Permissions or policies pertain to the DC as well as to all the domains
within.
DNS
NTFS volume with 250 MB of free HDD space
On Member Server or stand alone machine specify the server’s DNS.
>Start
>run>dcpromo>next>next>next>domain
controller
for
a
new
domain>next>
Child Domain in an existing tree>specify the parent domain’s administrator’s name &
pwd. >Specify the child name>next>netbios name> next> database folder>
next>Sysvol>next>restart.
Installing New Domain tree in an existing forest:
Requirements:
Forest (initial domain controller or root domain controller)
On member server or stand-alone machine.
Specify the server’s DNS.
Start>run>dcpromo>next>next>next>Domain Controller for a new domain.
Select Domain tree in an existing forest.
Specify the root domain’s admin’s name & pwd
Next> specify the new domain name>next>net bios name>next>database >
next>sysvol>next>DNS next>permission compatible >next>restore mode pwd>next
Trust Relationship: Trust is a process of enabling resources of one domain to be
accessed by another domain.
Functional Levels:
1. Domain Functional Level:
A) Windows 2000 mixed
B) Windows 2000 native
C) Interim
D) Windows 2003 server
2. Forest Functional Level:
a) Windows 2000 mixed
b) Interim
c) Windows 2003 server.
Windows 2000 mixed:
By default when we install 2000 or 2003 o/s it gets installed in win 2000 mixed
mode.
This mode supports older versions of win2003. We can add NT, 2000 flavors in
2003 networks.
Windows 2000 native:
It supports only 2000 and 2003; Native mode can have 2000&2003 flavors only.
Interim:
This mode can have NT and 2003. Useful when we upgrade NT to 2003
Windows 2003 server:
This mode supports only 2003 server family.
We can’t join NT/2000 domains
Types of Trusts:
Trust relationships in Windows server2003:
Default two way transitive Kerberos trusts (intra forest)
Shortcut – one or two away transitive Kerberos trusts (intraforest)
Reduce authentication requests
Forest-one or two way- transitive Kerberos trusts.
WS2003 forests WIN 2000 does not support forest trusts
> Only between forest roots
>Creates transitive domain relationships.
External – one way non-transitive NTLM trusts.
Used to connect to /from win NT or external 2000 domains.- manually created.
Realm – one or two way non-transitive Kerberos trusts.
Connect to /from UNIX MT Kerberos realms.
Establishing Trusts:
The Domain where we have user accounts is called trusted domain.
The domain where we have resource is called trusting domain.
Trust between parent and child is two way transitive trusts.
Ex; A trusts B, automatically B trusts A this is a two way trust.
Trust between parent and Grandchild domain is called implicit trust.
One-way trust or Non-transitive Trust: A trusts B, but B doesn’t trust A
Transitive trust (2 ways):
If A trusts B, B automatically trusts A
One way incoming trust:
It means A is getting the resources from B and B is offering the resources.
RAS server
T.S.
Configuring a member server
Requirements:
DC
Stand alone server 2003 flavor
On Stand-alone server:
Configure TCP/IP
Specify DNS server’s address
My computer right click
Select properties
Computer name
Change
Domain
Specify name (ex: zoom.com)
Ok> it says welcome to domain
Restart system.
Configuring win2003 or XP professional as a client:
Same as configuring member server;
Server: Ex: NT, 2000, 2003
Client: ex: WKS, Prof., And XP
User Management:
User Account: User A/Cs is useful for assigning to the user to participate in the
network.
There are two types of accounts
Domain User Accounts
Local User Accounts
1. Domain User Accounts: These are created in the AD and they proved
centralized management of users besides easy administration
2. Local User Accounts: These can be created on the Local machines where the
client works. Ex. 2000 prof. XP prof. < win2003 member server etc.
These accounts do not provide centralized management.
Suitable only for smaller organizations where there is no server.
Creating a Domain User Accounts
.On DC
The moment we create a share on a server, server acts like a file server.
Sharing a resource:
On DC
Open my computer
Select any drive
Create a new folder
Give name of the folder
Right click on the folder
Select sharing and security
Share this folder
Apply > ok
Accessing share resources from a client machine:
On client machine
Open my network places
Entire network
Microsoft windows n/w
Domain name (ex. Zoom)
Computer name
Creating a share through command line
:On DC
Go to command prompt
md sharename
net share sharename=c: \share name
Connecting to a share resource through a command prompt:
On member server
Go to command prompt
net use z:\\computername\sharename
Mapping a drive (connecting to the share from GUI):
On member server
Right click on my computer
Map network drive
Select the drive letter
Uncheck or check reconnect logon
Browse the share folder
Computer name>share name>ok>finish.
Permissions
Using permissions an administrator can either allow or deny access to a
resource.
Resource can be a network resource or local resource
Permissions are of two types
1. Share level
2. File system or NTFS
Share level permissions
Share level permissions are applied over the network.
Share level permissions are not applied on the local machine where the resource
is existing.
There are three types of share level permissions
Full control RWXDO (Read/Write/Execute/Delete/Ownership)
Change
RWXD
Read
R
Practice:
On DC
Create a share
Create three users
Set permissions
Setting permissions:
Create folder> share> right click on folder> properties> permission
> Remove everyone
>Add all the users whom you want to allow or deny.
>Apply>ok.
Verification:
Move on to client machine
Login as different users
Try to access the n/w resources.
2. NTFS permissions:
NTFS permissions are powerful permissions and they offer file and folder level
security. NTFS permissions are useful for securing locally available resources.
NTFS Features:
File/folder level security
Compress
Encryption
Quotas
Reduced fragmentation
Hot fixing
Volume shadow copy services
Mounting
Separate recycle bin for each user
NTFS permissions
Full control
RWXDO
Modify
RWXD
Read & Execute
RX
List folder contents L
Read
R
Write
RWX
Implementing NTFS permissions
:On member server-Create a folder
On DC-Create 3 users.
On member server
Right click on the folder
Properties
Security
Add the users we have created on DC
Ok
Select the user and set the permission
U1-full control
U2-modify
U3-read
Apply-ok.
Experiment2:
Login as administrator on member server
Create a folder
Folder properties
Security
Advanced-uncheck the box allow inheritable permissions..
Remove
Apply – ok.
Add the users we have created along with the administrator
Administrator -full control
U1 – full control
U2 – modify
U3 – read – apply – ok
When a user logs in for the first time the user will be loaded with a default user
profile.
Default user profile is located under
C:\documents and settings\default user
Types of profiles:
Local profile
Roaming profile
Mandatory profile
Local profile: It is a profile loaded for the user and saved in the local hard drive
where the user works.
And profile will be saved when a user logs off
Local profiles are limited only to the machine where they are saved.
A user with a local profile will not be loaded with a network profile when he logs
on from another machine.
Verifying the type of the profile:
My computer
Properties
Advanced
User profile – settings
Roaming Profile: It is a profile, which is saved in the shared folder on the server.
Hence available in the entire network.
Roaming profile is a n/w profile which is available in the entire network. As a result
when a user logs in from any machine in the n/e he will be loaded with a roaming.
Creating a roaming profile:
On DC
Create a user A/C
Create a folder
And share it and give full control permission for everyone
Start >P>ADUC
Double click the user
Profile
Profile path ex: \\sys1\profile\username
Apply – ok
Move on to member server
Log in as user
My computer
Properties
Advanced-profile settings-you should notice “roaming profile”.
Finish
Disk Quotas:
It is a new feature of 2000&03
Using this feature an administrator can restrict the users from using disk space.
i.e. an administrator can limit the size of the disk space usage.
Quotas can be implemented in two ways
On computer basis (local machine)
User basis (network resource)
Quotas can be implemented only on NTFS volumes.
Implementing & quota for a user (user basis)
On member server
Login as administrator
Open my computer
Right click on D or E drive
Properties
Quota
Check the box enable quota management and
Deny disk space to users
Click on quota entries tab
Select quota
New quota entry
Select the user
Set limit disk space to the user (in KB or MB only)
Verification
Login as user
Open the restricted or quota drive
Try to save something
Implementing quota on computers
On member server
Login as admin
Open my computer
E drive properties
Quota
Enable quota management
Deny disk space to user
Select limit disk space
Specify the limits in KB or MB
Apply – ok
Organizational Units (OU)
It is a logical component of AD
It is a container object
It can contain objects like users, groups, computers, share folder, printer, and
contacts.
OUs are basically used for dividing a single domain into smaller portions for
efficient management and organization of the resources
Creation of OUs:
On DC
Start >P>admin tools>ADUC
Right click on the domain
New
Organizational unit
Give the name of the unit
Delegate Control:
Useful when an administrator to handover partial administration of the domain to
an assistant administrator delegate control can be assigned to sub admins on
OUs or on domains.
Assigning Delegate control for sub administrator.
On DC
Open
ADUC
select domain controller (right click)
New user
Right click on OU
Delegate control
Next – add the user we’ve created.
Next>select as our wish
Next – finish
Verification:
Move on to member server
Login as sub administrator
Start – run – dsa.msc
Try to create users in delegated OU
Taking back delegation of control from a User:
On DC
Open ADUC
Click on view
Advanced features
Select the OU which we want to take back control
Right click > properties
Security
Select the sub admin user
Remove – apply – ok
Group Policy
It is a feature of 2000&03 with which an administrator can have full control on users and
computers. Using group policy we can implement security, policies, software
deployment, folder redirection, Internet explorer maintenance.
Software setting
Windows setting
Administrative templates
Group Policy – II
Software Deployment
It is a feature of 2000&03 can be implemented through group policies either on
computers or users.
It is a process of spreading out the software required onto the client machines
when a user starts the computer.
With the help of software deployment we can install, uninstall, upgrade, repair
and add patches &service packets.
Software deployment is possible only when the software is with .msi extension.
(msi – Microsoft Installer)
MSI provides the services like
Installation
Uninstallation
Roll back
Repair over the network.
Software deployment is possible only with .msi or .zap extension.
Using WININSTALLLE 2003 software we can convert *.exe files to *.msi files
Setup.exe file cannot be deployed over the network but can be converted to setup.msi
files with the help of the software ‘wininstall le2003’. This is the product of Veritas
Company.
Installing wininstall le2003 software
On DC
Open D or E drive
Application folder
Double click on wininstallle.exe
Next – I accept – next
Provide email details – next
Next – next – install – finish.
Phase – I
Converting .exe to .msi (before snap shot)
On DC
Open my computer
Select any drive
Create 2 folders with the names .exe and .msi
And share them with full access
Open D or E drive
Open application folder
Copy acrobat &retina
Paste it in the .exe folder we have created
On DC
Start > p> wininstall le2003
Right click on that
Run discover ok – next
Specify the name of the application (ex. Acrobat)
Click on the dotted tab
Browse .exe folder from my n/w places
Open the folder and name the application (ex. Acrobat.msi)
Open – next - select C drive
Add the drives, which we have
Next – finish
Phase – II
Installation
On DC
Open my computer
Open exe folder we have created
Install acrobat software
In this phase II process comes up to .mxi
Phase – III
Performing After snap shot
On DC
In wininstall le
Right click on wininstall le packages
Run discover – ok
Perform after snap shot
Next
P-I
P- II
P- III
Scans the system
install acrobat
changes made after
installation
Registry
Software
Available
. mxi
.msi
Conversion Process
Phase –I (before snap shot)
In this wininstall le scans the complete system and the register and checks for
installed applications. And takes the snap shot of the current condition of the OS.
Phase- II (Installation)
In this phase we have to install the software, which we want to convert to .msi
Phase – III (After snap shot)
In this phase wininstall le compares two previous states, before snap shot
&installation and takes another snap shot with installation.
Note: Using these three phases the Microsoft software installer can trouble-
shoot or deploy the software.
Software Deployment
On DC
Open ADUC
Create 2 OUs
Create a user in each OU
Select 1st OU properties
Group policy new
Name the GPO (ex. Deploy)
Edit user configuration
Software settings
Right click s/w installation
New package
Browse the msi s/w from my n/w places
Select .msi
Select publish
Ok
Verification:
On member server
Login as user we’ve created in OU
Open control panel
We should notice the s/w we’ve deployed
Add/remove program
Ok
Types of deployment
1) Publish
2) Assigned
3) Advanced
1) Publish
If we use publish software will be available in control panel and can be installed
when the user wants. (on demand)
2. Assigned
If we select assigned, s/w gets installed on the client machine when a user opens
the application for the first time.
3. Advanced:
It is useful when we want to upgrades s/w, install service packs or patches etc…
Folder Redirection
It is useful when we have implemented mandatory profile for users as a result they cannot
save anything on the desktop, unknowingly if they save, that saved desktop contents
should be saved in another location we call it as folder redirection. (Users do not lose
their data)
Implementing folder redirection:
On DC
Create a roaming profile for a user
And convert it into mandatory
Note: create a new OU at first and create a user in that and make that user
profile as mandatory.
On DC
Open ADUC
Right click on OU we’ve created
Group policy
New > GPO name> edit
User configuration
Windows settings
Folder redirection
On desktop right click
Properties
Select the settings as basic
Browse share folder from n/w places
Ok.
Create a folder
Share it
Every one full access
Verification
On member server
Login as user we’ve created in OU
Save something on the desktop
Ex: save some folders > properties
We should notice the location should be UNC path (Universal Naming
Convention)
Logoff &login
SCRIPTS
Scripts are useful to automate administrative tasks, which are routine. We can
have startup and shutdown scripts, administrative scripts, login & logoff scripts
Implementing scripts using group policy
On DC
Create a folder (in D or E drive)
5. Daily backup: it backs up all selected files & folders created or changed
during the day after backed up does not remove the archive bit.
Recommended backup strategy:
1. If we select incremental back up it is faster and restoration is slower. I.e.
more number of tapes have to be restored
2. If we go with differential backup, backup is slow, but restoration is fast i.e.,
just by restoring 2 tapes.
System state data:
Components of SSD:
AD
Boot files
System files
Services
Registry
Com+inf
Cluster info
I.I.S.
SSD is a data store if we want to backup complete AD we can back up system
state data from backup utility.
Taking a back up of system state data:
Start - run – ntbackup – click on advanced mode – backup – next
Select 3rd one system state data – next – save in E drive - create a folder (SSD)
in this folder create a file with filename .bkf – next – advanced - next
Restoration
There are two types of restoration
Non-authoritative restore
Authoritative restore
Restoration of system state data can be done either authoritative or non
authoritative
Non-authoritative restore is a normal restore useful when we have only one DC in the
network. It does not increment the USN values of the objects after restoration. It uses
older USN values only.
1. Authoritative restore: This is useful when we want to restore a specific object
or specific object by incrementing the USN value.
Useful when we have multiple DCs in the N/W.
i.e. one Dc and multiple ADCs
USN Numbers: (Update Sequence Number)
It is a number assigned to the object and gets modify according to the changes
made on the object.
Resolving: It is a process of converting IPs to host names & host names to IPs.
Computer that requests DNS resolution.
Issues queries that ask for specific types of mapping of computers and IP
addresses (records)
Query types determine behavior of DNS server receiving query.
Lookup types determine whether a name to IP mapping or an IP to name
mapping is sought.
Query:
Query is a request to find an address of the DNS there are 2 types of queries.
Recursive queries
Iterative queries
Recursive Queries: When a client start a query, query is passed onto local DNS for
resolution if a query cannot find the solution then the DNS on behalf of client forwards
the query to another DNS, And to another DNS and so on until it finds the mapping
information or an answer.
Iterative Query: Query raised by the client to the DNS. If the DNS cannot resolve it sends
a negative response to the client, then the client has to contact another DNS and so on.
In this case the DNS is not forwarding the query but the client itself is contacting
other DNS.
Zone: Zone is a subtree of DNS database. Zone contains the mapping
information with the help of forward lookup zone & reverse look up zone.
Forward Look up zone: Contains host record, which contain host names to IP,
address mapping information
Reverse Lookup zone: it contains mapping information about IPs to host.
DNS requirements:
DC or member server
Static IP address
Installing DNS
Either on member server or on DC
Start - settings – control panel – add/remove programs – add/remove windows
components – select networking services – details – check the box DNS – ok – next
Nslookup 192.168.1.17
- Reverse lookup zone
Nslookup www.yahoo.com Forward lookup zone.
DNS: DNS server can be configured as follows>
Secondary
Stub (feature of 2003)
AD integrated
Forwarders
Root servers
Caching only server
Primary
Configuring a primary zone:
On DC
Start - p – admin tools – DNS - create a zone & host record
Creating a secondary zone:
On Member server
If DNS is not available install DNS first
Open DNS - right click on FLZ
New zone – next – specify the primary – DNS servers IP address –add – next –
finish
Zone Transfer
On DC
On Primary DNS
Open DNS – right click on zone
Properties
Zone transfer – check box allow zone
Select only to the following servers
Specify the secondary DNS servers IP address
Apply – ok
Primary Zone: Primary zones are created on the primary DNS servers. It is a
read /write copy.
Secondary Zone: There are created on the second DNS server where it holds a
read only copy of the zone.
Secondary zones provide fall tolerance and load balancing to the primary zone.
Secondary zone is a back up for primary zone
Zone transfer:
Zone transfer is a process of transferring the zone from primary to secondary or
secondary to primary. Zone transfers occur when there is a change or modification taken
place on either of the zones.
AD integrated zones:
These are useful when we want to maintain zone information in the AD . zone is saved in
the AD as a result when we back up AD we are also backing up zone information.
If it is a primary zone, zone is saved as a normal text file as a result we have to back p the
zone separately, AD integrated zone is created when we install AD with a domain name.
Creating in AD integrated zone:
On DC
Open DNS
Right click on FLZ
New zone
Next - check the box store the zone
Next - specify zone name
Next – allow both – next – finish
Stub zone:
Stub zone is a newly added feature in WIN 2003 stub zone contains name server
information or name server records and SOA records (Start of Authority)
Stub zones provide fault tolerance & load balancing besides providing the name
server & SOA record information.
Stub zones are useful for resolving the query faster.
Creating stub zones:
On DC
Create a primary zone with a host record ex: hp.com
On member server
Open DNS
Right click on FLZ
New zone - next
Select stub zone
Next – zone name ex.hp.com
Zone file – specify the primary DNS server’s address - next – finish
Resource Records (RR):
RRS are useful to provide the information about the zone. There are a few types
of resource records.
Host a record
Pointer record
Alias record
MX record
AAAArecord
ATMA
HINFO etc…
Service Records: There are also called as SRV records. These are useful for locating the
services. There are totally 6 service records created when we install AD. They are located
in DNS under domain subtree.
When we install AD, system automatically creates an AD integrated zone with the
corresponding domain name.
Record types:
Msdcs: Contains the Dc’s information
Default site: Contains site name
Tcp: (server side) provides global catalog, Kerberos and LDAP information
Udp: (client side) provides Kerberos information
Domain DNS zone
Forest DNS zones
both are the part of application partition. Provides
DNS information in entire forest.
Creating a secondary zone for (DC) domain name zone:
On member server
Open
DNS
right
click
on
F
L
Z
next – secondary – specify the DC’s
Domain name (ex: zoom.com)
Specify the DC’s IP address
Next – finish
Move on to DC
Open DNS
DC’s zone properties
Zone transfers
Only on the following
Specify the IP address (secondary)
Move onto member server refresh the zone
This process is we call as safe zone transfer.
Note:
1) If the 6 service records are not found in secondary server we need to restart
net logon & DNS services on DC & Member server.
2) Still if we can’t find the 6 service records we need to perform a forceful transfer
For accessing C drive through command prompt.
Ex. \\sys1\c$
Event logging: Used for maintaining events occurred pertaining to DNS can be
Errors only
Errors & warnings
All events (by default)
Debug Logging: to assist with debugging we can record the packets sent and
received by the DNS server to a log file. Debug logging is disabled by default.
Implementing Round Robin:
Assigning multiple IPs to the NIC. By going to TCP/IP properties – advanced –
add – multiple ips – ok (ex. 192.168.1.17, 192.168.1.18, 192.168.1.19)
Open
DNS
create a primary zone – create a host record - create 3 more host records with
the IPs created above
Verification:
Go to command prompt.
For clearing DNS cache
C:\> ipconfig /flushdns
Pingww w.z onenam e.com
IIS
Internet Information Service (I.I.S.): It is a web server from Microsoft used for
administering, managing, controlling websites.
I.I.S. is the server component which provides services like www, http, ftp, nntp,
SMTP, FrontPage, .net frame works
WWW: World Wide Web: enables use of internet.
HTTP: (Hiper text transfer Protocol): Supports file types like text, audio &video
Gopher: used prior to http supported only text.
FTP: (File Transfer Protocol): used for uploading or downloading, huge size files.
NNTP (Network News Transfer Protocol): Used for publishing the same message
for a group of people.
SMTP: (Simple mail transfer protocol); Used by exchange server for sending
mails.
Front page: It is a designing tool for WebPages
Win – NT 4.0 had I.I.S. version 2, 3 and 4.
Win 2000 I.I.S. version is 5.0
Win 2003 - 6.0
Port number details are available at c:\windows\system32\drivers\etc\services
FTP commands:
Dir
-
for listing FTP contents
Get
-
for downloading
Put
-
uploading
Prompt
-
disable interactive mode
Mget
-
downloading multiple files
Mput
-
uploading multiple files
Bye
-
ending session
Close
-
close the session
Mkdir
-
to create a folder in ftp site
Rmdir
-
to delete a folder
Del
-
to delete a file
Pwd
-
to list present working dir
Lcd
-
locally change directory
Cd
-
change directory in ftp site
Bell
-
gives beep sound after the action
Anonymous account: It is a default a/c available with ftp any user can login to ftp
server despite no a/c in FTP server.
Connecting to FTP server as anonymous user
Go to command prompt
Ftp server’s I.P. or
Open I.P. address
Type anonymous
Provide password if it has
Disabling anonymous connections:
Open I.I.S.
FTP site properties
Security accounts
Uncheck the box allow anonymous connections - yes
Verification
Go to FTP prompt & try to login as anonymous user.
Isolation of Users:
When we want to secure the ftp contents or when we want ftp users to have their
own folders with ftp site we use isolating users.
Creation of isolating ftp users
Create 2 users in AD
Open E drive
Create a root folder
In the folder create a subfolder named as our domain name without extension ex.
Zoom, India. - - u1, u2, u3
Creating a FTP site for isolating users open I.I.S.
Right click on new FTP site
FTP site name – select the IP
Select isolate users – next
Browse the root folder we’ve created
Ok – next – check the box write – next - finish.
Verification:
On Member server
Open I.E.
Type ftp:\\I.P. add of ftp server
We should notice logon window
Provide user name & pwd
Then we notice the file we’ve created.
Groups
Groups: Are two types
Security
Distribution
Groups are useful for setting common privileges or type of access to a group of
users.
Security Groups: These are used for setting permissions on the objects (printer,
data) it can also be used as a distribution groups.
This can also be used for maintaining distribution list
Distribution group: Do not provide security, used for e-mails.
Group scope: identifies the extent of the group within in a domain or a forest.
•
Domain Local Group: all builtin class groups
•
Global Groups: domain user, domain admins, domain guests, domain
computers.
•
Universal groups: schema admins, enterprise administrators.
Domain Local Groups: DLG pertains to the domain and it is a powerful group used for
setting permissions a DLG can contain user a/cs, global groups, it cannot contain DLG.
Group scope:
Static routing: It does not require any protocols; an administrator has to create a
routing table which is constant or not changeable.
DHCP Relay agent:
It is a protocol responsible for listening to the client request for assigning an IP to
the clients dynamically on behalf of DHCP server from the other network
Implementing DHCP relay agent
On router
Open RRAS
Expand IP routing
Right click on general
New routing protocol
Select DHCP relay agent
Ok – add public interface
General new interface
Select public
Configuring public network
Move on to public network
Go to TCP/IP properties
Check ‘obtain IP automatically’
RAS (Remote Access Service)
It is a feature of 2000 & 2003 enables communication between a local machine &
a remote machine
RAS connectivity: types of connectivity
PSTN (public switch telephone network)
ISDN (Integrated Services Digital Network)
X.25
RS 232 (Recommended standard)
DSL (Digital Subscriber Link)
Direct cable
PSTN:
•
Modem
•
Telephone line
•
28.8 kbps
•
cheaper
•
analog communication
ISDN:
•
ISDN adaptors (TA)
•
ISDN line
•
64- 128 kbps
•
Digital communication
•
Costly
X – 25
•
PADS (frame relay)
•
Packet switching n/w
•
Rarely found
•
PADS - Packet Assemblers & De assemblers
RS – 232
•
Serial cable (direct cable)
•
Provides serial communication
•
Used for testing RAS
•
Provides RAS environment
•
It is also called as ‘Null modem’.
DSL (Digital Subscriber Link)
•
DSL modem or NIC
•
Widely available
•
Easy to implement
Direct cable
•
When we are in same geographical
•
Implemented only in LAN
•
Bridge modem (special devices)
•
Uses a direct cable to establish a communication between local& remote
network
Installing Modem:
On server& client
Open control panel
Open phone & modems
Click on modems – add
Check box don’t detect modem
Select communication between two computers
Select comp1 – next – finish
Same process in client machine also
Enabling routing on DC
Open RRAS
Right click server
Configure & enable routing
Next – custom configuration
Next – select VPN, dial up – next – finish.
Creating a dial connection
On the client machine
My network places - properties
Double click on new connection wizard
Next – select setup &advance connection
Next - connect directly to another computer – guest – next –computer name
(server’s name)
Select the device ‘communication cable between 2 computers
Connection availability – next – finish
Note: By default users are denied permission to dial in.
To enable a user to dial in
On server
Open ADUC
Go to user properties
Dial in
Allow access – ok
Error: 649 enable the user dial in access
Error: 777 – Reinstall the modem.
Establishing Dial up connection
Dialing into the server
On the client machine
My network places – properties
Double click DUN we’ve created
Provide user name & pwd
Click on connect
Accessing resources of a remote computer over RAS connection
On the client machine
Start – run (\\server name\resource name) ex: (\\sys1\c$)
LAN protocols:
NETBEUI protocols
IPX/SPX
TCP/IP
NW link
AppleTalk
DEC net
1. NETBEUI: It is a self-configurable protocol mostly use in small networks, outdated
protocol, jointly developed by IBM &Microsoft. Does not support routing.
2. IPX/SPX: It is a proprietary protocol of Novell NetWare. IPX stands for
Internet Packet exchanger SPX – Sequential Packet exchange.
Suitable for larger networks. It is a routable protocol.
3. TCP/IP: (Transmission Control Protocol): It is an industry standard
protocol.
IP – supported by many OS. It is a routable and robust (ever changing)
protocol.
4. NW Link: (Netware Link) from Microsoft enables communications between
NT, 2000&2003 & Novell NetWare.
5. Apple talk: from Microsoft enables communication between NT 2000/03
used in Mac. OS.
6. DEC Net: (Digital Equipment Corporation): protocol used by mini computers , super
computers and jet direct printers. (this printer has its own NIC)
WAN protocols:
SLIP
PPP(Point to Point Protocol)
SLIP: SERIAL LINE INTERNET PROTOCOL
It is used on UNIX networks
Outdated protocol (not available now)
Doesn’t support
Data compression
Data encryption
Error checking
Doesn’t support
NETBEUI
IPX/SPX
PPP: POINT TO POINT PROTOCOL
Most popularly used in WAN protocol replaced by SLIP
Supports various protocols
Supports data compression
Data encryption
Error checking
Terminal server provides only the subset portion of the desktop to the client machines.
i.e. when a client establishes a terminal session only the desktop portion is downloaded to
the client machine to interact with.
During the session the terminal server uses the protocol called RDP. (Remote
Desktop Protocol)
With the help of this protocol client obtains the server’s desktop on to the client it
is nothing but thin client. Only the mouse clicks and key stokes are sent to the TS
Requirements of Terminal server:
DC
Member server
Applications (MS office, oracle, java, PageMaker etc)
Installing terminal server
On DC
Open control panel add/remove programs
Add/rem windows components
Check the box terminal server - next – yes – next –
Select relaxed security - insert CD (win2003)
T.S. operates in two modes
remote desktop mode
application mode
If we want to configure T.S. only for remote administration we should select
remote administration mode.
If we want to configure T.S. for centralizing management application server we
should go with application mode.
Application mode offers remote administration as well as applications.
In win2003 we can install T.S. in 2 ways.
fully secured mode
fully relaxed mode
Fully secured mode: if we select this option users will not have access to registry files &
system files and it doesn’t provide backward compatibility for existing OS or
applications.
Fully Relaxed mode: Provides access to registry and other system resources
useful when the security is not criteria or for performing remote administration.
Terminal Server Licensing:
By default when we install T.S. the clients can access T.S. only for 120 days.
2. Scanning: Scanning the system for bugs and loopholes in OS. Hacker uses scanning
technique to determine which ports are open what services are running and what is the
OS
Ex: RATINA, shadow security scanner, ANSIL etc..
3. DOS attack: Denial of service attack which is an attempt to get the service
or the server down by overflowing the buffer. Eg. Win spoof a7, my spoof.
4. Exploits: Exploits are usually bugs in applications or OS which can be
exploited by using a piece of code often referred as scripts.
Ex: CGI scripts, perl scripts etc..
5. Trojan Horses: Trojan horses are a program that pretends to be a useful
tool but actually installs malicious or damaging software.
Trojan Horses can be used to take over the remote system sending viruses to
steal the data. Ex. Netbus, Bo2k.
7. Port scanner: Scanning the port to get into the application ex: port
scanner, etc.
ISA can be configured as firewall or proxy server.
If it is configured as a firewall,
Packet filtering: ex: routers controls data transfer based on source destination IP
addresses
TCP/UDP port of source destination IP address.
Packets are allowed or dropped through the device depending on the access
control list.
If it is configured as proxy it acts like a web server
Application gateway: ex: proxy server.
Packets are allowed based on type of application and IP address.
Filter application commands such as http, GET and POST etc..
Application level gateways can also be used to log user activity and logins.
Flavors of ISA server:
Standard edition
enterprise edition
Server deployment
stand-alone only
multiple servers with
centralized
management.
Policy based support
Local only
enterprise
&array
policies
Scalability
CPU’s only
no limit.
ISA server requirements:
Member server or DC
Service pack 1 or above
Two interfaces (public & private)
RRAS
Processor: PIII 300 MHz. Or above
256 MB RAM
20 MB of H.D. space on NTFS 5.0
Array considerations:
ISA server models:
Firewall model
Cache model
Integrated model.
Installing ISA
On router
Open D or E drive
ISA standard - ISA – setup.exe
Select integrated mode &continue
Private
Router
Pubic
IP: 192.168.1.2
192.168.1.1
202.153.32.2
202.153.32.1
G/W 192.168.1.1
202.153.32.1
DNS 202.153.32.2
202.153.32.2
202.153.32.2
1) Enable LAN routing
create websites & zones
2) Install ISA
Specify the range of address.
Installing ISA service pack
Open D or E drive
ISA 2k standard
ISA service pack2.enu
Update
Update.exe – next – agree – next
Cache mode: select this option if security is not the criteria as it is used for
accelerating the access speed of websites by the private network users. Since it
On RIS server
Install DHCP server
Authorize it
Create a scope
Verifying RIS server before performing RIS installation
On RIS server
Open
ADUC
Domain controllers
Right side pane- double click on the server
Remote install - verify server-Done.
Performing remote install on client
On the client machine
Boot from pxe enabled NIC or remote bootable floppy.
Press F12 key when the system prompts and installation proceeds.
Note: If don’t see “press F12 for booting from n/w” you have to restart the
services before performing RIS installation:
Start – Admin tools – services
Restart services following
RIS, DHCP, DNS, netlogon, remote installation, TFTPD, single instance store
On the client machine
Insert COMBO CD
Press F12 when it prompts
Creating a remote boot floppy requires 1.44MB floppy
On RIS server
Open the RIS folder from remote install\admin\i386
Insert floppy and double click Rbfg.exe
Creating Additional images.
Open
ADUC
DC properties (right side ex: sys1)
Remote install
Advance settings
Images – add – insert CD
Editing an answer file:
On RIS server
Open the folder remote install\setup\English\images\windows\i386\templates
Double click ristndrd.sif
Do whatever modifications you want
Ex: set it as, Use whole disk =no
Save – close.
RIPREP image
:It is a type of images which includes OS+ applications, settings, security and etc..
Useful when we want to perform remote installation of OS +applications.
To achieve this we have to install OS+ applications +settings & security on one of
the client machines & keep it read
Performing riprep image
On the client machines, which are ready with applications and settings
Start – run -\\ris server name; ex;\\s ys1
Double click reminst\admin\i386
Double click riprep
Next
Server name
Next
Folder name
Ex: client image
Friendly description ex; sales dept.
Next – answer further questions
NOTE: on completion of this, the client will get restarted and starts a mini windows setup
where you’ll have to provide the company name, CD key and so on. Once it is over the
riprep image is ready.
NOTE: riprep image requires a CD image also.
DISK MANAGEMENT
2000 and 2003 uses a tool called Disk management for administering or
managing Hard Disk Drives
Using this we can create, delete, modify, partitions and volumes.
We can also implement software rate, and disk analysis.
To open Disk manager
Start – run – diskmgmt.msc
Or right click on my computer – select manage.
Creation of a primary partition:
Start – run – diskmgmt.msc
Select free space (black color)
R/C -new – partition – select primary
Alter the size - select drive letter
Select the type of format – ex: NTFS
Next – finish.
Volume: Volume is made up of free space club or merged fro more than one H.D.
volumes avoid using of multiple drive letters or drives.
Easy to administer
Dynamic volume: Dynamic disks refer to volumes. Using dynamic disks we can
implement and extend volumes and implement raid.
Dynamic disk can be attached or detached on the file.
Simple Volumes: simple volumes are similar to partitions which can be created
only one Hard disk which do not offer fall tolerance.
Spanned Volume: A volume can be created by selecting the free space from
more than 1 Hdd
Span volumes offer extending of volume.
Do not offer fall tolerance
Maximum 32 Hdds
Min 2 Hdds
Creating simple volumes:
Open disk management
Right click on the black bar
New – volume
Select simple volume
Alter the space – next
Drive letter
File system
Check box perform quick format
Next – finish
Creating a spanned volume:
Open disk management
Right click on black bar
New volume
Select span – next
Select disk1&2 reduce &specify the size.
Drive letter – next
Perform – quick format – finish
Extending volume:
Right click on the volume we want to extend
Extend volume - next
Select the drive on which we want to extend the volume
Specify the size - next – finish
RAID: (Redundancy Array Inexpensive Disks or Independent disks)
Raid offers fall tolerance
Fault Tolerance: It is a technique used for protecting data against hardware
failures.
Software RAID: It can be implemented from the OS. Which is not a guaranteed
fault tolerance?
Hardware RAID: can be implemented above the O.S. including the OS is
protected.
Offers highest fault tolerance.
There are five RAID levels
RAID 0, 1, 2, 3, 4 and 5 these are supported by NT/2000/2003
RAID 0: striping without parity
Striped volumes:
Requires min 2 Hdds, max 32 Hdds.
Offers no fault tolerance
Suitable when performance is criteria.
Data is written evenly on to all drives
If any one of the drives fails whole data is lost.
Space selected on all the drives should be of identical size.
RAID 1 or Disk mirroring:
Requires min.2Hdds max.also 2 Hdds
Offers fall tolerance
Data is written onto both the drives simultaneously.
If one drive fails data is still available in the second drive.
I/P performance: reading is fast and writing is slow.
Implementation of mirror:
Create a simple volume ex: 100mb
Right click on S.V. and add mirror
Break mirror: Breaks the mirror and retains the partition and data and changes
the drive letter
Right click on desired drive
Select break mirror
Remove mirror: Removes the mirrored volume.
If we want to break or remove the volume
from internet, if internet is available to all the client machines whole network will
be busying updating OS &software. This leads to network traffic
To overcome this problem we have to use a separate server configure as SUS, which is
connected to Internet and obtains updates. Client machines instead of contacting Internet
for updates contact the intranet SUS server for updates. This can be scheduled.
SUS software has to be downloaded from the internet and also I.I.S.
Implimenting SUS:
Install SUS in one of the member servers
On DC
Configuring client machines to contact SUS server for updates.
On DC
Open ADUC
Create an OU
Join the client machines to this OU
OU properties
Group policy
GPO name
Edit
Expand computer configuration
Administrative templates
Windows components
Windows updates
Double click on specified intranet
Enable – specify the server’s add in both the boxes.
To schedule the updates;
Double click o configure automatic updates
Specify the schedule
MBSA (Microsoft Baseline Security Analyzer):
It is a new feature of 2003. It is a service responsible for preparing a report which reveals
a loop holes and draw backs of the OS and the applications installed in the server. Using
this report an administrator can take some precautions.
It is also freely available software in internet. We can download it.
File name is mbsa.msi
It acts like a guide to the administrator
Using MBSA
:start
-
programs
–
MBSA
select scan a computer/scan more than one computer
Provide the IP address of the computer
Click on start scan
It creates a report contains the information about the system.
RSOP: (Resultant Set of Policies):
It is a new feature of 2003 using which we can gather all the policies
implemented by group policy in the entire forest.
RSOP works in two modes logging and planning
Logging: Generates the reports for the users who all have logged in and effected
with the policy.
Planning: it is useful for experimentation. I.e. as an admin Would like to see the
result of the policy before it is implemented.
Using RSOP
Open ADUC
Right click on the OU
Select RSOP
CIMOM (Common Information Management Object Model) is database where
GP settings are registered.
GPMC (Group Policy Management Consol):
It is a new feature in 2003 which centralizes the management of group policies for ex.
multiple forests, sites, OUs; Domains can be administered from a central location.
Gathering of group policies implemented in the entire forest is easy.
Implementing Group policy is also very easy
Back and restore of G.Ps is easy
Once installed, disables group policy option for local, sites & domain.
Software available in internet. Filename is gpmc.msi