Tuesday, December 30, 2014

Backup server my server 2012 18 day class theory

                                                           Backup Server



1. How to configure windows server Backup Features in 2012 Server ?
Go to server computer
              ||
Log on admin
              ||
Go to Sever manager
              ||
Under server manager
              ||
Click add roles &features
              ||
Click on Next
              ||
Click on Next
              ||
Click on Next
              ||
Click on Next
              ||
Under the features
             ||
Select the windows server back up 
             ||
Click on Next
             ||
Install 

Shortcut for open the windows backup console by run command wbadmin.msc

Types of Back up

1. Normal Backup
2. Schedule Backup
3. Incremental Backup 
4. Differential Backup
5. System state Backup 



Normal Backup:

Normal back is that backup in which we are taking the backup of data to some other location by doing the copying in usb or external drive etc..

Schedule Backup:  

Schedule backup is that backup that is going  to be configure by particular time and it is going to take by default the backup of data when the time reach what ever we configure in server .


Incremental Backup:

Incremental Backup is that backup in which it is going to taking data backup which is add and new and it will delete the last Backup data
                   
System state Backup:

System state backup is that backup in which take the backup file registry ,comfile, active directory data base file
syatem state backup also called as active directory backup


Step for Configuring Schedule backup

Go to server computer 
              ||
Log on as admin     
              ||
go to my computer
             ||
Create one folder with the name SD

Step 2
Go to windows backup console (wbadmin.msc)
                   ||
Select the backup 
                   ||
under the action click on schedule backup 
                   ||
Click Next
                   ||
Select custom Backup
                   ||
Click Next
                   ||
Click on add item tab
                   ||
Select the backup folder
                   ||
Click Next
                   ||
select more then once a day select the time and hours
                   ||
Click Next
                   ||
Select the backup to the volume
                   ||
Click Next
                   ||
Click on add 
                   ||
Click Ok 
                  ||
Click Next
                  ||
Finish

Step 3
Delete the data from C: drive 
                 
Step 4

Retrieve the data from back up


Go to windows server backup console  
                || 
under the action click on recovery 
                ||
select this server
                ||
Click Next
                ||
Select the date and time
               ||
Click Next
               ||
Select the data type
               ||
Click Next
               ||
Expand your server name 
              ||
Expand C: Drive
               ||
Expand the backup store data folder
               ||
Click Next
               ||
Select the original location
               || 
Finish


System state back up 

Go to windows server backup manager console (wbadmin.msc)
                           ||
select different option 
                           ||
Click Next
                           ||
 Select costume
                           ||
 Click Next
                           ||
Add item 
                           ||
Check the box system state only 
                           ||
Click Ok
                           ||
 Click Next
                           ||
Select the local drive 
                           ||
Click Next
                           ||
 select the drive where you want to save the backup 
                           ||
Click Finish 


Step 2

Remove Active directory services from the server computer


Step 3

step for Retrieving the data from system state back up 

restart your pc
            ||
G with safe mode 
            ||
Ns config go to boot mode
            ||
select as default os mode
            ||
Click on Retrieve

system state backup can be done by safe mode
            
Go to server computer
             ||
Log on as admin
             ||
Go to server back up console
             ||
under the action click on recovery
             ||
Click on Backup
             ||
Click n this server 
            ||
Click Next
             ||
Click Next
             ||
System state 
             ||
Original collection 
             ||
Click Next
             ||
Recovery .

Monday, December 29, 2014

DNS my server 2012 17 day class theory

                                                 (DNS) Domain name server



DNS Port number : 53
Name server Port number :42
Host name Port number is : 101

                                                                DNS

Forward Look up zone                                                              Reverse Look up Zone


Host name to IP                                                                              IP to Host name
Primary zone
Secondary zone
Stub zone
Active directory integrated zone

in primary zone
NS (Name server)
Host file
Alias
SOA (start of authority)

In Secondary zone
Backup copy of Primary zone

In Stub zone
SOA Zone

In Active directory integrated zone
service record / server record 
1. MCDCS
2. SITES
3. TCP
4. UDP
5. DOMIAN DNS ZONE
6. FOREST DNS ZONE 

1 Q:
Step 1 for Configuring Primary Dns server On server computer ?

Requirements for Dns server
1. Server operating system
2.static ip address


Go to server computer
               ||
Log on as admin
               ||
Go to server admin
               ||
go server manager
               ||
Under server manage click on Add roles and features
               ||
Click on next
               ||
Select roles based option 
               ||
Click on Next
              ||
Click on Next
              ||
Click on Dns server
              ||
Click on Add features 
              ||
Click on Next
              ||
Click on Next
              ||
Click on Next
              ||
Install

2 Q:
How to Create Primary zone in Server computer ?

Go to server Computer
               ||
Log on as admin
               ||
Go to dns console dnsmgmt.sc
               ||
 Under dns console manager
               ||
Expand forward lookup Zone
               ||
Right click on forward look up zone ,click on new zone
               ||
Click on Next
               ||
Select the Primary Zone
               ||
Give the Zone name sandeeptech.com 
               ||
Click on Next
               ||
Click on Next
               ||
Allow both secure and non security updates
              ||
Click on Next
              ||
Finish

3 Q:
How to Create a Host File Inside the Primary zone ?

Right click On Primary Zone
                 ||
Click on New New Host (A or AAA)
                 ||
Give the server name and ip address 
                 ||
Click on add host
                

4 Q:
How to Create Alias File alias file fully ?

Right click On primary zone
                   ||
Click on Primary dns name
                   ||
 Click on New Alias (c name)
                   ||
Under the Alias name Give www
                   ||
Click on Browse button
                   ||
Select server computer
                   ||
Select the forward look up zone
                   ||
select sandeeptech.com
                   ||
select server computer
                   ||
Click on Ok 


5 Q : Reverse Look up zone resolve name to ip address

Step for creating Reverse Look Up Zone 

Right click on Reverse look up zone
                      ||
Click on new zone 
                      ||
Click on Next
                      ||
Select Primary zone
                      ||
Click on Next
                      ||
Select IPV4 reverse look up zone
                      ||
Click on Next
                      ||
Under the Network Id Give the ip address of the server computer
                      ||
Click on Next
                      ||
Click on Next
                      ||
Click on allow both updates secure and non secure updates
                      ||
Click on Next
                      ||
Finsh

After go to Run Prompt and tyepe the command nslookup check it will showing your created domain name eg:www.sandeeptech.com

6 Q :How to create a pointer record in reverse Look up zone ?

Right click on created Reverse look up zone
                            ||
Click on new pointer record 
                            ||
Give the server ip address 
                            ||
Click browse sever computer, select forward look up zone
                            ||
select sandeeptech.com
                            ||
Click on Next
                            ||
Finish

7 Q : How to create secondary zone in server 2 computer ?

Requirements

1. Server os 
2. Static ip 

Step 1
Install Dns services
            
Step 2
Check the connectivity server 1 and server 2 computer

and close the firewall in both servers not in real time

Step 3

Go to server manager dnsmgmt.msc
                         ||
Expand server name
                         ||
Expand forward look up zone and right click ,click on new zone 
                         ||
Click on Next
                         ||
Click on secondary zone
                         ||
Give the zone name 
                         ||
Click on Next
                         ||
give the ip of server 1 computer
                         ||
Click on validate
                         ||
Click on Next
                         ||
Click on Finish

Error: zone not loaded the dns server
how to resolve this error

Go to main server 1
                   ||
go to dns console dnsmgmt.msc
                   ||
 select the server pc name 
                   ||
Expand forward look up zone
                   ||
Select the primary zone sandeeptech.com 
                   ||
Right click on primary zone select select zone click on transfer tab
                   ||
Click on edit
                   ||
Under the ip address
                   ||
give the server 2 ip address
                   ||
Click on validate
                   ||
Apply
                   ||
Click Ok



Go server 2 computer refresh the server management 


8 Q : How to create the Stub Zone in server 2 computer?

Before creating stub zone in server 2 computer delete your secondary zone


Go to dns console dnsmgmt.msc
                     ||
Expand server pc name
                     ||
Expand your forward look up zone
                     ||
Right click on forward look up zone and click on new zone
                     ||
Click on Next
                     ||
Select stub zone
                     ||
Click on Next
                     ||
give the zone name sandeeptech.com
                     ||
Click on Next
                     ||
Click on Next
                     ||
Give the main server ip and click on validate
                     ||
  Click on Finish ..


WDS my server 2012 16 day class theory

                                         WDS Windows Deployment Services


SCCM (system center configuration manager)
 is a tool from Microsoft

Eg:
windows                                     Linux                                      Solaris
     ||                                               ||                                              ||
Windows deployment              Kick start                                Jump start 
  service   

Step 1 for Installing WDS In Server 2012

Go to server computer
               ||
Log on as admin
               ||
go to server manager
               ||
Under server manager
               ||
click on add roles & features
               ||
Click on Next
               ||
Click on Next
               ||
Click on Next
               ||
Click on Next
               ||
Click on Install
               ||
Click ok
               ||
 Close


Step 2
Go to wds server console (wdmgmt.msc)
                ||
Under the wds services
                ||
expand servers
                ||
Expand FQDN (sandeep.com)
                ||
Right click on FQDN click on configure services
                ||
Click on Next
                ||
Select  Integrated with active directory
                ||
Click on Next
                ||
Click on Next
                ||
Click on Ok
               ||
trick on respond to all computer configure 
               ||
Click on Next
               ||
Finish
  


Step 3

Step for authorizing WDS server 

Right Click on FQDN (sandeep.com)
                       ||
Click on all task
                       ||
 Click on start
                       ||
Just Insert the cd of windows 7 in your server pc

Step 4

Expand FQDN (sandeep.com)
                     ||
Right click on boot Image ,Click on boot image
                     ||
Click on Browse
                     ||
Expand your computer tab
                     ||
select your CD drive
                     ||
Select your source file
                     ||
Select Boot win file
                     ||
Click on Open
                     ||
Click on Next
                     ||
Give the Image Name eg: (win7)
                     ||
Click on Next
                     ||
Click on Next
                     ||
Finish 


Right click on Install image
                    ||
Click on Add Install Image
                    ||
Click on Next
                    ||
Click on browse 
                    ||
Browse DVD
                    ||
Open the source folder
                    ||
Select install win file
                    ||
Click on Next
                    ||
Click on Next
                    ||
Finish

Remove the cd of windows 7 from your server computer

For verification go to the new pc and enter bios and enable the boot from network . 

DHCP my server 2012 15 day class theory

                                                   DHCP server


Port numbers

DHCP V4 Server                 = 67 Boot pc
DHCP V4 client server         = 68 Boot pc
DHCP V6 Server                 = 547 Boot pc
DHCP V6  Client                 = 546 Boot pc

Mad cap  =2535

Dhcp process called as DORA Process (Discover Offer Request Acknowledgement ) 

Dhcp process called as dora procees for hand shaking purpose

APIPA (Automatic Private Internet Protocol Address)
range 169.254.00 to 169.254.255.255


DHCP is the father of ip address 
APPIPA is the mother of ip address

Step for configuring DHCP Server
 Requirements

1. Server operating system
2. we require Active directory services
3. we require DNS services
4. we require NTFS File system Partition with 10gb space 


Step 1
Go to server manager 
             ||
log on as admin
             ||
go to server manager
             ||
under the server manager 
             ||
click on add roles and features 
             ||
Click on Next 
             ||
Click on Next
             ||
Click on Next
             ||
Click on Next
             ||
Check the Box DHCP server
             ||
check the add features
             ||
Click on Next
             ||
Click on Next
             ||
Click on Next
             ||
Install and close 

click on yellow triangle
             ||
click on promote this server 
             ||
Click on Next
             ||
Click commit 



1 Q : Step for Creating  a Scope inside the Dhcp server ?

Open run prompt 
             ||
Type  dhcpmgmt.msc click on enter  
             || 
 Under the Dhcp server console 
             ||
Expand FQDN (fully qualified domain name ) sandeep.com
             ||
expand IPV4
             ||
Right click on IPV4 click on new scope 
             ||
give the scope name ex: sales 
             ||
give the start ip range 192.168.192.150
give the end ip range 192.168.192.170
             ||
Click on ADD 
            ||
Click on Next
            ||
Click on Next
            ||
Click on Next
            ||
yes, i want to configure
           ||
Click on Next
           ||
Give the router ip address : eg: 192.168.192.2
           ||
Click on Next
           ||
Click on Next
           ||
Finish

Reservation : DHCP Provides reservation concept for providing a fix ip address to the client pc 

Step for creating Reservation 

Go to server pc
           ||
log on as admin
           ||
go to DHCP server console (dhcpmgmt.msc)
           ||
under this your FQDN (sandeep.com)
           ||
Expand ipv4
           ||
Expand scope
           ||
Click on reservation 
           ||
Right click on Reservation 
           ||
Click on New
           ||
Give name : sandeep
ip address: 192.168.192.168
Mac address
            ||
Click on add
            ||
Close

For verification go to the client pc log in with any domain user
go to cmd type ipconfig/relase and ip config /renew after check the ip what you getting ..




2 Q : How to tak ethe backup of DHCP Server ?

Go to server computer 
                ||
log on with admin
                ||
Go to DHCP server console  (shcpmgmt.msc)
                ||
Expand FQDN (sandeep.com)
                ||
Right click, click on backup 
               ||
Browse and select the back up drive

Delete the scope from from the Dhcp server right click on scop click on delete


Step for retrieving the scope from the DHCP backup

Go to DHCP server console (dhcpmgmt.msc)
                    ||
Right click on FQDN ,Click on restore
                    ||
Browse for the backup folder
                    ||
select the your created folder(dhcp backup)
                   

4 Q : How to stop the DHCP server by the command ?
                   
Go to cmd type  net stop dhcpserver press enter service will be stop

5 Q : How to start the DHCP server by the command ?

Go to cmd type net start dhcpserver press enter service will be start

6 Q : How to stop the DHCP for client pc command ?
Go to cmd type net stopdhcp
it will ask yes or no 
type yes then service will be stop .

7 Q : How to start DHCP for  Client pc ?

Go to smd type net startdhcp

Sunday, December 28, 2014

IIS my server 2012 14 day class theory


                                                            IIS 
                                            Internet information services

Protocol port no`s in IIS

HTTP =   80
HTTPS = 443
FTP    =   21
FTP- D = 20
FTPS =    990
FTPS =    989
TFTP =    69


HTTP:

hyper text transfer protocol which is basically use for hosting the web page on internet

FTP:

File transfer protocol is a protocol which is use for uploading and downloading data from internet


                                                     IIS


1. HTTP                                                                             2. FTP                          
                                                                                 ;                 ;                           ;
                                                                  do not isolate     isolate ftp site       ad isolate ftp site




Do not isolate ftp site :

Do not isolate ftp sites are those website where every one can download the data and upload the data 
for eg: youtube.com


Isolate Ftp site 

Isolate ftp Sites are those sites where every one can downloading the data but those users who are having privilege they can only upload the data


Active directory service Isolate Ftp site :

active directory service isolate ftp sites are those site where every one can download the data and only those user which is there in active directory services they can upload the data

Step for configuring IIS Server on windows server 2012

Requirements

1. Server operating system
2. Static services
3. Active directory services
4. Dns services



Go to server computer 
             ||
log on as admin
             ||
go to server manager
             || 
go to add roles and features
             ||
click on Next
             ||
select Roles based 
             || 
Click next
             ||
Click next
             ||
Check the box web services
             ||
click on add features
             ||
select .net fream work and asp.net
             || 
Click next
             ||
Click next
             ||
Check the box HTTP redirection ftp server
             ||
Click next
            ||
Install 



          

1 Q : How to create a website by using by HTTP protocol

Eg: www.xyz.com

Step 1

Create  a primary zone with the name xyz.com

Step 2

inside the primary zone create primary zone alias record 

Step 3

Create one normal share folder  in D: drive 
with the name IIS

 Step 4

Creating a page open the new notepad write something inside notepad click save the file with HTML Format
after the html cut it and paste in to the share folder 

Step 5

Go to IIS manager (inetmgr)
             ||
under expand server name
             ||
expand your site name
             ||
Right click add site click on add web site
             ||
give your web site name  xyz.com
             ||
browse and select the web page from share folder
             ||
Select the ip address
             ||
give the host name xyz.com
             ||
click ok


Step 6
Adding default document and directory browsing

on the left side select the xyz.com
                  ||
on the right side dubble click on the directory browsing
                  ||
  enable the option
                  ||
again select the xyz.com left side
                  ||
again select the default document on right side 
                  ||
under the action click on add
                  ||
give the your webpage name
                  ||
while you creating give the name sandeep.html
                 

for verification go to any pc in network and login with domain user open explorer and give the web page url and check it ..




2 Q: How to create a website with HTTPS protocol 443?

Step :1 

How to create virtual ip address in the server 

Go to server computer
               ||
log on as admin
               ||
Go to Network card
               ||
 go to properties
               ||
go to ipv4 protocol
               ||
click on properties
               ||
click on advance tab
               ||
give the ip 192.168.192.100
               ||
Click on add
               ||
Clcik on ok
               ||
Click on ok
         


Step 2

Create a Primary zone with the name any Eg: sandeep.com
Shortcut to open (dnsmgmt.msc)

Step3
In side the sandeep.com create the Alias file and Host file
        
Step 4
Create a webpage with help of notepad write something on tha note pad save it as aa.html

Step 5
 Create a normal share folder  with the name IIS2 cut and paste the created html
file in to share folder 

step 6

Go to IIs Manager short cut for (intmg in run)
            ||
Step  for creating security certificate under the iis manager
            ||
select your server pc name
            ||
on the right side select server  certificates
            ||
give your certificate name 
eg :sandeep


Step 7
step for Hosting website with https protocol

Go to server
           ||
open iis manager
           ||
Right click on sites
           ||
click on add website
           ||
give the site name sandeep.com
browse the share folder
           ||
under binding select the HTTPS 
           ||
select the ip
           ||Host  name www.sandeep.com
           ||
unsder the ssl select your certificate 
           ||
click on ok
           

Step 8 

Step for Adding Default document and directory browsing to the sandeep.com

on the left side select the sandeep.com
                  ||
on the right side select default document dubble click  add
                  ||
give the the name of html


For verification go to any pc check the webpage working or not ..








Monday, December 22, 2014

Group policy management my server 2012 13 day class theory

                                             :Group policy management:


1.Local Group policy management                                     2.Server Group policy management  
Shortcut for open local policy                                            Shortcut for open server group policy
             (gpedit.msc)                                                                     (gpmc.msc)



1Q: What is the group polices 

Group polices set of rules for applying on users and computers .

2 Q : what is block inheritance

with the help of  inheritance we can block or stop top level policies ,domain level policies or particular ou or particular domain .

3 Q : What is active directory container ?

Site or domain ,Ou,are contains of active directory services contains   .

4 Q :what is delegation controller ?

when the administrator his assigning his specific  privilege to the specific user ,for particular Ou,or domain that is called as delegation controller


5 Q: How to implement a group policy for local  pc`s ll users at a time ?

Police name: No one can access the controller panel 

Go to local pc 
        ||
log on as admin
        ||
create  3 new users in your local pc
        

After go to run type gpedit.msc
            ||
under local computer policy
            ||
user configuration policy
            ||
expand administrative tam plants
            ||
select control panel
            ||
select prohibit access to the control panel 
            ||
select enable
            ||
Apply 


after open run and type gpupdate


6 Q : How to implement group policy for specific user ?
   Policy name : Hidden my computer drives 

Go to local computer 
             ||
log on as admin
             ||
go to run type mmc (Microsoft management console)
             ||
click on file 
             ||
click on add or remove snap in
             ||
select group policy object 
             ||
click on add 
             ||
click on browse
             ||
select user tab
             ||
select particular user 
             ||
click ok 
             ||
expand local computer policy 
             ||
expand administrative templates
             ||
expand windows components 
             ||
expand windows explorer 
             ||
right side select hide these specific drive in my computer
             ||
enable select the particular drive
             ||
 click ok 
             ||
Apply 


Go to run type gpupdate


For verification log off and log on with the particular user account .. 



Note : By default we have 1600 group policies in server ..

  
7 Q: How to apply server group policy on ou level ?

 Ex : ou= sales policy no one can access my computer c: drive 

Go to run 
         ||
Type gpmc.msc for (for groupolicy short cut )
         ||
Expand forest
         ||
Expand domain
         ||
Expand domain name 
         ||
Expand created ou (eg :sales)
         ||
right click on sales 
         ||
click on create a gpo this domain
         ||
Give the gpo name 
         ||
Click ok
        ||
Right click on gpo
        ||
click on edit
        ||
under gpm editor
        ||
under user configuration 
        ||
expand policies
        ||
expand admin templates
        ||
expand windows components
        ||
click on all settings
        ||
select hide this specific drive 
        ||
dubble click on the policy
        ||
under the policy select specific option 
        ||
select enable
        ||
Click apply
        ||
Click ok 


Go tpo run type gpupdate
after for verification go to client pc login with any domain user the check the hidden drive is showing or not ..




8 Q: How to implement server group policy on domain level ?

 domain name is sandeep.com policy is no one can access control panel

Go to server 
         ||
log on as admin
         ||
go to run type gpmc.msc for group policy management
         ||
expand forest
         ||
expand domain
         ||
expand domain name
         ||
right click on domain name
         ||
click on create new gpo 
         ||
click ok
        ||
right click on created  gpo name 
         ||
click on edit
         ||
expand user configuration
         ||
expand policies
         ||
expand admin templates
         ||
expand control panel
         ||
select prohibit to access the control panel 
         ||
click on enable 
         ||
click apply
         ||
click ok 

go to run type gpupdate press enter 

for verification go to any user try to access the control panel 

Note :  if your implementing on domain level that policy going to effect to that administrator also..

8 Q: How deniy specific policy to specific user ?

 no one can access the control panel but specific user can access the control panel

Go to server computer 
            ||
log on as admin
            ||
go to run type gpmc.msc fshort ut for group policy management
           ||
expand domain name 
           ||
under the domain name 
          ||
right click  on no one can access the control panel 
          ||
click on edit
          ||
click on action tab
          ||
 click properties
          ||
click on security tab
          ||
select domain admin
          ||
check the deny
          ||
click Apply 
          ||
click ok 

After open run and type gpupdate  press enter
for verification now try to access the control panel with administrator account


9 Q: Howto change the site name ?

 Go To server computer
             ||
log in as admin
             ||
go to active directory sites and services
            ||
expand sites
            ||
select default forest site name 
            ||
right click on and click on rename
            ||
apply
ok
             

10 Q: How implement a group policy on site level ?

Stpe 1
Go to server computer
             ||
log on as a admin
             ||
go to gpmc.msc
             ||
expand forest 
             ||
expand domain
            ||
expand domain name
            ||
expand group policy object
            ||
right click on gp object
            ||
click on new 
            ||
give the new gpo name 
            ||
hide all the drives of my computer 
            ||
click  ok    
            ||
click on all 
            ||
under the gpedit
            ||
expand policies 
            ||
expand admin templates
            ||
select all settings
             ||
click hide my computer all drives  
             ||
enable
             ||
click Ok 
             ||
apply 
after open run type gpupdate press enter ..


Step 2

Go to gpmc.msc
            ||
right click on sites
            ||
click on show sites
            ||
check the box new site
            ||
expand sites
            ||
expand ny
            ||
right click on link on object gpo 
            ||
hide all drives of my computers 

Go to run type gpupdate press enter

for verification any computer try to check the my computer drives ..