GetInstallationID method of the Win32_WindowsProductActivation class
The GetInstallationID WMI class method retrieves the installation ID.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
uint32 GetInstallationID( [out] string InstallationID );
Receives the installation ID if the method completes successfully. Otherwise, this part will be empty.
The installation ID is a string generated from the product ID (PID) and the computer's hardware ID. This string is identical to the installation ID that is displayed on the telephone activation page and is 50 digits in length. The customer must supply the installation ID to the Microsoft Clearinghouse license server to obtain a confirmation ID. The confirmation ID is required to call the ActivateOffline method.
Note that each call to the GetInstallationID method generates a unique installation ID. You must match the confirmation ID with the corresponding installation ID.
Windows Product Activation is not available on the Itanium-based versions of the Windows operating system.
|Minimum supported client
|Minimum supported server
||Windows Server 2003
|End of client support
|End of server support
||Windows Server 2003 R2