Thanks so much for coming back and providing your solution to the community. This should help others that face the issue in the future. I do apologize for the inconvenience this has caused.
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue:
Your VM was showing a reduced amount of RAM, from 8GB to 2GB. This was caused by the OS not being activated.
Solution:
- Login to the machine.
- Navigate to the C:\Windows\System32\spp\store\2.0
- You will find a “tokens.dat” file. Rename it to “tokens.dat.old”
- Open command prompt as an Administrator.
- You need to configure connection to KMS servers with following command: cscript c:\windows\system32\slmgr.vbs /skms kms.core.windows.net:1688
- Then you’ll need to install product key: cscript c:\windows\system32\slmgr.vbs /ipk [key goes here]
This is key that Is matching your image and you can check it on this page:
- Post this, execute command slmgr /ato The Activation pop up – “Product activated successfully” will appear.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!