Microsoft's licensing requires each user to have their own license regardless of the number of devices on which they activate the software.
According to the Microsoft Online Services Terms* which includes licensing terms for Office 365 Applications, a subscription license ("User SL") is required for each user:
A User SL is required for each user that accesses the Online Service unless specified otherwise in the Online Service-specific Terms.
source: Microsoft Online Services Terms, page 4
The "Online Service-specific Terms" are found later in the document and confirm individual users are granted five concurrent software activations:
Each user to whom Customer assigns a User SL must have a Microsoft Account in order to use the software provided with the subscription. These users:
- may activate the software provided with the SL on up to five concurrent OSEs for local or remote use;
- may also install the software, with shared computer activation, on a network server or Microsoft Azure Platform Services and use the software to create, edit, or save documents. For the purpose of this use right “network server” means a physical hardware server solely dedicated to Customer use. This shared computer activation provision does not apply to Customers license for Office 365 Business; and
- must connect each device upon which user has installed the software to the Internet at least once every 30 days or the functionality of the software may be affected.
source: Microsoft Online Services Terms, page 19
*Also available from the Microsoft Volume Product Licensing site
So you need to obtain a digital entitlement from Microsoft, that upgrades your Windows 7 license to Windows 10 license. It is bound to the computer hardware even in case you had a retail non-OEM version of Windows 7 purchased. I suppose you do not have any corporate licensing model applied (MPSA, Select...).
See Activation in Windows 10
Digital entitlement is a record stored on Microsft activation server that contains the hardware hash and the edition of Windows. Nothing else enters into it. Neither Microsoft account, nor the original product key.
Digital entitlement is created when you upgrade to Windows 10. It is possible to get it even with a clean install by entering the product key from the original version of Windows (if this has not been used recently). Without installing Windows 10 you can not get it.
But you can back up the current status (backup image), upgrade to Windows 10, and after activation you can roll back (via the backup image, or directly using the rollback button in Windows 10).
(Corrected previously given info:)
Information about HDD are stored in Hardware hash, but do have a low priority. The hardware hash is what you get by gatherosstate.exe tool. But when you try to activate using a different and pre-installed HDD, as suggested by @harrymc, you run into a risk, that your hardware hash will be different from what you have registered with Microsoft activation server, and you will not find the digital entitlement during activation and will have to buy the Win10 anyway, so all the efforts will be probably fruitless. Also running the same OS image on various computers is not supported by Microsoft. It forced me few times to phone activation in the past.
So one viable option for you is to upgrade, activate and then immediately roll back. If you are lucky, then no backup images will be necessary. So you can simplify the process you have suggested only by using built-in rollback instead of cloning back the image of the Win 7 disk. Of course the rollback can go wrong sometimes.
There is no special tool that would allow you to query the Microsoft activation server's database for your hardware hash except of the activation process itself.
(source link)
Best Answer
The free upgrade for Windows 10 is only available for Windows 7, 8 or 8.1. But if you act quick, you can buy a license for Windows 7, 8 or 8.1 and
use it for the free upgrade, before July 29th.The best idea though, is to use Media Creation Tool to download and burn an ISO of Windows 10, and use your Windows 7 license keys to do a fresh install of Win 10. You can use any of Win 7, 8, 8.1 or 10 license keys. However, you can't use XP keys for that.
EDIT: In the comments, @cybermonkey suggested that the Media Creation Tool is the only solution to get the upgrade, because the old version of Windows has to be installed for at least 30 days before the deadline. However, this does not apply to clean installs so you can still use you Win 7/8/8.1 license key to install and activate Win 10.