Windows Vista Activation 2.0 – Automating MAK Assignment with Vista BDD 2007

 How do I, or how simple will it be to script activation of a MAK?. 


Below is an excerpt from BDD 2007.  BDD has been and will continue to be our best guidance available for desktop deployment.  BDD should be reaching release to web soon but until then the beta release is available from


HiED Desktop support teams can also assign MAKs by using the Slmgr.vbs script included with Windows Vista. This script supports several options and is used for everything from adding, changing, and removing product keys to activating a KMS host.


To install a MAK using Slmgr.vbs

1.     Execute Slmgr.vbs with the -ipk option using the following command, where MAK is the Multiple Activation Key:

cscript C:\Windows\System32\Slmgr.vbs -ipk MAK


2.     To force immediate activation of Windows on a computer with Internet connectivity using the new MAK, issue the following command:

cscript C:\Windows\System32\Slmgr.vbs -ato


Note   The above code examples assume that Windows Vista is installed in the C:\Windows folder. Other Slmgr.vbs options let users obtain the IID and install the CID used with telephone activation.


Note   For more information on Windows Vista Privacy Statement, see



Here is a test and results that was run on a Toshiba M4 with Windows Vista RTM:


C:\Windows\system32>cscript C:\Windows\System32\Slmgr.vbs -ato

Microsoft (R) Windows Script Host Version 5.7

Copyright (C) Microsoft Corporation. All rights reserved.


Activating Windows(TM) Vista, Enterprise edition (cfd8ff08-c0d7-452b-9f60-ef5c70

c32094) ...

Product activated successfully.

Comments (1)

Skip to main content