Windows 10: clean command deletes all old data on disk or just the drive im using currently installed...

Discus and support clean command deletes all old data on disk or just the drive im using currently installed... in Windows 10 Installation and Upgrade to solve the problem; clean command deletes all old data on disk or just the drive im using currently installed with clean install usb makes it harder to recover files or... Discussion in 'Windows 10 Installation and Upgrade' started by sanyijani, Apr 18, 2021.

  1. sanyijani Win User

    clean command deletes all old data on disk or just the drive im using currently installed...


    clean command deletes all old data on disk or just the drive im using currently installed with clean install usb makes it harder to recover files or lost or all sectors are zeroed

    :)
     
    sanyijani, Apr 18, 2021
    #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, Apr 18, 2021
    #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, Apr 18, 2021
    #3
  4. clean command deletes all old data on disk or just the drive im using currently installed...

    Windows 10: Delete synced and favorites data

    Hi,



    Thank you for posting the query on Microsoft Community.

    We understand that you want to delete irrelevant data stored in the Computer.

    I suggest you to follow the steps below and check if it helps.

    Method 1: Disk Cleanup.

    • Open Disk Cleanup by clicking the Start button. In the search box, type Disk Cleanup, and then, in the list of results, click Disk Cleanup.
    • If you're prompted to choose a drive, click the drive you just installed Windows on, and then click OK.
    • In the Disk Cleanup dialog box, on the Disk Cleanup tab, click Clean up system files.
    • If you're again prompted to choose a drive, click the drive you just installed Windows on, and then click OK.
    • Select the Previous Windows installation(s) check box, and any other check boxes for the files you want to delete, and then click OK.
    Method 2: Clear Favorites data.

    • Click Start
    • Click Computer
    • In the address bar, paste this location: %userprofile%
    • Press Enter on your keyboard
    • Make sure you have a Favorites folder listed in the
      %userprofile%
      folder
    • Right click on the folder, select open and you can delete the data listed under the folder.
    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help.
     
    Rakesh Narayanaswamy, Apr 18, 2021
    #4
Thema:

clean command deletes all old data on disk or just the drive im using currently installed...

Loading...
  1. clean command deletes all old data on disk or just the drive im using currently installed... - Similar Threads - clean command deletes

  2. to delete drive partitions for clean installation?

    in Windows 10 Gaming
    to delete drive partitions for clean installation?: In a previous post, I mentioned I was in a bitlocker loop because my C drive was encrypted and i did not back up password correctlyI was told to do a clean reinstall of Windows 10 by a user here. I had watched some videos on that process. It seems that I have to delete all...
  3. to delete drive partitions for clean installation?

    in Windows 10 Software and Apps
    to delete drive partitions for clean installation?: In a previous post, I mentioned I was in a bitlocker loop because my C drive was encrypted and i did not back up password correctlyI was told to do a clean reinstall of Windows 10 by a user here. I had watched some videos on that process. It seems that I have to delete all...
  4. to delete drive partitions for clean installation?

    in Windows 10 Installation and Upgrade
    to delete drive partitions for clean installation?: In a previous post, I mentioned I was in a bitlocker loop because my C drive was encrypted and i did not back up password correctlyI was told to do a clean reinstall of Windows 10 by a user here. I had watched some videos on that process. It seems that I have to delete all...
  5. Help : Data Lost By Using Diskpart Clean Command

    in Windows 10 Gaming
    Help : Data Lost By Using Diskpart Clean Command: By Installing Windows 11 from Windows 10 , To Make Space for Windows 11I have Entered the Command Diskpart Clean and Then convert the Diskpart to mbrAfter Installing Windows 11, I noticed That There was Only Local Disk C Which is Formatted or Cleared and Other Local Disks...
  6. Help : Data Lost By Using Diskpart Clean Command

    in Windows 10 Software and Apps
    Help : Data Lost By Using Diskpart Clean Command: By Installing Windows 11 from Windows 10 , To Make Space for Windows 11I have Entered the Command Diskpart Clean and Then convert the Diskpart to mbrAfter Installing Windows 11, I noticed That There was Only Local Disk C Which is Formatted or Cleared and Other Local Disks...
  7. Is it safe to use the clean all command on a ssd?

    in AntiVirus, Firewalls and System Security
    Is it safe to use the clean all command on a ssd?: I am reinstalling windows and using repair computer to go into recovery mode and get to the command prompt, I have been using the clean command in diskpart to erase data because I think I have a virus, but have not tried the clean all command yet. I heard that clean all does...
  8. clean install without losing all data on all drives?

    in Windows 10 Installation and Upgrade
    clean install without losing all data on all drives?: hey. i wonder if i can do a clean win 10 install without losing all data on all drives?i have about 3-4 TB of data and i dont really want to redownload all of it. thanks....
  9. Clean install to different disk drive?

    in Windows 10 Installation and Upgrade
    Clean install to different disk drive?: I have successfully upgraded to Windows 10 from Windows 7 (and solved the initial network connection problems). However my OS has a lot of crud from the pre-upgrade state and I would like to do a clean install of Windows 10, without losing any old data files. I've read...
  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,...