question

RaghuMuthappa-4492 avatar image
0 Votes"
RaghuMuthappa-4492 asked PranathiPanyam-MSFT commented

Windows deactivated after reboot.

Hi Team,

Everytime when I reboot the VM the windows is getting deactivated. I see the prompt to activate windows. I have azure key need to activate manually after every reboot. This is happening after migrated the VM to Azure.

I use windows server 2008 R2 Standard.

Please let me know if you there is permanent fix for this

Regards,
Raghu

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PranathiPanyam-MSFT avatar image
0 Votes"
PranathiPanyam-MSFT answered PranathiPanyam-MSFT commented

@RaghuMuthappa-4492 Welcome to Microsoft Platform. Thank you for posting your query here.

If you are using a site-to-site VPN and forced tunneling, see https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-forced-tunneling
If you are using ExpressRoute and you have a default route published, see https://docs.microsoft.com/en-us/azure/expressroute/expressroute-faqs

If you are not using either of them, you can directly run the below commands in an elevated command prompt to activate the window. Please refer to the document to get the product keys based on the OS version

To Activate the Windows license, follow the below steps in an elevated command prompt:

slmgr.vbs /dlv
slmgr.vbs /ipk WMDGN-G9PQG-XVVXX-R3X43-63DFG #Replace as per the version.
slmgr.vbs /ato



Kindly let us know if the above helps or you need further assistance on this issue.




Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Windows is getting activated once I run the above command but once I reboot its getting deactivated. Even after running above command its still same.

0 Votes 0 ·