Share via


ClearProductKeyFromRegistry method of the SoftwareLicensingService class

Clears the product key from the registry.

Syntax

uint32 ClearProductKeyFromRegistry();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll

See also

SoftwareLicensingService