Using Diskpart to create a bootable USB flash drive

Page 2 of 2 FirstFirst 12
  1.    #11

    Bree said: View Post
    Once you have used Diskpart to clean and convert to MBR then yes, you could use Disk Management to create a new simple volume, format it and mark the partition as active (just right-click on it).




    I don't bother. If there were any bad memory locations then I'd expect the attempted copy would also pick up on them.
    On my PC in Disk Management when right clicking on the USB flash drive the mark partition as active option is greyed out so its not selectable. So I would have to go back into Diskpart to make the flash drive Active. To do that would these be the correct commands?
    diskpart
    list disk
    select disk # (enter flash drive number)
    list partition
    select partition 1 (this would be the only partition on the drive)
    active
    exit
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 11,088
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #12

    sportsfan148 said: View Post
    On my PC in Disk Management when right clicking on the USB flash drive the mark partition as active option is greyed out so its not selectable.
    It is possible for a USB to neither have an MBR or GPT table but still be supplied pre-formatted by the manufacturer. In such cases Disk Management cannot mark the partition as Active as there is no MBR table, so the option is greyed out. Once Diskpart has been used to clean the usb and create a primary partition it will have an MBR table and can be marked Active by disk Management.

    See this post for an example of a usb without a partition table.

    Bree said:
    Notice the subtle difference (info courtesy of MiniTool Partition Wizard) between these two apparently identical Lexar 8GB USBs (both were from the same multipack). The first is as it was originally formatted by Lexar, the second is after using the MCT (so it now has an MBR). In particular, look at the partition type and first physical sector.
    Cumulative Update KB4048955 Windows 10 v1709 Build 16299.64
      My ComputersSystem Spec

  3.    #13

    Bree said: View Post
    It is possible for a USB to neither have an MBR or GPT table but still be supplied pre-formatted by the manufacturer. In such cases Disk Management cannot mark the partition as Active as there is no MBR table, so the option is greyed out. Once Diskpart has been used to clean the usb and create a primary partition it will have an MBR table and can be marked Active by disk Management.
    On my PC after a flash drive has been cleaned and the convert mbr command has also been used...when I then go into disk management the mark partition as active is greyed out so its not selectable. Ive checked this out before so I know its correct. I asked about that before on another thread and other forum members said it was the same on their PC too and it was because it was a UEFI system so the option deliberately gets greyed out. I was informed that it is designed to be that way on Windows 10. Im aware that on a UEFI system the Active command isn't necessary but it would also make the bootable flash drive also bootable on Legacy boot if ever needed. I know then that making it Active would create the flash drive in exactly the same way as the Media Creation Tool does when it automatically creates the USB media for you.
    So to make it Active Id have to go back into Diskpart. So would these be the correct commands to type in?
    diskpart
    list disk
    select disk # (enter flash drive number)
    list partition
    select partition 1 (this would be the only partition on the drive)
    active
    exit
    Last edited by sportsfan148; 5 Days Ago at 13:13.
      My ComputerSystem Spec

  4. Bree's Avatar
    Posts : 11,088
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #14

    sportsfan148 said: View Post
    On my PC after a flash drive has been cleaned and the convert mbr command has also been used...when I then go into disk management the mark partition as active is greyed out so its not selectable. Ive checked this out before so I know its correct.
    Odd, I have no such problem after using Diskpart 'Clean, Convert MBR, Create partition' on this Lexar 8GB USB....

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	30.3 KB 
ID:	233842

    What version of W10 do you have? Mine is 1809.

    So to make it Active Id have to go back into Diskpart. So would these be the correct commands to type in?
    diskpart
    list disk
    select disk # (enter flash drive number)
    list partition
    select partition 1 (this would be the only partition on the drive)
    active
    exit
    Yes, those are the correct commands.
      My ComputersSystem Spec

  5.    #15

    Bree said: View Post
    Odd, I have no such problem after using Diskpart 'Clean, Convert MBR, Create partition' on this Lexar 8GB USB....

    Click image for larger version. 

Name:	image.png 
Views:	1 
Size:	30.3 KB 
ID:	233842

    What version of W10 do you have? Mine is 1809.


    Yes, those are the correct commands.
    Thanks for confirming that Ive got the Diskpart commands entered correctly.
    Im on Windows 10 version 1809 too. I think when I had the original conversation on here way back and other people said mark partition as active was greyed out on their UEFI systems too that I might have been on 1703 or 1709 maybe. It was a Sandisk 16gb Ultra 3.0 but I wouldn't have thought that should have made any difference as others were seeing the same as me in Disk Management
      My ComputerSystem Spec

  6. Bree's Avatar
    Posts : 11,088
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #16

    sportsfan148 said: View Post
    think when I had the original conversation on here way back and other people said mark partition as active was greyed out on their UEFI systems too ...
    My first screenshot was 1809 on a Legacy system. I have confirmed that on a UEFI install of W10 1809 the Disk Management option to 'Set Active' is greyed out for ALL disks, removable or otherwise. Whether that's by design or mistake, your guess is as good as mine. Here's the SAME usb on a UEFI system....

    Click image for larger version. 

Name:	Set Active in UEFI disk management.PNG 
Views:	1 
Size:	37.3 KB 
ID:	233843

    So on a UEFI system Diskpart is your only option.
      My ComputersSystem Spec

  7.    #17

    Bree said: View Post
    My first screenshot was 1809 on a Legacy system. I have confirmed that on a UEFI install of W10 1809 the Disk Management option to 'Set Active' is greyed out for ALL disks, removable or otherwise. Whether that's by design or mistake, your guess is as good as mine. Here's the SAME usb on a UEFI system....

    Click image for larger version. 

Name:	Set Active in UEFI disk management.PNG 
Views:	1 
Size:	37.3 KB 
ID:	233843

    So on a UEFI system Diskpart is your only option.
    Yeah..its exactly the same on my system. Like I said it was the same over a year ago too. So it looks like its either by design as I was told or its something that's been overlooked somehow on Windows 10
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Installation & Upgrade Create Bootable USB Flash Drive to Install Windows 10 in Tutorials
How to Create Bootable USB Flash Drive to Install Windows 10 from This tutorial will show you how to create a bootable USB flash drive that can be used to install Windows 10 with or without UEFI. CONTENTS: Option One: Use Media Creation...
Hi, I would like to know if it is possible to use Media Creation Tool (MCT) to create a bootable USB Flash Drive from a previously downloaded ISO image. I already downloaded the ISO image some time ago with MCT when it was finished with the...
Hi all, 1.When using Diskpart to create a bootable Windows 10 USB flash drive is it not necessary to use the Assign command at all. Ive noticed some instructions where Assign is used and others where it isn't. What happens if I don't use the Assign...
Is it overkill to create both a USB Recovery drive and a bootable flash drive to install Win10? HP 2000 laptop. Win10 Home (x64). 1.60 GHz AMD E-350. 320 GB HDD. 4/8 GB RAM I recently revitalized my friends HP 2000 laptop. Win10 Home (x64). 1.60...
Create bootable UEFI Defrag Flash Drive? in Performance & Maintenance
Here is the issue I am currently at: I have a Surface Pro 4 that I want to set up a Dual Boot on. I normally wouldn't have too much of an issue resolving this on my own, but due to the Surface Pro 4 not supporting Legacy flash drives, my standard...
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 11:56.
Find Us