Windows 10: cleaning a partition not a disk

Discus and support cleaning a partition not a disk in Windows 10 Software and Apps to solve the problem; I do not want to clean all the disk cause it is divided into 3 partitions and I need to use the first partition only for windows and keep the data on... Discussion in 'Windows 10 Software and Apps' started by mohamed elzeweidy, Jun 25, 2023.

  1. cleaning a partition not a disk


    I do not want to clean all the disk cause it is divided into 3 partitions and I need to use the first partition only for windows and keep the data on the other two partitions, so what should I do?

    :)
     
    mohamed elzeweidy, Jun 25, 2023
    #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, Jun 25, 2023
    #2
  3. Mala_S Win User
    Clean Install Windows 10 partition issue

    Hello,

    Thank you for writing to Microsoft Community Forums.

    I appreciate the troubleshooting steps performed to resolve the issue. However, let’s try with the further troubleshooting steps and see if it works. Initially, I would suggest you to create a bootable media with a USB/Flash drive of capacity 8GB.
    For better understanding, you may watch the video with the procedure from the article on
    How to Clean Install Windows 10 on a PC Step-by-Step
    Guide
    .

    Set the boot priority to USB once after creating a bootable media using a USB and proceed with the Windows Installation. On the drive selection window, press Shift + F10 keys to open the Command Prompt. Then follow the steps listed
    below:

    • Type the following command in the Command Prompt window and press Enter:
      diskpart
    • Once after executing the above command, type the following command to list the current drives and press Enter:
      list disk
    • List disk will give you the list of drives, use the following command to select the drive and press Enter: select disk 0
    • Type the following command to check if the disk is online: online disk
      (if the disk is not online)
    • Type the following command to clean the drive and press Enter:
      clean
    • To create a partition, type the following command and press Enter:
      create partition primary
    • To select the partition that you created, type the following command and press Enter:
      select partition 1
    • To set the partition active, type the following command and press Enter:
      active (if this is the boot partition)
    • Type the following command to assign a drive letter and press Enter:
      assign letter(letter)
    • After completing all this, close the command prompt screen and click on
      refresh button.
    • Then you will only have one drive with “unallocated space”, just select the partition to start the installation.

    Let us know how it goes and I look forward to hearing from you soon.

    Regards,

    Mala S

    Microsoft Community - Moderator
     
    Mala_S, Jun 25, 2023
    #3
  4. cleaning a partition not a disk

    Disk management console view is not up-to-date

    i dont know how to fix your disk management, but i can fix your partition problems...




    open up Command Prompt with admin rights. (Right click, run as admin)


    enter in
    DISKPART
    list disk

    then find the Disk number for your Raid array... lets call it number 7 ( you can tell what disk is what by the total size)
    type in

    Select Disk 7
    List Partition (will give you a list of all the partitions..)
    Select Partition 1 (im assuming you only have 1 partition on Disk 7) repeat this step if you have more partitions.
    ASSIGN


    that should get the array up and running ready to use.


    EDITED.

    any problems, post back ^^


    Still EDITING *Stick Out Tongue cleaning a partition not a disk :p

    side question, have you tried restarting the PC?
     
    slyfox2151, Jun 25, 2023
    #4
Thema:

cleaning a partition not a disk

Loading...
  1. cleaning a partition not a disk - Similar Threads - cleaning partition disk

  2. DISK PARTITIONS/CLEAN INSTALLATION OF WINDOWS

    in Windows 10 Gaming
    DISK PARTITIONS/CLEAN INSTALLATION OF WINDOWS: Hi everyone, I want to do a clean reinstall of windows 11 and I want to delete all data.I currently have two SSDs of 2TB each. In one SSD disk 0 I installed Windows, in the other disk 1 I installed games and various programs.A few days ago, in another support thread, I was...
  3. DISK PARTITIONS/CLEAN INSTALLATION OF WINDOWS

    in Windows 10 Software and Apps
    DISK PARTITIONS/CLEAN INSTALLATION OF WINDOWS: Hi everyone, I want to do a clean reinstall of windows 11 and I want to delete all data.I currently have two SSDs of 2TB each. In one SSD disk 0 I installed Windows, in the other disk 1 I installed games and various programs.A few days ago, in another support thread, I was...
  4. Disk Partition

    in Windows 10 Software and Apps
    Disk Partition: Hello, I have a problem. I can't shrink my C drive at all. I have tried literally everything... I even reinstalled windows & resetted it. YES, I have tried the hibernation and security thing and i disabled them, I also restarted my laptop, and nothing works....
  5. cleaning a partition not a disk

    in Windows 10 Gaming
    cleaning a partition not a disk: I do not want to clean all the disk cause it is divided into 3 partitions and I need to use the first partition only for windows and keep the data on the other two partitions, so what should I do?...
  6. cleaning a partition not a disk

    in Windows 10 Installation and Upgrade
    cleaning a partition not a disk: I do not want to clean all the disk cause it is divided into 3 partitions and I need to use the first partition only for windows and keep the data on the other two partitions, so what should I do?...
  7. Disk Manager shows wiped (clean) drive to be partitioned with data.

    in Windows 10 Drivers and Hardware
    Disk Manager shows wiped (clean) drive to be partitioned with data.: Hi TenForums: I wiped a backup drive with Wipe Drive software. I connected my "working drive" to the system with the clean drive connected also. Disk Manager showed the wiped (clean) drive to be partitioned with data. Do you have any comments? My Windows 10 Version: 21H1...
  8. Disk Manager shows wiped (clean) drive to be partitioned with data.

    in Windows 10 Support
    Disk Manager shows wiped (clean) drive to be partitioned with data.: Hi TenForums: I wiped a backup drive with Wipe Drive software. I connected my "working drive" to the system with the clean drive connected also. Disk Manager showed the wiped (clean) drive to be partitioned with data. Do you have any comments? My Windows 10 Version: 21H1...
  9. Clean Windows 10 Install & Disk Partitions

    in Windows 10 Installation and Upgrade
    Clean Windows 10 Install & Disk Partitions: Hello Two desktop computers each running Windows 10 Pro 64 bit. I tried to copy an image of the source C: drive to the target C: drive and ran into issues and, I think, in the process messed up the source drive partition table. So I tried to do a clean install of Windows...
  10. Perform a clean install on a disk that has a data partition?

    in Windows 10 Installation and Upgrade
    Perform a clean install on a disk that has a data partition?: I've been considering shrinking my one disk (disk 0) to create another volume, a data partition, but I'm still not clear what happens in the event that I want to refresh, reset or clean install Windows 10 in the future. Would the data partition remain or, as I thought I read,...