That message indicates a mismatch between the SATA controller settings in the BIOS and the hard drive - After Windows starts to load it looses the ability to communicate with the HDD.
It got that way because removing the CMOS battery lets the settings go back to some default state which is incompatible with your hard drive. The problem is not with Windows so there is nothing there to "fix" but you can sure try things if it is your desire.
The battery is not in backwards.
No amount of Windows Repair will help.
You do not need a Windows 7 install disk (for this problem).
It is a fairly common error and should be easy to fix and may require a little experimentation to find the right setting.
You need to get back into the BIOS, find the SATA controller mode section and make an adjustment there.
For that error Dell says:
If the SATA controller gets toggled from ATA to AHCI mode (or vice versa), then Windows will not be able to talk to the SATA controller because the different modes require different drivers. Try toggling the SATA controller mode in the BIOS.
Here is a list of adjustments accumulated over the years - the very first one says:
On some Dells: "I had to set my SATA Operation to ATA instead of AHCI"
It sounds like you need to enter the BIOS on your system by pressing the "Del", F2, F10 or F12 key (whatever key is right for your system), locate the section where the hard disks types and hard disk interfaces are configured and temporarily change the setting so the Windows Setup is able to find the hard disk.
Where to find the adjustment and how to change it depends on your system manufacturer and BIOS version so you may end up having to just look around for it and do a little experimenting. If you know your system make and model, we can probably help you find a manual.
You need to locate and change the interface mode for your primary hard disk in the BIOS so that when the Windows Setup loads, it will be able to locate the hard disk.
Before making any adjustments, you should make a note of what the current BIOS settings are so you can change them back when you are finished.
The adjustment varies so here are some examples I have accumulated:
The adjustment is made in the BIOS and could be under Integrated Peripherals, SATA Device Configuration, SATA Mode or something similar.
Make a note of what the current settings are before making any changes so you can change them back when you get done or if things get worse.
After you make the changes, save them and see how things look. You may have to try a few things to get it to behave.
If you find the mode is set to RAID/SATA mode, change the mode to IDE.
If you find the mode is set to SATA, change the mode to IDE.
If you find the mode is set to SATA, disable SATA mode.
If you find the mode is set to AHCI, change the mode to ATA.
If you find the mode is set to AHCI Emulation Mode, change the mode to IDE Emulation.
If you find the mode is set to SATA, disable SATA mode and/or change the mode to ATA.
If you find the mode is set to SATA Native Mode, disable SATA Native Mode.
If you find the mode is set to RAID/Autodetect AHCI, change the mode to Combination.
If you find the mode is set to RAID Auto/AHCI, change it to RAID Auto/ATA (this was a Dell XPS 420)
On some system of unknown make and model, In the Integrated Peripherals menu, disable" On Chip IDE Channel 0
On an Acer Aspire 4720Z the mode needed to be changed from "AHCI Mode" to "IDE Mode"
The WWW says this works on some Dells: "I had to set my SATA Operation to ATA instead of AHCI"
Edited by joseibarra, 16 August 2017 - 01:20 AM.