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

book

Article ID: 168563

calendar_today

Updated On:

Products

Malware Analysis Software - MA

Issue/Introduction

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".

Resolution

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 https://gist.githubusercontent.com/kung-foo/d62c8bcd1b54ea3c7898/raw/3eb5b2383d8a520a912a3626fa812de65ffe64a0/rearm-profile.py
$ python rearm-profile.py
 
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 srvcode.py running @ 10.74.1.100:5472
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