Failed to format the selected partition 0x8004242d
I came across this error while trying to install Windows 7. It wouldn't let me install over my previous install on a SSD disk, I think because it was BIOS formatted and I now had to install Windows 7 using UEFI. I also could not create a USB bootable disk that would allow BIOS startup (it would report just "Disk error"). How annoying!!
To fix this error, instead of trying to "format" the partition, I just deleted it and then created it new. Now I have three partitions: one System, one MSR (Reserved) and one Primary.
Windows could not complete the installation. To install Windows on this computer, restart the installation.This took me two hours to debug and finally resolve. This error can mean almost anything. There are some important tools that will help you solve this error:
- Shift-F10 - opens up a command prompt
- C:/windows/panther - contains setup logs
- mmc - opens up the management console, you can then add Computer Management (etc) snap-ins
- findstr - a grep-ish string finder, so you can type file | findstr /r /c:"string" /i
You can also use tracerpt to translate the setup log (binary) into a human-readable format, you can do this all within the command prompt. This can help you find invalid/bad registry keys that you can delete with REG DELETE
cd /windows/panther tracerpt setup.etl -o logfile.csv -of CSV
Another option is to install Windows 7 in legacy mode instead of UEFI mode. I've never had a single problem installing Windows in legacy/BIOS mode. There are some other steps that didn't help me.
But if you are post-SP1, there are significantly fewer options. The answer that worked for me was posted by MarkBeacom:
Hit SHIFT-F10 to bring up command prompt.
Click File -> Add/Remove Snap-in... (Or CTRL+M)
Select Computer Management (Double click and Finish on Local Computer)
Double click Computer Management (Local) -> System Tools -> Local Users and Groups -> Users -> Double Click Administrator -> Uncheck Account is disabled -> OK
Now right click Administrator -> Set Password... -> Set a decent password to get started.
Now, restart. Should be good to go.
If this doesn't work try next step:
SHIFT-F10 to bring up command prompt.
type: CD C:/windows/system32/oobe
Make a generic account and password. hit finish (if it requests a product key and you have one, enter it now. if OEM/No key required, just finish). Set time/date. Finish.
Should be good to go.
My next idea after this was to check my BIOS settings and turn off any SSD performance options - my setuperr.log file was reporting only the following line (which I don't actually think was fatal):
2012-07-29 15:49:51, Error [0x0606cc] IBS ApplyDiskOperationUsingService: Failed to correctly apply disk operation of type [0xe]; hr = 0x8007009a[gle=0x0000009a] 2012-07-29 15:49:51, Error [0x060492] IBS PerformDiskOperation:Disk operation of type  failed; hr = 0x8007009a
My next three options after this were to:
- Disable UEFI, install using BIOS (I already tried this, I would only get a "disk error" on the command prompt)
- Try to Repair Install using the same install media (not confident this would have worked)
- Use a different install media (e.g. Windows 7 without SP1) to reinstall
- Re-slipstream the ISO image and add all of the device drivers specific to my new hardware (I would have had to learn how to slipstream drivers into an ISO), rewrite the ISO to USB and then reinstall - to verify that it wasn't a driver issue
- Install Linux instead.
Creating a symbolic directory link
Within a command prompt as administrator:
mklink /j "c:/virtual directory" "c:/actual source directory"