In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
It is believed that there is nothing many inexperienced people can do about why AWS EC2 Windows instance activation fails. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
I will guide you through such a scenario: Amazon EC2 Windows instance message: Windows activation failed (Windows activation failed), how to fix this problem?
Short description
The Windows instance is activated using AWS Key Management Service (AWS KMS). If your instance cannot connect to the AWS KMS server, you may receive a Windows activation error message. Alternatively, there may be problems with the AWS KMS client configuration.
Activate Windows manually
1. Update EC2Config.
For Windows Server 2012 R2 and earlier: update EC2Config first, and then restart the instance.
For Windows Server 2016 and later: run the following command to set the correct route to the AWS KMS server:
PS C: > Import-Module "C:\ ProgramData\ Amazon\ EC2-Windows\ Launch\ Module\ Ec2Launch.psd1" PS C: > Add-RoutesPS C: > Set-ActivationSettingsPS C: > slmgr / ato
If Windows is still not activated, proceed to step 2.
two。 Add Port
AWS KMS runs as TCP traffic on port 1688. Be sure to add an exception to allow AWS KMS traffic on any security or firewall software that controls outbound connections from your instance.
3. Add Port
Set your Windows AWS KMS setting key. First, set the key for your operating system version to identify the correct KMS client. Then run the following command as an administrator:
Slmgr.vbs / ipk .
3. Set the IP address of the Windows AWS KMS computer
Sets the IP address of the Windows AWS KMS computer. An instance from VM Import or an older version of EC2-Classic may not have the correct AWS KMS server IP address. Run the following command as an administrator: slmgr.vbs / skms 169.254.169.250virtual 1688
3. Activate Windows
To activate Windows, run the following command as an administrator: slmgr / ato
After reading the above, have you mastered the method of why AWS EC2 Windows instance activation failed? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.