search cancel

Invalid Product Key in activation screen when trying to activate Windows 7 iVM


Article ID: 168563


Updated On:


Malware Analysis Software - MA


When trying to activate the Windows 7 Base image you get an error message saying:  Invalid Product Key in the activation screen.
If you look at the screenshot, you see a Popup or Tooltip indication that "The activation period has expired".


First run the activation of Windows 7 until it fails.
Then proceed as follows:
Login to the CLI/ssh, and using the g2 user, download the script and run it:

$ sudo -i

$ curl -OL
$ python
Output looks like this:
Is the IntelliVM base image you are attempting to activate currently in a failed state? [y/N] y
Looking for ivmcontrold's connection to the running base image...
Found running @
Atempting to run slmgr -rearm...
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Command completed successfully.
Please restart the system for the changes to take effect.
Shutting down the base image...
Please wait until the virtual machine has shutdown... (120 seconds)

Now go through the activation procedure in the UI and cancel/reset the activation and run it again.
Now the profile activates as expected