- Documentation
Elastic Compute Service
Elastic Compute Service
Troubleshooting
Storage classes issue
Memory issue
Solution for Windows instance lag due to excessive hardware-reserved memory
Memory issue
Solution for Windows instance lag due to excessive hardware-reserved memory
Solution for Windows instance lag due to excessive hardware-reserved memory
This topic describes how to resolve issues of instance lag and slow system response caused by excessive hardware-reserved memory on Windows instances.
tip
- The copyright of the official Microsoft links cited in this topic belongs to Microsoft. The VolcanoEngine platform assumes no responsibility for the scope of operating systems applicable to this topic, or issues that may arise from Microsoft Windows product iterations or delayed document updates.
- This topic may contain information about third-party products. Related information is provided for reference only. The VolcanoEngine platform makes no implication or other form of commitment regarding the performance and reliability of third-party products, or potential impacts that may result from their operation.
Causes
Due to abnormalities such as incorrect configurations of the license in the Windows Registry, and abnormal changes to instance specifications (sudden increase or decrease in memory size), an instance may not be activated normally. This causes a large amount of memory to be locked or reserved (excessive hardware-reserved memory), thereby causing high memory load and slow system response or even lag.
Prerequisites
We recommend creating a snapshot first to back up instance data. This improves your fault tolerance and ensures data security. Procedure
Fix this issue by resetting the activation status of Key Management Service (KMS).
- Log in to the target instance. For more information, see Login overview.
- Open the Command Prompt (cmd) with an administrator account.
- Clear the activation information of KMS.
- Clear the server address.
- Execute the following command to clear the server address.
- Click the "Confirm" button.
- Execute the following command to detach the service key.
- Click the "Confirm" button.
- Reset the authorization status of the computer.
- Execute the following command to reset the authorization status of the computer.
- Click the "Confirm" button.
- Restart the Windows instance to make the changes take effect. For detailed operations, refer to Restarting instances.
- Reactivate the KMS service.
- Query the KMS key corresponding to the operating system version of the instance. About KMS keys.
- Execute the following commands to reactivate KMS.
warning
- Make sure that a legitimate KMS server address is used. Using unauthorized or untrusted KMS server addresses may cause activation failure, system instability, or even legal risks.
- For individual users, since personal editions of Windows are typically activated via legitimate methods, such as purchasing genuine keys, we generally do not recommend that they use KMS activation.
- Replace "your_kms_key" with the actual KMS key.
- Replace "cloudkms.ivolces.com" with the actual address of your KMS server on the VolcanoEngine platform.
- Wait for the system prompt indicating successful product activation, and then restart the instance to complete the system update.
Last updated: 2026.04.13 16:50:03