New
#1
Cannot reinstall Windows 7 64bit after formatting infected SATA hdd
Hi all, thanks in advance.
I am repairing a laptop that was infected with a virus by reinstalling Windows 7 64bit after formatting.
Laptop specs, lacking because i didn't write it down before reinstalling:
hp dm4
465gb sata drive (the only hd on laptop)
4gb ram
intel dual core processor
history:
previously installed with Windows 7 enterprise 64 bit, infected with virus with pop up ads and occasionally fail to boot.
What I did:
Don't have windows 7 bootable DVD, so I created a bootable USB with windows 7 enterprise 64 bit from Microsoft as a trial for IT developers. Booted to installation screen, detected 3 partitions on the SATA hd, and I tried to reformat all partitions into one. So I deleted the partitions into one unallocated space, and create a new partition with only 8mb unallocated space on the whole drive.
"Windows cannot be installed to this disk..." error shows up, and I restarted to BIOS diagnostics, which cannot recognize hd, so I booted to windows 7 setup from the USB again, opened command prompt (shift + F10), and did the following (X is the boot drive from usb):
X:\sources\diskpart
DISKPART>LIST DISK \\disk 0 shows up as the empty hd
DISKPART>SELECT DISK 0
DISKPART>CLEAN ALL \\succeeded
DISKPART>EXIT
X:\sources\exit
Then I restarted to Windows 7 setup, and since I completely cleaned it, now it doesn't have any partition, so I created new partition again with 8 mg unallocated space left.
Open command prompt again
X:\sources\diskpart
DISKPART>SELECT DISK 0
DISKPART>LIST PARTITION \\partition 1 created with correct size showed up
DISKPART>SELECT PARTITION 1
DISKPART>ACTIVE
DISKPART>FORMAT FS=NTFS \\succeeded
DISKPART>EXIT
X:\sources\exit
Hoping this would settle the matter, I unplugged everything from the laptop, including the battery, and pressed and held power button to reset BIOS, fire up the sucker, and went to BIOS diagnostics and performed a quick hard drive test, which shows to be healthy.
Booted up to Windows 7 setup again, open command prompt to check partition status
DISKPART>LIST VOLUME \\shows volume 1 is C: with the healthy NTFS 465gb partition
DISKPART>SELECT VOLUME 1
DISKPART>DETAILS \\shows that it's writtable, installable, and healthy (no to all parameters that would prevent windows installation)
exited command prompt, went back to windows setup interface, it still wouldn't install windows 7 onto that partition, which is recognized with labelled name at this point.
Since this laptop was purchased in 2010, and it's a HP BIOS, there should be no need to turn on AHCI (and I can't anyway, BIOS doesn't have any option besides boot order and diagnostics), I don't think it's good idea to install XP first as a stepping stone, because of the SATA compatibility issue, so right now I have no idea how to install Windows 7 on a clean laptop
Any help is appreciated!!!
Thanks,
Swordson