Windows Videos


  1. Posts : 27,157
    Win11 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #1251

    For @Dude:
    This is why I use LibreOffice for the backup
    I have the option to preview in my browser that I can't find in O365.
    Windows Videos-2017-07-23.png

    Windows Videos-2017-07-23-1-.png

    I then only need to right click and select all, then paste into OneNote, keeping the formatting..
    Really a lot more easier than Microsoft makes it
      My Computers


  2. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #1252

    New video: Dual Boot - The Easy Way



    The easiest possible method to dual boot. No partitioning, no virtualization required. Deploy Windows 10 on a virtual hard disk VHD or VHDX file, add it to boot menu. When done, when you no longer want to dual boot, just delete the VHD file.
    Note   Note
    When creating VHD file to be used in native boot, always use MBR partitioning! To upgrade Windows on native boot VHD, it must be temporarily attached to a virtual machine. An MBR partitioned VHD is easy to attach to VM, it only needs Windows partition to be marked active, whereas a GPT partitioned VHD with only a single partition for Windows requires manually creating system partitions before it can be used on VM.

    If you for any reason want to use a GPT partitioned VHD in native boot (can't think any valid reason!), it is better and recommended that you first create a Generation 2 VM in Hyper-V, installing Windows 10 on it. This takes care of the partitioning, doing it correctly. The VHD can then be used as native boot VHD, or on a VM.

    See this tutorial for more information: Native boot Virtual Hard Disk - How to upgrade Windows

    The DISKPART script and deployment batch from video:

    DISKPART scripts are normal text files with extension .txt. To run a DISKPART script, enter following command:

    diskpart /s DRIVE:\FOLDER\SCRIPT.TXT

    Here's the script used in video. Notice, it creates an MBR partitioned VHD:
    Code:
    create vdisk file=F:\W10PRO.vhdx maximum=51200 type=expandable
    attach vdisk
    create part primary
    format quick label="Windows"
    assign letter=W
    exit
    Save script as VHDConfig.txt

    Same script to create a GPT partitioned VHD:
    Code:
    create vdisk file=F:\W10PRO.vhdx maximum=51200 type=expandable
    attach vdisk
    convert gpt
    create part primary
    format quick label="Windows"
    assign letter=W
    exit
    Above script creates a dynamically expanding MBR partitioned 50 GB (51,200 MB) VHDX file (you can use .vhd or .vhdx) named W10PRO.vhdx in root of drive F:, labels it Windows and assigns it a temporary drive letter W:. Edit script to meet your needs, be sure the drive you create VHD has double the free storage than the size of VHD; if you will create a 100 GB VHD file to be used in dual boot, the drive where it will be created needs 200 GB free.

    Also, be sure to assign an unused drive letter! I always use W: which I have reserved for this purpose, never assigning it to anything else. In any case the drive letter will only be needed for deployment, it will be freed when VHD will be unmounted.

    The deployment batch is really simple, too. It just runs DISKPART script to set up VHD, deploys Windows on it with DISM, adds it to host boot menu and finally changes the boot menu entry to something more descriptive:
    Code:
    start /wait diskpart /s E:\Users\Kari\Scripts\VHDConfig.txt
    start /wait dism /apply-image /imagefile:I:\sources\install.wim /index:8 /applydir:W:\
    start /wait bcdboot W:\Windows
    start /wait bcdedit /set {default} description "W10 PRO EN-GB (VHD)"
    cls
    @echo off
    echo. 
    echo Windows deployed to VHD file
    echo and added to host boot menu.
    echo.
    pause
    exit
    Save batch file as VHDBoot.bat

    Again, edit the batch to meet your needs. Be sure path to DISKPART script is correct, and that path to install.wim (or in case of MCT ISO install.esd) is correct in DISM command. Select correct index value. Check that BCDBOOT will add Windows to boot menu from correct disk, the drive letter here must be the same DISKPART script assigned to VHD.

     Windows 10 ISO edition index values


    Table 1: Official Windows 10 ISO images

    Edition index values for ISO images downloaded from Download Windows 10 Disc Image (ISO File)

    • ESD = ISO image created with Windows Media Creation Tool (install.esd file instead of install.wim)
    • WIM = WIM based ISO image (requires browser user agent change)


    Notice that values in WIM column also apply for official Insider ISO images downloaded from Download Windows 10 Insider Preview Advanced

    Edition ESD WIM
    Home 1 1
    Home N 2 2
    Home SL 3 3
    Pro 6 6
    Pro N 7 7
    Pro Education - 8
    Pro Education N - 9
    Pro for Workstation - 10
    Pro for Workstation N - 11
    Education 4 4
    Education N 5 5


    Table 2: Visual Studio (former MSDN) subscriber ISO images

    Edition index values for ISO images downloaded from Sign in to your account
    • VSB= Business editions ISO image
    • VSC= Consumer editions ISO image


    Edition VSB VSC
    Home - 1
    Home N - 2
    Home SL - 3
    Pro 5 6
    Pro N 6 7
    Pro Education 7 8
    Pro Education N 8 9
    Pro for Workstation 9 10
    Pro for Workstation N 10 11
    Education 1 4
    Education N 2 5
    Enterprise 3 -
    Enterprise N 4 -
    Enterprise for Virtual Desktops 11 -


    All single edition ISO images have index value 1 for edition in question regardless of edition, for instance whatever edition you are running, its index = 1 if you made the ISO by yourself with UUPtoISO.


    Kari
    Last edited by Kari; 16 Jun 2021 at 15:48. Reason: Typos
      My Computer


  3. Posts : 16,325
    W10Prox64
       #1253

    Very nice, polished video Kari!
      My Computer


  4. Posts : 27,157
    Win11 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #1254

    You've really streamlined it I see Kari

    Oh and I noticed you use the heck out of Clover, with all your bookmarks
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #1255

    simrick said:
    Very nice, polished video Kari!
    Thanks :)


    Cliff S said:
    You've really streamlined it I see Kari

    Oh and I noticed you use the heck out of Clover, with all your bookmarks
    I just love Clover, it makes file handling easy.
      My Computer


  6. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
       #1256

    Nice video Kari!
    I've never tried dual-booting and didn't realise it was quite so simple. (I know that being able to boot from a VHD is fairly recent though.)
    What is the reason for having double the disk space available when creating the VHD? Would it be any different if the VHD was set as fixed size rather than dynamic?
      My Computer


  7. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #1257

    Thanks David.

    The native boot VHD method is excellent. As the secondary OS is just a file, no partitioning is required. If you are an Insider, you have certainly noticed that some dual / multi booting members have had issues in upgrading to new Insider builds due dual boot. A VHD file does in no way disturb / affect upgrading host. It's just a file.

    And, the best of it: when done, when secondary OS is no longer needed, just delete the VHD.


    DavidY said:
    I've never tried dual-booting and didn't realise it was quite so simple. (I know that being able to boot from a VHD is fairly recent though.)
    It is not as recent as you think! Here's Brink's tutorial at our sister site Seven Forums from over 9 years ago: Boot from a VHD using Windows 7 - Windows 7 Help Forums


    DavidY said:
    What is the reason for having double the disk space available when creating the VHD? Would it be any different if the VHD was set as fixed size rather than dynamic?
    In video I set up a dynamically expanding VHD with first command in DISKPART script:

    create vdisk file=F:\W10PRO.vhdx maximum=51200 type=expandable

    Other option would be to use fixed size VHD:

    create vdisk file=F:\W10PRO.vhdx maximum=51200 type=fixed

    Whereas a fixed VHD always takes storage space on host HDD exactly as much as size given (50 GB in this example), dynamic VHD only takes space it needs. If you check the video, you'll notice that VHD file size after Windows 10 was deployed is under 9 GB. When you install software and personal data on Windows on VHD, the VHD file size gradually increases until it meets it's given maximum size. A dynamically expanding VHD cannot grow bigger than max size given, although you can epand (increase max size) it in Hyper-V manager.

    When you boot to VHD, it needs free space on drive where it is located on host to be fully expanded. A fixed 50 GB VHD takes 50 GB first simply to store the VHD file, then 50 GB free space to be operational. In other words, when a VHD is mounted host will see it as a 50 GB HDD (in this sample case) and takes that space.

    In this example my dynamically expanding VHD would need at first boot about 59 GB free space on drive it is located: VHD file size 9 GB plus space for VHD to expand to it's max size 50 GB, Each software installation, each personal file or folder added increases the VHD file size on host until max size have been reached.

    It's better to be prepared. Space required = VHD file size on host + VHD max size when mounted. If you select a 50 GB VHD from boot menu to be booted up when there's only 49 GB (or less) free on the drive storing it, you will get a BSOD because VHD can not be expanded to its max size.

    Kari
    Last edited by Kari; 31 Dec 2017 at 08:06.
      My Computer


  8. Posts : 27,157
    Win11 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #1258

    Other words you may need a bit of space if you use OneDrive on the VHD system, so you'll do well to give it some room, plus room to grow. Unless you just share(or point File Explorer at) with you main systems disk:)
      My Computers


  9. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #1259

    Happy New Year 2018 fellow geeks! I made this video just for you :)

      My Computer


  10. Posts : 29,078
    Windows 10 21H1 Build 19043.1023
       #1260

    Nice, Kari!

    I'm going to start teaching Windows 10 FCU for Seniors beginning the first Wednesday In January. I'm planning to turn them on to TenForums, so I'll be sure to use this video to show them what TF has to offer.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:06.
Find Us




Windows 10 Forums