Windows 10: Unable to create C Drive partition via Diskpart

Discus and support Unable to create C Drive partition via Diskpart in Windows 10 Drivers and Hardware to solve the problem; I just had a nasty virus attack which wiped out my C Drive. Hence I am wanting to keep my other partitions and just create my C Drive and repair... Discussion in 'Windows 10 Drivers and Hardware' started by sreyan32, Oct 13, 2020.

  1. sreyan32 Win User

    Unable to create C Drive partition via Diskpart


    I just had a nasty virus attack which wiped out my C Drive.

    Hence I am wanting to keep my other partitions and just create my C Drive and repair install my Windows.

    But Diskpart for some reason is not allowing me to create the C Drive.

    Can someone please tell me where I am going wrong ?



    Unable to create C Drive partition via Diskpart [​IMG]


    Can someone tell me what the offset will be for a partition of 198 GB ?

    :)
     
    sreyan32, Oct 13, 2020
    #1
  2. W1zzard Win User

    W7 Hard drive partition issue

    to get rid of that 100 meg windows partition that setup creates for you on a new install on a blank hdd:

    - press shift+f10 when on the partition management screen in setup <-- this opens a command prompt
    - diskpart <-- start the windows command line partition management tool
    - list disk <--- list the installed hdds in this computer for the next step
    - select disk 0 <- might have to replace 0 with the number of the correct disk
    - clean <-- this will erase all data on the disk you selected one step up- dont use the wrong disk!
    - create partition primary <- creates a primary partition taking up all space on the drive, adjust the command if necessary
    - exit, exit to exit diskpart and the command prompt
    - click refresh in partition manager and select your newly created partition and install to that
     
    W1zzard, Oct 13, 2020
    #2
  3. How to delete the partition after creating a recovery drive on Windows 10?

    Hi,

    Thank you for posting in Microsoft Community and being a part of Windows 10.

    I understand your concern about deleting the recovery partition after creating a recovery drive. We will help you with this issue.

    I suggest you to try the below troubleshooting steps to delete the recovery partition from Command Prompt and check if it helps.

    I suggest you to log-in as an administrator with Microsoft account, try the below and check if it helps.

    • Press Windows + X keys from the keyboard, click on
      Command Prompt (Admin)
    • Type: diskpart
    • At the DISKPART prompt, type: list disk (Make note of the disk number of the disk from which you want to delete the partition.)
    • At the DISKPART prompt, type: select diskn (Select the disk
      n from which you want to delete the partition.)
    • At the DISKPART prompt, type: list partition (Make note of the number of the partition that you want to delete.)
    • At the DISKPART prompt, type: select partition (Select the partition
      n that you want to delete.)
    • At the DISKPART prompt, type: delete partition

    Caution


    • Deleting a partition on a dynamic disk can delete all dynamic volumes on the disk, thus leaving the disk in a corrupt state. To delete a dynamic volume, use the
      delete volume command instead. For instructions on how to delete a dynamic volume, see Related Topics.

    • When you delete a partition, all data on that deleted partition or logical drive is lost.

    • You cannot recover deleted partitions or logical drives.

    Hope it helps. Reply to the post with an updated status of this issue, we will be happy to assist you further.
     
    Deepika Gowda, Oct 13, 2020
    #3
  4. rebel1 Win User

    Unable to create C Drive partition via Diskpart

    DISKPART tried to create a Partition, has not worked

    As per instruction:


    DISKPART> select disk 0

    Disk 0 is now the selected disk.

    DISKPART> select partition 1

    Partition 1 is now the selected partition.

    DISKPART> delete partition override

    DiskPart successfully deleted the selected partition.

    DISKPART> create partition EFI

    DiskPart succeeded in creating the specified partition.

    DISKPART> format FS=fat32 quick

    100 percent completed

    DiskPart successfully formatted the volume.

    DISKPART> assign letter=T

    DiskPart successfully assigned the drive letter or mount point.

    DISKPART> exit

    Leaving DiskPart...

    x:\windows\system32>bcdboot C:\Windows /s T: /f ALL
    Boot files successfully created.

    About to boot.

    This is how the disk looks after following the steps NavyLCDR, is that correct -


    DISKPART> list vol

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    Volume 0 G DVD-ROM 0 B No Media
    Volume 1 C OS NTFS Partition 371 GB Healthy
    Volume 2 D NTFS Partition 906 MB Healthy
    Volume 3 E DATA NTFS Partition 558 GB Healthy
    Volume 4 FAT32 Partition 276 MB Healthy Hidden
    Volume 5 F WINPESE_ FAT32 Removable 14 GB Healthy
     
    rebel1, Oct 13, 2020
    #4
Thema:

Unable to create C Drive partition via Diskpart

Loading...
  1. Unable to create C Drive partition via Diskpart - Similar Threads - Unable create Drive

  2. Partitioning of C Drive

    in Windows 10 Gaming
    Partitioning of C Drive: I have 210 GB free space with a C drive of 251 GB. I have been trying to create a separate partition of 100 GB and 151 GB will be left on C drive. I find that shrink volume is only 1.50 GB. Pease help me if it is possible to partition and what steps do I need to follow....
  3. Use DiskPart to Create the OS Partition on Clean Install.

    in Windows 10 Installation and Upgrade
    Use DiskPart to Create the OS Partition on Clean Install.: I have a Laptop HDD [ my preferred option as opposed to an SSD on this Laptop ] arriving on Friday and I want to use DiskPart to Setup the size of the OS Partition. The main reason I want to do it this way is because DiskPart can create an exact 30 GB Partition [ my OCD ] for...
  4. CANNOT CREATE NEW PARTITION FROM C DRIVE

    in Windows 10 Network and Sharing
    CANNOT CREATE NEW PARTITION FROM C DRIVE: I've created partitions on other computers for years and never had this message come up. I don't want to click on yes unless I know what it's about.[ATTACH]...
  5. Partition of the drive c

    in Windows 10 Network and Sharing
    Partition of the drive c: I have purchased a laptop with memory 1 TB, NOW IN C drive 908 Gb in whcih 883 free available in c drive, now i want to make partition of c drive like on c drive 200 GB AND remaining in d and e drive each 340Gb , but when shrinking the existing drive showing the fillowing...
  6. A partition on a USB stick cannot be selected via DiskPart.

    in Windows 10 Drivers and Hardware
    A partition on a USB stick cannot be selected via DiskPart.: Code: DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 Z DVD-ROM 0 B No Media Volume 1 C Windows 10 NTFS Partition 80 GB Healthy Boot Volume 2 Recovery NTFS Partition 528 MB...
  7. c drive partition

    in Windows 10 Customization
    c drive partition: Hi I'm using DELL Vostro 5468. it came preinstalled with windows 10. I got 405 GB free (out of 462 GB ) in my C drive. I wish to use 200 GB for Ubuntu which I'm going to use with dual boot. The issue is I cant shrink the C drive , when I try to shrink it says only 1.2 GB...
  8. C drive partition

    in Windows 10 Installation and Upgrade
    C drive partition: I recently bought a new laptop, which has windows 10 home single language inbuilt. It has only C drive and no other partitions at the time of purchase. Now I want to make C into more partitions, But it is not possible to split the C drive. I have tried so many times by Disk...
  9. DISKPART tried to create a Partition, has not worked

    in Windows 10 Drivers and Hardware
    DISKPART tried to create a Partition, has not worked: Hi Guys My nephew has tried to create a partition. It clearly hasn't worked. There is a 'D' Disk which is there, but not showing any files on it. I can't upload screenshots at the moment. Any experts out there, that can tell me what he's done? Disk### Status Size Free Disk...
  10. Partitions on C Drive

    in Windows 10 Drivers and Hardware
    Partitions on C Drive: I am not sure how or when this occurred but I somehow seem to have ended up with 2 Healthy (recovery partition) both of which are different sizes. [img] I assume I don't need both, but how do I determine which is being used? Anyone?? TIA 45965