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: Partition and full format before Windows 7 install

19 Sep 2013   #1

Windows 7 Professional 64-bit
Partition and full format before Windows 7 install

Hello forum.

I am getting ready to install Windows 7 Pro on my laptop. I understand that at I can use diskpart during the install to partition and format the hdd to avoid the reserved partition but it will not do a full format.

Can I use the Western Digital data lifeguard utility to verify disk integrity and check/flag any bad sectors, start the Windows 7 install, use diskpart to setup the partition and format, then exit and continue the Windows 7 install? I assume what I am trying to accomplish by doing this is have the disk checked, bad sectors marked if there are any and have Windows installed w/o the reserved partition.

Thanks for your responses in advance.

My System SpecsSystem Spec
19 Sep 2013   #2

Win7 Ultimate X64

Yes you can, you need to download western digitals disk software create bootable media from it then you can boot machine from disc (cd or usb) and run what you need to
WD Support / Downloads / WD 2go + Other Products / Data Lifeguard Diagnostic for Windows
Then you can boot your windows installation media (dvd or usb)
Clean Reinstall - Factory OEM Windows 7
at the first installer screen press shift + F10 to take you to command prompt where you can run diskpart commands
diskpart>enter (to enter diskpart)
list disk>enter (list all connected HDDs)
select disk 0>enter (assuming disk 0 is the desired disk)
clean all>enter (which will erase entire disk including partitions)
create partition primary>enter (which will make one new primary partition the size of the disk or you can specify size ie size=xxx)
format fs=ntfs>enter (which will format the partition with ntfs structure)
active>enter (to mark partition active so boot files can be placed on it)
exit>enter (exit diskpart)
exit>enter (exit command prompt)
My System SpecsSystem Spec
19 Sep 2013   #3

Microsoft Community Contributor Award Recipient


To clean install:
1) Clean the HD Drive, using Step one in this tutorial:
SSD / HDD : Optimize for Windows Reinstallation
2a) clean install with the OEM manufacturer's Recovery Disk.
2b) Clean Install Windows 7
2c) UEFI (Unified Extensible Firmware Interface) - Install Windows 7 with
My System SpecsSystem Spec

19 Sep 2013   #4

Windows 7 Professional 64-bit

Thanks all.


If I ran DBAN and nuked the drive prior to the Windows install, do I have to run the "clean" command in diskpart? DBAN wiped out all partitions and wrote "0"s to the entire drive (a few times actually). I'm concerned that executing the "clean" command from diskpart may wipe out anything the Western Digital utility may have put on the HDD regarding bad clusters.
My System SpecsSystem Spec
19 Sep 2013   #5
Microsoft MVP


No need to do any more than Diskpart Clean Command from the booted installer. The 100mb System Reserved partition is negligible and makes no difference whatsoever. But if you dont' want it then do Pauly's commands for partitioning after Clean.

"Clean All" is overkill, only needed for making data unrecoverable by any means. It does nothing to help the install in any way, since the installer and Windows don't care whether there are 1"s or 0"s being overwritten.

"Clean" wipes the boot sector of code which might conflict so it has troubleshooting value for install problems.

Most important is to get a perfect install as compiled in Clean Reinstall - Factory OEM Windows 7 using only the tools and methods which work best with Win7 based on tens of thousands of installs we've helped with here.
My System SpecsSystem Spec
20 Feb 2017   #6
Drumming Pete


I got a 120gb ssd and use Diskpart to create a 20gb partition for installing windows. And the remaining space will be a separate partition.

Will Setup create the ESP/UEFI partition (not talking about the 100mb MSR) since I not created it manually within diskpart?
My System SpecsSystem Spec
21 Feb 2017   #7

Windows 7 Pro x64 Windows 10 Pro x64

20 GB is way too small, I would use the entire SSD for windows.

You should install to unallocated space, then make your separate partition later.
My System SpecsSystem Spec

 Partition and full format before Windows 7 install

Thread Tools

Similar help and support threads
Thread Forum
How do i Install windows 7 with full format of the drive
Hello, I am using windows 7 ultimate x32. Recently i got some issues regarding my HP All in one laserjet. For the same i had to format my drive and reinstall windows (as suggested by HP people). The problem is still the same. When contacted HP people they said my windows did not format the drive...
Installation & Setup
New master HDD install and Partition/Format.
First time here, been using computer for some years but have a recent problem, hope someone can point me in the right direction. Win7 64bit had a HDD failure so purchased a new WD20EZRX 2TB drive. Installed it in the drive bay, put the OEM Win7 Pro disk in the DVD drive and away it went I...
Installation & Setup
Delete/Format OEM Partition on Clean Install?
Hi everyone, I have a Gateway desktop with Windows Vista that I'm trying to upgrade (clean install) to Win 7. During the installation process, when it asks which drive I want to install Windows 7 on, I notice that in addition to the main ~600GB C: drive, there's a ~14GB OEM partition. Can I...
Installation & Setup
Can't format partition for install
Hey all, I'm trying to install windows 7 64bit OEM but in the custom install options i can't format the partition i want to install to. The partitions were created under XP on a secondary drive, which will now be the primary drive, XP will be wiped later and that drive i have actually...
Installation & Setup
Clean install win 7 on one partition format other
Hi I currently have vista 32bit, and have win7 upgrade disc soon will do a clean instal of win7 64 once i have finished backin up my files. Once i have i will be doing the install which should be in the next 2 days. My main drive has 2 partitions. C, which has the vista OS on it, a few other...
Installation & Setup

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 12:56.
Twitter Facebook Google+