VMware Cloud Community
rashidmustafa
Contributor
Contributor
Jump to solution

Vmware vSpehere virtual machine memory change is not allowed

Vmware vSphere virtual machine(windows 2016  memory change is not allowed) in one of the VM in our HP simplivity HPE.

Memory change of other VM's are allowed.I removed the VM from inventory and added it again but still it won't allow to change the memory.Please help.

Reply
0 Kudos
1 Solution

Accepted Solutions
rashidmustafa
Contributor
Contributor
Jump to solution

I created new VM and later add the 2 existing HDD but while it boots for few second in windows but finally throws error in booting up the windows 2016 give us an option to continue, troubleshoot or power-off, so I power-off the VM & removed it from inventory.

I downloaded the original vmx file, changed the memory in the multiple of  4 MB, i.e: 64 GB & uploaded it again to datastore.

Boooted the system, now memory  reflecting  appropriately.

View solution in original post

Reply
0 Kudos
9 Replies
depping
Leadership
Leadership
Jump to solution

Are there any snapshots?

Are you suspending the VM instead of powering it off?

Reply
0 Kudos
rashidmustafa
Contributor
Contributor
Jump to solution

Im powering off the VM & not suspending, its windows 2016 standard.Even I removed from the inventory & added it again but still it is not allwoing to edit the memory size, it does give the option in a dropdown list which is very high , I need to keep it to 32 GB , either it is allowing it to 4 GB or 512 GB memory.

Reply
0 Kudos
rashidmustafa
Contributor
Contributor
Jump to solution

While VM is off it still hold 0 byte vmx.lck file which I tried to delete but it says cannot delete.

Can I just download the vmx file , change the mem size & uoload it again ???will it change the memory ??

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee
Jump to solution

Moderator: Please do not start multiple threads on the same issue.

The additional thread you created today has been deleted.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
rashidmustafa
Contributor
Contributor
Jump to solution

Update on this issue: Memory change is not allowing to edit the size of the memory but it does have the drop down list of memory with MB & GB selection & through that I can only have 4 GB or 512 GB or more , I cannot able to set this up to 32 GB. Please help

Reply
0 Kudos
rashidmustafa
Contributor
Contributor
Jump to solution

I have attached the VM setting snapshot, the way memory drop down appears

Reply
0 Kudos
khiregange
VMware Employee
VMware Employee
Jump to solution

You can fix this my creating a new virtual machine with desired configuration of memory cpu and networking settings and add the existing disk and power on the vm

Reply
0 Kudos
NathanosBlightc
Commander
Commander
Jump to solution

If you change it carefully, yes you can download the .vmx file, edit it, and then upload and register the VM again with this new one. However be careful to don't make it corrupted while you modify it with editor.

I suggest to create another VM with whatever memory config you required, and add your existing VMDK files to the new VM. I think it's a safe way and easier to do before you try to change the .vmx file. 

Please mark my comment as the Correct Answer if this solution resolved your problem
Reply
0 Kudos
rashidmustafa
Contributor
Contributor
Jump to solution

I created new VM and later add the 2 existing HDD but while it boots for few second in windows but finally throws error in booting up the windows 2016 give us an option to continue, troubleshoot or power-off, so I power-off the VM & removed it from inventory.

I downloaded the original vmx file, changed the memory in the multiple of  4 MB, i.e: 64 GB & uploaded it again to datastore.

Boooted the system, now memory  reflecting  appropriately.

Reply
0 Kudos