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