I want to copy the "Windows" partition from one drive to another drive inside same computer/laptop.

I made a wim image with dism, and applied on the another drive's partition, also added entry for
boot to Windows's boot manager. The source drive has SATA3, target drive has NVME connection.

After booting on target drives, after login screen everything blinking, like a window form get/loose focus
quickly, cannot type/click related to this effect.

If I apply the wim image to another SATA3 drive, everything works fine, booting and working perfectly.

Could anyone tell me what should I change/remove in the WIM file to fix this error? I suspect some registry
change fix this problem.

I don't want to use disk cloning tool or doing Sysprep on original OS.

- - - Updated - - -

Solved:

The only problem is the drive letters are same too, so the SATA3 drive still mounted as C: .
Once I replaced the drive letters in the NVME registry, it booted fine:
Need to exchange the
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices keys:
\DosDevices\C: with \DosDevices\D: