Disk - Clean and Clean All with Diskpart Command

Page 14 of 33 FirstFirst ... 4121314151624 ... LastLast

  1. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #130

    mjf said:
    It may have been mentioned earlier but you can run the tutorial from the command prompt of a system repair disk if you can't or don't want to boot into the OS.
    Oh no, I posted the above so he would know that "clean" will wipe the entire HDD so he wouldn't wipe his OS partition by mistake thinking "clean" would only wipe selected drive letters on HDD.
    Last edited by Brink; 20 Mar 2012 at 22:41. Reason: added quote
      My Computer


  2. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #131

    Brink said:
    Hello John,

    Unless the OS is on a separate physical HDD than the one you wanted to use "clean" or "clean all" on, then no. They will wipe everything on a HDD including all partitions/volumes.
    Thanks Shawn thought that might be the case so will just use the drive for clean installs:)

    Pity there wasn't a way of "saving" the OS before doing the clean, as most of the stuff I get to tidy up for folks does not have an installation disk.
      My Computer


  3. Posts : 4
    Win 7 Ultimate 64 bit
       #132

    A) In the elevated command prompt, type clean all and press Enter. You will see the command prompt below as is until the "clean all" command is finished. (see screenshot below)
    NOTE: This will take quite some time (several hours or more) to finish depending on how large the disk is since it is writing over each and every sector on it to zero. Think of it as being like a full or low level format.
    Question - shouldn't my hard drive light be doing a lot of blinking after typing clean all? I followed the steps and typed clean all but now I just have a blinking cursor under the line DISPART> clean all.
      My Computer


  4. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #133

    Hello bpelowski,

    Yep, it would be normal for there to be quite a bit of HDD activity for that drive as it's being secured erased by having 0 written over all of it sectors. It'll take a while for it to finish and until you see the "Diskpart succeeded...." message in the command prompt. :)
      My Computer


  5. mjf
    Posts : 5,969
    Windows 7x64 Home Premium SP1
       #134

    Brink said:
    mjf said:
    It may have been mentioned earlier but you can run the tutorial from the command prompt of a system repair disk if you can't or don't want to boot into the OS.
    Oh no, I posted the above so he would know that "clean" will wipe the entire HDD so he wouldn't wipe his OS partition by mistake thinking "clean" would only wipe selected drive letters on HDD.
    Ok I just meant that understanding what "clean" , "clean all" does to the "selected disk", you can use the system repair disk to perform the function.
    Sorry if it confused your advice to the OP.
      My Computer


  6. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #135

    No problemo mate. :)
      My Computer


  7. Posts : 3
    Windows XP (on this machine)
       #136

    Windows 7 DISKPART> clean all


    [This is my first post here, just registered]

    I have executed this 3 times already. It's hard to determine if anything is happening. There is no message, just a blinking cursor. Is the process going on or not? Is there a way to tell? The HD is a 640GB Samsung HM640jj. I ran "clean" and it terminated almost immediately and it said successfully, but I don't know a lot about this stuff. I'm doing all this because I inadvisedly let a party run some code on my computer with logmein123, and now I'm paying the price, spending my day (and on into tomorrow, etc.) reinstalling everything.

    I could run DBAN, but if "clean all" terminates successfully, I obviously won't have to. The concern, for the most part, seems to be that there was a rootkit placed on the system, and I want to be sure that going forward my computer will be secure.

    Is it normal for DISKPART> clean all to be followed by a blinking cursor for hours, no indication of progress, nothing??? Thanks for help.
      My Computer


  8. Posts : 3
    Windows XP (on this machine)
       #137

    bpelowski said:
    A) In the elevated command prompt, type clean all and press Enter. You will see the command prompt below as is until the "clean all" command is finished. (see screenshot below)
    NOTE: This will take quite some time (several hours or more) to finish depending on how large the disk is since it is writing over each and every sector on it to zero. Think of it as being like a full or low level format.
    Question - shouldn't my hard drive light be doing a lot of blinking after typing clean all? I followed the steps and typed clean all but now I just have a blinking cursor under the line DISPART> clean all.
    Ah, I guess that kind of answers my question. It may be 3 hours or more before I see a "succeeded" message. Well, I think I will do some other stuff while this is going on...

    It's a hard for me to tell about notifications here. It says I'm subscribed to this thread, but how do I ensure that I will get an instant email notification? I'm not a noob to forums, but the mechanics of this one has me confused. I confess, I'm easily confused... at times.
      My Computer


  9. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #138

    Hello dMuse, and welcome to Seven Forums.

    Yep, unless you wanted to include a secure erase, then using the clean instead of clean all command would have been finished within a few moments. Eventually you'll get a completed message in the command prompt letting you know it's finished. It can take a while to finish depending on how the size of the HDD.

    You should get an instant email notifcation about my reply post, and any other reply to this thread other than yours for as long as you are subscribed to it. :)

    Hope this helps,
    Shawn
      My Computer


  10. Posts : 3
    Windows XP (on this machine)
       #139

    Brink said:
    Hello dMuse, and welcome to Seven Forums.

    Yep, unless you wanted to include a secure erase, then using the clean instead of clean all command would have been finished within a few moments. Eventually you'll get a completed message in the command prompt letting you know it's finished. It can take a while to finish depending on how the size of the HDD.

    You should get an instant email notifcation about my reply post, and any other reply to this thread other than yours for as long as you are subscribed to it. :)

    Hope this helps,
    Shawn
    What is a "secure erase?" Is that part of the DISKPART command? I certainly wanted to ensure that no malware etc. remains on the HD. Did a "clean all" not ensure that? Yes, I got an instant email notification when you posted, thank you. My Clean All did execute successfully after 2-3 hours.
      My Computer


 
Page 14 of 33 FirstFirst ... 4121314151624 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:06.
Find Us