The most secure way is to purchase a digital download from the official Microsoft Store. This links the license to your Microsoft account for easier reactivation later.

Major stores like Amazon and Flipkart sell both physical "Full Packaged Product" (FPP) versions (often on a USB drive) and digital keys.

You can acquire a legitimate Windows license through several official and authorized channels: