Skip to content

When installing an OS or other Microsoft software into a virtual machine, one is often met with the activation problem. Usually it's not a problem, but when you want to keep the virtual machine for a long time, you want to activate it. Here's how.

Notifications You must be signed in to change notification settings

CaptainChicky/Activate-Microsoft-products-for-testing-in-virtual-machines

Repository files navigation

DISCLAIMER!!!

Unfortunately, since this could actually get me into legal trouble, I have to include this at the top :/

Everything here in this repository is for educational purposes only, with the usage of such tools only intended for testing software or of the like inside virtual machines. I do NOT enourage people to pirate windows, or any of Microsoft's software. As a matter of fact, NEVER use this as a way to activate windows on a real computer, or a way to illegally obtain free software. Buy the key!

Story time :)

Ok now that is out of the way, let me tell you a story. Naive me a couple years ago bought Microsoft Office 2016 standalone for 60 USD from a retailer named "BongoRolls" on Amazon.

I was emailed the virtual disk image and the activation key. After installing office, I just let it sit there for a while, since I hadn't had a use for it during said 2 weeks. When I finally needed to use Excel and Powerpoint, I put the key in and guess what? No work 😔. SOOOO I did what any reasonable person would do, and messaged the seller... waited for another week... and no reply.

Okay, time to leave a review on the product to warn other users... the product was taken down 🙄. Fine! I'll review the seller then! Oop, apparently "I had not ordered anything from said seller"(product was taken down) 👺. I messaged them again, and in stronger words this time, but to this day, I still have not recieved any form of reply. I decided to get a refund, but after clicking on that button, apparently I had waited too long, and that my order was not eligible for one. What a joke!

So therefore, I went on the internet and searched for a solution, and found the autoKMS method, which worked perfectly. I have subsequently experimented with the activation methods for most Microsoft software, and found ways to activate them.

Also yes, at that time, I thought about but didn't bother contacting Microsoft, and now, I doubt Microsoft would have done anything. Today, the order is still on the way. Just a wee bit too late though, as you can obviously see...

Overview...

In the repository, you can find tools to activate the following software for testing in virtual machines, of course, which are, but may be not limited to:

  1. Windows 95 OSR 2 x86
  2. Windows 98 SE x86
  3. Windows XP SP3 Professional Corporate x64 and Professional x86
  4. Windows Vista Home Premium SP2 x86 and x64
  5. Windows 7 Ultimate x64
  6. Windows 8/8.1 Professional x64
  7. Windows 10 Professional x64
  8. Microsoft Office 2016
  9. Microsoft Office 2019
  10. Windows Server 2016(Datacenter, Essentials, Standard)
  11. Windows Server 2019(Datacenter, Essentials, Standard)

Why the "may be not limited to"? Well that's because these versions are either what I have installed in virtual machines and thus can confirm they work, or have seen them work when used by other people. However, since these tools are intended for a wide array of software versions, they will most likely work on other versions of said software as well.

What about the virtual disk image files or media creation tools to install these?

Unfortunately, literally 90% of them are greater than 2 GB, meaning I can't even put them in the "releases" section. This means that, unfortunately, I will not be able to supply them to you. I can provide some resources to get them though.

Places to get virtual disk images, working and safe as of December 5th, 2020:

And yes, I have indeed considered compressing them in .zip, .rar., and .7z, but after doing so, there would be still 25% of them that are larger than 2 GB. So unfortunately, you're on your own buddy 😔.

In-depth explanation for each of the tools included...

  1. autoKMS

Please visit msguides for the source. No registration needed.

KMS, or Key Management Service is something developed my Microsoft themselves, aimed towards large organizations/companies, such that they can have an easier time managing all their computers OSes, especially since there can be a huge number of them. Said company hosts a local KMS server that will host all licenses the organization has purchased inside their own network, compared to each computer reaching Microsoft's servers to maintain their status of validity, over the internet. However, each computer has to contact the KMS server every 6 months to remain activated.

What the autoKMSes(a big thanks to msguides.com for hosting the servers) included here do is that they convert your retail/trial license into a volume license by changing the retail key into a generic volume license key. Then, it changes the default KMS server to contact into msguides's servers(i.e. kmsX.MSGuides.com where X is a number) by default to activate the product and recontacts the server every 6 months to remain activated. Problems arise if the server is ever taken down, either by the developers of the server themselves, or by Microsoft if it decides to crack down on such unconvential activation methods. If the server is down by some means, your product would not be able to contact said server(every 6 months though, so if you still have like 3 months left before it needs to recontact the KMS server, per say, your product will remain activated for that 3 months) to remain activated and deactivate itself.

However, note that these batch scripts are recently now detected by Windows Defender, Malwarebytes, Trend Micro, and most likely other antivirus software as something similar to "HackTool:Win32/AutoKMS", so please disable antivirus when running said script, and place it in a safe spot where your antivirus can't touch it.

Speaking of which, here's a guide on how to host/make your own KMS server(if link is down use archive.org or something).

  1. Windows Loader

Please visit Daz's MyDigitalLife forum page for the source. Registration required. Here are also two further links viewable without registration.

Alright, here is where it gets a bit hardcore. Your antivirus will definetely flag this as a "CRCK_KEYGEN" or "Hacktool:Win32/Keygen" or something similar, so make sure to turn it off when running, and keep the loader in a safe place. Secondly, if KB971033 windows update is installed, delete that update. It will make Windows Loader not work. Alright, not that is out of the way, let me explain this.

Microsoft has 3 different distribution channels for their products, namely retail, OEM, and volume license. AutoKMSes use the volume license to activate the product, but Windows Vista, and Windows 7 Home Premium/Ultimate only had retail and OEM licenses availible. This means that any autoKMS will not be able to use a volume license to connect to a KMS server to activate the product, because there isn't volume license to begin with.

This is where Windows Loader by Daz comes in. It injects a System Licensed Internal Code into the system before Windows boots, which will result in Windows thinking it is running on an OEM computer with a license tied to the motherboard. That is, of course, assuming the disk is MBR-partitioned. Also note that all key parts of the loader are encrypted with a custom encryption, and every user has a unique version of the loader installed on his or her system.

I'd recommend also upgrading to Windows 10 using the installation media tool Microsoft Supplied, after using Windows Loader, as it will automatically validate your computer and generate a key, almost guarenteeing your computer for indefinite activation. This is similar to method 3, Hwidgen, below.

  1. Hwidgen

See one of Aiowares forum pages for the source. When downloading, use the link supplied in "Mirror 1" as of December 5th, 2020. Registration is needed.

As usual, turn off antivirus before using, and store the executable in a safe place where your antivirus cannot touch it.

The Digital License system that Microsoft implements uses hardware based IDs which are unique for each machine. The legit tickets used for the process(can be an Upgrade from a supported predecessor or by using a Win 7/8.1 key) do not contain any product key related info. Hwidgen generates a hardware ID-bound license for your machine based on the hardware ID your machine has according to the same algorithm Microsoft uses to generate your hardware ID. It then installs this license on the machine.

This generated new license is stored in Microsoft's servers and will activate a machine that used Hwidgen even if you do a fresh install of Windows afterwards. Hwidgen only needs to be used once per machine(run once and delete). In later fresh installments of Windows, just skip any key prompts(choose 'I have no product key' during setup) and when the machine makes online contact with Microsoft's servers, they will regocnize the hardware ID and grant activation automatically. Only hardware changes will cause the license generated by Hwidgen being invalidated, but as we all know, this is normal, as even legit licenses can be invalidated by hardware changes.

  1. Mobile Self-Service

See msguides's activate Windows 7 guide(no registration needed) for the source of this method. Also see these two Reddit posts for where I got the working MS self-service for mobile links.

Note: This method only works with keys that are legitamite, and have not been blacklisted by Microsoft. So have a good time finding that. Here at least I've found one legitamite key that works 🥳 and isn't blacklisted.

This method takes advantage of how Microsoft provides a "self-service" for the automated phone system. So instead of calling in for an employee to check, which will obviously not work, we use Microsoft's self service webpage, sort of like how you can check out items in a supermarket in those self-checkout things without a cashier doing the work. In there, we type in the ID generated by the machine and key you typed into the activation wizard, and the self-service automatically checks, and gives you back a code to activate. It's as simple as that. As long as Microsoft doesn't take the page down, and as long as you have a key that hasn't been blacklisted(like blacklisted blacklisted), this should work.

Check the word document inclded in the folder for a preview.

  1. Raw keys

Yep, as its name suggests, they are just activation keys supplied in .txt files. I've surfed the internet, far and wide to find them, and I've confirmed that they all work as of December 5th, 2020. I can't say for sure in the future, though. Use then while you can 😋.

Closing...

Have fun with your activated software testing for educational purposes in virtual machines 😛!

About

When installing an OS or other Microsoft software into a virtual machine, one is often met with the activation problem. Usually it's not a problem, but when you want to keep the virtual machine for a long time, you want to activate it. Here's how.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published