Thursday 23 July 2015

Logon Script , Home Folder , Disk Management

Logon Script

It means application will be run automatically for a user on all the computers.

Step :-
Select any application (Eg:    calculator)        -> Check filename in its properties (calc.exe)   
->  Search its path  (c:\Windows\System32)    ->    Open C:  ->   Windows     -> SYSVOL   -> sysvol       -> domain name     ->  Script    -> Create new text document       ->

       
        path=c:\Windows\System32   <┘
        calc.exe

File menu    -> Save As    -> Name  abc.bat  
                                        Type   All Files

-> Save

Open AD users and computers    -> particular user properties  -> Profile tab   ->
Logon Script  [   abc.bat   ]       -> OK

Logon as user to check effect



Home Folder
It is shortcut of the existing sharefolder for a user and available on all the computers.
NOTE: Map network drive is for one user and one computer only.

Step for home folder :-
Create a sharefolder      -> AD users and computers     -> Particular user properties     -> Profile tab    -> Home Folder   -> Connect   Z:  To  \\servername\sharefolder\username -> OK


Disk Management

Types of hard disk :-
1. IDE
2. SCSI (Skuzzy)

Types of partition :-
1. Primary
2. Extended    It has logical drivers

In FAT file system , maximum 1 Primary and 1 Extended partitions are possible in one HDD

In NTFS , maximum 4 Primary partitions  or  3 Primary and 1 Extended partitions are possible in one Hard Disk Drive.




NOTE: A computer can have one boot or active partition only.

NOTE: In windows 2012, we have REFS (Resilient File System), NTFS and FAT32.

NOTE: Partition means logical space to store data within a hard disk.

NOTE:       By default any type of hard disk drive (IDE or SCSI) is known as Basic Disk and have partitions.


Dynamic Disk
It is feature of Windows 2000 and higher versions. It is feature of NTFS. Dynamic disk means  non-contiguous hard disk which means different hard disks are logically combined together but they are not touching physically.  We can use dynamic disk to get more disk space. By default hard disk is Basic Disk but we can upgrade it into Dynamic Disk. We can also revert back or convert dynamic into basic, if required. When we convert basic into dynamic disk, then no data will be loss but when we revert back hard disk, then 100 percent data will be loss because we have to delete all the volumes.  We cannot revert back that particular hard disk which have OS because it is in use.  Dynamic disk do not have partitions but have only volumes. Volume means logical space to store data which can be extend to more than one hard disk.

There are 5 types of volume :-
1. Simple volume
2. Spanned volume
3. Stripe volume or RAID 0
4. Mirror volume  or RAID 1
5. Stripe set with parity volume  or RAID 5

1. Simple   volume      It means only one dynamic disk is use, it can be extend to get more space . When we upgrade basic disk into dynamic disk, then the existing partition will become simple volume and data will not be loss. Simple volume is similar to partitions but we can convert it Mirror and Spanned volume also.  Nowadays , we can also extend partitions.

        Minimum    =      1 Hard Disk Drive       
        Max                  1 HDD
        No fault tolerance or redundancy

2. Spanned volume      It means two or more hard disks are upgrade into dynamic disk, size of hard disks can be different.  Data will be store in any disk and when it is full , then store in another disk.
        Min   =      2 HDD
        Max  =      32HDD
        No fault tolerance

3. Stripe volume it means two or more hard disks are upgrade into dynamic disk, size should be same and it is faster than simple and spanned volume.  Data will be store in the form of  64KB blocks (stripes) randomly in all disks.
          Min =      2 HDD
          Max =      32HDD
          No fault tolerance


4. Mirror volume         It means two hard disks are upgrade into dynamic disk, size should be same and data will be store in both disks at a time.
        Min   =      2 HDD
        Max  =      2 HDD
        Fault tolerance of data and OS.

5. Stripe set with parity or RAID 5 volume     It means three or more hard disks are upgrade into dynamic disks, size should be same and block or stripe size depend on number of hard disks use for this volume. It is recommended to use number of hard disk in the multiple of 3. Number of blocks or stripes in every hard disks will be create equal to the number of hard disks. Data will be store in the normal format in some of the disks and in some other disks data will be store in the compress format which is known as parity.
        Min   =      3 HDD
        Max  =      32HDD  but recommended 30
        Fault tolerance of data only.

NOTE:
1. Mount option is feature of NTFS and was  introduce in windows 2000. Mount means we can create partition or volume without using any drive letter.
2. Hardware RAID is feature of server machine motherboard and Software RAID is feature of OS.
3. RAID 1 and RAID 5 are not available in Windows 2000 professional and Windows XP.
4. RAID 5 is not available in Windows 7
5. Parity means numerical calculation to find the missing value on the basis of available data
        like   1 + x =10.   In RAID 5 ,    parity means compress format of data.
6. Stripe means block
7. RAID (Redundant Array of Independent/Inexpensive Disks) means to distribute data into different hard disks.
8. RAID 1  is use for OS and RAID 5 is use for database in servers mostly.
9. In Windows 7, Windows 2008 and higher versions we can extend partitions also.
10. In Windows 7 , Windows 2008 and higher versions we can shrink partitions and volumes.









No comments:

Post a Comment