Sunday, October 20, 2013

COMPUTER DISK MANAGEMENT

Here's How: 

1. In Windows 7, open an elevated command prompt, or a command prompt at boot.

OR

2. In Windows 8, open an elevated command prompt, or a command prompt at boot.

Note   Note
Be sure that you have the correct Disk #. You would not want to wipe clean the wrong disk.

A) Press the Windows + R keys to open the Run dialog, type compmgmt.msc, and press Enter.

B) If prompted by UAC, click on Yes.

C) Click on Disk Management in the left pane, and make note of the disk # in the middle pane of the disk that you want to clean or clean all. (see screenshot below)
NOTE: For example, I would use Disk 1 if I wanted to use clean or clean all on my USB key drive.
Disk - Clean and Clean All with Diskpart Command-computer_management-1.jpg
D) Look under the Disk # (ex: Disk 3) in the left part of the middle pane, and check to make sure it saysOnline. If it doesn't, then right click on Disk # and click on Online to make it so. (see screenshots below)
Disk - Clean and Clean All with Diskpart Command-online.jpgDisk - Clean and Clean All with Diskpart Command-offline.jpg


3. In the elevated command prompt, type diskpart and press Enter. (see screenshot below)
Name:  Step1.jpg
Views: 28702
Size:  61.5 KB
4. In the elevated command prompt, type list disk and press Enter. (see screenshot below) 
NOTE: This will give you a list of disk numbers to select from.
Name:  Step2.jpg
Views: 28163
Size:  84.5 KB
5. In the elevated command prompt, type select disk # and press Enter. (see screenshot below)
NOTE: You would substitute # for the disk number listed that you want to use clean or clean all on. For example, I want to use one of them on Disk 1 (from step 1) for my USB key drive, so I would type select disk 1 and press Enter.
Name:  Step3.jpg
Views: 27687
Size:  94.1 KB
6. Do either step 7 or 8 below for which command you would like to use.

7. To Use the Clean Diskpart Command
NOTE: See the green INFO box at the top of the tutorial for more information about this command. This command will wipe the HDD quickly.
A) In the elevated command prompt, type clean and press Enter. (see screenshot below)
NOTE: This will not take long to finish. Think of it as being like a quick format.
Name:  Step4_Clean.jpg
Views: 29277
Size:  103.9 KB
B) Go to step 9.
8. To Use the Clean All Diskpart Command 
NOTE: See the green INFO box at the top of the tutorial for more information about this command. This command will wipe the HDD, and perform a secure erase. "Clean All" takes about an hour per 320 GB to finish running. It's best to only use this command if you wanted to help make sure that the data on the HDD cannot be recovered say when giving or selling the HDD to another person.
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.
Name:  Step4_Clean_All.jpg
Views: 28311
Size:  65.3 KB 
B) Continue on to step 9.
9. When finished, in the elevated command prompt, type exit and press Enter. Close the elevated command prompt.

10. The disk will be left as unallocated space. (see screenshot below)
Disk - Clean and Clean All with Diskpart Command-computer_management-2.jpg
11. You will now need to create a new partition or volume on the disk to be able to use it again.

No comments:

a

Sign by Danasoft - For Backgrounds and Layouts