You need to buy a Windows 10 key. Make sure first that your laptop is compatible to run Windows 10 and if there are any drivers available.
Do understand that there is no free upgrade from vista. You would have had to have had a legal win7 install to get an upgrade to 10.The Laptop had Windows 10 that was downloaded from MICROSOFT as a free upgrade