To protect the product key using the "Slmgr.vbs /cpky" command, is the usage of publicKeyToken="31bf3856ad364e35" correct?

Hicari Huang 25 Reputation points
2024-08-15T06:43:41.6133333+00:00

System Information:

Operating Systems: Windows 10 IoT Enterprise LTSC 2021 and Windows 11 IoT Enterprise LTSC 2024

Issue Summary:

I am currently writing an unattend.xml file and encountered some issues while using the "Slmgr.vbs /cpky" command to protect the product key.

Windows for business | Windows Client for IT Pros | Devices and deployment | Licensing and activation
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-15T07:25:40.8733333+00:00

    Hello,

    Use the "slmgr.vbs /cpky" command to remove the product key from the registry to protect it from being compromised.

    However, publickeytoken="31bf3856ad364e35" doesn't seem to be relevant to this command. This PublicKeyToken is typically related to the signing of .NET assemblies and not to Windows activation or product key management.

    https://learn.microsoft.com/en-us/windows-server/get-started/activation-slmgr-vbs-options

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.