Ask Leo! by Leo A. Notenboom

How do I reformat and reinstall Windows?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows » Windows Installation

Summary: Sometimes the best approach to resolving an issue, be it a virus or simply software rot, is reformat and reinstall. We'll review the steps.

In many of your answers you talk about "reformat and reinstalling Windows". What is that? How do I do that, exactly?

"Reformat and reinstall" is the computer's equivalent of erasing the chalkboard and starting over.

And I do want to emphasize the "erasing" part.

It's conceptually very easy, but also somewhat time consuming.

And if not done with the proper preparation, you could lose absolutely everything on your computer.

Reformatting and reinstalling is pretty much exactly what it sounds like:

"Reformatting is the process of initializing a hard disk to an empty state."
  • Reformatting is the process of initializing a hard disk to an empty state. This step deletes everything on your hard drive. Everything.

  • Reinstalling is the process of copying Windows back on to your hard drive and reconfiguring it to your needs. It also encompasses the fact that you'll also need to reinstall all the application software you use, as well as restoring all the data you might want to continue to have available.

If you have an existing computer that you're about to reformat and reinstall, there's a very important first step:

Back Up

I don't care how - be it an image backup of the entire machine (my preference), or a careful backup of all the files and any other data that you want to keep - but you must do this before you begin. The process we're about to embark on will erase everything from your hard drive.

You'll also need all the installation media for everything you plan to install, including your original Windows installation disk and its product key.

There are two basic approaches:

  • Reformat or erase the disk, and then run Windows setup

  • Just run Windows Setup, and let it reformat the disk

I'll spend most of my time on the second option, since it's all that most people need.

The first option gets complicated since you can't reformat or completely erase a hard disk that's in use - i.e. if you've booted from it. If you want to take this two-step approach then my tool of choice to erase a hard disk that's been in use is DBAN. Boot from that, erase the disk, and then boot from your Windows installation media to reinstall Windows from scratch.

As it turns out, the Windows setup program can be used to erase or format the hard disk as well; it's just not obvious where in the setup process you can do so. We'll examine it both for Windows Vista, and Windows XP, since they're quite different.

Window Vista

Step one is to simply boot from the Windows installation DVD and eventually the Windows Vista Setup program will begin:

Windows Vista Setup initial screen

You'll then walk through a series of configuration pages:

  • choose language and keyboard
  • Install Now
  • enter the product key
  • accept the EULA

You'll finally come to this page:

Windows Vista Setup - Custom Installation Choice

Regardless of whether or not "Upgrade" is available to you, choose Custom.

After a few minutes of examining your system, Windows Vista Setup will then display this page:

Windows Vista Setup - Where to install

This is where you tell Windows Setup on which drive you want Windows installed. Note that the list of drives on your system will likely be different than seen here.

Click on Drive options (advanced):

Windows Vista Setup - Where to install - with advanced options

Note that several additional options are now visible.

First: Make sure to click on the drive or partition you want to erase and on which you want to install windows.

Second: click on Format.

Windows Vista Setup - Format warning

Heed the warning: "If you format this partition, all data stored on it will be permanently deleted."

Press OK, and Windows Setup will format the hard disk partition that you've selected.

After the format is done, you're returned to the drive selection page, where you can click on Next to continue the installation.

Windows Vista Setup - Installing

Window XP

Step one is to simply boot from the Windows installation CD and eventually the Windows XP Setup program will begin:

Windows XP Setup Welcome screen

After accepting the EULA you'll be presented with a list of prior Windows installations:

Windows XP Setup destination selection

We want to install a fresh copy of Windows XP, so press the Escape key (ESC).

The next screen shows us the available drives and partitions:

Windows XP Setup drive/partition selection

In order to force a reformat, we're going to delete the destination partition and recreate it.

Click on the drive that you want to install to, and press "D":

Windows XP Setup partition removal confirmation

Press Enter to confirm that you want to delete the partition. Since this is a destructive operation (all information on the partition will be erased), Windows XP Setup asks again, just to be sure:

Windows XP Setup partition removal second confirmation

Press "L" to delete the partition.

Now you've got an unpartitioned hard disk. Windows XP Setup now presents you with the list of drives and partitions again:

Windows XP Setup partition creation

Select the unpartitioned space, and type "C" to create a partition. You'll then be asked to enter the size of the new partition:

Windows XP Setup partition sizing

The default value should be the maximum appropriate for that partition, so simply press ENTER to continue.

Setup returns you to the partition selection screen:

Windows XP Setup partition selection

This time what was the unpartitioned space is now "Partition1 [New (Raw)]". Select that and press ENTER.

Windows XP Setup notices that your destination partition is not formatted:

Windows XP Setup format selection

The default is to format using NTFS, which is just fine for more situations. Press ENTER to let the format begin.

Once the formatting is complete, Windows Setup then automatically begins copying files to the newly formatted partition and continues with additional options and selections related to how you would like your new installation to be configured.

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Article C3889 - October 14, 2009

Recent Comments
13 Comments

If you need your key prior to doing the above, all you have to do is download and run Belarc Advisor, and it gives you all of your licenses and all programs, updates, etc. But if you have more than one OS on a disc (as I do), then you need to run it on both partitions.

Posted by: Charles Tilley at October 21, 2009 12:23 AM

how can i repair if bios corrupt

Posted by: faizul at October 21, 2009 5:07 PM

the instructions are helpful , this is the first time i read some thing interesting on Leo, i am excited

Posted by: Kabir at October 21, 2009 10:03 PM

i never formatting laptop before and these articles really helpful. but it seems formatting the XP version is quite complicated..

Posted by: yasmin at October 23, 2009 7:57 PM

Dear Leo,
I am having a PC Intel 3.00 GHz, 1 MB RAM, 40 GB + 120 GB harddisks, 512 MB Nivida AGP Card. Whenevr I install Windows XP SP2 (Genuine) I do have any problems. But when I update it automaticlaly to Windows XP SP3 and Internet explorer 8, my PC goes very slow. What could be wrong? Should I have to keep XP SP2 as it is or should I have to update it every often through automatic update option including with critical security updates?

Posted by: Johnson Chacko at October 23, 2009 9:25 PM

Dear Leo,

I have been trying to install Windows Vista on my Intel 3.00 GHz, 1 MB RAM PC, but I was getting an error while installing it. Is my PC compatible for the said installation. Why that does not work on Pentium IV PC while other OS works?

Can't help without knowing the error message.
Leo
24-Oct-2009

Posted by: Johnson Chacko at October 23, 2009 9:29 PM

Yes, great info, but how, how, how do you reformat Windows 95????

It's been years since I've had to, but it's the same basic process as XP, only using the Windows 95 installation media.
Leo
28-Oct-2009

Posted by: Lee Nelson Guptill at October 27, 2009 10:07 AM

I always find great help everytime I open this site.
Yes this is the right way that I have been using to Format and Install Windows

Posted by: David Wanyiri at October 28, 2009 12:31 AM

Thanks for the info Leo.

One question (or maybe more); I have Vista and want to install 7, but want to start with a clean hard drive. I know there are issues with this and I've gone to the various websites, but my main question is, how can I reformat my hard drive into 'x' partitions so I can keep the OS on it's own and have everything else on another? I have a 250GB (C:) and a 500GB (D:) hard drive (in addition to a 2TB external) and would like to:

Wipe both internal drives clean
Partition the existing C: as 50GB (for the OS) and 200GB for programs.

So in the end I’d have:

C: - 50GB
D: - 200GB
E – 500GB

I used to use a floppy disk and Fdisk my way through, but I don't have a floppy drive and truthfully don't remember how I did it when I went from XP to Vista (I did reformat).

Is it possible to reformat so I'm working with a clean hard drive? I'd hate to load 7 onto a drive that has had 2+ years to collect junk! Is it as simple as doing a clean (custom) install? Will that let me reformat before I load the OS?

Thanks in advance for any help you can provide!

Joe

In the advanced drive options above, as part of the Windows 7 clean install, you can use delete/new/extend to remove and create partitions as you want.
Leo
30-Oct-2009
Posted by: Joe at October 29, 2009 11:29 AM

Hi, Leo.

Any idea why I cannot select F8 to accept the End User License Agreement in step two above for Windows XP? My computer allows the page scroll buttons and the ESC button to work, but not F8 for some reason. Thanks!

Posted by: Dave at November 12, 2009 3:48 PM

Post a comment on "How do I reformat and reinstall Windows?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...


Question? Ask Leo!