Partager via


ActivateOffline method of the Win32_WindowsProductActivation class

The ActivateOffline WMI class method permits offline system activation using the confirmation ID provided by the Microsoft Clearinghouse license server. You must call the GetInstallationID method before calling this method.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

uint32 ActivateOffline(
  [in] string ConfirmationID
);

Parameters

ConfirmationID [in]

Confirmation ID obtained from the Microsoft Clearinghouse license server. This value is generated from the installation ID.

Remarks

This method is the scriptable equivalent of manual telephone activation.

Note

Windows Product Activation is not available on the Itanium-based versions of the Windows operating system.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
End of client support
Windows XP
End of server support
Windows Server 2003 R2
Namespace
Root\CIMV2
MOF
Licwmi.mof
DLL
Licwmi.dll

See also

Win32_WindowsProductActivation

Windows Product Activation Provider