programming4us
programming4us
DESKTOP

Installing Windows 8 on startup VHD files (part 2) - Creating the VHD during the installation by using DiskPart

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Creating the VHD during the installation by using DiskPart

This section discusses another installation to VHD. This time, the VHD file will be created as part of the installation process by using the DiskPart utility. This can save time during the process because the existing operating system does not need to be started to create the VHD file. To create a VHD file and install Windows 8, complete the following steps:

  1. Insert the Windows 8 media and restart your computer.

  2. At the first setup screen, press Shift+F10 to open a command prompt.

  3. From the x:\sources directory, type Diskpart at the command line and press Enter to launch DiskPart.

  4. Type List Disk at the DiskPart prompt and note the available disks in the system.

  5. Type select disk # where # is the number of the disk.

  6. With the disk selected, enter List Volume at the command line and press Enter.

    This displays the volumes available and the drive letters associated with them. You will need this in the next step when creating a new VHD.

  7. Type select volume #, where # is the number of the volume being selected, at the command line, and press Enter.

  8. Type the following command:

    Create VDisk file=x:\vhd\windows8.vhd maximum=<size in MB> type=<expandable |
    fixed>

    where x:\ is the drive letter of the volume selected in the previous step and the vhd type is specified as expandable or fixed. The maximum value should be the maximum exposed size of the VHD in MB. If you choose a type of fixed for the VHD, you will need to specify the size=xx option rather than the maximum=xx option to designate the size of the disk file.

  9. After the VHD file is created, locate the VHD and its information by typing List Vdisk at the DiskPart command line and pressing Enter.

  10. Select the VHD by typing Select vdisk file=“<path to vhd>” and pressing Enter.

    The path to the VHD is displayed by the List Vdisk command.

  11. To attach the selected VHD so that Windows can use it as a target disk, type attach vdisk at the command line and press Enter.

  12. Exit the DiskPart utility by typing exit on the command line.

  13. Exit the command prompt by typing exit again and pressing Enter.

  14. Now that the VHD is attached to the computer, select the language, keyboard, and time and currency settings and tap or click Next.

  15. Tap or click Install Now.

  16. Enter the product key for Windows 8 and tap or click Next.

  17. Select I Accept on the End User License Agreement and tap or click Next.

  18. On the Where Do You Want To Install Windows page of the Windows Setup Wizard, select the new disk as the installation location for Windows.

Note

SELECTING THE RIGHT DISK

When you install Windows on a VHD, one way to determine which disk is the correct one is to look at the size of the displayed disk or partition. It should be roughly the size you specified when creating the file. Another way is to select that file and then look at the warning underneath the disk selection window. You see a message saying that Windows cannot install on the selected device; this warning can be safely ignored.

Other  
  •  Windows 8 : Upgrading or migrating from a previous version of Windows (part 4) - Migrating user data
  •  Windows 8 : Upgrading or migrating from a previous version of Windows (part 3) - Using an external hard disk or USB flash drive, Using the User State Migration Tool
  •  Windows 8 : Upgrading or migrating from a previous version of Windows (part 2) - Using removable media, Using a network connection
  •  Windows 8 : Upgrading or migrating from a previous version of Windows (part 1) - Running the Setup Wizard , Configuring your account
  •  Installing Windows 8 on a new or formatted system (part 3) - Installing Windows 8 with Windows To Go
  •  Installing Windows 8 on a new or formatted system (part 2) - Configuring your account
  •  Installing Windows 8 on a new or formatted system (part 1) - Starting the installation
  •  Windows 8 : Customizing the Appearance of Windows - Adjusting Screen Resolution - Change Screen Resolution
  •  Windows 8 : Customizing the Appearance of Windows - Changing the Desktop Color Scheme - Change Windows Color and Transparency
  •  Windows 8 : Customizing the Appearance of Windows - Changing the Desktop Background - Select a Different Background
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us