Friday, November 28, 2014

Member Server My 7 th day server class theory

                                                             Member Server

1. what is the member server?

 when you try to joining in server  computer in a domain that is called as member server .



 2. share folder ?

share folder is a folder is basically use for sharing the data over the network

  
 Types of share folder 

 1. Normal folder

 2.Hidden folder

 3. Home folder called as Network folder or special drive also

 4. Offline folder  

Regular syntax for access the share folder 

Open Run type
 \\server name or ip \folder name 
 Eg: \\192.168.1.1\marketing


  Normal folder

Normal share folders are these folders we are not putting security and permission and sharing this folder with every one in network

Step :1
for creating a normal share folder 

 Go to server  computer
              ||
log on as admin
              ||
go to my computer
             ||
select any drive 
             ||
open particular drive 
             ||
create a new folder with xyz name
             ||
right click on folder 
            ||
click on share 
            ||
 share with every one 
            ||
give the read and right permission
            ||
Done 
  


For verification go to client pc log in  with  client pc go to run and try to access the share folder 


 Hidden folder 

Hidden folder are those folders which is basically created by more security for sharing of data on network 
 Note:
this folder cannot see directly in network path

  

Step for create hidden folder 
     
Go to server computer
             ||
log on as admin
            ||
go to my computer 
           ||
open any drive create one folder with name ABC 
           ||
right click on folder click on properties 
           ||
click on sharing tab
give the TRICK mark share this folder 
give the folder name as SS$
  Click on permission clik applay 
         ok



For verification go to client user login with any domain user 


open run prompt type type the below path

\\server ip\ss$

Home folder

 Home folder is a share folder which is basically used for mapping of drive centralized sharing of data it is basically used for day to day taking the data backup .


Creating home folder 

Step 1
Go to server   computer
            ||
log on as admin
           ||
go to my computer 
           ||
open any drive 
           ||
create a new folder with name of Home make it as normal share folder
  
Step2

go to Active directory services 
                  ||
go to computers and users
                  ||
select a user for whom you want to crate the home folder 
                 ||
right click on user properties 
                 ||
 go to profile Tab
                 ||
under the folder click on connect select the drive and give the path 
\\server ip\share older name\username

for all users you want to give the access  
\\server ip\share older name\%%             

for verification go to client computer and log on with that user 


Offline folder

offline folder are those share folder which is available on client pc even through there is  no connectivity between client and server 

Step 1

Go to server computer 
                ||
log on with admin account\
                ||
open my computer 
                ||
open any drive
                ||
create a new folder with name of DEMO
inside folder put some data
                ||
share the folder

Step 2
go to client computer
              ||
login with that domain user system whom you want create offline folder 

go to run
\\serverip
select the demo folder enter 
             ||right click make it always offline


Step 3

Disconnect the network  cable and try to check the offline folder access  ..



Thursday, November 27, 2014

Jion in to Domain My 6 th day server class theory


1.  How to join windows 7 \windows 8\or windows xp system add in to domain ?




                                                                                                                        CLIENT PC
SERVER
IP: 192.168.36.99                                                                                  IP: 192.168.36.101
Subnetmask  : 255.255.255.0                                                              Subnetmask  : 255.255.255.0
Default gateway :192.168.36.2                                                           Default gateway :192.168.36.2
Preferred DNS  : 192.168.36.99                                                         Preferred DNS  : 192.168.36.99
Alternet DNS : 192.168.36.2                                                              Alternet DNS : 192.168.36.2


Step :1

 Go to you computer
            ||
log with admin account
            
Step :2

 Close the firewall in server and client machine (in real time we are not turn off the firewall

Step :3

Check the connectivity from server to client client to server with ping

Step :4

 In client pc go to my computer properties 
                       ||
click on change settings 
                       ||
click on change click on more tab
                       ||
under the properties DNS suffix of this computer and give the domain name password click apply and ok then restart the computer 


For verification now try to login with any domain user in the client pc .             


2.How to give log on time to a Particular user  ?

 Go to server machine 
             ||
 log on admin account
             ||
Go to Active directory services shortcut for (dsa.msc from run )
             ||
under the users and computers 
             ||
select the particular user 
            ||
go to properties
            ||
click on  the account tab
           ||
  select the log on hours set the days and time click apply ok ..

for the verification try to log on from client machine 
if unauthorized time hours user try to log in user get the following error 
( your account has time restriction that prevent you logging on at this time plese try again  )



 3.How to give the permission to particular user to particular system ? 

 Go to server computer
             ||
 log on admin 
             ||
go to Active directory services (for short cut dsa.msc)
             ||
click on users and computers
             ||
click on particular user go to properties
             ||
and click on account 
             ||
 click on log on tab 
             ||
give the system name 
             ||
and click apply 
             ||
click ok 

for verification we try to log in other client pc  
(its showing the following error 
your account is configured to prevent from using this computer pls try another computer)


4.How to give user lockout policy ?

 Go to server computer
          || 
log on admin account
          ||
open Run Prompt type gpmc.msc (for group polices console)
          ||
under the group polices 
          ||
expand the forest 
          ||
expand domain
          ||
right click on domain controller policy 
          ||
click on group policy management 
          ||
expand computer config polices 
          ||
expand windows security settings
          ||
expand account polices
          ||
dabble click on account lock policy 
          ||
account lockout three should pro properties click on define the policy setting and give the number and click and apply ok ..


open Run prompt 
type gpupdate press enter


 5. How to unlock the user account in server 2012?

Go to server computer
            ||
log on with admin account
            ||
open run prompt type dsa.msc (short cut to open active directory services) 
            ||
go to users and computers 
            ||
select the locked account eg: (sandeep)
right click on account properties 
            ||
click on unlock account 
            ||
        apply 
            ||
        ok


For verification try to log on client pc ..

      


















Create users and creadtionals My 5th day server class theory



 1. What is KDC ?

Kerbores distribution center it is a network service that supply session tickets and temporary session keys to users and computers within a active directory domain controllers as part of active directory domain services (ADDS)

   
2. What is KCC ADDS(active directory services) ?
 knowledge consistence checker as soon as soon as you install the second domain controller in a forest the process called the KCC (knowledge consistence checker) begin running on every domain controller the (knowledge consistence checker) is responsible for generating the replication topology by default the (knowledge consistence checker) on every domain controller recollect the replication topology for every 15 min..


3. How to create a domain user in server 2012?

Go to server machine 
              ||
Log on as Administrator
              ||
open run and type dsa.msc for active directory services short cut
              ||
under the active directory services users and computers
              ||
expand your domain name
              ||
expand your user folder 
              ||
Right click on new click on new user create user with name and password

4. How create user account in domain by command ?
 open cmd type below command

dsadd user "cn=sandeep,cn=department, ok=ibm, dc=com" -pwd sandeep@123 -canchpad no -pwdneverexpaires yes

4. How create OU (organizational unit ) ?

  Go to server computer
             ||
 log on as  admin
             ||
open run and type dsa.msc for short cut for adds(Active directory services)
             ||
go to users and computers
             ||
expand domain name (ibm etc)
right click on domain
             ||
click on new click OU (organizational unit ) 
give the name sales or hr etc and create ..

Through Command create the OU 

dsadd ou "ou=production,dc=ibm,dc=com"


4. How create a user inside the OU (organizational unit)
 Go to active directory services 
              ||
users and computers
              ||
expand your domain name right click on sales click on new user   

Through Command create user id in ou
 dsadd user "cn=user1, ou=sales,dc=ibm,dc=com -pwd password -canuser 

5. How create a user id without password?

we can create user id without password by command prompt only we can`t create in GUI mode

Go to server
        ||
log on as admin
        ||
open run and type gpmc.msc for group polices management 
        ||
click on admin tools
        ||
expand your forest
        ||
expand your domain name 
        ||
right click on default domain polices click on edit
        ||
under the group policy editor expand computer configuration
        ||
expand policies 
       ||
expand windows polices
       ||
expand windows settings
       ||
expand security settings
       ||
expand account polices 

       ||
expand password polices
       ||
give trick mark on password must meet compatibility require disable
       ||
minimum password length 0
       ||
ok close




Go to run and type gpupdate enter

for verification now try to create domain user by graphically     ..
  

Wednesday, November 26, 2014

Protocols and Port numbers My 4th day server class theory

                                                Protocols and Port numbers 

If your 2 to 3 years experience you ill get minimum 7 questions on below port number  

what is Protocol?

Protocols is set of rules and regulation

what is Port number?
Port number is a channel of communication 

what is Ping ?

Packet internet gopher it`s working ICMP (internet control message protocol )protocol


Internet control protocol IPV4 Port No Is         :    0
Message Protocol IPV6                                   :    58

(You can any find the all port numbers list in any windows operating system in following path)
  C:\windows\system32\drivers\etc\protocol  open with text pad or word 

 actually Port numbers 0-65535

0 to 1023                                               1024 to 49151                                          49152 to 65535
well known                                             Registered                                               Dynamically assign   Port numbers                                         Port numbers                                           port numbers

Active Directory port Number is                      : 88
Kerberous  Port number is                              : 88
Kerberous pasword is                                     : 464
LDAP (light weight authentication protocol)    : 389
LDAPS (light weight directory access protocol) :363
GC (global catalog)                                          : 3268
TCP (trans mission control protocol)               : 6
UDP (user data gram protocol)                         : 17
Host name port Number is                               : 101
HTTP(hyper text transmission protocol)  port no is :80
HTTP\ssl (hyper text trans mission protocol &Secure Sockets Layer) : 443
IPV4 (internet protocol version 4) port number is  : 0
IPV6 (internet protocol version 6) port number is  : 41
DHCP V4 Client port number is                             : 68(Boot pc)
(dynamic host configuration protocol)
DHCP V4 Serum port number is                            : 67(Boot pc)
DHCP V6 Client   port number is                           : 546
DHCP V6 Serum port number is                            : 2535
Domain port number is                                          : 53
DNS(domain naming service) port number is         : 53
Name server Port number is                                   : 42
GGP (gateway gateway Protocol)                            : 3
EGP(exterior gateway protocol)                               : 8
SSH(secure shell) port number is                            : 22
RDS(Remote desktop services)                                : 3389
Telnet Port number is                                              : 23
POP V2 Port number is                                            :102
POp V3 Port number is                                            : 110
IMAP4 Port numbers is                                            : 143
NNTP Port number is                                               : 119
RDP (reliable data gram protocol)                            : 27
Host monitoring                                                       : 20
FTP (file transfar protocol) port number is                : 21
FTPS (file transferring for security) port numbers is  : 989
SMTP(simple mail transfer protocol) port numbers   : 25
RLP (resource location protocol) port number is       : 39
TFTP(trival file transfer protocol) Port number is       : 109
NNTP (network news transfer protocol) port number is : 563
IMPS (internet message access protocol)                     : 993
SNMP (simple  network management protocol) port no :161 in coming
                                                                                     : 162 out going
IRC (internet ready check protocol)                               : 194
CMD :514
syslog port number is                                                   : 540
whoami port numbers is                                               :565
NFA port number is                                                       :1155
L2TP (layer protocol)                                                     : 1701
PPTP Port number is                                                    :1723
IP SEC Port number is                                                  :4500
Web sphere port number is                                           : 9443

           

Monday, November 24, 2014

Remove the active directory services My 3rd day server class theory




1.How to remove the active directory services from windows server 2012

 Go to server and log on as admin
                  ||
Open Run Prompt and Type servermanager press enter
                  ||
click on Remove roles and Features 
                  ||
              Next
                  ||
              Next
                  ||
Uncheck the Active the directory services box
                  ||
Click Remove feature
                  ||
Click Demote this Domain Controllers
                  ||
               Next
                  ||
Click on Processed with Remover 
                  ||
               Next 
                  ||
Trick on Remove Dns (domain naming services)
Trick on Remove Application and features 
                  ||
               Next
                  ||
Give Admin Password 
                  ||
               Next
                  ||
         Click on  Remove
                  ||
         Click Demote 


After This process server Machine will be automatically Restarted 
after restarted you can check on administrative tools ..



2.Different between 2k3 &2k8 and 2012 server versions 


2k3 server having 

1. Standard edition 
2. Enterprises edition 
3. Web edition 
4.  Data center edition
 Having 11 roles


2k8 server having 

1. Standard edition 
2. Enterprises edition
3. Web edition
4. Data center edition

2k8 R1 (Release one )  having 16 Roles
2k8 R2 (Release two)   having 17 Roles


2k12 server having 

1. foundation edition   => not supported for vmware support only 15 users 
2. Essential edition      => not support for vmware support only 25 users
3. Standard edition      => support for vmware and limited users depend on users licence 
4. Data center edition => support for vmware and unlimited users

2k12 having 19 roles

Note :
we can able to upgrade in 2k3 to 2k8 with same version but 2k8 to 2012 server only we able go for Datacenter edition only from any version also ...



Friday, November 21, 2014

Port numbers My 2nd day class of active directory services



Port numbers :

1 . active directory services (ADS) port no is                            : 88
2 . kerberosvs user authentication purpose port numbers is   : 88
3 . kerberosvs password is                                                           : 464
4 . light weight authentication protocol (LDAP)                       : 389
5 . LDAPS                                                                                      : 636
6 . Globel catalog (GC)                                                                 : 3268


after installing  the active directory we can find the following folder created in c drive

1. Data base folder
    C:\windows\ntds\ntds.dit

2. log file folder
    C:\windows\ntds

3. sys vol folder    
    C:\windows\sysvol

Requirements for configuring the active directory services 

1. Server Opearting system
2. static IP address
3. 250 Mb free space with NTFS file system 
  200 mb for active directory services and 50 mb for log files


How to configure the static ip for server computer 

go to run => type ncpa.cpl => right click on network properties =>click on ipv4 => select use following ip address and assign the ip  and press Tab Button it will take subnet mask and give the default gateway and preferred dns and alternate dns  press ok and close 



Steps for installation of active directory 




go to server login as  server administrator 

go to run 
     ||
type server manager 
     ||
add roles and features 
     ||
  Next
     ||
  Next 
    ||
  Next
    ||
 check the box active directory domain services
    ||
Click on add features 
   ||
 Next
  ||
 Next
  ||
 Next
  ||
 Install and close 
after showing window click on promte this server domain controller 
    ||
add new forest and give root domain name XXXX.com
    ||
 Next
   ||
 select forest and function level 2003 
and type active directory password
       ||
Next
    ||
Next
    ||
Next
    ||
Next
    ||
Next
    ||
Install 

after active directory installation complete system will auto restart
after we need to fix the alternet DNS and Preferred DNS server Details as we configure the previous details ..
  
shout cut for open the active directory services

Go to Run Type = > dsa.msc 



My 1st day class server 2012 basic commands

                                                             questions and answers

1. how to see your system name and operating system version through command ?

Ans: type the winvar command in command prompt .

2. how to restart the  server machine  through command ?

Ans: shutdown  -r -t 00  (00 is the time for restart)
3. how to shutdown the  server machine through command ?

Ans: shutdown -s -t 00

4. how to give the ip address to the nic card through command ?

Ans: netsh interface ip set address name="local area connection" static ip and subnet mask and             default gateway

5. how to configure static DNS ip address to the network card through                        command ?

Ans: netsh interface ip set dns name="local area connection"static ip of dns server 

6.how to give alternate ip address to the network card through                        command ?

Ans: netsh interface ip add dns name="local area connection" ip address  index=2


7.how to disable the network card through command ?

Ans: netsh interface name="local area connection" admin=disable

8.how to enable the network card through command ?

Ans: netsh interface name="local area connection" admin=enable

9.how to create a local user through command ?

Ans: net user name password /add 

10.how to check how many users are there in your pc  through command ?
Ans: net user

11.how to delete local user through command ?

Ans:net user username /del

11.how to open your network connections through command ?

Ans: open run prompt type : ncpa.cpl press enter

12.how to open your system properties  through command ?

Ans: open run prompt type : sysdm.cpl press enter

13.how to open control panel   through command ?

Ans: open run prompt type : control press enter

14.how to open local user and groups through command ?

Ans: open run prompt type : usermgr.msc press enter

15.how to check computer configuration  through command ?

Ans:open run prompt type : msinfo32 or dxdiag press enter

16.how to open add or remove programs  through command ?

Ans: open run prompt type : appwiz.cpl  press enter

17.how to open disk management through command ?

Ans: open run prompt type : diskmgmt.msc  press enter

18.how to open service console  through command ?

Ans: open run prompt type : services.msc press enter

19.how to open event viewer through command ?

Ans: open run prompt type : eventvwr.msc press enter