ClearProductKeyFromRegistry method of the SoftwareLicensingService class

Not supported. Use the ClearProductKeyFromRegistry method.

Windows Vista and Windows Server 2008: Clears the product key from the registry.

Syntax

uint32 ClearProductKeyFromRegistry();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
End of server support
Windows Server 2008
Namespace
Root\CIMV2
MOF
SLWmi.mof
DLL
SLWmi.dll

See also

SoftwareLicensingService

ClearProductKeyFromRegistry