VAMT Preferences

The Volume Activation and Management (VAMT) settings can be accessed by clicking the Preferences menu item under the View menu on the top menu bar. The following illustration is a screenshot of the VAMT Preferences dialog box.



Screenshot of VAMT Preferences dialog box


The settings correspond to a set of registry keys described in the section below. Any changes in the Preferences dialog box will be effective immediately and will persist across VAMT sessions.

VAMT registry keys

Important

This section contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, refer to the following Microsoft Knowledge Base article: http://go.microsoft.com/fwlink/?LinkId=182912.

The following registry keys are created when installing the VAMT:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VAMT2]
ThreadPoolSize=dword:0000000a
UsePrivatePackets=dword:00000001
EnableConnectionTimeout=dword:00000001
LogRequestResponse=dword:00000000
LDAPQueryTimeout=dword:00000078
ForceExactIIDMatch=dword:0x00000000
KmsHostAutoDiscovery=dword:00000001
KmsHostName=sz
KmsHostPortNumber=dword:0x00000698
CilLocation=sz:%userprofile%\Documents\VAMT2

The following registry keys are set on a VAMT host running an x64-based operating system:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VAMT2]
ThreadPoolSize=dword:0000000a
UsePrivatePackets=dword:00000001
EnableConnectionTimeout=dword:00000001
LogRequestResponse=dword:00000000
LDAPQueryTimeout=dword:00000078
ForceExactIIDMatch=dword:0x00000000
KmsHostAutoDiscovery=dword:00000001
KmsHostName=sz
KmsHostPortNumber=dword:0x00000698
CilLocation=sz:%userprofile%\Documents\VAMT2

Registry key definitions:

  • ThreadPoolSize – Overrides the default thread pool value of 10. The valid range is from 1 to 100, in decimal notation.

  • UsePrivatePackets - When set to 1, this setting enables encryption for InstallProductKey operations. Setting this to 0 means that the product key will be transmitted in plain text from the VAMT host computer to the target computer.

  • EnableConnectionTimeout – When set to 1, the VAMT uses a default timeout of 2 minutes to contact and run Windows® Management Infrastructure (WMI) connection operations. When this is set to 0, no timeout is specified when connecting to target computers.

  • LogRequestResponse – The default value is 0. When the value is set to 1, the VAMT will generate a log file in the %temp% folder, called VAMT_RequestResponse_N.log, containing the XML data sent and received from the VAMT web service. When troubleshooting, this value should be incremented for for each log file that is created. Once troubleshooting is complete, ensure that you set the value back to 0.

  • LDAPQueryTimeout – The time, in seconds, that the VAMT will wait for an LDAP query to return computer objects, where the value of the running operating-system version is >= 6.0. The minimum value for the LDAPQueryTimeout setting is 30 seconds, the maximum value for this setting is 1800 seconds (30 minutes), and the default value is 120 seconds (2 minutes).

  • ForceExactIIDMatch - When this value is set to 1, the VAMT will attempt to enforce strict matching between the IIDs in the discovered products and the IIDs in the imported CIL file containing CIDs.

  • KmsHostAutoDiscovery - When this value is set to 1, the VAMT will instruct the client products to activate using the automatically discovered KMS host.

  • KmsHostName - This value specifies the host name for the KMS host service.

  • KmsHostPortNumber - By default, this value, which represents the KMS host service’s port number, is 1688. It can be any whole number from 0 to 9999, as long as the port can be opened and the KMS host service listens to that port.

  • CilLocation - This value is the CIL file path for the VAMT 2.0. The default value is, in the user’s Documents folder, in a directory named "VAMT2".

If any of the values in the above keys are out of the allowed range, the VAMT will use and display the default value in the corresponding entry on the Preferences dialog box. However, the values in the registry will not be modified unless users save the settings by clicking the Save button in the dialog box.

See Also