This could well be the problem. (Although it seems strange that it works ok in one location ).
If you replace a hard-drive with another - presumably using the OS on the replacement hard drive - there are invariably problems. Windows is "clever" enough to recognise a different environment and, usually, refuses to boot unless the motherboard is exactly the same as the original.