Windows 10: Clean install 15014 in hyper-v Solved

  1.    21 Jan 2017 #1

    Clean install 15014 in hyper-v


    I have created an iso using the uup to iso tutorial and it works fine to upgrade existing VMs, setting iso as a dvd.

    I am trying to clean install it in hyper-v overwriting an existing vm (do not want to change existing vm id) and have set it as a dvd, and changed boot order to dvd first, but it just ignores it and boots to existing windows.
      My ComputerSystem Spec


  2. Posts : 11,252
    Windows 10 Pro
       21 Jan 2017 #2

    cereberus said: View Post
    I have created an iso using the uup to iso tutorial and it works fine to upgrade existing VMs, setting iso as a dvd.

    I am trying to clean install it in hyper-v overwriting an existing vm (do not want to change existing vm id) and have set it as a dvd, and changed boot order to dvd first, but it just ignores it and boots to existing windows.
    Is this a Generation 2 VM?
      My ComputerSystem Spec

  3.    21 Jan 2017 #3

    Kari said: View Post
    Is this a Generation 2 VM?
    Yes but I sorted it another way by clean installing it it a vhd on physical pc, making image using Macrium, oobe/generalising in viboot and restoring image to hyper-v. Ok long winded but it got the job done.

    However if there is a quicker way .......

    Edit: just realised why - secure boot was on! Just turned it off and now it boots from dvd image!

    Cheers for the clue!
      My ComputerSystem Spec


  4. Posts : 11,252
    Windows 10 Pro
       21 Jan 2017 #4

    This is, although easy to logically explain and a known issue, an annoying one. Especially with Generation 2 virtual machines, when you start them the 5 second grace period to press a key to boot from DVD starts immediately, yet Hyper-V might take more than that 5 seconds to connect therefore when connection is done it's already too late.

    The workaround is simple: when you are finally connected to VM, reset it:

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	21.8 KB 
ID:	117977

    Now you will have enough time to see and react when Press any key to boot from CD or DVD is shown:

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	11.0 KB 
ID:	117974

    Kari
      My ComputerSystem Spec

  5.    21 Jan 2017 #5

    Kari said: View Post
    This is, although easy to logically explain and a known issue, an annoying one. Especially with Generation 2 virtual machines, when you start them the 5 second grace period to press a key to boot from DVD starts immediately, yet Hyper-V might take more than that 5 seconds to connect therefore when connection is done it's already too late.

    The workaround is simple: when you are finally connected to VM, reset it:
    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	21.8 KB 
ID:	117977

    Now you will have enough time to see and react when Press any key to boot from CD or DVD is shown:
    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	11.0 KB 
ID:	117974

    Kari

    Thanks - that is good to know.

    M.
      My ComputerSystem Spec

  6.    21 Jan 2017 #6

    Kari said: View Post
    This is, although easy to logically explain and a known issue, an annoying one. Especially with Generation 2 virtual machines, when you start them the 5 second grace period to press a key to boot from DVD starts immediately, yet Hyper-V might take more than that 5 seconds to connect therefore when connection is done it's already too late.

    The workaround is simple: when you are finally connected to VM, reset it:
    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	21.8 KB 
ID:	117977

    Now you will have enough time to see and react when Press any key to boot from CD or DVD is shown:
    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	11.0 KB 
ID:	117974

    Kari
    This works great with secure boot disabled.

    Do not get that far with secure boot enabled and it falls over (using iso for 15014)

    Click image for larger version. 

Name:	2017_01_22_00_00_081.png 
Views:	22 
Size:	22.5 KB 
ID:	118006

    The strange thing is when I boot using a Macrium Rescue iso, it works with secure boot enabled or not.

    Of course, it is no big deal turning off secure boot in a vm.

    cheers

    M.
      My ComputerSystem Spec


  7. Posts : 11,252
    Windows 10 Pro
       21 Jan 2017 #7

    cereberus said: View Post
    The strange thing is when I boot using a Macrium Rescue iso, it works with secure boot enabled or not.
    You only need to disable Secure Boot for duration of installation. When Windows 10 has been installed, you can again enable Secure Boot without issues.

    WinPE boot media (like Macrium Rescue or any other PE) skips Secure Boot; that's why you can boot with Macrium rescue PE media and restore an image even with Secure Boot enabled. You can test this easily: When you have Windows 10 installed on a Generation 2 VM with Secure Boot enabled, set DVD first in boot order, and a normal Windows install media ISO as virtual DVD, you are not shown Press any key to boot from CD or DVD when you start or restart the VM.

    However, if you change the virtual DVD to Macrium Rescue ISO and start or restart the same VM, still Secure Boot enabled, Press any key to boot from CD or DVD will be shown and you can boot normally from WinPE ISO / DVD and restore an image.

    Kari
      My ComputerSystem Spec

  8.    22 Jan 2017 #8

    Kari said: View Post
    You only need to disable Secure Boot for duration of installation. When Windows 10 has been installed, you can again enable Secure Boot without issues.

    WinPE boot media (like Macrium Rescue or any other PE) skips Secure Boot; that's why you can boot with Macrium rescue PE media and restore an image even with Secure Boot enabled. You can test this easily: When you have Windows 10 installed on a Generation 2 VM with Secure Boot enabled, set DVD first in boot order, and a normal Windows install media ISO as virtual DVD, you are not shown Press any key to boot from CD or DVD when you start or restart the VM.

    However, if you change the virtual DVD to Macrium Rescue ISO and start or restart the same VM, still Secure Boot enabled, Press any key to boot from CD or DVD will be shown and you can boot normally from WinPE ISO / DVD and restore an image.

    Kari
    Yeah - that is exactly what happens. I just find it strange a bootable windows iso cannot ignore secure boot whereas a Macrium iso can. Surely the windows iso is also winpe?

    Not an issue - more just curious.
      My ComputerSystem Spec


 

Related Threads
822217527090495489 Source:...
Hello, just installed build 15014 and have a mouse problem. When my xbox one controller adapter is connected to the PC via USB with the controller turned on. (Official Microsoft adapter). The mouse pointer will lag on screen and I am not able...
Hello, i am having trouble installing the Windows 10 mobile emulator for Visual Studio 2015 First I got this message when I attemped to install the first time (see screenshot 1) Dropbox - install microsoft emulator 1st try.PNG So I went...
When I upgraded to windows 10 from windows 7, it worked fine for the next few hours then i couldnt acess the log in screen it was just stuck on the slider and then it flickers. tried to trouble shoot, system restore, clean installed (using...
Hi there Trying to install programs while connected via RDP (the normal way of accessing your HYPER-V VM remotely). Cannot install programs. This seems a bit daft - I can't always be at the console of the HOST machine - I usually access VM's...
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 04:46.
Find Us