

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 在 License Manager 中停用自行管理的许可证
<a name="deactivate-license-configuration"></a>

停用自行管理的许可证后，使用该许可证的现有资源不会受到影响，并且仍然可以启动 AMIs 使用该许可证。不过，不再跟踪许可证使用情况。

停用自管理许可证后，不得将其附加到任何正在运行的实例。停用后，无法使用自管理许可证执行启动。

**停用自管理许可证**

1. 打开 License Manager 控制台，网址为[https://console.aws.amazon.com/license-manager/](https://console.amazonaws.cn/license-manager/)。

1. 在左侧导航窗格中，选择**自管理许可证**。

1. 选择自管理许可证。

1. 选择**操作**，**停用**。当系统提示您确认时，请选择 **Deactivate (停用）**。

**使用命令行停用自管理许可证**
+ [update-license-configuration](https://docs.amazonaws.cn/cli/latest/reference/license-manager/update-license-configuration.html) (Amazon CLI)
+ [更新-LICMLicense 配置](https://docs.amazonaws.cn/powershell/latest/reference/items/Update-LICMLicenseConfiguration.html) (Amazon Tools for PowerShell)