Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Make a partition after cmd -> diskpart is used to clean an HD

07 Mar 2016   #1
loninappleton

Windows 7 x64 Ultimate
 
 
Make a partition after cmd -> diskpart is used to clean an HD

I'm practicing with the tutorial at SevenForums called "SSD/HDD Optimize when you're ready to reinstall the operating system."

The practice is on an old drive.

I ran the clean command.

In the boot drive, the cleaned disk is now not shown.
I'm confused on how to simply put a format on the cleaned drive.
I was going to use administrator tools disk management to do this. But if the spare cleaned disk is not shown, how should I proceed?

The sample screen shots show Drive X: which is normally shown when Win & Repair Environment is run.

I have little experience working with these commands but want to add an SSD sometime. My boot drive is secure yet. I'll find the exact thread for reference.


My System SpecsSystem Spec
.
07 Mar 2016   #2
loninappleton

Windows 7 x64 Ultimate
 
 

SSD / HDD : Optimize for Windows Reinstallation

Here is the thread. Apparently there are others to 'optimize' as well.
My System SpecsSystem Spec
08 Mar 2016   #3
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

After "clean" completes in Diskpart, to format that same disk you would enter these commands:

create partition primary (this will create one primary partition covering the entire drive)

select partition 1 (this selects the partition you just made)

active (this marks that partition active)

format fs=ntfs quick (this formats that partition)

exit (this quits the diskpart program)

exit (this closes the command prompt window)

You would then continue with the Windows installation and tell Windows to install into the partition you just created when you come to the screen that asks you "where do you want to install Windows".
My System SpecsSystem Spec
.

08 Mar 2016   #4
loninappleton

Windows 7 x64 Ultimate
 
 

Thanks for the detailed reply.

I see now that the procedure should be run from the Win7 installation disk during a real time install and is not the same as the Manage Disk procedure in Win7.

Since all installation procedures are scary my last question is: can any errors occur loading the Win7 install disk and going back and forth using these utilities?

I guess I thought that cleaning did some sort of extra good during a reformat/disk wipe.

Since I'm not at the point of doing a scratch install immediately I will save this
for when I add the SDD.
My System SpecsSystem Spec
08 Mar 2016   #5
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

Diskpart is fine, but using a Partition Wizard Boot CD is so much easier.

Bootable Partition Manager| MiniTool Partition Wizard Bootable Edition
My System SpecsSystem Spec
08 Mar 2016   #6
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

Quote   Quote: Originally Posted by loninappleton View Post
my last question is: can any errors occur loading the Win7 install disk and going back and forth using these utilities?

I guess I thought that cleaning did some sort of extra good during a reformat/disk wipe.
I've never had any issues. You enter diskpart by hitting F10 when you get to the screen where the installer asks you what language you want to use. I think that's the very first screen. You exit diskpart as shown in my commands above and are automatically dumped back to that language screen. Select English there and continue.

You don't have to use diskpart at all if you don't want to--let alone the "clean" command. Unless you were having installation problems and wanted to make sure the disk was empty.

If the disk had stuff on it, all you'd normally have to do is delete all partitions when you come to the "where do you want to install Windows" screen. That would leave nothing but "unallocated space". You'd then tell the installer to install to that unallocated space. You'd end up with a big C and a small "System Reserved".

I like to use diskpart because if you use the commands I mentioned above, you will NOT end up with a System Reserved partition. You'd just have a C partition, nothing else.

System Reserved in a standard install contains the boot files. You need the boot files, but it's fine if they are on C--which is where they will be if you use the commands I listed.

"Clean" is useful if you have a disk with something on it that you want to eliminate--like on a reinstall when you want to start over. But for a new hard drive or SSD, right out of the box, there's no reason to use "clean".
My System SpecsSystem Spec
08 Mar 2016   #7
loninappleton

Windows 7 x64 Ultimate
 
 

Thanks for the follow-up and well-received. I'll look at the wizard soon.
My System SpecsSystem Spec
Reply

 Make a partition after cmd -> diskpart is used to clean an HD




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Recover partition after aborted diskpart clean all command
Hi, I've used diskpart clean all command on my 640GB hdd by mistake. But I aborted (Ctrl+C) it after about 15 minutes of beginning. There was 4 partitions on it: 1. Windows partition (about 90GB). 2. Unallocated space (about 25GB). 3. Another partition (about 50GB). 4. Data partition (The...
Backup and Restore
Restore Partition/Recover Files after Diskpart clean & format
Hi all, I got myself into a bit of a muck here. While trying to create a bootable USB, I accidentally selected the wrong USB disk (my back up USB disk that contained the manual I was using), & ended up clearing it out. The exact commands I ran are as below:- Diskpart Select disk 1 (my bad...
Backup and Restore
HDD Data lost, Diskpart Clean and Create Partition Primary Commands
Good day, afternoon, night. As the title explains I was trying to create a new primary partition in my Hard Disk Samsung HM500JI that I use as External Disk with an Acteck Enclosure USB 2.0 and with DISKPART I selected the Small Partition recently created and used the command "clean" (thinking...
Backup and Restore
How do I (unusualy)clean a single partition using DISKPART?
Hello and thanks for reading, I want to achive a simple goal and need your help: -I have 320GB external HD which has 2 partitions assigned as (X and Y), -HD is marked as disk 1 and it's online -partition X has some data which may not be wiped out -while partition Y is going to be deleted...
Performance & Maintenance
Partition not visible in My computer<<Used diskpart clean only.
Hi everyone, I made the mistake of using diskpart clean (only NOT clean all) command, on my local hard disk, so the command deleted the partition that does not contain the OS and gave me an error message that it couldn't delete the partition that has the OS. since then I tried using...
General Discussion


Our Sites

Site Links

About Us

Find 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 10:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App