IMRAN KHAN

IMRAN KHAN
IT CS

Monday, 11 January 2016

HTTP Error 404


Register asp.net again....it will  solve the Problem. 
enter image description here

Run
=> cmd
=>cd windows
=>cd microsoft.net
=>Framework
=>v4.0.030319
=>aspnet_regiis.exe -i


Hardware and Networking Interview Questions with Answers

Hardware and Networking Interview Questions with Answers...



---------------------------------------------------------------------------------
Explain hidden shares. How do they work?

Hidden or administrative shares are share names with a dollar sign ($) appended to their names. Administrative shares are usually created automatically for the root of each drive letter. They do not display in the network browse list.

Name of seven layers in Open System Interconnection model.
They are Application, Presentation, Session, Transport, Network, Data link, and Physical.
What is the difference between ARP and RARP?
The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP uery packet that includes the IP address of the receiver.
The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.
What is Client/Server?
Clients and Servers are separate logical entities that work together over a network to accomplish a task. Many systems with very different architectures that are connected together are also called Client/Server.
What is MAC address?
It is the 48 bit hardware address of LAN card. MAC address is usually stored in ROM on the network adapter card and it is unique.
What are the perquisites to configure server?
  • LAN card should be connected:
  • Root (partition on which window is installed) should in NTFS
  • Server should be configured with a static IP address
How we will configure ADS?
Start ==> RUN ==> DCPROMO
How will you test LAN card?
Ping 127.0.0.1
If getting reply its fine

What are the difference between DOMAIN and WORKGROUP?

Workgroup:-
(i)Every PC is responsible for its security own.
(ii)No centralize administration
(iii)Main aim to save hardware recourse
(iv)Best suite in school, training institute, cyber café
Domain: -
(i)Server is responsible for data safety.
(ii)Centralize administration
(iii)Main aim is to secure data
(iv)Best suite in company environments


Which command is used to check the IP address of your system?

ipconfig

Which set wizard will run to do peer to peer networking in XP?

Small home and office setup wizard

Which command is used to check the physical connectivity between two computers?

Ping

What is map drive?

A special feature that will map network resource to my computer.

What is Proxy Server?

Most large businesses, organizations, and universities these days use a proxy server. This is a server that all computers on the local network have to go through before accessing information on the Internet. By using a proxy server, an organization can improve the network performance and filter what users connected to the network can access.

Which folder contains ADS installed on server?

NTDS

What is the full form of Internet?

International Networking

Which are the bootable files of 98 and XP ?

In windows98 it is command.com
In XP it is NTLDR

In which partition Linux is installed ?.

Linux doesn’t support windows file system that contain partition scheme. It (Linux) has its own file system known as ext2, and ext3. it will install only on it.In linux file system it will install on / (root) partition.

What is size of SWAP ?

It’s the hard disk space that is used as RAM for fast processing. In window it’s known as virtual memory and could be set as per retirement via this path
My Computer ==> properties ==> advance
In Linux it’s known as SWAP space and generally taken the double size of physical RAM For example if you have 256 (MB) DDR physical ram then swap space would be 512 MB.

What is full form of C.M.O.S ?

Complementary metal oxide semiconductor

How will you check ip address without using network place ?

Start ==> Run ==> Command ==>ipconfig

What is IP?

Internet Protocol (IP) is an unreliable, best effort delivery, connection-less protocol used for transmitting and receiving data between hosts in a TCP/IP network
What are the difference between hub and switch?
Hub is a layer 1 device. It will out the signal from all of its port except the one from where its insert. It is unable to detect the collision. It works on single collision and single broadcast domain.
Switch is layer 2 device. It maintains a CAM table that store the MAC address of devices attached on its port. CAM table is used to make the forwarding decision. It works on per port collision and single broadcast domain.
What is layer?
Layer is a completely logical partition of PDU (protocol data unit) process. That define how the information is travel form one computer to other over the network.
What is TCP/IP?
It is combination of two protocols TCP and IP. It is used for reliable data transfer.
What is operating system?
An operating system (sometimes abbreviated as "OS") is the program that, after being initially loaded into the computer by a boot program, manages all the other programs in a computer. It provides a platform to application software.
What is package software?
The collection of mostly used software released in package Form Company. For Example Ms-Office that contain word, power point, Excel, etc.
Full form of .co.in, .com
  • COM - ".com" stands for "commercial".
  • NET - ".net" stands for "network"
  • ORG - ".org" stands for "organization"
  • INFO - ".info" stands for "information"
  • BIZ - ".biz" stands for "business".
  • IN - 'IN' stands for India. The 'IN' is a 2-letter country code for India.

What is ring topology?

In a ring topology, device one connects to device two, device two connects to device three, and so on to the last device, which connects back to device one.

Which cable is used in LAN?

Generally coaxial and TP media is used in LAN networking.

What are Difference between STP and UTP?

STP cable is mostly used by IBM; it has an extra cover over each pair.
UTP cable is used in star topology. It has a single cover over all pair.


Full form of ping.

PING stand for Packet Internet Grouper 

What are the minimum requirements for xp installation?

64MB RAM
1.5GB free HDD space
233MHz minimum processor.

What are 10Base2, 10Base5 and 10BaseT Ethernet LANs?

10Base2— An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling, with a contiguous cable segment length of 100 meters and a maximum of 2 segments.
10Base5—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling, with 5 continuous segments not exceeding 100 meters per segment.
10BaseT—An Ethernet term meaning a maximum transfer rate of 10 Megabits per second that uses baseband signaling and twisted pair cabling.

What is the difference between an unspecified passive open and a fully specified passive open?

An unspecified passive open has the server waiting for a connection request from a client.
A fully specified passive open has the server waiting for a connection from a specific client.

Explain the function of Transmission Control Block

A TCB is a complex data structure that contains a considerable amount of information about each connection.

What is a Management Information Base (MIB)?

A Management Information Base is part of every SNMP-managed device. Each SNMP agent has the MIB database that contains information about the device's status, its performance, connections, and configuration. The MIB is queried by SNMP.

What is anonymous FTP and why would you use it?

Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access.

What is a pseudo tty?

A pseudo tty or false terminal enables external machines to connect through Telnet or rlogin. Without a pseudo tty, no connection can take place.

What does the Mount protocol do?

The Mount protocol returns a file handle and the name of the file system in which a requested file resides. The message is sent to the client from the server after reception of a client's request

What is External Data Representation?

External Data Representation is a method of encoding data within an RPC message, used to ensure that the data is not system-dependent.

When were OSI model developed and why its standard called 802.XX and so on?

OSI model was developed in February1980 that why these also known as 802.XX Standard (Notice 80 means ==> 1980, 2means ==> February)

What is Full form of ADS?

Active Directory Structure

How will you register and activate windows?

If you have not activated windows XP, you can do so at any time by clicking the windows Activation icon in the system tray to initiate activation. Once you have activated windows XP, this icon disappears from the system tray.
For registration
Start ==> Run ==> regwiz /r

Where do we use cross and standard cable?

Computer to computer ==> cross
Switch/hub to switch/hub ==>cross
Computer to switch/hub ==>standard

How many pins do serial ports have?

In computer it's known as com port and could be available in 9pin or 25 pin. On router it have 60 pins.

How will check ip address on 98?

Start ==> Run ==> command ==> winipcfg

How will you make partition after installing windows?

My computer ==> right click ==> manage ==> disk management ==>
select free space ==> right click ==> New partition

What is IP?

It's a unique 32 bits software address of a node in a network.

What is private IP?

Three ranges of IP addresses have been reserved for private address and they are not valid for use on the Internet. If you want to access internet with these address you must have to use proxy server or NAT server (on normal cases the role of proxy server is played by your ISP.).If you do decide to implement a private IP address range, you can use IP addresses from any of the following classes:
Class A 10.0.0.0 10.255.255.255
Class B 172.16.0.0 172.31.255.255
Class C 192.168.0.0 192.168.255.255

What is public IP address?

A public IP address is an address leased from an ISP that allows or enables direct Internet communication.

What's the benefit of subnetting?

Reduce the size of the routing tables.
Reduce network traffic. Broadcast traffic can be isolated within a single logical network.
Provide a way to secure network traffic by isolating it from the rest of the network.

What are the differences between static ip addressing and dynamic ip addressing?

With static IP addressing, a computer (or other device) is configured to always use the same IP address. With dynamic addressing, the IP address can change periodically and is managed by a centralized network service

What is APIPA?

Automatic private IP addressing (APIPA) is a feature mainly found in Microsoft operating systems. APIPA enables clients to still communicate with other computers on the same network segment until an IP address can be obtained from a DHCP server, allowing the machine to fully participate on the network. The range of these IP address are the 169.254.0.1 to 169.254.255.254 with a default Class B subnet mask of 255.255.0.0.

What are the LMHOSTS files?

The LMHOSTS file is a static method of resolving NetBIOS names to IP addresses in the same way that the HOSTS file is a static method of resolving domain names into IP addresses. An LMHOSTS file is a text file that maps NetBIOS names to IP addresses; it must be manually configured and updated.

What is DHCP scope?

A scope is a range, or pool, of IP addresses that can be leased to DHCP clients on a given subnet.

What is FQDN?

An FQDN contains (fully qualified domain name) both the hostname and a domain name. It uniquely identifies a host within a DNS hierarchy

What is the DNS forwarder?

DNS servers often must communicate with DNS servers outside of the local network. A forwarder is an entry that is used when a DNS server receives DNS queries that it cannot resolve locally. It then forwards those requests to external DNS servers for resolution.

Which command will you use to find out the name of the pc in networks?

NSLOOKUP [192.168.0.1]
[Ip of target computer]

How will enable sound service in 2003?

By default this service remain disable to enable this service
Start ==> administrative tools ==> service ==> windows audio ==> start up type ==> automatic

How will enable CD burning service in 2003?

By default this service remain disable to enable this service
Start ==> administrative tools ==> service ==> IMAPI CD burning com service ==> start up type ==> automatic

What do you need to do that your browser will point URL www.example.com to the internal IP address 127.99.11.01?

Make changes in the hosts file in C:\WINDOWS\system32\drivers\etc
The Hosts file is looked at first before going out to the DNS (Domain Name Service) servers. you have to put the following on new lines at the end of hosts file:
127.99.11.01 example.com
127.99.11.01 www.example.com

What can you suggest to enhance testing process on windows OS?

Put shortcut to notepad.exe in SendTo folder. It is speed up work with different files like hosts, configuration files. Location of this folder is
C:\Documents and Settings\Default User\sendto.
Open it and create shortcut of notpad.exe

What is FTP?

FTP is short for File Transfer Protocol. This is the protocol used for file transfer over the Internet.

How will you make XP home the client of server 2003?

XP home edition is made only for home purpose so we can’t use it as the client. And same rule apply on windows vista editions also.

Where do you take back up from?

Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Backup.
Bedside's it?
If OS support then Select Drive ==> properties ==> back up now

What is router?

Router is a device that is used to connect two different networks.

How will you configure ADS?

Start ==> Run ==> DCPROMO
Or
Start==> Configure your server ==> add/Remove a Role

What is ADS?

A central component of the Windows platform, Active Directory service provides the means to manage the identities and relationships that make up network environments.

What if this wizard (ADS) is not running?

Check the network cable it should be plugged
Check root partition it should be in NTFS
Check IP of server it should be configured statically

How will you add a client to server? /
How’s the client join a domain?
What are the client configurations?

On Server
Configure ADS (for example it’s configured with xyz.com)
On Client
Log in form local administrator account
My Computer ==> Properties ==> Computer Name ==> Change
==>Domain ==>xyz.com ==> username Administrator (of xyz.com)
Password xxxxxxxxxxx (of admin of xyz.com)
Welcome to xyz.com ==> Restart the computer

Does it necessary to use administrator account to configure the client?

Not every time but you are required a properly configured user account in domain controller security policy.

ISO stand for?

International standard organization

OSI stand for?

Open System Interconnection

What is full form DHCP and how will you configure it?

Dynamic host configuration protocol

To configure it on Server
Configure your server ==>Add/Remove a role ==>DHCP server ==>complete the wizard
Start ==> Administrative tools ==> DHCP ==>New scope ==> Wizard
Now authorized this server and do activate it
On client
Local area network ==> tcp/ip ==> obtain ip automatically
Obtain DNS automatically

What is difference between physical and logical topology?

A physical topology describes how devices are physically cabled together.
A logical topology describes how devices communicate across the physical topology

How many types of topology are available?

point-to-point topology has a single connection between two devices.
In a star topology, a central device has many point-to-point connections to other devices.
bus topology uses a single connection or wire to connect all devices.
In a ring topology, device one connects to device two, device two connects to device three, and so on to the last device, which connects back to device one.

How many times computer reboot when server 2000 install?

2 times.

How will you remove this error “ ntldr missing press any key to reboot the system” ?

Reboot the system with XP, ( apply also on server2003,) cd
On setup screen press to R to repair the window
Now provide the administrator password
C:\>cd f:( your cd drive latter, f is taken as the example )
f:\>cd i386
f:\>copy ntldr c:\
f:\>exit
reboot the system

Why do we do networking?

For data sharing
To accumulate hardware resource

What are the benefits of networking?

There are lots of advantages from build up a network, but the three big facts are-
File Sharing 
From sharing files you can view, modify, and copy files stored on a different computer on the network just as easily as if they were stored on your computer.
Resource Sharing
Resources such as printers, fax machines, Storage Devices (HDD, FDD and CD Drives), Webcam, Scanners, Modem and many more devices can be shared.
Program Sharing
Just as you can share files on a network, you can often also share program on a network. For example, if you have the right type of software license, you can have a shared copy of Microsoft Office, or some other program, and keep it on the network server, from where it is also run

What is network?

A network is basically all of the components (hardware and software) involved in connecting computers across small and large distances.

What is networking?

A process that is describes how the network will connect.

What is topology?

A topology defines how the devices are connected. Further it is divided in physical and logical topology.

What are the differences between FAT and NTFS ?

FAT
Doesn't provide local security Provide local security
Doesn't provide disk quota Provide disk quota
Doesn't provide file compression Provide file compression
Doesn't provide other security feature Provide other security feature

Difference between XP home and XP professional ?

Feature that is not available in XP home edition
Remote Desktop
Off line file and folder
Encrypting file system
Group policy
Roaming profile
Remote installation
Joining Domain
The features listed above are only available in XP professional

Which OSI layer does IP belong?

P belongs to the Network Layer (layer 3) in the OSI model.

What is a subnet mask?

Subnet mask is a 4 byte (32 bit) number used to identify the sub-network ID and the host ID from an IP address. All the hosts in a sub-network will have the same subnet mask. E.g. 255.255.255.0, 255.255.127.0, 255.255.0.0
Where are the Windows NT Primary Domain Controller (PDC) and its Backup Domain Controller (BDC) in Server 2003?
The scheme of PDC and BDC is replaced by The Active Directory in server 2000 and further. Now all domain controllers share a multi master peer-to-peer read and write relationship that hosts copies of the Active Directory.
How can group policy be refreshed?
  1. Restart the server
  2. Leave the server ideal for 90 minute
  3. Run ==> gpupdate (server 2003 only)
What is LILO?
LILO stands for Linux boot loader. It will load the MBR, master boot record, into the memory, and tell the system which partition and hard drive to boot from.
I can't seem to access the Internet, don't have any access to the corporate network and on IP configuration on my address is 169.254.*.*. What happened?
The 169.254.*.* net mask is assigned to Windows machines running 98/2000/XP if the DHCP server is not available. The name for the technology is APIPA (Automatic Private Internet Protocol Addressing).

We've installed a new Windows-based DHCP server, however, the users do not seem to be getting DHCP leases off of it.

The server must be authorized first with the Active Directory.

What's the difference between local, global and universal groups?

Domain local groups assign access permissions to domain groups for local domain resources. Global groups provide access to resources in entire domains.

What's the major difference between FAT and NTFS on a local machine?

FAT and FAT32 provide no security over locally logged-on users. Only native NTFS provides extensive permission control on both remote and local files.

What is presentation layer and how it is responsible for in the OSI model?

The presentation layer establishes the data format prior to passing it along to the network application's interface. TCP/IP networks perform this task at the application layer

When were OSI model developed and why its standard called 802.XX and so on?

OSI model was developed in February1980 that why these also known as 802.XX Standard (Notice 80 means ==> 1980, 2means ==> February)

What is Full form of ADS?

Active Directory Structure

How will you register and activate windows?

If you have not activated windows XP, you can do so at any time by clicking the windows Activation icon in the system tray to initiate activation. Once you have activated windows XP, this icon disappears from the system tray.
For registration
Start ==> Run ==> regwiz /r

Where do we use cross and standard cable?

Computer to computer ==> cross
Switch/hub to switch/hub ==>cross
Computer to switch/hub ==>standard

How many pins do serial ports have?

In computer it's known as com port and could be available in 9pin or 25 pin. On router it have 60 pins.

How will check ip address on 98?

Start ==> Run ==> command ==> winipcfg

What is source route?

It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.

What is RIP (Routing Information Protocol)?

It is a simple protocol used to exchange information between the routers.

What is SLIP (Serial Line Interface Protocol)?

It is a simple protocol used for transmission of IP datagrams across a serial line.

What is Proxy ARP?

It is using a router to answer ARP requests. This will be done when the originating host believes that a destination is local, when in fact is lies beyond router.

What is OSPF?

It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet's topology to make accurate routing decisions.

What is Kerberos?

It is an authentication service developed at the Massachusetts Institute of Technology. Kerberos uses encryption to prevent intruders from discovering passwords and gaining unauthorized access to files.

What is a Multi-homed Host?

It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multihomed Host.

What is NVT (Network Virtual Terminal)?

It is a set of rules defining a very simple virtual terminal interaction. The NVT is used in the start of a Telnet session.

What is Gateway-to-Gateway protocol?

It is a protocol formerly used to exchange routing information between Internet core routers.

What is BGP (Border Gateway Protocol)?

It is a protocol used to advertise the set of networks that can be reached with in an autonomous system. BGP enables this information to be shared with the autonomous system. This is newer than EGP (Exterior Gateway Protocol).

What is autonomous system?

It is a collection of routers under the control of a single administrative authority and that uses a common Interior Gateway Protocol.

What is EGP (Exterior Gateway Protocol)?

t is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.

What is IGP (Interior Gateway Protocol)?

It is any routing protocol used within an autonomous system.

What is Mail Gateway?

It is a system that performs a protocol translation between different electronic mail delivery protocols.

What is wide-mouth frog?

Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol.

What is silly window syndrome?

It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.

What is region?

When hierarchical routing is used, the routers are divided into what we call regions, with each router knowing all the details about how to route packets to destinations within its own region, but knowing nothing about the internal structure of other regions.

What is multicast routing?

Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.

What is traffic shaping?

One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping.

What is packet filter?

Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.

BOOTP helps a diskless workstation boot. How does it get a message to the network looking for its IP address and the location of its operating system boot files?

BOOTP sends a UDP message with a subnet work broadcast address and waits for a reply from a server that gives it the IP address. The same message might contain the name of the machine that has the boot files on it. If the boot image location is not specified, the workstation sends another UDP message to query the server.

What is a DNS resource record?

resource record is an entry in a name server's database. There are several types of resource records used, including name-to-address resolution information. Resource records are maintained as ASCII files.

What protocol is used by DNS name servers?

DNS uses UDP for communication between servers. It is a better choice than TCP because of the improved speed a connectionless protocol offers. Of course, transmission reliability suffers with UDP.

What is the difference between interior and exterior neighbor gateways?

Interior gateways connect LANs of one organization, whereas exterior gateways connect the organization to the outside world.

What is the HELLO protocol used for?

The HELLO protocol uses time instead of distance to determine optimal routing. It is an alternative to the Routing Information Protocol.

What are the three type of routing tables and What are the advantages and disadvantages of these?

The three types of routing tables are fixed, dynamic, and fixed central.
A fixed table must be manually modified every time there is a change.
A dynamic table changes its information based on network traffic, reducing the amount of manual maintenance.
A fixed central table lets a manager modify only one table, which is then read by other devices. The fixed central table reduces the need to update each machine's table, as with the fixed table. Usually a dynamic table causes the fewest problems for a network administrator, although the table's contents can change without the administrator being aware of the change.

What is MAC address ?

The address for a device as it is identified at the Media Access Control (MAC) layer in the network architecture. MAC address is usually stored in ROM on the network adapter card and is unique.

What is attenuation?

The degeneration of a signal over distance on a network cable is called attenuation.

What is cladding?

A layer of a glass surrounding the center fiber of glass inside a fiber-optic cable.

What is RAID?

A method for providing fault tolerance by using multiple hard disk drives.

What is NETBIOS and NETBEUI?

NETBIOS is a programming interface that allows I/O requests to be sent to and received from a remote computer and it hides the networking hardware from applications.
NETBEUI is NetBIOS extended user interface. A transport protocol designed by Microsoft and IBM for the use on small subnets.

What is redirector?

Redirector is software that intercept

What is Beaconing?

The process that allows a network to self-repair networks problems. The stations on the network notify the other stations on the ring when they are not receiving the transmissions. Beaconing is used in Token ring and FDDI networks.

What is terminal emulation, in which layer it comes?

Telnet is also called as terminal emulation. It belongs to application layer.

What is frame relay, in which layer it comes?

Frame relay is a packet switching technology. It will operate in the data link layer.

What do you meant by "triple X" in Networks?

The function of PAD (Packet Assembler Disassembler) is described in a document known as X.3. The standard protocol has been defined between the terminal and the PAD, called X.28; another standard protocol exists between hte PAD and the network, called X.29. Together, these three recommendations are often called "triple X".

What is SAP?

Series of interface points that allow other computers to communicate with the other layers of network protocol stack.

What is subnet?

A generic term for section of a large networks usually separated by a bridge or router.

What is subnet mask?

It is a term that makes distinguish between network address and host address in IP address. Subnet mask value 0 defines host partition in IP address and value 1 – 255 defines Network address.

Describe Various Network Type

Local Area Networks Local area networks (LANs) are used to connect networking devices that are in a very close geographic area, such as a floor of a building, a building itself, or a campus environment.
Wide Area Networks Wide area networks (WANs) are used to connect LANs together. Typically, WANs are used when the LANs that must be connected are separated by a large distance.
Metropolitan Area Networks A metropolitan area network (MAN) is a hybrid between a LAN and a WAN.
Content Networks Content networks (CNs) were developed to ease users’ access to Internet resources. Companies deploy basically two types of CNs:
1.Caching downloaded Internet information
2.Distributing Internet traffic loads across multiple servers
Storage Area Networks Storage area networks (SANs) provide a high-speed infrastructure to move data between storage devices and file servers.
Advantage
Performance is fast.
Availability is high because of the redundancy features available.
Distances can span up to 10 kilometers.
Management is easy because of the centralization of data resources.
Overhead is low (uses a thin protocol).
Disadvantage of SANs is their cost.
Intranet An intranet is basically a network that is local to a company. In other words, users from within this company can find all of their resources without having to go outside of the company. An intranet can include LANs, private WANs and MANs,
Extranet An extranet is an extended intranet, where certain internal services are made available to known external users or external business partners at remote locations.
Internet An internet is used when unknown external users need to access internal resources in your network. In other words, your company might have a web site that sells various products, and you want any external user to be able to access this service.
VPN A virtual private network (VPN) is a special type of secured network. A VPN is used to provide a secure connection across a public network, such as an internet. Extranets typically use a VPN to provide a secure connection between a company and its known external users or offices. Authentication is provided to validate the identities of the two peers. Confidentiality provides encryption of the data to keep it private from prying eyes. Integrity is used to ensure that the data sent between the two devices or sites has not been tampered with.

Wednesday, 6 January 2016

How Hard Drives work

What is a Hard Drive
Almost all desktop computers have a hard drive inside them, but do you really know what they are? Many people when they hear the word hard drive, think that it refers to the computer as a whole. In reality, though, the hard drive is just one of many different pieces that comprise a computer. The hard drive is one of the most important parts of your computer because it is used as a long-term storage space for your data. What that means, is regardless of whether or not the computer is on, or you lose power, the data will still stay stored on this drive keeping it safe. On the other hand, it tells you how important backing up your data is, because if the hard drive malfunctions there is a good chance you will lose it all.
A hard drive is an integral piece of equipment for your computer as your operating system and all your data are typically stored there. In the majority of the situations, if you did not have a working hard drive, or the hard drive malfunctions, you would not be able to boot your computer into the operating system and would get an error. If you opened your computer case and wanted to find your hard drive, it would look similar to the image below:

Image of a Hard Drive

How hard drives work
If you were to open your hard drive, which would immediately void your warranty and potentially damage it, you would see something like the image below:


Inside a Hard Drive

A hard drive consists of the following:
  • Magnetic platters - Platters are the round plates in the image above. Each platter holds a certain amount of information, so a drive with a lot of storage will have more platters than one with less storage. When information is stored and retrieved from the platters it is done so in concentric circles, called tracks, which are further broken down into segments called sectors.
  • Arm - The arm is the piece sticking out over the platters. The arms will contain read and write heads which are used to read and store the magnetic information onto the platters. Each platter will have its own arm which is used to read and write data off of it.
  • Motor - The motor is used to spin the platters from 4,500 to 15,000 rotations per minute (RPM). The faster the RPM of a drive, the better performance you will achieve from it.
When a the computer wants to retrieve data off of the hard drive, the motor will spin up the platters and the arm will move itself to the appropriate position above the platter where the data is stored. The heads on the arm will detect the magnetic bits on the platters and convert them into the appropriate data that can be used by the computer. Conversely, when data is sent to the drive, the heads will this time, send magnetic pulses at the platters changing the magnetic properties of the platter, and thus storing your information.
It is important to note, that since the data stored on your hard drive is magnetic, it is not a good idea to play with a magnet near your hard drive :)

Hard Drive Interfaces
A hard drive connects to your computer through a specific type of interface. The interface on your hard drive must match the corresponding interface on your motherboard. If you purchase a new hard drive that has a interface that your motherboard does not support, it will not work in your computer. Currently there are three interfaces that have become the standard for connecting your hard to your computer. Some information about each of these interfaces are below.
  • IDE or ATA - This is currently the most common interface used but is quickly becoming overcome by the newer SATA interface. Hard drives using this type of interface have speeds up to 100 Mbps.
  • SATA - A newer interface that uses less bulky cables and has speeds starting at 150 Mbps for SATA and 300 Mbps for SATA II. Almost all computer manufacturers have started using SATA drives.
  • SCSI - This type of interface is typically used in a business environment for servers. Hard Drives designed for a SCSI interface tend to have a faster RPM which therefore provides better performance.
When buying a hard drive
When purchasing a hard drive there are some characteristics you want to keep in mind that will help you determine the right drive for your needs. These characteristics are:
  • Seek Time - The amount of time required to move a drive's read/write head to a particular location on the disk. The lower the number, the better.
  • Access time - The actual amount of time from when a data is requested from a drive and delivered. The lower the number, the better.
  • RPMS - How fast the platters spin. The higher the number, the faster the drive will be.
  • Capacity - The amount of storage space available on the drive. Typically most drives purchased today will be 80 Gigabytes or greater. An 80 GB hard drive will on average cost around 60 USD.
  • Interface - How the hard drive connects to your computer. Make sure that the hard drive's interface is supported on your computer before you purchase it.

How to Shrink and Extend NTFS Volumes in Windows


Introduction
In the past when you needed to resize a partition in Windows you had to use a 3rd party utility such as Partition Magic, Disk Director, or open source utilities such as Gparted and Ranish Partition Manager. These 3rd party programs, though, are no longer needed when using Windows as it has partition, or volume, resizing functionality built directly into the Windows Disk Management utility.
You may be wondering why someone would want to resize a Windows volume. One reason would be if you want to install another operating system such as linux, but do not have enough free space to create a new partition for it. By shrinking the Windows volume, you can free up enough space to create a new partition that can be used to dual boot into linux. Now lets say after trying linux, you decide its not for you. Now you are left with all this leftover space that is not being used by Windows. To reuse this space, you simply need to expand, or extend as Vista calls it, an existing Windows volume so that it uses all the available free space that was previously being used by linux.
When resizing volumes in Windows Vista, Windows 7, and Windows 8 you must be aware of the following criteria:
  • You only have the ability to shrink or expand NTFS or RAW (unformatted) partitions using Windows Vista tools.
  • When you shrink a partition, unmovable files such as a page file or a shadow copy storage area are not relocated. Therefore you cannot decrease the size of the Windows volume beyond where these types of files are located. If you need to further shrink the volume, you will need to remove, move, or delete the page file or shadow copy storage area first, then shrink the volume, and then add the page file or shadow copy storage area back to the drive.
  • If enough bad clusters are found on the disk the partition will not be allowed to shrink.
  • You must be logged into an Administrator account in order to resize Windows Volumes in Vista.
It is important to note the terms partition and volume are used interchangeably and you will see both of these terms used throughout the tutorial. Now that we know what we can and cannot do, lets start learning how to shrink and expand, or extend, Windows Vista volumes!
Shrinking Windows Partitions or Volumes
This section will show you have to shrink a Windows volume, or partition. In order to do this we must open the Windows Disk Management tool. The following steps will walk you through this process.
  1. Click on the Start Menu button in the lower left of your desktop and then click on the Control Panel menu option.
     
  2. When the Control Panel opens, click on the System and Maintenance category.
     
  3. When the System and Maintenance category opens, scroll down and click on Administrative Tools.
     
  4. Double-click on the Computer Management icon. The Computer Management console will now be open. Towards the bottom you will see a category called Storage and underneath that category will be the Disk Management icon as shown below.


    Windows Vista Computer Management

     
  5. Click once on the Disk Management icon and you will now be in the Disk Management utility as shown in the figure below. From this utility you can see all the partitions on your computer and format, delete, create, expand, or resize them. For this tutorial, I am going to resize the 16GB E: partition so that when done, it is a 8GB partition and provides another 8 GB of free space that I can use for other purposes.


    Windows Vista before shrinking

     
  6. To shrink the partition, you simply need to right click on the partition you want to work with and select the Shrink option. In this example, I right click on the E: partition and in the menu that comes up I select Shrink.
     
  7. A screen similar to the one below will appear. This screen tells you the current partition's size, how much you can shrink it by, a field where you can enter a specific amount to shrink by, and then how big the partition will be after it shrinks. By default Windows enters the maximum amount that you can shrink the volume, but if you want to change that amount, do so by entering the amount in MB into the Enter the amount of space to shrink in MB: field. When you are satisfied with how Vista will shrink the partition, click on the Shrink button.


    Windows Vista Shrink Options

     
  8. When Windows has completed shrinking the volume, you will be back at the Disk Management screen, but now the size of the partition will be the size you requested as shown below.


    Windows Vista After shrinking a volume


    Now that you reduced the size of your Windows volume, you can close the Computer Management console.
You have now finished shrinking your partition and have the extra space available to use as necessary.
Extending Windows Partitions or Volumes
This section will show you have to extend a Windows volume. In order to do this we must open the Disk Management tool where we can resize our volumes. The following steps will walk you through this process.
  1. Click on the Start Menu button in the lower left of your desktop and then click on the Control Panel menu option.
     
  2. When the Control Panel opens, click on the System and Maintenance category.
     
  3. When the System and Maintenance category opens, scroll down and click on Administrative Tools.
     
  4. Double-click on the Computer Management icon. The Computer Management console will now be open. Towards the bottom you will see a category called Storage and underneath that category will be the Disk Management icon as shown below.


    Windows Vista Computer Management

     
  5. Click once on the Disk Management icon and you will now be in the Disk Management utility as shown in the figure below. From this utility you can see all the partitions on your computer and format, delete, create, expand, or resize them. For this tutorial, I am going to expand the E: partition so that it uses up the rest of the available space on Disk 1.
    Windows Vista before expanding
  6. To expand the partition, you simply need to right click on the partition you want to work with and select the Extend option. In this example, I right click on the E: partition and in the menu that comes up I select Extend.
     
  7. A wizard screen will appear as shown below. Press the Next button to continue.

    Windows Vista Expand Wizard

     
  8. A new screen, shown below, will appear that allows you to select the available free space on your local drives that you can use to extend the space of the selected partition. It is important to note that Windows allows you to extend a volume using free space on the same drive as well as other drives. I strongly suggest that you do not extend a volume on one disk with free space from another. This is because if one of the drives has a hardware failure, then all the data on that volume will be deleted. Instead only use the free space on a drive that contains the volume you are extending
    .

    Windows Vista Expand Options


    As discussed in step 5, for this tutorial we are going to expand my 8 GB partition (E: drive) to the full size of Disk 1 using all of its available space. As Disk 1 is the only available free space on my computer, Windows will automatically select it as shown in the image above and use the maximum amount available to extend the partition. If there were other drives with free space they would be shown under the Available selection. If you want to extend the volume by a lower amount you can change it in theSelect the amount of space in MB: field. Otherwise we press the Next button.
     
  9. You will now be presented with a confirmation screen. If you are sure you want to extend the volume, press the Finish button. Otherwise, press the Back button to make changes or the Cancel button to cancel this operation.
     
  10. When Windows has completed extending the volume, you will be back at the Disk Management screen where you will see the volume you extended with the new size. An example of this is shown below.


    Windows Vista after Extending


    At this point you can close the Computer Management window as your task is complete.
Shrinking and Extending Volumes with the Windows command line
Windows provides the ability to resize volumes directly from the command line using the Diskpart utility. The Windows Diskpart utility is a command line program for managing the disk partitions, or volumes, on your computer. Some of the tasks you can do with this utility include repartitioning drives, deleting partitions, creating partitions, changing drive letters, and now shrinking and expanding volumes.
To access the diskpart utility follow these steps:
  1. Click on the Start Menu button.
     
  2. In the Run/Search field type Diskpart and press the enter key on your board.
     
  3. Windows may ask if you want to allow this program to run and you should press the Continue button.
     
  4. A command prompt will now open and you will be within the Diskpart console. For a list of commands that you can use within the Diskpart console you can type help. For the help instructions for a particular command you can type the name of the command followed by help, such as select help .
Before you can expand or shrink a volume using Diskpart you must first select the volume you would like to work with. To do this you need to use the list volume command to find the IDs associated with each volume. When you type list volume and then press enter, diskpart will display a list of Windows volumes on your computer. Next to each volume will also be a numbers that can be used to identify that specific volume. An example of what the list volume command looks like can be found below.
List volume in diskpart

After determining the ID of the volume that you would like to work with, you need to select that volume using the select volumecommand. To use this command you would type select volume ID, where ID is the ID associated with the volume you found using the list volume command. Now that the volume has been selected, diskpart knows that any further commands will be associated with this particular volume until you enter another select volume command.
To shrink a selected volume you would use the shrink command. The shrink command has two arguments that you can use to define how you want diskpart to shrink the volume. The first argument is desired= which will shrink the volume by the desired amount in MB if possible. The second argument is minimum= which tells diskpart that it should only shrink the volume if it can shrink it by the specified amount in MB. If you do not use either of these arguments, diskpart will shrink the partition by the maximum amount possible. If you would like to determine the maximum amount of space that you can shrink a volume, you can type the shrink querymax command.
Shrink examples are:
Command
What it does
shrink desired=2048This command will shrink the volume by 2 GB if possible.
shrink minimum=2048This command will shrink the volume as much as possible, but fail if there is less than 2GB available to shrink it by.
shrinkThis command will shrink the volume by the maximum it can be.

Vista Shrink from command line
Shrinking a volume from the command line

To extend a selected volume you would use the extend command. For the extend command the most common arguments are sizeand disk. The size= argument will extend the selected volume by the desired amount of MB. The disk= argument allows you to specify the disk which has the free space you wish to extend a volume with. If no argument, or no disk= argument, is provided when using theextend command, diskpart will use all the available space on the current disk to extend the volume. As said previously, we strongly suggest that you do not use the disk= argument to extend a volume onto another disk as this increases your chance of losing data if one of the two drives has a hardware failure.
Extend examples are:
Command
What it does
extend size=2048 disk=2This command will extend the volume by 2 GB using the free space from disk 2..
extend size=2048This command will extend the volume by 2GB from the same disk.
extendThis command will extend the volume as much as it can be.



Conclusion
With the ability to extend and shrink a partition using Windows Vista, Windows 7, or Windows 8 you no longer need to worry about installing a new drive in order to dual-boot to an alternate operating system. Now you simply find a drive that has some free space on it, shrink it, and use it as necessary. As always if you have any questions you may have in of our Windows forums.

How to partition and format a hard disk in Windows


Introduction
In order to use a hard drive, or a portion of a hard drive, in Windows you need to first partition it and then format it. This process will then assign a drive letter to the partition allowing you to access it in order to use it to store and retrieve data.
If you would like more information on partitions you can read this tutorial:
Understanding Hard Disk Partitions
For this tutorial, my examples will be done from within Windows XP. These techniques will work, though, with Windows 2000, 2003, and the upcoming Vista.

Creating and formatting a partition in Windows
Before you can partition a hard drive in Windows, you must have installed a new unused hard disk, deleted an existing partition, or have some unpartitioned space available on an existing drive. In the example in this tutorial I will take the unused space from one of my hard drives and partition/format it. The steps shown here will work whether you are working with a brand new hard drive, deleting an existing partition and reusing it, or partitioning available space on an existing hard drive.
All hard disk management is done in the Disk Management Administrative Tool. Follow these steps to open this tool:
1. If you are using Windows 8, type Disk Management at the start screen, click on Settings, and then click on the Create and format hard disk partitions option. Then skip to step 3.  Otherwise, click on the Start button and select the Control Panel option.
2. If in Classic control panel mode, double-click on the Administrative Tools icon and then double-click on Computer Management icon.
If your control panel is in the Category view, click on Performance and Maintenance, then click on Administrative Tools, and finally double-click on the Computer Management icon.
3. When the Computer Management screen opens, click on the Disk Management option under the Storage category. This will present you with a screen similar to the one below.


The Disk Management Screen

When you are in the disk management tool you will see a listing of your current hard drives and how they are partitioned. From the image above you can see that I have two hard disks installed. The first disk, Disc 0, has two partitions. One partition is a 24 GB NTFS partition that has been assigned the drive letter C:. The other partition on that drive is a 87 GB NTFS partition that has been assigned the drive letter E:. The other drive, has only one partition, the D: partition. The rest of the space, 26 GB, shows that it is unallocated and therefore can be used to make other partitions.
To make a partition from the unused space you would do the following.
1. Right click on the space listed as unallocated.
2. At the menu that comes up, click on the New Partition option.
3. You will now be presented with a wizard as to how you would like the partition to be created. At the first screen press Next.
4. At the following screen, determine if you need a primary or extended partition. For more information about these partitions you can read our partition tutorial listed above. Most people will be fine selecting Primary Partition. Select Primary Partitionand press Next.
5. At the next screen you will be prompted to type in how much of the unallocated space you would like used for the new partition. In my example, my unallocated space is 26.43 GB, so I can choose to make a partition of that entire amount of only use half and save the rest for another partition. Regardless, of what you decide, you need to enter a size in the Partition size in MB: field, or stick with the default size, and press the Next button.
6. At the next screen select the drive letter you would like assigned to it, or use the default one given. When done, press theNext button. The drive letter that you assign here will be how you access the partition later.
7. In this step you will determine how you would like the new partition to be formatted. For the most part you are advised to use the NTFS file system. If you need a file system that can be readable by older operating systems like DOS, Windows 95, Windows 98, or Windows ME, then you should instead choose the FAT32 file system.
8. Type a name in the Volume Label field that will be associated with this partition or leave it blank.
9. Finally press the Next button and you will come to a summary screen. Review how the partition will be created, and if you are satisfied, press the Finish button to complete the creation and formatting of your new hard disk partition.
When the computer finishes creating and formatting the new partition you will be presented with the Disk Management screen again and will see that you have a new partition and drive letter on your computer. Now you can use that drive to start storing your data.

Deleting a partition in Windows
If you have existing partitions on your computer that you would like to delete in order to use its space for other purposes, then you first need to delete this partition. It is important to note that by deleting a partition you will lose all your data on that partition. With that warning given, let me give some examples of why you would want to delete a partition. Lets say that you have a 60 GB hard drive in your computer that was originally partitioned into a 20 GB partition and a 40 GB partition. You would like to install another operating system on your computer, but feel that neither partition is big enough on its own, and would like to instead create one partition using the full storage of 60 GB. The only way to do that would be to delete both of the existing partitions and recreate a new one using all the available space.
To delete a partition please follow these steps:
1. Click on the Start button and select the Control Panel option.
2. If in Classic control panel mode, double-click on the Administrative Tools icon and then double-click on Computer Management icon.
If your control panel is in the Category view, click on Performance and Maintenance, then click on Administrative Tools, and finally double-click on the Computer Management icon.
3. When the Computer Management screen opens, click on the Disk Management option under the Storage category.
4. Right-click on the partition you would like to delete and choose the Delete Partition option.
5. A confirmation box will come up asking if you are sure you would like to continue. If you press the yes button, all data on this partition will be deleted. If you are sure about deleting this partition, press the Yes button.
The partition will now be deleted and you can either create a new partition or exit the program.