Windows 10: Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?

Discus and support Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? in Windows 10 Installation and Upgrade to solve the problem; I need to install Windows 10 on my father in laws computer, but it is an older legacy bios Core 2 Duo machine. For Windows 7 before, I have taken my... Discussion in 'Windows 10 Installation and Upgrade' started by darthfoolish, Feb 16, 2018.

  1. Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?


    I need to install Windows 10 on my father in laws computer, but it is an older legacy bios Core 2 Duo machine.

    For Windows 7 before, I have taken my time and installed the OS and all the apps at my home on one of my boxes, sysprepped it, then simply transplanted the HDD.

    I have a feeling UEFI will complicate matters with this approach.

    What steps would I need to take to make this work?

    Would GRUB maybe be able to help?

    :)
     
    darthfoolish, Feb 16, 2018
    #1
  2. slance310 Win User

    Windows 10 melt down

    Hi,

    It kind of seems like your BIOS is selecting the wrong boot device...

    Is it possible that you installed Win 10 differently this time ?

    A lot of machines will install two different ways...

    With UEFI Bios, or Legacy Bios... And the boot selection is different...

    Go into your Bios and make sure your Windows partition is selected as the first HDD device, and the first Boot Device... This is for Legacy Bios...

    For UEFI Bios you need to select "Windows Boot Manager" as the first HDD Boot Device...
     
    slance310, Feb 16, 2018
    #2
  3. slance310 Win User
    UEFI: USB OR JUST USB?

    Hi,

    The difference is that you need the UEFI SanDisk to boot and install into a UEFI Bios enabled machine...

    You would select the regular SanDisk for Legacy Bios...

    For instance... now you are installing Windows and would most likely be using UEFI Bios if this is a newer machine... You would select the UEFI SanDisk...

    If for instance you were trying to boot a USB flash drive with some type of bootable utility, you may want to select the regular SanDisk...

    BTW... Your HDD will be Initialized differently when installing as UEFI or Legacy, but both format as NTFS...

    UEFI installations require the HDD to be initialized as a GPT drive, and Legacy installations require a MBR drive...
     
    slance310, Feb 16, 2018
    #3
  4. cereberus Win User

    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?

    Sysprepping is easy enough but converting UEFI to legacy bios takes a bit of effort. It is easy to do it other way round though.

    The easiest way is probably to do it all in a virtual machine set up as a legacy bios install.

    Hyper-v is really good for this as you can produce a sysprepped vhd which you can transfer to other pc, and create a boot entry.

    I would install PRO in a vhd on your pc as a dual boot option on your pc if you are using home so you can run hyper-v. It does not matter if the PRO is unactivated.
     
    cereberus, Feb 16, 2018
    #4
  5. NavyLCDR New Member
    Except that it would violate the EULA which we are not supposed to advise people to do on this forum.
     
    NavyLCDR, Feb 17, 2018
    #5
  6. cereberus Win User
    Oh come on - loads of users including very prominent ones here have said they use vms unactivated.

    Anyway, there is nothing wrong with running it on a trial basis.

    However, OP - so you do not violate EULA install the 90 day trial Enterprise edition.
     
    cereberus, Feb 17, 2018
    #6
  7. If you can install Windows in BIOS mode on your UEFI system then you should be able to move it to the older system.

    You have to enable legacy mode/CSM in your UEFI and then boot to Windows Setup using BIOS/legacy mode. How this is presented to you in the boot selection menu depends on your manufacturer. Then after installation you can confirm that it installed in BIOS mode by checking that there's no EFI partition.

    To see what mode you booted into in Windows Setup, press Shift-F10 to open a command prompt:

    Code: wpeutil UpdateBootInfo reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType[/quote] If the PEFirmwareType is 0x2 then you booted into UEFI mode. If it's 0x1 then you booted into BIOS/CSM mode.


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]
     
    PolarNettles, Feb 18, 2018
    #7
  8. Plankton Win User

    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?

    If you're going to upgrade windows 7 to windows 10 it will work just fine and it will retain the MBR setup. If you're going to do a clean install....you'll need to formatt the HDD and then install windows 10 (clean install) then it will setup your HDD in GPT.

    Legacy BIOS and UEFI BIOS has nothing to do with the OS. It has to do with partitions. There are some options/features in UEFI that legacy BIOS doesn't have which makes it more secure and harder for some would be hacker to manipulate if they had access.
     
    Plankton, Feb 18, 2018
    #8
  9. cereberus Win User
    OP wants to go install a sysprepped custom image on legacy bios pc, but his pc is UEFI.

    As I said earlier, easiest way is to prepare legacy bios custom image inside a virtual machine which avoids faffing around with e.g. installing 7 as legacy dual boot with UEFI 10.

    A VM is perfect for the task and OP can just follow key steps of @Kari's sysprep tutorial.
     
    cereberus, Feb 18, 2018
    #9
  10. Kari Win User
    @darthfoolish, this is both extremely easy and completely OK to do without activating Windows 10 on the HDD you will send to your father-in-law. In fact, it's important that you forget this nonsense about it being against EULA; for the first, it isn't. You'll do this in an hour or two, well covered by the grace period you are allowed to use Windows before activating it, and for the second, in this case it would be plain stupid to activate Windows just to install it, then lose the activation when HDD is plugged in on another PC.

    Personally I will never use a product key and activate my reference machines, physical or VM, when I know that I will only use Windows on it for an hour or so, to create a deployment image.

    Simple instructions. Really, don't panic because of length of this post, this is simple. See screenshots of each step at the end of this post:

    1.) Connect the HDD going to your father-in-law as secondary HDD on your PC, boot to your own Windows 10.

    2.) Open an elevated Command Prompt, start Windows Disk Partitiononing Utility with following command:

    diskpart

    3.) Check the disk number of that HDD going to your father-in-law and select it with following two commands

    list disk

    sel disk 2

    In this example case now, the selected HDD in question is Disk 2

    4.) Clean the disk:

    clean

    5.) Convert it to MBR:

    convert MBR

    6.) Create 500 MB System Reserved partition:

    create part primary size=500

    7.) Format and label it:

    format quick fs=ntfs label="System"

    8.) Assign a temporary drive letter for it:

    assign letter="S"

    9.) ... and mark this System reserved partition as active:

    active

    10.) Create Windows partition using rest of the disk:

    create part primary

    11.) Format and label Windows partition:

    format quick fs=ntfs label="Windows 10"

    12.) Assign a temporary drive letter for Windows partition:

    assign letter="Z"

    13.) Exit DISKPART:

    exit

    14.) Mount a Windows 10 ISO, in my case now it got drive letter J:. Check which Windows editions it contains to find out index number for edition you want to install to your father-in-law:

    dism /Get-WimInfo /WimFile:J:\Sources\install.wim

    In my case now I decided to install Pro edition, index #8.

    15.) Install (deploy) selected edition to partition created in steps 10 through 12 above:

    dism /Apply-Image /ImageFile:J:\Sources\install.wim /Index:8 /ApplyDir:Z:\

    16.) Add newly deployed Windows to your PC's boot menu:

    bcdboot Z:\Windows

    17.) Windows on partition Z: is now default OS, the one booted to if user makes no selection from boot menu in given time, default 30 seconds. Let it be default for now, just rename the boot menu entry to better recognize correct entry. In my case now I renamed it to W10MBR:

    bcdedit /set {default} description "W10MBR"

    18.) Restart your PC, booting to W10MBR. When it arrives to Region Selection screen at the beginning of OOBE (Windows Welcome), reboot to Audit Mode:


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]


    19.) Follow instructions in this tutorial to customize your father-in-law's Windows10: Create media for automated unattended install of Windows 10 Windows 10 Tutorials

    In your case you can forget steps Three, Six and Eight in above mentioned tutorial, only doing the highlighted ones. In Step Seven you only need to do 7.1 through 7.6 and then 7.9 (screenshot from tutorial):


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]


    In fact, if no customizations are required you can forget everything else in that tutorial except Step 7.9, the Sysprep.

    20.) When done and PC has shut down after Sysprep, dismount the HDD and send it to your father-in-law. Depending on level of customizations you choose to do, this whole process takes anything from half an hour to two hours.

    Your father-in-law naturally needs a valid license / product key to activate Windows 10 when this HDD is booted on his PC and he starts to use Windows.

    Screenshot to cover steps 1. through 13.:


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]


    Screenshot, step 14. (checking edition index):


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]


    Screenshot for steps 15. through 17.:


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]



    That's it.
     
  11. cereberus Win User
    I agree - it is insane to expect users to activate everything especially VMs for just a one-off task.

    We obviously should as a responsible forum not actively encourage usrs to run unactivated versions on a permanent basis.

    However, for cases like this where it is clear the end result will be a totally legitimate permanent installation, I do not see why we should get so uptight about it - common sense should prevail

    I suggested vms but your way of dual booting the hdd is equally as good as it does not impact existing installation.

    Just one minor addition to your instructions - when OP has finished the job, OP should remove the dual boot entry using msconfig.
     
    cereberus, Feb 19, 2018
    #11
  12. Plankton Win User
    Ah...got it....well I missed that completely. Kari's post made it very clear as to what the OP is intending on doing with it. Smart and time saving.
     
    Plankton, Feb 19, 2018
    #12
  13. Kari Win User

    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?

    Exactly. Not only are we allowed to use Windows unactivated in so called grace period, but also it really would be insane to spend product keys and licenses for something that really only take an hour or so to build a deployment image or as in OP's case, to prepare a HDD to be sent away to another PC.


    Yes, I forgot that, as well as the "final" steps to be done at receiver's, the father-in-law's end:

    OP should prepare a WinPE USB / DVD to be sent with HDD (tutorial).

    When the HDD is mounted on new PC, it is non-bootable at first ("Operating system not found"). It should be booted first time from WinPE. It boots to command prompt. Then the father-in-law needs to check drive letters with DISKPART using following command sequence:

    diskpart
    list vol
    exit

    In most cases the System Reserved partition is shown at this point as C: and the Windows partition as D: drive. Assuming this is the case, boot records need to be created with following command, replacing both instances of D: with actual temporary drive letter for Windows partition, and replacing C: with actual temporary drive letter for System Reserved partition:

    D:\Windows\System32\bcdboot D:\Windows /s C:


    Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? [​IMG]


    All done. PC can now be rebooted to Windows 10 from HDD. Setup will remove drive letter from System Reserved partition, and change letter for Windows partition C:.
     
  14. EdTittel Win User
    Nice work, as always, Kari. Keep it up!
    --Ed--
     
    EdTittel, Feb 19, 2018
    #14
  15. cereberus Win User
    Thinking about it, if OPs pc can be put in legacy bios mode, it would be a bit simpler to remove his drive, put in blank hdd, install 10, sysprep/customise, then remove hdd and put pc back to uefi and put OPs original drive back.

    Then the HDD would not need any work at far end.
     
    cereberus, Feb 19, 2018
    #15
Thema:

Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box?

Loading...
  1. Possible to sysprep on UEFI box, then install HDD in Legacy BIOS box? - Similar Threads - Possible sysprep UEFI

  2. Bios swap legacy to uefi

    in Windows 10 Installation and Upgrade
    Bios swap legacy to uefi: Motherboard/cpu upgraded ready for win 11. How to reinstall win 10 digital license to use new uefi bios. No facility for doing this. only gives option for retail licence install of win 10.trying to get system ready for win 11 but this is an obstacle to installation...
  3. Legacy To UEFI BIOS problem

    in Windows 10 BSOD Crashes and Debugging
    Legacy To UEFI BIOS problem: I have a DELL Optilex 990 so when I go to my bios I go to Boot Sequence then I switch to UEFI and the Boot Sequence is empty. When I boot up my Device it says no bootable devices found. How do I fix this. Please tell me the file path to Windows Boot Manager because I still...
  4. Changing from LEGACY BIOS to UEFI BIOS

    in Windows 10 Drivers and Hardware
    Changing from LEGACY BIOS to UEFI BIOS: Hello,First time posting here. I want to change from LEGACY to UEFI, I'm thinking:Will the computer be able to boot?I use it regularly, and I hope it works after this changover!I am not a computer geek. But I do know how to get into BIOS.Thanks...
  5. BIOS mode as Legacy or UEFI?

    in Windows 10 Installation and Upgrade
    BIOS mode as Legacy or UEFI?: My Windows 10 says its BIOS mode is Legacy with C drive partition as MBR. Is it worth switching to UEFI mode with C drive as GPT partition? Why does it seem so difficult to install to UEFI mode with GPT partition? You do not get an option to choose when you install windows 10...
  6. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Installation and Upgrade
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...
  7. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Support
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...
  8. Installing some OS's in UEFI and some using Legacy BIOS

    in Windows 10 Installation and Upgrade
    Installing some OS's in UEFI and some using Legacy BIOS: Hello, I've installed Windows 10 and Ubuntu using UEFI. But, now I created a bootable USB for a Linux that does not support UEFI, but only Legacy. I mean, when I plug the USB to my laptop, the UEFI does not recognize it, only the Legacy BIOS does. Is it possible to...
  9. EFI, UEFI, Legacy BIOS.......

    in Windows 10 Installation and Upgrade
    EFI, UEFI, Legacy BIOS.......: This weekend I will try to do a clean install of Win 10 again, from Win 7. Have to try som new methods to see if I can get my computer running flawlessly with Windows 10. I will use the clean install tutorials from this forum. I hav two options, with or without UEFI...
  10. Clean install in BIOS Legacy or UEFI? Activation & Language Change?

    in Windows 10 Installation and Upgrade
    Clean install in BIOS Legacy or UEFI? Activation & Language Change?: Hello, currently I have the upgraded Windows 10 Pro Spanish 32-bit activated from Windows 7 Spanish OEM 32-bit on a 2011 HP ProBook 6550b LATAM which I guess has the digital entitlement since no keys were entered. I would like to clean install & format the drive using the USB...