![Required Privilege: Administrator](/images/new-backgrounds/121858/12185843x1.webp)
Volume Activation 2.0 Operations Guide
Required Privilege: Administrator
Note: This is enforced by the Software Licensing Service and registry ACLs. A registry override in Windows Vista allows a standard user to call specific methods. These are designated with (*) after the method's name. To do this, an administrator must create and set the following new registry value:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SL
Value Name: UserOperations
Type: DWORD
Value Data: 1
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Class | Name | Type | Parameters | Description | Scope |
|
SoftwareLicensing | InstallProductKey* | unit32 | [in] string | Install a product key. | All |
|
Service |
|
| ProductKey |
|
|
|
SoftwareLicensing | InstallLicense* | uint32 | [in] string License | Install a license for the current | All |
|
Service |
|
|
| product. |
|
|
SoftwareLicensing | InstallLicensePack | uint32 | [in] string | Install a license package for the | All |
|
Service | age* |
| LicensePackage | current product. |
|
|
SoftwareLicensing | SetKeyManagemen | uint32 | [in] string | Sets the name of the Key | KMS |
|
Service | tServiceMachine |
| MachineName | Management Service computer to use | client |
|
|
|
|
| for Volume Activation. |
|
|
SoftwareLicensing | ClearKeyManagem | uint32 |
| Clear Key Management Service | KMS |
|
Service | entServiceMachine |
|
| computer name. | client |
|
SoftwareLicensing | SetVLActivationInt | uint32 | [in] uint32 | The activation frequency, in minutes, | KMS |
|
Service | erval |
| ActivationInterval | of how often the current computer |
|
|
|
|
|
| should contact the Key Management |
|
|
|
|
|
| Service computer before the client is |
|
|
|
|
|
| licensed. The frequency must be |
|
|
|
|
|
| greater than or equal to 15 and less |
|
|
|
|
|
| than or equal to 43200. An error is |
|
|
|
|
|
| returned if the method is called and |
|
|
|
|
|
| the computer is not a Key |
|
|
|
|
|
| Management Service. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Microsoft Corporation | Page 22 |