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: Trouble with clean install of Windows 7 premium 64 bit

23 Sep 2012   #1

windows 7 premium x64
Trouble with clean install of Windows 7 premium 64 bit

Hello, first post on this so please excuse my lack of knowledge.
Back story:
First things first, I bought a rather high end PC from CyberPower PC, Hard drive had problems a few months after I started using it so I sent it in for a new one. New one is not preloaded with OS, so I am attempting to install from the OS disk I got when I bought the PC.
Hard ware:
Gigabyte Mother Board, GA-Z77-D3H (Is the name I found on the mb itself)
1TB Toshiba Hard Drive
(Anything else I'll have to look at when my pc is off)

I have been fooling around, probably causing more problems, for 2 days now trying to get the OS install to work.
Description of problem:
I could not install OS on Hard Drive, got error message after selecting hard disk. (Error: 0x80300002)
Switched the BIOS options to default optimal settings
Reran the OS installation, the installation ran very slowly and gave me an error message after I selected the Hard Drive to install windows 7 on. (Error: 0x8007045d)
Found that some had success after changing hard drive setting from IDE to AHCI, after I did so the installer ran much more smoothly. However when I got to the drive select screen my hard drive was not listed or detected. (Browsing it was called Removable disk C and could not be selected)
Checked BIOS to see if it was detected, it was.
Reran under AHCI mode, still undetected in disk select. Online help suggested to run a diskpart in command prompt. Hard drive was not shown in that either.
Changed mode back to IDE, ran OS installer, waited very long time for it to load.
Computer only loads for about a second for about every minute. INCREDIBLY SLOW.
This is the case whether I'm waiting on the installer or running command prompt diskpart.

I know it's a lot of info so I'll summarize it if it's too long and you don't want to read it.

TLDR: Need help with clean install on new fresh hard drive. What BIOS settings to use?

Thanks, I'm desperate!

Update: Running in IDE, ran a diskpart, Detects hard drive,
Info I obtained;
Disk type: ATA
Satus: Online
Path: 0
Target: 0
Location Path: PCIROOT<0>#PCI<1F02>#ATA<C00T00L00>
Current Read-only State: NO
Read-only: No
Boot Disk: No
Pagefile Disk: No
Hibernation File Disk: No
Crashdunp Disk: No
Clustered Disk: No
I don't know what to make of all this information, but maybe one of you can make something of it. I'll keep dumping information in here in an unorganized fashion.
Tried to run a clean command, failed due to I/O error. took 30+ minutes aswell
Update: Booted up and ran os with AHCI setting on. Got to disk drive, still no hard drive. Started fumbling around in Diskpart in command prompt, can get the hard drive to appear as disk 4 after rescaninning. any attempts to manipulate it (i.e create partition or clean of partition) results in error and the disk vanishes until I rescan.

My System SpecsSystem Spec
23 Sep 2012   #2

windows 7 premium x64

"Some may need SATA driver or RAID driver for their motherboard and/or RAID controller ready on DVD, USB or HDD attached to non-RAID hard drive if setup does not recognize hard drive while installing."
I saw this in another thread. Could this possibly help my case? It sounds possible considering my hard drive is new.
If so then how would I do this process?
My System SpecsSystem Spec
23 Sep 2012   #3

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit

You mention "OS disc" from Cyberpower. Is this an ordinary Microsoft branded Windows 7 disk? Or some type of Cyberpower disk? If the latter, I'd probably download an official Microsoft Windows 7 ISO and burn it to a disk and use it instead.

Do you have a 25-character Windows 7 Product Key, typically found on a sticker on the PC somewhere?

Have you downloaded the motherboard manual?

GIGABYTE - Motherboard - Socket 1155 - GA-Z77-D3H (rev. 1.0)

Look at the diagram on page 21. Look at numbers 6 and 7 on that diagram. You will see a total of 6 possible places to which a hard drive could be connected.

Which of those 6 are you using and have you tried any of the other 5?

Here is the correct way to use Diskpart for a clean install. Make sure you follow these steps exactly:

Disconnect all hard drives other than the drive that will receive Windows.

Disconnect any external devices. All you need are monitor, keyboard, and mouse.

Boot from the Windows 7 installation disc.

Hit Shift F10 at the first screen where you are asked to choose a language.

A command prompt will appear. Type diskpart at that prompt.

Type in the following commands one by one, followed by the Enter key to create a partition (text in parentheses are comments only):

list disk (to show the ID number of the hard disk to partition, normally Disk 0)

select disk 0 (change 0 to another number if applicable)

clean (this wipes the drive of anything on it; not needed on a brand new drive)

create partition primary (this will create one primary partition covering the entire drive; if you instead want to create a primary partition of 80 GB, add “size=80000” after the word “primary”)

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)

Continue Windows 7 installation as usual. Remember to highlight and select the partition just created when you come to the partition screen asking you "where do you want to install Windows?”.
My System SpecsSystem Spec

23 Sep 2012   #4

windows 7 premium x64

1st. The OS disk is not an original Microsoft OS disc, It is some sort of cyberpower disc. I would have done that if a burner was available, and if one ever does come available I will try this.
2nd I do have a product key on the sticker on the side of the case.
3rd I have a physical manual, I am using Sata port 0 (for HDD connection) and 2 (for cd/dvd drive)
4th I have tried the normal disk partition command prompt, however it does not recognize my hard drive in that prompt unless I run command "rescan" even though it is recognized in Sata port 0 in my bios.
Let me tell you what I type into diskpart
>list disk
<(no media on all disks, 0-3)
>list disk
<(random new disk 4 appears, online status, 931 GB free)
>select disk 4
<Disk 4 is now the selected disk
<Virtual Disk Service error: The object has been deleted

I have only a monitor and keyboard connected. Monitor is connected through graphics card (i don't know if that is a problem or not) and the keyboard is connected through the old style keyboard input in the back of the PC (i can't remember the name for it sorry.) Hopefully this helps thanks for the reply
Also I have my optical drive set as boot option #1 and my Hard drive set as boot option #2
My System SpecsSystem Spec
23 Sep 2012   #5

windows 7 premium x64

When I ran the OS just now the hard drive showed up (after a rescan in diskpart and refreshing the list in the os installer) with 3 partitions

It gave me an error when I selected the OS and said "Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer's BIOS menu"

Not entirely sure what the disk's controller is.
My System SpecsSystem Spec
23 Sep 2012   #6


Is this an EFI BIOS? Check in BIOS Boot order to see if there is an EFI Boot disk, disable it. Enable Legacy BIOS. Otherwise you need to follow special steps to install to UEFI (Unified Extensible Firmware Interface) - Install Windows 7 with - Windows 7 Forums

I wonder why the target HD is DISK4. Did you unplug all other HD's and peripherals? Try another SATA port recommended by your Manual.

I also wonder why it shows 3 partitions if you wiped the HD. Try again following Diskpart Clean Command. It's possible it's EFI showing the GPT partitioning used with an EFI install.

Use the Official installer provided in Clean Reinstall - Factory OEM Windows 7 following the Best Practices to get a perfect install.
My System SpecsSystem Spec
23 Sep 2012   #7

windows 7 premium x64

OK I think I see what you are refering to when you say EFI.
In bios setup for me it looks like
PCI ROM Priority: [EFI Compatible ROM / Legacy ROM]
It was set to EFI compatible ROM. Should it be set to Legacy instead?

I have tried other sata ports, I can try different ones again, I will look into my manual shortly.

Also when I try to wipe the hard drive it does not finish and it ends with an error saying that the hard drive was deleted or is no longer detected something along those lines.

I'll try to do clean install from flash drive if this doesn't work.
My System SpecsSystem Spec
23 Sep 2012   #8

windows 7 premium x64

OK so the only options I have in Boot Order Priority are Hitachi HDS72101DLE630 (set to option 2), HL-DT-ST DVDRAM GH24NS90 (set to option 1) and Generic-SD/MMC 1.00 (I have no idea what this is, but by default it is set to option 3.)
My System SpecsSystem Spec
23 Sep 2012   #9


Opt 3 is your built-in SD card reader.

Test your HD using maker's HD Diagnostic extended CD scan then use the wipe function on the CD. Then Format an NTFS Active partition using Step 2.2 in SSD - HDD Optimize for Windows Reinstallation to run a full Disk Check from installer's Command Line. Once HD is deemed good try install again to the partition you created.

You'll need to study Manual to understand if EFI-compatible-ROM is an iteration of EFI Boot disk meaning you have an EFI BIOS, or nothing more than compatible with same. I've not heard of it yet. Please let us know what you find. If EFI I gave you the two install options which have worked so far - with or without EFI - although yours may require a hybrid method. This is all very new cutting-edge technology.
My System SpecsSystem Spec
23 Sep 2012   #10

windows 7 premium x64

Can I run that HD diagnostic off of a flash drive? I do not have a cd burner readily available.
My System SpecsSystem Spec

 Trouble with clean install of Windows 7 premium 64 bit

Thread Tools

Similar help and support threads
Thread Forum
Do a clean install of my windows home premium
Good evening.Been thinking of having a go myself regarding making a clean install of my desktop running windows 7 home premium. Just one or two questions if I may. I.I do have a W7 disc ''OEM Disc'' 2.I do have the licence key 30.What sort of time involved should I allow myself for the job...
Installation & Setup
Clean install Windows 7 Home Premium 64bit, driver help
Hello, I'm new to building and upgrading computers, so bear with me :confused:. I've searched through the forums on various sites and I'm still unsure about what to do. I'm planning on doing a clean install of Windows 7 64bit Home Premium on my computer with a brand new unused SSD. What I would...
Factory OEM Clean Install of Windows 7 Home Premium 32-bit
I'm hoping all of my system info is displayed since I downloaded and installed System Specs... I downloaded the correct .iso file from the Digital River list and have since burned a new DVD using imgburn set at 4x for an excellent copy. At this point I'm not sure if I must first reset the BIOS...
Installation & Setup
Need help for Clean Install of Windows 7 Home Premium
A few months back I had this problem about my restore point getting auto deleted after reboot (I still have this problem), now due to necessity I need to make a clean install of my OS but the thing is that there was no Windows installation disk given when I bought my laptop last year. Currently I...
Installation & Setup
Problem with clean install of Windows 7 Home Premium x64
G'day, I've just built a system for a friend comprising of the following parts: Antec 100 Gigabyte GA-Z68A-D3H-B3 i5-2500K 8GB Corsair RAM NVidia GTS250 1 x OCZ Plus 60GB SSD
Installation & Setup
Clean install with windows 7 Home Premium
Hi to all of you guys. I did a clean install based on your tutorial but it went a little different than I expected. I did the installation on a 320 GB harddisk that allready had Windows 7 on it but it was messed up. It had one primary partition of 58,6 GB with Windows 7 Pro on it and an extended...
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 00:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App