Can I Change my Motherboard and keep my version of Windows 8.1?

My OS is Windows 8.1 64-bit (6.3, Build 9600). It was pre-installed into a Hp Pavilion p6-2310 model computer. Motherboards I would like to have: http://www.newegg.ca/Product/Product.aspx?Item=N82E16813130664 (Mainly for Wifi and... show more My OS is Windows 8.1 64-bit (6.3, Build 9600).
It was pre-installed into a Hp Pavilion p6-2310 model computer.

Motherboards I would like to have:

http://www.newegg.ca/Product/Product.aspx?Item=N82E16813130664 (Mainly for Wifi and Blutooth!)

http://www.newegg.ca/Product/Product.aspx?Item=N82E16813132030

Thing is, I do not want to purchase more of what I already own!
Update: I AM ON A BUDGET!
6 answers 6