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

Hicari Huang 20 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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,562 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,376 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,942 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,580 questions
Windows Licensing
Windows Licensing
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
95 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian 15,171 Reputation points Microsoft Vendor
    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.