Unable to perform a Windows 10 Clean Install

Page 1 of 2 12 LastLast

  1. Posts : 14
    Windows 10 Pro 64bit
       #1

    Unable to perform a Windows 10 Clean Install


    Because my PC has many issues I want to do a clean install. However, I am having the following issue. When I go to start the install to my PC C drive, I get this error message. "Windows cannot be installed to this disk. The selected disk has an MBR partition table, Windows can only be installed to GPT disks onEFI systems." BIOS Mode Legacy. Is there a Registry change that I can do to convince the Windows 10 installation that my PC has a Legacy BIOS and is not UEFI or EFI?

    Thank You
    Unable to perform a Windows 10 Clean Install Attached Files
      My Computer


  2. Posts : 18,432
    Windows 11 Pro
       #2

    1. What did you use to create the Windows 10 installation USB flash drive with?
    2. When you are in the boot override menu to boot from the USB flash drive, with CSM enabled there may be two entries for the USB flash drive. One will boot in UEFI mode, the other will boot in CSM (Legacy BIOS) mode.
    3. If you have nothing on the hard drive that you want to save, just delete all the partitions on the hard drive and select the unallocated space to install to.

    Your computer is currently booting in CSM mode (Legacy BIOS emulation). That does not mean the computer is not UEFI. Your computer clearly is UEFI. The default boot mode for a UEFI is - surprisingly, UEFI. So when you are booting from the USB flash it is defaulting to UEFI mode. Whatever mode you boot the USB flash drive in, that is the mode that Windows 10 will install in.
      My Computer


  3. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    See if this command runs on the Lenovo computer and post the results into the thread:


    Code:
    gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}



    And post the results of these commands:

    Code:
    bcdedit
    diskpart
    list disk
    list volume
    select disk 0
    detail disk
    list partition

    When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread
    Last edited by zbook; 03 Mar 2019 at 17:12.
      My Computer


  4. Posts : 14
    Windows 10 Pro 64bit
    Thread Starter
       #4

    Unable to perform a Windows 10 Clean Install


    Thank You NavyLCDR for your quick reply. 1. What did you use to create the Windows 10 installation USB flash drive with? - I did not create a Windows 10 installation USB flash drive, I burned a Windows 10 installation disc, by using Windows 10 MediaCreationTool and using MagicArchiver Version 1.0. Should I have created a Windows 10 installation USB flash drive vs a Windows 10 installation disc? Is it a must that I use a Windows 10 installation USB flash drive? I may try deleting all the partitions on the hard drive and select the unallocated space to install to using my Windows 10 installation disc Thanks Again
      My Computer


  5. Posts : 14
    Windows 10 Pro 64bit
    Thread Starter
       #5

    See if this command runs on the Lenovo computer and post the results i


    I have tried three times, as Administrator in cmd, to run the code of "gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}" and the results I get are in each case are "gwmi" is not recognized as an internal or external command, operable program or batch file. Thanks zbook
      My Computer


  6. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #6

    Deleting all partitions and making an unallocated drive should allow the clean install to work.

    Each computer manufacturer has their own commands to use Windows to display the BIOS settings.

    Were the commands tried using administrative powershell?

    This was the Lenovo link with the information:
    https://download.lenovo.com/pccbbs/m..._deploy_01.pdf

    What were the results of the bcdedit and other commands?
      My Computer


  7. Posts : 14
    Windows 10 Pro 64bit
    Thread Starter
       #7

    Deleting all partitions and making an unallocated drive should allow t


    bcdedit Microsoft Windows [Version 10.0.16299.699]
    (c) 2017 Microsoft Corporation. All rights reserved.

    C:\windows\system32>gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
    'gwmi' is not recognized as an internal or external command,
    operable program or batch file.

    C:\windows\system32>gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
    'gwmi' is not recognized as an internal or external command,
    operable program or batch file.

    C:\windows\system32>gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
    'gwmi' is not recognized as an internal or external command,
    operable program or batch file.

    C:\windows\system32>gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object {if ($_.CurrentSetting -ne "") {Write-Host $_.CurrentSetting.replace(","," = ")}}
    'gwmi' is not recognized as an internal or external command,
    operable program or batch file.

    C:\windows\system32>bcdedit

    Windows Boot Manager
    --------------------
    identifier {bootmgr}
    device boot
    description Windows Boot Manager
    locale en-us
    inherit {globalsettings}
    default {current}
    resumeobject {7a82d5b2-7634-11e1-8e2d-bce9bfac6809}
    displayorder {current}
    toolsdisplayorder {memdiag}
    timeout 30
    noerrordisplay No

    Windows Boot Loader
    -------------------
    identifier {current}
    device locate=\windows\{F5D0FE7F-F50B-4644-99D5-AE593D1967B4}
    path \windows\system32\winload.exe
    description Microsoft Windows
    locale en-us
    loadoptions DDISABLE_INTEGRITY_CHECKS
    inherit {bootloadersettings}
    nointegritychecks Yes
    allowedinmemorysettings 0x15000075
    osdevice locate=\windows\{F5D0FE7F-F50B-4644-99D5-AE593D1967B4}
    systemroot \windows
    custom:22000005 \windows\{F5D0FE7F-F50B-4644-99D5-AE593D1967B4}
    resumeobject {7a82d5b2-7634-11e1-8e2d-bce9bfac6809}
    nx OptIn
    pae Default
    driverloadfailurepolicy UseErrorControl
    bootmenupolicy Standard
    detecthal Yes
    nocrashautoreboot Yes
    uselegacyapicmode Yes

    C:\windows\system32>
      My Computer


  8. Posts : 14
    Windows 10 Pro 64bit
    Thread Starter
       #8

    Deleting all partitions and making an unallocated drive should allow t


    Microsoft Windows [Version 10.0.16299.699](c) 2017 Microsoft Corporation. All rights reserved.C:\windows\system32>diskpartMicrosoft DiskPart version 10.0.16299.15Copyright (C) Microsoft Corporation.On computer: BONNIEDAVID-PCDISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 1863 GB 1024 KB Disk 1 Online 3726 GB 0 B *DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 F DVD-ROM 0 B No Media Volume 1 G DVD-ROM 0 B No Media Volume 2 C NTFS Partition 1863 GB Healthy System Volume 3 D Local Disk NTFS Partition 3726 GB HealthyDISKPART> select disk 0Disk 0 is now the selected disk.DISKPART> detail diskWDC WD2003FZEX-00SRLA0Disk ID: 5BC53D8BType : SATAStatus : OnlinePath : 4Target : 0LUN ID : 0Location Path : PCIROOT(0)#PCI(1F02)#ATA(C04T00L00)Current Read-only State : NoRead-only : NoBoot Disk : YesPagefile Disk : YesHibernation File Disk : NoCrashdump Disk : YesClustered Disk : No Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 2 C NTFS Partition 1863 GB Healthy SystemDISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 1863 GB 1024 KBDISKPART>
      My Computer


  9. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #9

    @zbook, according to the PDF that only works on Thinkpads, not on Desktops. Tried it on my Lennovo Thinkcenter K450 and it doesn't work there.

    Unable to perform a Windows 10 Clean Install-image.png
      My Computers


  10. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #10

    The msinfo32 was hard to read in txt. When posting it please save as NFO.
    The msinfo32 indicated that the BIOS is in Legacy.
    The bcdedit also indicated that the BIOS is in Legacy.

    The diskpart commands were hard to read in the posted format.
    When posting to get the text in the proper fashion these two options may work:
    a) after making a post > click edit > post again over the prior post
    b) during the post click the first box A/A option

    With the clean install you may have choices for Legacy/BIOS versus UEFI/GPT.
    Some computers have options for:
    Legacy
    UEFI hybrid (with CSM)
    UEFI native (without CSM)

    MBR is the older partition methodology. GPT is newer. It the computer can boot UEFI then the GPT can be used for these advantages: more partitions, usable in 2TB or larger drives, benchmark faster, more security.

    BIOS/MBR-based hard drive partitions | Microsoft Docs

    UEFI/GPT-based hard drive partitions | Microsoft Docs

    Hard Drives and Partitions | Microsoft Docs

    There are options to convert MBR to GPT with and without data loss:
    Convert MBR Disk to GPT Disk in Windows 10 | Tutorials


    Clean install is a nice option when it is available (files backed up, not too many applications to reinstall, etc.)
    A similar end result may be able to be accomplished using the computer's windows advanced troubleshooting menu reset remove files.

    Reset save files and custom install may also be viable options.

    Ztrucker thx for checking. It would be nice to have available the windows commands to view the firmware settings. It's even more challenging if there is a different command for the different hardware for each computer manufacturer.
    Last edited by zbook; 04 Mar 2019 at 00:54.
      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 13:44.
Find Us




Windows 10 Forums