Your windows 10 needs associated with that email. Windows needs to be genuine.
How to link your Microsoft account with the digital license
Use the Windows key + I keyboard shortcut to open the Settings app.
Click Update & security.
Click Add an account. (Your account must have administrator privileges to go through this process.)
Enter your Microsoft account credentials, and click Sign-in. If the local account isn't connected to a Microsoft account, you'll also need to enter the password for the local account.
Once you completed the process, you will see the "Windows is activated with a digital license linked to your Microsoft account" message in the Activation page, indicating that the linked was successfully processed.