Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Answering a virtual machine related question from the command line (1026835)

Last Updated: 3/20/2024Categories: How toTotal Views: 11445Language:
JapaneseEnglish

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

You are unable to start a virtual machine after you copy or move it to a different host.

You are unable to start a virtual machine after resolving a problem with a datastore.

No questions are displayed in the vSphere Client.

Resolution

This issue may occur if:

You do not have vSphere Client.

vSphere Client cannot connect to the host to answer the initial question.

vSphere Client cannot connect to vCenter Server to answer the initial question.

To resolve this issue, run a vim-cmd command that sends the answer for the startup question to the virtual machine.

To run the command:

Check for the question in the vmware.log file in the virtual machine directory. For example:

Mar 30 06:03:52.988: vmx| Msg_Question:
Mar 30 06:03:52.988: vmx| [msg.uuid.altered] This virtual machine may have been moved or copied.
Mar 30 06:03:52.988: vmx|
Mar 30 06:03:52.988: vmx| In order to configure certain management and networking features VMware ESX needs to know which.
Mar 30 06:03:52.988: vmx|
Mar 30 06:03:52.988: vmx| Did you move this virtual machine, or did you copy it?
Mar 30 06:03:52.988: vmx| If you don't know, answer "I copied it".
Mar 30 06:03:52.988: vmx|
Mar 30 06:03:52.988: vmx| ----------------------------------------

If you have received the question, run this command to determine the virtual machine ID:

[root@user ~]# vim-cmd vmsvc/getallvms
80 VC4.1-user [datastore1] VC4.1-user/VC4.1-user.vmx winLonghorn64Guest vmx-07

For example, in this output, the virtual machine ID is 80.

Run this command to get the question ID:

root@user ~]# vim-cmd vmsvc/message 80

You see output similar to:

Virtual machine message 12:
msg.uuid.altered:This virtual machine may have been moved or copied.

To configure certain management and networking features VMware ESX needs to know which.

Did you move this virtual machine, or did you copy it?
If you don't know, answer "I copied it".

0. Cancel (Cancel)
1. I _moved it (I _moved it)
2. I _copied it (I _copied it) [default]

In this example the question ID is 12, and there are three choices: 0, 1, 2.

To answer the question, run this command with the virtual machine ID and the Question ID followed by the choice number.

[root@user ~]# vim-cmd vmsvc/message VM_ID 12 2

For example to answer the question with choice 2, run:

[root@user ~]# vim-cmd vmsvc/message 80 12 2

The parameters in order are: 80 is the virtual machine ID, 12 is the question ID, and 2 is the choice number.

Note: In vSphere Client 5.x, if you see Virtual machine message _vmx1, run the command:

[root@user ~]# vim-cmd vmsvc/message VM_ID _vmx1 2

For example to answer the question with choice 2, run:

[root@user ~]# vim-cmd vmsvc/message 80 _vmx1 2

Related Information

仮想マシンに関連する質問にコマンド ラインから回答する

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
A guia Summary do host do ESXi 5.0 exibe o aviso: Logon do sistema não configurado no host (2006834)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vCenter Server

Related Versions:

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

Take Our Survey

Support Assistant