Page 4 of 4 FirstFirst ... 234
  1.    18 Aug 2017 #30
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,663
    Windows 10 Pro

    Quote Originally Posted by D4ni3l View Post
    thanks kari for the detailed information and about Windows update potential issue

    apparently w10 replace all physical drivers by hyper-V drivers automatically and put them back in case of native boot
    that's nice !
    You are welcome.

    There are a few things to consider when using Windows on native boot VHD. For instance, if you think that it is even remotely possible that you might occasionally need to add the VHD to Hyper-V VM for upgrade or any other purpose, you need to partition VHD correctly. For instance, if VHD will only ever be used as native boot VHD, it does not need System reserved partition (MBR partitioning) or EFI system partitions (GPT partitioning). Simply create VHD with just one single Windows partition and attach it to host, apply Windows image to it with DISM, use BCBOOT to add it to boot menu, done.

    But: that VHD would not work in Hyper-V. To be able to use VHD both in native boot and in Hyper-V, it must be properly partitioned, which is why I recommend that you use Hyper-V to create your native boot VHDs. Create first a VM, install Windows normally which automatically creates correct partition structure, update Windows fully when done, shut down the VM, mount the VHD on host and only then add it to boot menu as native boot VHD. See tutorial: Hyper-V - Native Boot VHD Windows 10 Virtualization Tutorials

    In doing this you will guarantee that it works without issues both in native boot and in Hyper-V.

    A bit more about that WU issue, if VM using a native boot VHD is allowed to connect to network and possible WU issues caused by it. In screenshots below an example, I installed Windows 10 Pro today to a native boot VHD, then later on used the VHD in a new VM. I use PowerShell Windows Update which makes managing updates somewhat easier than WU in Settings app. Read more: Update and Upgrade Windows 10 using PowerShell Windows 10 Installation Upgrade Tutorials

    OK, first boot to desktop after native boot VHD was attached to a Hyper-V VM. Listing available updates, I can see that all of them are for host hardware devices, all of them for devices completely missing from VM:
    Click image for larger version. 

Name:	image.png 
Views:	25 
Size:	854.1 KB 
ID:	149389

    I needed a few Hide-WUUpdate cmdlets to hide all of them, for instance Hide-WUUpdate -Title "Intel*" -Confirm:$False hides all updates starting with string Intel:
    Click image for larger version. 

Name:	image.png 
Views:	36 
Size:	1.26 MB 
ID:	149390

    After hiding the last unnecessary hardware device update and checking available updates again which returns nothing, I can stop worrying and upgrade using Update Assistant, Media Creation Tool, Windows Update or an ISO. No unnecessary update will now cause issues with upgrade.
    Click image for larger version. 

Name:	image.png 
Views:	21 
Size:	167.7 KB 
ID:	149391

    After I have fully upgraded Windows on this VM, I shut down and can now boot the host to this upgraded VHD. When booted, I will then unhide all hidden updates.

    Kari
    Last edited by Kari; 20 Aug 2017 at 08:52. Reason: Multiple typos
      My ComputerSystem Spec
  2.    19 Aug 2017 #31
    Join Date : Oct 2016
    Posts : 130
    Microsoft Windows 10 x64

    hello kari,

    I have done exactly what you described

    1. Install a new Windows 10 in a new "W10-NATIVE-BOOT.VHDX" with Hyper-V
    2. Force the update of the vitual machine with powershell utilities PSWindowsUpdate
      Get-WUInstall
    3. Update the boot


      VHDX temporary mounted in the host to check the partitions structure




    Everything works as expected
    The new VHDX Windows native boot is working and I have done the update of the physical machine with Get-WUInstall

    Below the only error I see in the event log of the virtual machine when I switch from native boot to Hyper-V:



    It is so easy to do when you know how to do it

    Thanks again kari for sharing your expertise
    Last edited by D4ni3l; 19 Aug 2017 at 03:26.
      My ComputerSystem Spec
  3.    19 Aug 2017 #32
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,663
    Windows 10 Pro

    Quote Originally Posted by D4ni3l View Post
    Thanks again kari for sharing your expertise
    You are welcome, always nice to get positive feedback

    I wouldn't be worried about that crash dump error. It's because of differences in RAM (different amount on VM and in native boot) and page file. As the VM is only a temporary solution to get VHDX upgraded, there's no need to change page file settings on VM. The event / error should not occur when again booted natively.
      My ComputerSystem Spec
  4.    19 Aug 2017 #33
    Join Date : Dec 2015
    Posts : 5,441
    Windows10

    I did manage to convert a native host vhd which I had created natively to be suitable for use in hyper-v as follows:

    1) create some unallocated space in vhd (I used minitool partition wizard free)

    2) Create Macrium Reflect Rescue ISO

    3) Create VM in hyper-v with vhd as hard drive, and Rescue ISO as DVD drive, with VM set to not from Rescue ISO

    4) Boot into Macrium and use "fix windows boot problems" and it rebuilds BCD.

    Then you can boot vhd in hyper-v
      My ComputerSystem Spec
  5.    4 Days Ago #34
    Join Date : Oct 2013
    Posts : 24,439
    64-bit Windows 10 Pro build 17017
    Thread Starter

    Windows 10 Fall Creators Update now available via Windows 10 Update Assistant.
      My ComputersSystem Spec

 
Page 4 of 4 FirstFirst ... 234


Similar Threads
Tutorial Category
Windows 10 Creators Update available through the Update Assistant
:arrow: Windows 10 Creators Update version 1703 (build 15063) now available from Windows 10 Update Assistant. See also: Managing Windows 10 Creators Update rollout for a seamless experience - - Windows 10 Forums Windows 10 Creators Update...
Windows 10 News
0x80070005 windows update Cumulative Update for Windows 10 Version 151
hi i try to update the my windows 10 desktop Pc and iam getting the 0x80070005 error on windows update .. Also i had some ms office 2013 updates succesfully installed how do i fix it ? And iam runing the @echo off subinacl /subkeyreg...
Windows Updates and Activation
Solved htm & mp3 file associations change since latest update version 1511
I recently upgraded/updated Windows 10 Home with the Nov/Dec 2015 update version 1511. File associations for Web Browser and Music have always been Firefox and VLC Player respectively, i.e. .htm files open in Firefox and .mp3 files open in...
General Support
Is windows 10 latest big update included in latest media creation tool
Hi folks, When windows 10 was first released I downloaded it and burned to DVD using the media creation tool from Microsoft. As windows 10 has now had a major update, and I want to create a DVD with that update on it, without having to...
Installation and Upgrade
10240 latest update - longer to download than ENTIRE update from 10162
Hi there I have a decent FAST internet -- but latest update (only a security update) seems to be taking LONGER than the ENTIRE update I did going from 10162 to 10240. 15 mins and STILL only at 6% ??? for a small security update. I know my...
Installation and Upgrade
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 16:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums