1. Support
  2. Tutorials
  3. Scope Action – How to Activate Windows Remotely

Scope Action – How to Activate Windows Remotely

In this tutorial we will utilizing Scope Actions to activate Windows remotely/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:

**These tutorials are for demonstration purposes. Please test all Scope Actions before deploying them into production.**

Tutorial

1.If you have never created a Scope Action before, please refer to the below video and the 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