[SOLVED] All kinds of BSOD after changing motherboard.

hz01938

Proper
Dec 25, 2018
71
0
130
A PC running Windows 10 Pro used to have the following motherboard:
Intel i5-3570K @ 3.4GHz
32GB DDR3 RAM
ASUS P8H 77-M motherboard

I upgraded to the following:
AMD Ryzen 7 2700 @ 3.2GHz
2GB DDR4 RAM
ASUS ROG STRIX B50-F motherboard

I have experienced all kinds of BOSD:
STORE DATA STRUCTURE CORRUPTION
SYSTEM SERVICE EXCEPTION
PAGE FAIL IN NONPAGED AREA
PFN LIST CORRUPT
MEMEORY MANAGEMENT
CRITICAL PROCESS DIED
UNEXPECTED STORE EXCEPTION
SYSTEM THREAD EXCEPTION NOT HANDLED
KERNEL SECURITY CHECK FAILURE

I ran MemTest86 for about 3 hours without detecting any problem.

I have made sure that all drivers are up to date.

Could anyone offer a tip on how to investigate this?

 
Solution
sure, but it is not a fun process. google "how to show hidden or removed devices in device manager"
unhide the devices and delete any that no longer exist. Then boot into bios, reset it to defaults or toggle any setting (turn something off and back on) then save the settings. this will cause the bios to rescan your hardware and rebuild the database of hardware settings that it passes to windows.

do this so windows can use the primary hardware setting for your new hardware.

then boot into windows, I would then run autorun from
https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns
and look for any motherboard utilities/drivers from the previous motherboard and remove them.

it will not be perfect but this procedure...
did you do a clean install of windows? if not your system is going to be pretty screwy. if you did do a clean install, you need to make sure you updated the bios and installed the current motherboard drivers. Do not install any GPU or CPU overclock or any of the various utility drivers until the system is stable for a while.

when you install windows 10 make sure you use a current windows 10 image rather than a old windows 10 disk. make the image from here:
https://www.microsoft.com/en-us/software-download/windows10
 

hz01938

Proper
Dec 25, 2018
71
0
130


No, I have not reinstalled Windows 10. I have so many applications that reinstalling all of them would be very painful. Is there a way to avoid reinstalling Windows 10.

I am not doing any overclock. I have a GeForce GTX 1050 video card and a DiplayLink USB adapter to connect to 3 monitors. I plan to get rid of the DisplayLink USB adapter. I have been looking for a clue about what causes these BSODs.
 
sure, but it is not a fun process. google "how to show hidden or removed devices in device manager"
unhide the devices and delete any that no longer exist. Then boot into bios, reset it to defaults or toggle any setting (turn something off and back on) then save the settings. this will cause the bios to rescan your hardware and rebuild the database of hardware settings that it passes to windows.

do this so windows can use the primary hardware setting for your new hardware.

then boot into windows, I would then run autorun from
https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns
and look for any motherboard utilities/drivers from the previous motherboard and remove them.

it will not be perfect but this procedure will avoid some major problems.

things should get better when you do a upgrade from the build you have to the next one.

you will end up having to transfer your windows license to the new machine since the hardware changed to much and the old one will become invalid.

 
Solution

Imacflier

Distinguished
Jan 19, 2014
456
7
18,865


Acronis True Image 2016 and on has a feature called 'restore to dissimilar hardware' which does exactly what you are looking for. Also has a free 30 day trial.

It is kind of funny (peculiar not ha-ha) that trying to just attach an existing HDD to new hardware sometimes just works, sometimes is just weird, and sometimes doesn't work at all. I believe a new clean installation is the very best thing you can do....but I just moved my boot and programs drive to a new motherboard with an I7 instead of an I5 and it worked perfectly. But I was prepared to do a fresh install or use Acronis from a fresh backup before I started.

Larry
 

hz01938

Proper
Dec 25, 2018
71
0
130
Thanks a lot for the detailed instructions. It seems to require some effort to do it, and I will carry it out and report it back most likely tomorrow. The BSODs happen randomly and I cannot figure out a pattern. The computer may be trouble free for an entire day, or may have two within a few hours.

I have already transferred the Windows 10 license. Thank goodness, it worked.

 

DSzymborski

Curmudgeon Pursuivant
Moderator
Best practice is to do a fresh install. After you've tried the quick-and-lazy method and you're still having problems, it's a no-brainer. You'll spend far more time trying to iron out all these issues than you will just doing it the right way once.
 

hz01938

Proper
Dec 25, 2018
71
0
130


I also felt it was like a small miracle that a totally different motherboard with a drastically different CPU just worked after i plugged in the original primary 512GB SSD and a 2TB HD.
 

hz01938

Proper
Dec 25, 2018
71
0
130


I may end up doing that, but I want to try Imacflier's tips first. Reinstalling dozens of applications and their associated projects would take probably a few days.
 
when you do this it works but windows will think you have two sets of hardware, the old hardware that it thinks has stopped working and the new hardware that the plug and play system has detected. The major problems involve the new hardware using alternate hardware settings these alternate setting have more issues. you can get a fast device like a gpu waiting on a slow device like a mouse.
removeing devices in device manager can help, plug and play will reinstall them a few seconds later and that device will be ok. reinstalling is the best method but what the heck, make the plug and play deal with it if you want.

[/quotemsg]

I also felt it was like a small miracle that a totally different motherboard with a drastically different CPU just worked after i plugged in the original primary 512GB SSD and a 2TB HD.
[/quotemsg]

 

hz01938

Proper
Dec 25, 2018
71
0
130

Thank you for the elucidation. I wish me best luck tomorrow. :)

 

hz01938

Proper
Dec 25, 2018
71
0
130
Interim report:
I realized that I may be wasting time in light of all the troubles if I do not migrate to a new SSD that I plan to use first because problems may arise again after the migration even if I solve all the problem with the current SSD.
My plan is replacing the current Micro M500 with an NVMe Samsung SSD:
uTQG1Un.png


I took Imacflier's suggestion first to use Acronis True Image 2016 to back up, then restore, but failed. Then I use Reflect to clone the current SSD to the new NVMe SSD (this method has worked for me many times), but failed too. I always get a BSD similar to the following (not all the same):
XeQGF39.png


I do not know if it has to do with the 4 partitions the SSD has:
lwg0NcS.png


I am wondering if any of you have a suggestion other than a fresh install of Windows 10 to cope with this migration.

If I install a new copy of Windows 10, I would love to use a tool to transfer all the applications. I used PCMover a long time ago. It was OK, not perfect.

 
the error returned was:
Error code: (NTSTATUS) 0xc000000f (3221225487) - {File Not Found} The file %hs does not exist.
here is info on the boot process:
https://www.boyans.net/RepairWindows/RepairWindowsBCD.html

I think you need to get to a command prompt and run
bcdboot.exe c:\windows /s d: /f UEFI
(the d: would be the drive letter of the boot image you are using, it might be x: or some other drive letter)
it should put all of the various files in the correct place and update the non volatile ram in the machines firmware with the proper boot signature.
(or you can turn off secure boot or turn on some kind of legacy mode in the firmware so it does not check the bootup signature on the disk)
 

hz01938

Proper
Dec 25, 2018
71
0
130


Very helpful! I wish I had red that article before. When I had problems after restore/clone, I tried all kinds of bcdboot commands to investigate and fix them probably in a wrong. I was following this answer. I don't blame the answer, but blame myself for lack of the fundamental understanding.

When I went back to the original SSD after the failure, I might have messed up it. What has made the whole process unnecessarily complex and confusion to me is the three partitions:
bWi5Oyo.png


8seq4VI.png

I really want to reduce the three partitions to only one by getting rid of F and D. Is this doable?
 

Imacflier

Distinguished
Jan 19, 2014
456
7
18,865
Hello Lawrence,

Thank you for contacting Acronis Customer Central. My name is Lucy.

This is the follow up email after our chat conversation we had earlier. You had contacted us as you wanted assistance in performing entire PC recovery.

Please find the overview steps on how to perform Entire PC recovery:

1) Validate the backup you want to restore from.

2) Create Acronis Bootable Media - A medium to perform recovery
- How to create Acronis Bootable Media : https://kb.acronis.com/content/60820

3) Prepare necessary drivers.

4) Create Acronis Universal Restore - A medium to inject drivers so that post recovery the system becomes bootable:
How to create Acronis Universal Restore : https://kb.acronis.com/content/59196

5) Connect Acronis Bootable Media to your computer and restart the computer. Restore your system.

6) After recovery, start your new computer once again and use Universal Restore to make the restored system bootable on the new hardware.

7) Now you can start the computer and work with your system restored to the new hardware

Please find the detailed steps on how to perform recovery:

1) Validate the backup you want to restore from.

**You can validate your Entire PC or system disk backup in two ways:
Using Acronis True Image in Windows: click the angle symbol near the backup you want to validate, and then click Validate.
Using bootable media: right-click the backup, and then click Validate Archive.

2) Prepare necessary drivers:

*Before applying Universal Restore to a Windows operating system, make sure that you have the drivers for the new HDD controller and the chipset. These drivers are critical to start the operating system. Use the CD or DVD supplied by the hardware vendor or download the drivers from the vendor’s Web site. The driver files should have the *.inf, *.sys or *.oem extensions. If you download the drivers in the *.exe, *.cab or *.zip format, extract them using a third-party application (e.g. free 7-zip tool or any other).


Note: Please contact the hardware vendor

- Place them on a USB stick or an external drive

3) Create Acronis Bootable Media and Acronis Universal Restore ( separately -CD/DVD)

4) Restore your system with Acronis Bootable Media : https://www.acronis.com/en-us/support/documentation/ATI2018/index.html#40032.html

5) After recovery, start your new computer once again and use Universal Restore to make the restored system bootable on the new hardware.

- Boot the machine once again with Acronis Universal Restore ( plug in the external hard-drive that have the drivers)

- Follow the propt

6) Now you can start the computer and work with your system restored to the new hardware.




 
normally the reserved partition is not assigned a drive letter. do not delete it, it is ok if it is assigned a drive letter.
in some cases it will prevent certain boot issues when you use a 3rd party storage driver like intel version rather than the generic microsoft version. do not delete the partition, you really need to keep it.



 

hz01938

Proper
Dec 25, 2018
71
0
130


Thank you for the warning. I think that I am ready for another try of Acronis Universal Restore. I have to say that I have not had BSOD for almost a day now. I followed the suggestion and uninstalled a lot of not-present devices in the Device Manager.
 

hz01938

Proper
Dec 25, 2018
71
0
130
I followed the instructions to recover to dissimilar hardware. Unfortunately, Acronis Universal Restore cannot find the OS:
auL7lOf.png

I rebooted to the new SSD anyway, but got usual BSOD related BCD. I disconnected the old SSD (disk 0 in the following screenshot) when I rebooted. You can see Disk 2 mirrors Disk 0:

4HCRjKu.png
 

hz01938

Proper
Dec 25, 2018
71
0
130
I have managed to make Windows 10 boot from the new NVMe SSD with the old SATA SSD unplugged. I would love to hear from experts about the risk of my current approach before I go too far on this new setup. Here is what I did:
1. Used Acronis True Image to back up, then validate all partitions of the old SATA Micron SSD.
2. After recovering the backup to the new NVMe Samsung SSD by following Acronis instructions failed, I took a bold approach to simplify the whole process by reinitializing the new NVMe SSD, recovering ONLY the primary partition of the old SATA SSD.
3. I got the BSOD with error code: 0xc000000f:
J0xA7rR.png

4. I rebooted with Windows 10 Installation Media.
5. Found the new NVMe SSD is drive D:
6. Ran command: “bcdboot d:\windows /s d:” (command “bcdboot d:\windows” failed, not sure why).
7. Rebooted from the new NVMe SSD.
8. Everything appears to be the same as with the old SATA SSD.

How bad is it to have only one partition? I back up regularly with an external drive, and back up user files to the cloud daily with Backblaze.
.
6D62Dx5.png

 
where is your system reserved partition? it should be about 400 or 500 MB
and it where the boot configuration files and boot manager will be placed.

otherwise I guess it would be placed on the main partion but i have not tried this in years.
it was a bad idea since malware could have access to the files if the are on the same partition.

try the command without specifying the volume

bcdboot.exe c:\windows

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di



 

hz01938

Proper
Dec 25, 2018
71
0
130


The computer appears to be working fine now. I have not found any issues.
Here is what I did:
1. Use Acronis True Image to back and validate drive C to E:\Backup\Samsung NVMe SSD.
2. Use Windows 10 installation media USB to install Windows 10 on NVMe SSD after deleting its partition, hence created 3 partitions. The only purpose of doing this is creating all the necessary partitions correctly.
3. Use Acronis True Image to recover the backup to the newly created primary partition on the NVMe SSD.
4. Do a repair install of Windows 10 to address quite a few serious driver issues that existed before the migration. This process took 4 to 5 hours.

Here are the partitions after installing the a brand new copy of Windows 10:
T2EmMCx.png


Here are the partitions after the repair install:

28k3056.png


I have had one BSOD since the effort though a number of other issues have been remedied.
 

hz01938

Proper
Dec 25, 2018
71
0
130


Sorry, but I have just noticed your suggestions. I will do this weekend.
 

hz01938

Proper
Dec 25, 2018
71
0
130


Here are the results:
98ozlQI.png