Should I deactivate windows when install new components?

Solution
New motherboard and new CPU means you really need to reinstall the OS.
Just plugging that in with the old OS installation is not likely to work.

What did you mean by 'deactivating'?