1. Home
  2. IT Process Automation Tutorials
  3. Process Automation – Remote Windows Activation

Process Automation – Remote Windows Activation

In this tutorial, we will show how you can use Goverlan Reach Process Automation to activate Windows remotely by silently calling to the cscript process and the slmgr.vbs script. Note: This activation method will only work for Server 2008/Windows Vista and higher.

Disclaimer:

To be able to implement this tutorial, you will need access to the full version of Goverlan Reach and its Process Automation framework. If you don’t currently own a valid license, you can download a free version of our remote access software on our website. The 30-day trial is free and no credit card is required.  

Tutorial

1. If you have never automated a workflow with our Process Automation framework,  you may watch the below video or read our Scope Action Creation Basics article for more information.

2. Click on Add/Remove. Then Execute Action > Processes > Run a new process.

3. You will now be at the Set Arguments: Run a new process window. We will select the following for each:

Process name: cscript

Process argument string: //B “%windir%\system32\slmgr.vbs” /ipk A12B3-ABCDE-12345-ABCDE-12345
Note: Replace the key after /ipk with your Windows OS key.

Run as type: 0

Run Username: Leave blank

Run as Password: Leave blank

Wait for Completion: True

Wait Timeout (seconds): 30

Kill Process on Time Out: True

Hide Execution Window: True

Click OK after selecting the above.

Note:

In this action we are providing the product key to the OS. In step 4 we will repeat the same action but to Activate the OS.

4. We will now select the same action again. Click on Add/Remove. Then Execute Action > Processes > Run a new process.

5. You will now be at the Set Arguments: Run a new process window. We will select the following for each:

Process name: cscript

Process argument string: //B “%windir%\system32\slmgr.vbs” /ato

Run as type: 0

Run Username: Leave blank

Run as Password: Leave blank

Wait for Completion: True

Wait Timeout (seconds): 60

Kill Process on Time Out: True

Hide Execution Window: True

Click OK after selecting the above.

6. Finally, your Action module should look like the below. Click Ok and proceed to run the Scope Action according to your requirements.

Was this article helpful?

Related Articles