重置 Windows 激活/删除许可证密钥

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7759642/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 08:48:40  来源:igfitidea点击:

Reset Windows Activation/Remove license key

windowslicensingactivation

提问by garlicman

I'm having a hard time finding and answer to this. If I had to hypotheitcally remove the Windows license key from a VM that's been specifically setup for a partner, and it needs to be removed before the VM is handed over, how would I go about doing this? Naturally the built-in 30 day grace period has expired and I'm using an MSDN license key, but I need to remove the key before handing the VM off. The recipient can input their own license key. e.g. how do I reset the Activation Key Wizard's nagging?

我很难找到并回答这个问题。如果我必须假设从专门为合作伙伴设置的 VM 中删除 Windows 许可证密钥,并且需要在移交 VM 之前将其删除,我将如何执行此操作?当然,内置的 30 天宽限期已经过期,我使用的是 MSDN 许可证密钥,但我需要在关闭 VM 之前删除该密钥。接收者可以输入他们自己的许可证密钥。例如,我如何重置激活密钥向导的唠叨?

回答by Justin Pearce

  1. Open a command prompt as an Administrator.

  2. Enter slmgr /upkand wait for this to complete. This will uninstall the current product key from Windows and put it into an unlicensed state.

  3. Enter slmgr /cpkyand wait for this to complete. This will remove the product key from the registry if it's still there.

  4. Enter slmgr /rearmand wait for this to complete. This is to reset the Windows activation timers so the new users will be prompted to activate Windows when they put in the key.

  1. 以管理员身份打开命令提示符。

  2. 输入slmgr /upk并等待此操作完成。这将从 Windows 卸载当前的产品密钥并将其置于未经许可的状态。

  3. 输入slmgr /cpky并等待此操作完成。如果它仍然存在,这将从注册表中删除产品密钥。

  4. 输入slmgr /rearm并等待此操作完成。这是为了重置 Windows 激活计时器,以便新用户在输入密钥时会收到激活 Windows 的提示。

This should put the system back to a pre-key state.

这应该使系统回到预密钥状态。

Hope this helps you out!

希望这可以帮助你!

回答by Kraang Prime

On Windows XP -

在 Windows XP 上 -

  1. Reboot into "Safe mode with Command Prompt"
  2. Type "explorer" in the command prompt that comes up and push [Enter]
  3. Click on Start>Run, and type the following :

    rundll32.exe syssetup,SetupOobeBnk

  1. 重新启动到“带命令提示符的安全模式”
  2. 在出现的命令提示符中键入“explorer”并按 [Enter]
  3. 单击开始>运行,然后键入以下内容:

    rundll32.exe syssetup,SetupOobeBnk

重新启动,并正常登录。

This will reset the 30 day timer for activation back to 30 days so you can enter in the key normally.

这会将用于激活的 30 天计时器重置为 30 天,以便您可以正常输入密钥。