Category: How to create vhd in windows 7

  • Creating VHD using Diskpart

    Creating and Attaching VHD using Diskpart utility
    Open the Elevated Command Prompt with Administrator Privileges and type the following commands:
    DISKPART
    CREATE VDISK FILE=”c:\win7\win7.vhd” MAXIMUM=20000
    SELECT VDISK FILE=”c:\win7\win7.vhd”
    ATTACH VDISK
    CREATE PARTITION PRIMARY
    ASSIGN LETTER=X
    FORMAT QUICK LABEL=Windows7
    EXIT

    This will create the VHD file of primary partition. You will see the newly attached disk in Disk Management with Drive Letter X:

    Attaching and Detaching VHD in Windows 7
    Right Click on My Computer and Click ‘Manage‘ that will open up Computer Management, in that click on Disk Management. Just like previous part.
    Then Right Click on Disk Management and select ‘Attach VHD’. This will open new windows ‘Attach Virtual Hard Disk
    Click on OK and that will attach the existing Virtual Hard Disk. Now, if you don’t want to make write anything on the VHD, we will select the ‘Read-only’ check box.

    And subsequently we will have the attached VHD in explorer.

    How to Detach VHD?
    To detach the VHD simply Right Click on the ‘Disk 1’ (Blue Color) and select ‘Detach VHD’
    After clicking on ‘Detach VHD’ you will be prompt you with ‘Detach Virtual Hard Disk’ message. Click on OK to detach. Also, if you want delete the VHD permanently you can select the Checkbox.
    This way we have seen how can we create new VHDs, attach/detach existing VHDs using Disk Management and Diskpart utility.

  • Delete or Create Network Bridge- Windows 7

    How to Delete or Create a Network Bridge in Windows 7
    Information
    This article will show you how to create a network bridge to connect two or more of your networks together so that they can communicate.
    You can only create one network bridge on a computer, but the one network bridge can handle any number of network connections added to it.

    Warning
    You should not create a bridge between an Internet connection and a network connection because it creates an unprotected link between your network and the Internet, which makes your network accessible to anyone on the Internet.
    Here’s How:
    1. Click or right click on the Network icon in the notification area, then click on Open Network and Sharing Center. (see screenshot below)

    A) Go to step 3.
    OR
    2. Open the Control Panel (icon view), and click on the Network and Sharing Center icon.
    3. Click on the Change adapter settings link. (see screenshot below)

    4. To Create a Network Bridge –
    A) Press and hold down the CTRL key and select each network connection that you want to bridge together. (see screenshot below)
    NOTE:
    You must select at least two network connections to be able to bridge them together.


    B) Release the CTRL key, then right click on one of the selected network connections and click on Bridge Connections. (see screenshot below)

    C) If prompted by UAC, then click on Yes (if administrator) or type in the administrator’s password (if standard user).
    D) After a moment, you will now have a network bridge of the selected network connections. (see screenshot below)

    E) Go to step 6.
    5. To Delete a Network Bridge –
    A) Right click on the Network Bridge and click on Delete. (see screenshot below)

    B) Click on Yes. (see screenshot below)

    C) If prompted by UAC, then click on Yes (if administrator) or type in the administrator’s password (if standard user).
    D) After a moment, the network bridge will be deleted and removed. (see screenshot below)

    6. When finished, you can now close the Network Connections window. (see screenshot above or below step 5D)
  • Creating a VHD in Windows 7

    How To Create A VHD (Virtual Hard Disk) In Windows 7?
    Unlike previous Windows versions, Windows 7 lets you create a new Virtual Hard Disk without the help any third-party applications.

    Creating a Virtual Hard Disk (VHD) in Windows 7 is very simple.
    Steps to create Virtual Hard Disk
    1. Type in diskmgmt.msc in Start menu search filed and hit enter to open Disk Management window. Alternatively, right-click on Computer icon on the desktop, select Manage. In the Computer Management window, click on Disk Management link open the program.
    2. In the Disk Management window, go to Action, and select Create VHD option.
    3. In the following window, select a drive/folder location to create a new VHD file.
    4. Next, enter the size of VHD. Make sure that you have enough free space before entering the VHD size. Here, you have the choice to choose between two VHD formats: Dynamically expanding, and Fixed Size (recommended).
    In the dynamically expanding format, the size of the VHD expands to a fixed maximum size as data is saved to it. However, the disk size doesn’t compact automatically when data is deleted. As the name suggests, Fixed size VHD format uses a fixed amount of space regardless of the amount of the data stored in it.
    5. Click on the create button to start the process. You will see a new VHD file.