Last updated on February 28th, 2018
This tutorial was written for every user that wants to replace Motherboard without having to re-install Windows from scratch. By following the below instructions you 'll be able to keep your current Windows installation, programs & settings after replacing the Motherboard. The instructions can be applied, also, if you want to transfer the current Windows install in a totally different hardware (e.g. from a Desktop PC to a Laptop PC or vice versa).
Consider the following scenarios:
1. You want to upgrade your main computer parts (mainboard, CPU, RAM, etc.) but you want to keep your current Windows installation, in order to keep your program settings & files untouched and not reinstall them from the beginning.
2. You want to to change the SATA hard disk controller mode from IDE to AHCI or RAID (or vice versa) in BIOS in order to succeed better performance or compatibility.
– If you come in one of the above scenarios, then you will may realize that Windows cannot boot and crash with a BSOD (Blue Screen Of Death) error "STOP 0x0000007B INACCESSABLE_BOOT_DEVICE". This is happen because Windows cannot find the correct drivers for the SATA hard disk controllers. To bypass this problem and to avoid to reinstall Windows, you must "tell" Windows using the Windows Registry, to use the Standard SATA Hard Disk Controller driver during startup. To accomplish this, just follow the steps below to make the appropriate modifications in Windows Registry and then Windows will boot up normally to Windows. After boot, they will install the necessary hard disk controller drivers according to BIOS hard disk SATA controller's mode settings e.g. IDE Compatible mode (aka Legacy or ATA Compatible) or AHCI or RAID mode.
This tutorial contains detailed instructions on how you can change your motherboard or upgrade your computer, without having to reinstall Windows and programs from scratch. The instructions applies to the following Windows versions: Windows 10,* 8, 7, Vista & XP.
* Note: Windows 10 – in most cases – can easily recognize your new hardware without having to follow the below instructions.
How to Upgrade Motherboard or Computer and Keep the Current Windows Installation & Installed Programs.
To keep and use your current Windows installation, programs and settings after changing your Motherboard or after upgrading your computer (e.g. from your old Desktop to your new laptop), you have only to "tell" Windows to use the Standard SATA hard disk controller driver at Windows boot. To accomplish this task you must modify the registry according your situation (scenario).
Scenario 1: You haven't replace the motherboard yet (in order to upgrade your computer) and your computer starts (boot) normally to Windows. In this case you have to modify the registry from the current working Windows environment before proceeding to computer upgrade.
Scenario 2: Windows fails to boot because:
- You have already replace the motherboard, OR because
- You have modify the SATA mode setting from BIOS.
In this case you have to use an Offline Registry Editor to modify registry settings.
Scenario 1: Modify Registry before you replace (upgrade) the mainboard on your computer (Windows starts normally).
– Use these instructions only if you haven't replace your motherboard yet and Windows starts normally . If you have already replace the motherboard and/or Windows cannot boot, then follow the instructions in Scenario 2. –
1. Boot Windows normally and then open Windows Registry Editor. To do that:
2. Inside Windows Registry, navigate (from the left pane) to this key: *
* Note: If you have Window 8, Windows 10 & Server 2012, then navigate to the "StorAHCI" key
(e.g. : "HKEY_LOCAL_MACHINE\Repair\ControlSet001\services\storahci") , because in these Operating Systems the MSAHCI has been replaced by StorAHCI.
3. At the right pane double click at 'Start' DWORD value and change its value data to 0 (zero). Click OK when finish.
4. Now perform the same modification to this key:
5. If you use RAID (otherwise ignore this step) then you have to perform the same modification to this key:
6. Close Registry editor.
That's it! Now you 're ready to continue with your computer upgrade. When done, enter you BIOS settings and specify the SATA mode (IDE-ATA, AHCI or RAID) according your needs or leave the default setting. Exit BIOS settings and start Windows. Windows should start without problems. and install the required hard disk controller drivers. When Windows finishes the driver installation, continue to install the rest device drivers for your new motherboard..
Scenario 2: Windows fails to boot: Modify registry using an OFFLINE registry Editor.
— Use these instructions only if Windows fails to boot because you have already replace your motherboard or because you have changed the SATA controller mode in BIOS. —
In this scenario you have to use an offline Registry editor to modify the Windows Registry. For this task, I prefer to use the Windows Recovery Environment found on Windows 7 or Windows Vista installation DVD. To open Registry Editor from the Windows Installation DVD follow the process below:
1. Place the Windows Installation DVD on your CD/DVD drive and boot your computer from the Windows installation DVD.
Notice: In order to boot from the DVD, you must set the CD/DVD device as the first boot device in BIOS settings. To do that:
- Power On your computer and press "DEL" or "F1" or "F2" or "F10" to enter BIOS (CMOS) setup utility.
(The way to enter into BIOS Settings depends on the computer manufacturer).
- Inside BIOS menu, find the "Boot Order" setting.
(This setting is commonly found inside "Advanced BIOS Features" menu).
- At "Boot Order" setting, set the CD/DVDRW device as the first boot device.
- Save and exit from BIOS settings.
2. At the first screen press Next.
3. At the next screen, select "Repair your computer".
4. At System Recovery Options (1st screen) click Next.
5. At Choose a recovery tool screen, choose Command Prompt.
6. At command window type "regedit" (without quotes) & press Enter.
In Registry Editor:
7. Highlight the HKEY_LOCAL_MACHINE key.
8. From File menu select Load Hive (to load the offline registry).
9. Navigate to the disk where Windows installed on (e.g. "C:").
10. Open the system file found in "%Windir%\system32\config\" directory. (e.g. "C:\Windows\system32\config\system")
11. Type a Key Name for the offline registry (e.g. "Offline") and press OK.
12. Double-click to expand the HKEY_LOCAL_MACHINE key and you should a new key under it, named with the name you typed before (e.g. 'Offline" in this example).
13. Expand this new key & navigate (from the left pane) to this subkey:
14. At the right pane double click at Start (DWORD) and change its value data to 0 (zero). Click OK when finish.
15. Perform the same modification to this subkey:
16. If you use RAID (otherwise ignore this step) you have to perform the same modification to this key:
17. When you finish with the modifications, highlight the key you created before (e.g. "Offline") and from the File menu choose Unload Hive to write back the changes you made to the offline Registry.
18. Close the Registry editor, the Command prompt window and Restart your computer.
19. Enter BIOS settings and specify the SATA mode (IDE-ATA, AHCI or RAID) according your needs or leave the default settings.
20. Exit BIOS settings, remove the Windows Installation DVD from the CD/DVD drive and let Windows to start normally.
Windows should start without problems and then will install the required hard disk controller drivers.