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: New Win7 Install

18 Mar 2011   #1

Windows 7 Pro
New Win7 Install

To make long story short, my PC with Win 7 (SP1) crashed because of a virus. I could find no way to repair or restore it without that same virus showing up.

As a last resort, I did a clean install of Win7 using an install disk that had SP1 slipstreamed on it. All seemed to go well. The first thing I did after the install was to delete the folder so as not to have it influence anything else I would do.

When I started to install my software I noticed that ALL the programs that I had installed before the crash were still showing in Program Files. They did NOT work but the files were still there. The reason I think they would not work is because they were not showing the registry.

I don't think it is a real big deal since most of the programs will be reinstalled and those files should be replaced or deleted.

I was just wanting to know how could this happen and why so that I can prevent it from happening in the future.

Any suggestions would be appreciated. Thank you.

My System SpecsSystem Spec
18 Mar 2011   #2

Windows 10 Education 64 bit

My best guess as to why it happened is that for some reason the partition with windows 7 on it wasn't formatted during the last install. One way around it is to delete the partition and then create a new blank one. It will be formated during the install. I partitioned my drive so all my data, documents, pictures, etc is on a separate partition. I can then nuke the windows partition during a clean install and not loose anything.
My System SpecsSystem Spec
18 Mar 2011   #3

Microsoft Community Contributor Award Recipient


My System SpecsSystem Spec

18 Mar 2011   #4

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86

What you did is a custom install not a clean install- a custom install does leave behind a windows.old folder which contains files from the previous install and can be recovered. If one has no use for windows.old, it makes sense to format the OS partition, then install- this can be done in various ways E.g. by clicking on Drive options during the install and choosing Format (this would be a clean install).

But I've never heard of Programfiles being left behind separately, hard to explain. If you havent invested too much time and effort till now, suggest you do a clean install the proper way after backing up any data.

Clean Install Windows 7
My System SpecsSystem Spec
18 Mar 2011   #5


After any infection which causes one to reinstall, you should wipe the HD first of all code using Diskpart Clean All command. Use the tutorial theog posted above to do this.

Then close the Command Box, choose Install Now, use Custom>Drive Options to create New partition(s) as you wish, Format before install - pictures are in the tutorial Bill2 posted.

Allow the 100mb boot partition created by the installer on a clean HD, as this places the Repair console conveniently on the F8 Advanced Boot Tools menu.

Here are other tips for getting a purrfect install based on hundreds done here - use the ones which apply to your situation: Clean Reinstall steps
My System SpecsSystem Spec
18 Mar 2011   #6
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate

Hello huffman.

Here's more relevant information on the complete wipe and clean install process.

After you have copied out or made back-ups of the data you need to save to external media, use Step One of this tutorial at the link below to do a wipe (secure erase) to the entire Hard Disk Drive / Solid State Drive.
  • Then if you do not want to create the new Windows 7 "System Reserved" partition use the outline in Step Two #2 to create, format and mark Active a single 100GB partition to do the installation to.
  • If you do want to create the "System Reserved" partition use the outline in Step Two #3 to create, format and mark Active the System Reserved partition and then create and format the 100GB partition to do the installation to.
Either way, running the "clean all" then creating and formatting the partition(s) using diskpart will get you the best possible space to do a clean install of Windows 7 to; you can always extend the Windows partition to include the remaining unallocated space on the HDD / SSD or create additional Primary partitions or an Extended partition after the installation completes if you choose.

SSD / HDD : Optimize for Windows Reinstallation

DISKPART : At PC Startup

Do a Clean Install with a Upgrade Windows 7 Version
My System SpecsSystem Spec
19 Mar 2011   #7

Windows 7 Pro

OK I tried to digest all that information. Since I have time I decide to play around with installing.

My install disk was purchase through the student program and I have used it to do Custom Installs on this same PC before without any issues.

My PC is setup this way:
Two Hard Drives with Win 7 Pro on one drive and Win XP on the other. I booted up into XP with both hard drives connected (XP as primary). This allowed me to format the drive I wanted to install Win 7.

I then disconnected the drive with Win XP and started the install process (Custom) on the partition that I had just formatted. I will say it to what I thought was an inordinate amount time but finally it said Win installed and the setup started. When entered the Product Code I got this error message:

The following failure occurred trying to use this Product Key:
Code 0xC004F061

The software Licensing Service determined that this specified Product Key can only be used for upgrading, not for clean installs.

I tried reentering the Product Key several times but that did not help.

This buffaloes me since I have done the custom install before on this partition before without any issues.

I guess I can install Win XP on that partition and then try reinstalling Win 7 again and see what happens.

This is begining to be a PITA.

One more question:
How reliable are system images that are saved on DVD(s)?

Any suggestions are appreciated. Thank You
My System SpecsSystem Spec
19 Mar 2011   #8


At least three times we posted the steps to wipe your HD with Diskpart Clean All command, yet you only formatted which erases nothing and leaves infected code on the HD. You need to unplug the XP HD and wipe the HD using the steps in the tutorial which I will post again: SSD / HDD : Optimize for Windows Reinstallation

Since we now know you have an Upgrade version, you'll need to leave the Product Key blank during install then afterwards do the quick registry workaround given here to activate an Upgrade version key installed on a wiped HD, as a HD should be after infection: Clean Install with a Upgrade Windows 7 Version
My System SpecsSystem Spec
20 Mar 2011   #9

Windows 7 Pro

Thanks gregrocker.

I guess I have done this install so many times and never had an issue before like I am having now.

When I did the last install I did the Custom Install but the only thing I may have done wrong (that I can see anyway), I checked the Automatically activate Windows when I'm online box. I also put in the Product Key and I don't think I should have done that (appreciate a comment on that).

Next time I try the install I will follow the tutorial:
Clean Install with a Upgrade Windows 7 Version
I will use OPTION ONE and see how it goes.

Thanks for the patience

My System SpecsSystem Spec
20 Mar 2011   #10


Did you wipe the HD of infection?
My System SpecsSystem Spec

 New Win7 Install

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
clone multiboot two disc win7 xp install to win7 ssd plus disk XPx64
I have a multiboot win7 /xpx64 TWO DISK system, showing win7 as the C; drive and XPx64 as D: when examining via My Computer. Cloned the C: drive (win7) using Samsung tool to same size Samsung evo SSD. When put in computer the dual boot option gone. The SSD clone of win7 runs ok, but with that in...
Installation & Setup
Wpeinit during Win7 install & Cancel pending installation of Win7
I am trying to install 64 bit Windows 7 in order to repair windows installer, which gave me lot of problems that i couldn't solve. So i tried an upgrade installation (as suggested in another forum) with the original cd. (Win 7 was already installed on the pc, in this way i only tryed to repair the...
Installation & Setup
Create Win7 installation on new disc and remove old Win7 install
Scenario is I have a new sata3 SSD drive on which I want to install Win7. The PC has an existing build of Win7 on a different disc which i want to reformat & use for data. I tried this previously and ended up with a dual booting system. Trying to remove the old Win7 installation and format that...
General Discussion
A fresh win7 install over a win7/vista dual boot system ?
Hello all, I have a vaio laptop with a dual boot win7/vista setup. I simply want to format the whole drive back to one large c:\drive, then reinstall windows 7. I have heard horror stories of people saying their boot manager becomes corrupted. or goes missing. I enclose a snapshot of my hard...
Installation & Setup
Win7 (32bit) to Win7 (64bit) upgrade install error
Hello I have purchased and downloaded both 32 bit and 64 bit Windows7 Professional (no CDs or media here only download version) I sucessfully upgraded from Vista 32 to Win7 32 Then I upgraded my hard disk (140Gb 500GB) and RAM (3GB to to 4GB) Now I would like to go from Win7 32bit...
Installation & Setup
Upgrade (not clean install) from Win7 7264 to Win7 RTM?
Hey, I currently have Windows 7 Build 7264 64-bit, and I have a lot of apps installed. I don't want to lose them, so I want to upgrade. Can I do this with my specs? (64 bit, 7264) Upgrade to 7600 RTM. If I can't, how can I keep my apps through a clean install?
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 11:31.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App