Friday, 23 May 2014

                              Overview of windows 7 with installation 

Windows 7 is the latest release of the Windows series of operating systems by Microsoft. It can be used on a range of personal computers like desktops, laptops, and notebooks. 

This guide will help you to perform a custom installation or clean installation, which means installing a new Windows 7 operating system on a computer. 

System Requirements: 

Before installing Windows 7 on your computer, ensure that your computer has:
  • 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
  • 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
  • 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
  • DirectX 9 graphics device with WDDM 1.0 or higher driver
Clean Installation Instructions: 

Insert the Windows 7 setup DVD into the disk drive. The Windows setup will automatically start the installation. If your computer does not start with the Windows 7 Setup DVD, then make the required changes in your BIOS and make your CD/DVD drive the primary boot device. 


  • Select the language that you want to use during the installation process.



  • Next, click the Install Now button to initiate the installation. The Setup transfers some temporary files from the DVD to your computer. The Please read the license terms page appears. Select the I accept the license terms check box.



  • Select the Custom (advanced) install option.



  • Select the hard disk drive or partition on which you want to install Windows 7.



  • Setup copies the program files to your system.



  • Toward the end of the installation process, your system restarts several times, and then Setup updates the registry settings. Next, Windows prompts you to perform some post-installation tasks, like selecting the user name and the computer name.



  • Set the system password for your user account and enter a hint for the password.



  • Type the activation key.
  • Set the date and time.
  • Select the appropriate network settings and create a group depending on the type of Network you have chosen.
  • Your Windows 7 installation is ready for use.


  • Dual Booting Windows 7 with Windows Vista: 

    To install Windows 7 on a computer in dual boot mode, which is already running Windows Vista, follow these steps: 

  • If you need to create a new partition on your system’s hard disk to accommodate the new operating system (Windows 7), follow these steps:


  • 1) In Windows Vista, click Start, right-click My Computer, and click Manage.
    2) Click Disk Management in the left pane. You can now view the current partitioning scheme on your system. 


    3) Right-click on the partition that you want to resize. The screen shows information on the capacity of the drive. In addition, it provides you the option to enter the amount you'd like to “shrink” your partition by. The recommended minimum partition size for Windows 7 is 16GB. Select 16GB or a larger size for your partition, and then click Shrink Volume



    You can now see the unallocated space on your hard disk with the capacity you specified, situated just after your now resized original partition. 

    4) Right-click the unallocated volume, select New Simple Volume, and assign it a drive letter.
    5) Perform Quick format of the new volume using the NTFS file system and the default allocation unit size. The volume label is optional, but you can assign it the label - Windows 7, which will help you to recognize the partition during installation process. 

  • After creating the partition, perform clean installation of Windows 7 by following procedure given earlier in this guide. After the installation process is complete, you’ll have a new entry for Windows 7 on your boot screen when you first start-up your computer. On the boot screen, choose the Operating System with which you want to start your computer. Windows 7 can also be dual booted with Windows XP, or you can triple boot your system with Windows7, Windows XP and Windows Vista.


  • Installing Windows 7 From a USB Drive: 

    For this installation, you’ll require the following:
    • USB Drive (minimum 4 GB)
    • Windows 7 installation files
    Follow these steps to convert your USB drive into a bootable USB drive, which you can then use for Windows 7 installation:
    1. Connect the USB drive. Note that the USB drive should not have any data. If it has any data, move your data to some other location.
    2. Click Start, then click All Programs, and then click Accessories.
    3. Right-click CMD, and select Run as administrator.
    4. At the command prompt, type the following commands, as shown below:

      DISKPART
      LIST DISK (This command will list the disk numbers for all the hard disk drives and USB drives on your system.)
      SELECT DISK 2 (As system has listed the USB drive as DISK 2)
      CLEAN
      CREATE PARTITION PRIMARY
      ACTIVE
      FORMAT FS=NTFS (This process will take some time to complete)
      ASSIGN
      EXIT

    5. Insert your Windows7 DVD into the DVD drive and check the drive letter of the DVD drive. Suppose the drive letter is D. Type the following command at the command prompt:

      D: CD BOOT (where D is the drive letter for DVD)
      CD BOOT
    6. Next, type the following command at the command prompt:

      BOOTSECT.EXE /NT60 F: (where F is the drive letter for the USB drive.)
    7. Copy the contents of the Windows 7 installation DVD to the USB drive.
    The USB drive is now ready for installation. You will need to change the BIOS to boot from the USB drive. To perform an installation using the USB drive, follow the procedure for clean installation of Windows 7 as given earlier in this guide. 

    Installing Windows 7 Using Windows Deployment Services: 

    Windows Deployment Services (WDS) is the updated and redesigned version of Remote Installation Services (RIS). With WDS you can install Windows operating systems over the network. This eliminates the need to install Windows on individual computers using the local CD drive or DVD drive. WDS uses the Pre-Boot Execution environment (PXE) or Trivial File Transfer Protocol (TFTP) service on the host computer to boot from the WDS Server. 

    You need to install the WDS service on the computer that you want to use as a WDS Server. Here we’ll install and configure this service on Windows Server 2008. On the WDS Server PXE and TFTP servers are required for network booting of the client on which installation is to be done. Follow these steps to install WDS on Windows Server 2008: 

    1. Open Server Manager, click Add Roles and then click Next.
    2. On the Select Server Roles screen, select Windows Deployment Services, and then click Next.



    3. On the Role Services screen, select Deployment Server and Transport Server, then click Next and then clickInstall.

    4. Next, configure the PXE Server settings. Select Respond to all (known and unknown) client computers and then click Finish. Once a computer is linked to a computer account object in AD DS, the computer is considered “prestaged” or "known". For security reasons, you may opt to select PXE to only respond to known computers, or if you make the selection used in our instructions, you may want to click the For unknown clients, notify administrator and respond after approval checkbox.

    Adding a Boot image on the WDS Server:
    Boot images are Windows images that are used to boot a client computer, and install an operating system on the computer. To add a boot image on the WDS Server, perform these steps:
    1. Click Start, then click Administrative Tools, and then click Windows Deployment Services.
    2. Open the Windows Deployment Services management console.
    3. Right-click the Boot Images node and then click Add Boot Image.

    4. Click Browse to locate the boot image you want to add. Select Boot.wim from the /sources folder on the Windows 7 installation DVD.

    Adding an Install Image on the WDS Server:
    1. Click Start, then click Administrative Tools, and then click Windows Deployment Services.
    2. Open the Windows Deployment Services management console.
    3. Right-click the Install Images node and then click Add Install Image.

    4. Specify a name for the image group and then click Next.

    5. Click Browse to locate the default install image (Install.wim), which is located in the \Sources folder of the product DVD, and then click Open.
    6. Enter a name and click Save.
    7. Next select Upload image to WDS Server.
    8. Repeat the process if you want to add more than one Install Image to your WDS Server. You must add at least one boot image and one install image before you will be able to boot to the Windows Deployment Services server and install an image.
    Installing From an Install Image:
    After you have at least one boot and one install image on the server, you can deploy an install image assuming you meet the following requirements:
    • The client computer must be capable of performing a PXE boot.
    • Your user account must be a member of the Domain Users group.
    • The client computer must have at least 512 MB of RAM, which is the minimum amount of RAM for using Windows PE.
    • The client must meet the system requirements for the operating system of the install image.
    To perform a PXE boot on a computer to install an image, use the following procedure.
    1. Configure the BIOS of the computer to enable PXE booting, and set the boot order so that it is booting from the network first.
    2. Restart the computer, and when prompted, press F12 to start the network boot.
    3. Select the appropriate boot image from the boot menu. (This boot image selection menu will be available only if you have two or more boot images on the server.)
    4. Follow the instructions in the Windows Deployment Services user interface.
    5. When the installation is completed, the computer will restart and Setup will continue as it would in a regular clean installation.

    Thursday, 22 May 2014

                                            Network and Sharing Center: 

    Windows 7 networking starts with the Network and Sharing Center which provides a centralized location where you can view, create, and modify local area network (LAN), wireless local area network (WLAN), virtual private network (VPN), dial-up, and Broadband connections on your client and server computers. In addition, you can configure connections to the local computer and sharing options that specify the content that is available to other computers and devices on the network; and you can use Network and Sharing Center tools like Network Map and Network Location to view and specify additional settings about networks and network profiles. It can also be used to troubleshoot network connectivity issues. The Network and Sharing center can be accessed via the control panel. 


    Adding a Network Connection: 

    If your computer has a network adapter that is connected to a local area network, you do not need to manually create a LAN connection, because Windows automatically creates and configures the connection when you start your computer. Other types of connections such as VPN and dial-up can be configured as follows: 

    1. Open the Network and Sharing Center control panel.
    2. In Change your network settings, click Set up a new connection or network. The Set up a new connection or network wizard opens.

    3. Select the type of network or connection you wish to establish and complete the rest of the wizard.
    Network Locations: 

    The first time that you connect to a network, you must choose a network location. This automatically sets the appropriate firewall and security settings for the type of network that you connect to. If you connect to networks in different locations (for example, a network at your home, at a local coffee shop, or at work), choosing a network location can help ensure that your computer is always set to an appropriate security level. 

    There are four network locations:
    • Home Network - For home networks or when you know and trust the people and devices on the network. Computers on a home network can belong to a homegroup. Network discovery is turned on for home networks, which allows you to see other computers and devices on the network and allows other network users to see your computer. For more information, see What is network discovery?
    • Work Network - For small office or other workplace networks. Network discovery, which allows you to see other computers and devices on a network and allows other network users to see your computer, is on by default, but you can't create or join a homegroup.
    • Public Network - For networks in public places (such as internet cafes or airports). This location is designed to keep your computer from being visible to other computers around you and to help protect your computer from any malicious software on the Internet. HomeGroup is not available on public networks, and network discovery is turned off. You should also choose this option if you're connected directly to the Internet without using a router, or if you have a mobile broadband connection.
    • Domain Network - Used for domain networks such as those at enterprise workplaces. This type of network location is controlled by your network administrator and can't be selected or changed.
    About IPv4: 

    Once your network connection(s) are established, it is time to configure IP settings. Every IP address can be broken down into 2 parts, the Network ID and the Host ID. All hosts on the same network must have the same netid. Each of these hosts must have a hostid that is unique in relation to the netid. IPv4 addresses are divided into 4 octets with each having a maximum value of 255. We view IPv4 addresses in decimal notation such as 124.35.62.181, but it is actually utilized as binary data. 

    IP addresses are divided into 3 classes as shown below: 

    ClassRange
    A1-126
    B<128-191
    C192-223

    NOTE: 127.x.x.x is reserved for loopback testing on the local system and is not used on live systems. The following address ranges are reserved for private networks: 

    10.0.0.0 - 10.254.254.254 
    172.16.0.0 - 172.31.254.254
    192.168.0.0 - 192.168.254.254 

    About IPv6: 

    IPv4 has nearly run out of available IP addresses due to the large influx of internet users and expanding networks. As a result, the powers that be had to create a new addressing scheme to deal with this situation and developedIPv6. This new addressing scheme utilizes a 128 bit address (instead of 32) and utilizes a hex numbering method in order to avoid long addresses such as 132.64.34.26.64.156.143.57.1.3.7.44.122.111.201.5. The hex address format will appear in the form of 3FFE:B00:800:2::C for example. The IPv6 equivalent of IPv4's loopback address is 0:0:0:0:0:0:0:1. This can be abbreviated as ::1. 

    Windows 7 supports both IPv4 and IPv6 through a dual-IP-layer architecture and both are installed and enabled by default. This architecture enables you to tunnel IPv6 traffic across an IPv4 network in addition to tunneling IPv4 traffic across an IPv6 network. 

    Configuring IP Settings: 

    You can configure network settings on your Windows 7 computer either statically or dynamically. Static network settings include assigning the IP address, and other related information like gateway, DNS etc manually which enable it to become a part of a network. Dynamic settings make use of Dynamic Host Configuration Protocol (DHCP) to assign IP address and other networking information to your system automatically from a pre-set pool of addresses. 

    Follow these steps to configure TCP/IP settings manually on your computer:
    1. Open Network Connections by clicking the Start button, then click Control Panel and Network and Internet inside the control panel.
    2. Click Network and Sharing Center on your computer.
    3. Click Local Area Connections and then click Properties to configure network addresses and other information.

    4. Click the Networking tab and then, click either Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and then click Properties.

    5. To specify IPv4 IP address settings:
      • To configure IP address automatically, click Obtain an IP address automatically, and then click OK. This option will only work if there is a DHCP server on your network with available addresses to lease.
      • To specify an IP address manually, click Use the following IP address, and then, in the IP address, Subnet mask, and Default gateway boxes, type the IP address settings.
    6. To specify DNS server address settings:
      • To get the DNS server address automatically, click Obtain DNS server address automatically, then click the Advanced button. Select the WINS tab. Under NetBIOS setting, select the Default and then click OK.
      • To specify a DNS server address manually, click Use the following DNS server addresses radio button, and then, for the Preferred DNS server and Alternate DNS server, type the addresses of the primary and secondary DNS servers.
    7. Click OK. This will make the appropriate changes in the TCP/IP configuration of tour computer.
    Note: If you wish to configure IPv6 to obtain an IP address (and other settings) automatically, your network must have a DHCPv6 capable DHCP server

    TCP/IP Fundamentals for Microsoft Windows
    TCP/IP (v4 and v6) Technical Reference 

    Automatic Private IP Addressing (APIPA): 

    A Windows 7 computer that is configured to use DHCP can automatically assign itself an Internet Protocol (IP) address if a DHCP server is not available. For example, this could occur on a network without a DHCP server, or on a network if a DHCP server is temporarily down for maintenance. 

    The Internet Assigned Numbers Authority (IANA) has reserved 169.254.0.0-169.254.255.255 for Automatic Private IP Addressing. As a result, APIPA provides an address that is guaranteed not to conflict with routable addresses. 

    After the network adapter has been assigned an IP address, the computer can use TCP/IP to communicate with any other computer that is connected to the same LAN and that is also configured for APIPA or has the IP address manually set to the 169.254.x.y (where x.y is the client’s unique identifier) address range with a subnet mask of 255.255.0.0. Note that the computer cannot communicate with computers on other subnets, or with computers that do not use automatic private IP addressing. This also means that a computer with an APIPA address cannot connect to the internet, only other computers with APIPA addresses. Automatic private IP addressing is enabled by default. 

    If a DHCP enabled computer is using an IP address in the APIPA range, it often indicates that the computer is unable to contact the DHCP server. 

    Link-Local Multicast Name Resolution: 

    LLMNR is a Microsoft designed protocol that can be used on private networks where there is no DNS server, as a mechanism for providing name resolution like DNS does. It is one of many protocols that do similar things for zero-configuration networks - they basically allow private networks to function as IP networks without requiring hosts to be configured with addresses. 

    Link-Local Multicast Name Resolution 

    Resolving Connectivity Issues: 

    Windows offers a number of tools and utilities for troubleshooting connectivity and other network problems. A good place to start is by clicking on the Troubleshoot problems option in the Network and Sharing Center. This opens the Windows Network Diagnostics tool. If Windows 7 detects the problem, it may be able to automatically fix it, or possibly offer a solution. 


    If this wizard is unable to fix the problem or offer a solution, there are a number of other tools listed below that can help. 

    • IPCONFIG - This command is used to view network settings from a Windows computer command line. Below are the ipconfig switches that can be used at a command prompt:
      • ipconfig /all will display all of your IP settings.
      • ipconfig /renew forces the DHCP server, if available to renew a lease.
      • ipconfig /renew6 renews n IPv6 DHCP lease.
      • ipconfig /flushdns purges the DNS resolver cache.
      • ipconfig /registerdns refreshes all DHCP leases and reregisters DNS names.
      • ipconfig /release forces the release of a lease.
    • PING (Packet InterNet Groper) - PING is a command-line utility used to verify connections between networked devices. PING uses ICMP echo requests that behave similarly to SONAR pings. The standard format for the command is ping [IP address or hostname]. If successful, the ping command will return replies from the remote host with the time it took to receive the reply. If unsuccessful, you will likely recieve anderror message. This is one of the most important tools for determining network connectivity between hosts.

    • TRACERT - A command-line troubleshooting tool that enables you to view the route to a specified host. This will show how many hops the packets have to travel and how long it takes. Basic usage looks like: tracert [IP address or hostname].

    • PATHPING - This tool is very similar to tracert, however, pathping provides more detailed statistics on individual hops.
    • ARP (Address Resolution Protocol) - A host PC must have the MAC and IP addresses of a remote host in order to send data to that remote host, and it's ARP that allows the local host to request the remost host to send the local host its MAC address through an ARP Request. The ARP -a [IP Address] command will show you the MAC address associated with a computer or device's IP address.

    • NSLOOKUP - This is a command that queries a DNS server for machine name and address information. To use nslookup, type nslookup [IP address or computer name or domain name]. NSLOOKUP will return the name, all known IP addresses and all known aliases (which are just alternate names) for the identified machine. NSLOOKUP is a useful tool for troubleshooting DNS problems.