Vmware take ownership не запускается
We use VMWare Workstation 14 at work as the hypervisor for a number of virtual machines that run on our server. A few days ago we lost power on the server while our database virtual machine (VM) was running. I have since tried to start that virtual machine, but VMWare Workstation keeps popping up with an error message that says 'This virtual machine might have been moved or copied (pic). In order to configure certain management and networking features, VMWare Workstation needs to know if this virtual machine was moved or copied. If you don't know, answer 'I copied it'. I then have the choice: 'I moved it', 'I copied it' and 'Cancel'. I have tried 'I moved it' and 'I copied it' and VMWare Workstation tells me that 'Taking ownership of this virtual machine failed' (pic). I cannot start the virtual machine. We really need to get to our databases - can you please help? "
I asked if Paul would like me to connect to his server using my remote desktop support service in order to have a closer look, and he agreed.
Below I will discuss my findings.
5. The device was unable to connect to its ideal host controller
Depending on the guest OS you are virtualizing, VMware Workstation selects the most suitable version for the USB controller of your virtual machine.
However, this can be problematic in some cases.
For example : you can't plug an USB 3.0 key into an USB 3.0 port on the host PC and pass it to a virtual machine using a USB 2.0 or lower controller.
If VMware Workstation displays the "New USB Device Detected" window, select the virtual machine to which you wish to connect the USB key (or any other USB support).
As mentioned above, you will not be able to plug an USB 3 key into an USB 3 port on the host PC and pass it to a virtual machine using version 2.0 or lower of the USB controller.
In this case, an error will be displayed :
Due to the previous error, an error will also be displayed in the guest OS :
If you click on this message, you will see a window appear with an "USB Root Hub" and an "Unknown Device" (which corresponds to your USB key).
In the device manager, you will see the same problem.
To solve this problem, simply plug your USB key into a USB 2.0 port on your host PC.
Or change the version of the virtual machine's USB controller to USB 3.0 if you want to connect it to a USB 3.0 port on your host PC.
7. Binary translation is incompatible with long mode on this platform
Lorsque vous lancez une de vos machines virtuelles, un de ces messages apparait :
Ces erreurs surviennent lorsque la virtualisation du processeur n'est pas supportée par votre processeur (CPU), le BIOS de votre carte mère ou que celle-ci n'est pas activée par défaut dans le BIOS de votre carte mère.
Si votre processeur supporte la virtualisation du processeur (Intel VT-x ou AMD-V), il vous suffit de l'activer dans le BIOS de votre carte mère.
Important : if you have just installed VMware Workstation and the "This host supports Intel VT-x, but VT-x is disabled" error message appears, restart your computer at least once.
If this error message persists, then processor virtualization is not enabled and/or supported by the BIOS of your motherboard.
Что делать, если при попытке запуска виртуальной машины в программе-гипервизоре VMware или её проигрывателе машина не запускается, при этом выдаёт ошибку «VMware Workstation does not support virtualized performance counters on this host» . Эта ошибка присуща всем программам-гипервизорам компании VMware, давайте посмотрим, как её можно решить. Когда эта ошибка появляется при запуске виртуальной машины, в окошке ошибки есть отсылка на сайт поддержки VMware.
Где описывается причина и предлагается решения.
Причиной ошибки, в частности, в среде Windows являются запущенные хост-процессы Hyper-V , нативного гипервизора Windows.
Если в Windows активен непосредственно сам Hyper-V, машины других программ-гипервизоров не запускаются, и это касается всех подряд машин. А вот при активности не самого Hyper-V, а системных компонентов типа песочницы Windows, базирующихся на технологиях Hyper-V, в сторонних программах-гипервизорах виртуальные машины могут вести себя по-разному и выдавать, в частности, такую ошибку.
Компания VMware в качестве решения этой проблемы предлагает зайти в настройки процессора выключенной машины и отключить опцию виртуализации счётчиков производительности.
Можете попробовать этот вариант, но, увы, он не всегда может решить проблему.
Кардинальное её решение для Windows – отключить системный компонент, базирующийся на технологиях Hyper-V, который провоцирует конфликт в работе сторонних гипервизоров.
Чтобы отключить этот компонент, в панели управления заходим в раздел «Программы», запускам включение/отключение компонентов Windows.
И, снимая галочку, отключаем компонент, вызывающий конфликт, в нашем случае это песочница Windows.
Несмотря на то, что VMware Workstation является лучшим гипервизором для Windows, в частности, в плане стабильности работы, у него могут возникать определённые сложности. Это может быть, например, ошибка запуска виртуальной машины «Cannot open the configuration file» - ошибка, означающая, что VMware не может открыть файл конфигурации машины, поскольку тот либо повреждён, либо отсутствует. Что делать в такой ситуации? Как восстановить работоспособность виртуальной машины?
Пересоздание виртуальной машины
Пересоздадим машину. Запускаем создание новой.
Указываем выборочный тип конфигурации.
Жмём «Далее».
Указываем, что мы позже установим гостевую ОС.
Указываем установленную на оставшемся виртуальном диске гостевую ОС, её версию и разрядность.
Указываем тип BIOS , какой был у удалённой машины.
Указываем ядра процессора, выделяемую оперативную память.
Контроллеры и тип диска.
На этапе выбора диска выбираем использование существующего виртуального диска.
Жмём кнопку обзора и указываем путь к оставленному виртуальному диску. Указываем основной файл «.vmdk» (или «.vhd») .
Всё – теперь виртуальная машина с новым файлом конфигурации, и она должна запуститься без проблем.
3. Conflict detected : Panda USB vaccine
The problem is that from the moment you use VMware Workstation, you will not be able to use the automatic vaccination of USB keys with Panda USB Vaccine.
When at least 1 virtual machine is running with VMware Workstation, if you plug an USB key on your physical PC, VMware Workstation and the currently powered virtual machine will be freezers.
Which is very problematic.
To avoid this conflict, we recommend that you no longer use Panda USB Vaccine on your PC where VMware Workstation is installed.
Update : this problem no longer occurs on Windows 10 v2004.
How to Fix: VMWare 'Taking ownership of this virtual machine failed' Error
The error message "Taking ownership of this virtual machine failed" (pic) may occur when you move or copy a virtual machine, in the event if power is lost on the host, or if the virtual machine is corrupt. To avoid losing power to a virtual machine, the host / server / machine running the hypervisor should have an uninterrupted power supply (UPS) and a RAID with battery backup.
That said, there is a way to fix this problem, which requires manually moving around some files where the virtual machine is stored.
At this point, the virtual machine should now start. If it does not then you are welcome to contact me for additional support, described next.
6. This VMware USB Device can perform faster
If you plug an USB 3.0 key or any other USB storage medium (such as an external hard drive) to an USB 2.0 port on your host PC, this message will be displayed on the host PC where VMware Workstation is installed.
When you pass this USB 3.0 key to your virtual machine, a similar message will appear :
However, the USB key will be accessible from the guest OS.
As you can check in the device manager.
4. Conflict detected : Disk Management
As you probably know, on Windows, you can manage disks (and their partitions) by right-clicking on Computer (or This PC), then clicking on : Disk Management.
The problem is that when virtual machines run on VMware Workstation on your PC, there is a good chance that your PC (including VMware Workstation and the "Computer Management" console) will start blocking (freezing).
Update : this problem no longer occurs on Windows 10 v2004.
It's pretty annoying, but be aware that this bug only occurs if virtual machines are running when you want to manage physical PC disks.
If no virtual machine is currently running, disk management will be possible without any problem.
PS : if you konw other conflicts that occur each time in the same way, don't hesitate to point them out in comments for us to add them in this tutorial.
Файл конфигурации виртуальной машины
Итак, при запуске машины получаем ошибку открытия файла конфигурации. Следовательно, этот файл повреждён или отсутствует. В некоторых случаях ошибка может быть обусловлена недостаточным наличием прав для открытия файла.
Можно попробовать запустить VMware Workstation с правами администратора, открыть машину, выключить гостевую ОС и попробовать снова запустить машину в программе без прав администратора. Если это не поможет, придётся виртуальную машину пересоздать. Но на базе её существующего виртуального диска.
Файл конфигурации машин VMware – это файл формата «.wmx» , где хранятся параметры эмуляции оборудования и прочие настройки, которые мы указываем при создании машин и потом меняем их. Файл конфигурации хранится в папке виртуальной машины, его путь прямо указан в окошке сведений.
Повреждение или удаление файла конфигурации влечёт за собой невозможность работы виртуальной машины. Однако этот файл никак не влияет на содержимое виртуального диска. В последнем сохранено состояние гостевой ОС, и после пересоздания машины мы продолжим работу с этой гостевой ОС. Разве что будут утеряны какие-то данные последнего сеанса работы гостевой ОС, если у машины было приостановленное, а не выключенное состояние. Ну и также будут удалены снапшоты, если они использовались.
2. Freeze of a virtual machine
When you run too many virtual machines at the same time or you have mismanaged the amount of RAM allocated to them, your virtual machines may fail.
If it's not too late, try pausing them to prevent the guest OS from being damaged. Then, restore the virtual machines one by one by stopping them correctly before "booting" the next virtual machine.
If it's too late, you may not be able to force the virtual machine to shutdown from VMware Workstation.
Indeed, in this case, we wanted to shut down Windows properly by sending the Windows shutdown ACPI signal from VMware Workstation (via the "Shut Down Guest" option).
The problem is that the virtual machine never stopped, and because the virtual machine was shut down, no more options were available for this virtual machine.
Even when you want to close VMware Workstation to force the virtual machine to shut down, it will not work because VMware Workstation will display this warning : Virtual machine is busy.
In this case, you will only have 2 possibilities :
- shut down your computer : except that shutting down your computer will take a long time, because of this problem. Even if in the end after a few minutes, even 10 minutes, the host PC will finally turn off properly.
- stop other virtual machines that you can still shut down properly, then kill the "vmware-vmx.exe" process that allows the virtual machine to run on the host PC.
The only problem is that you can't know which instance of the "vmware-vmx.exe" process corresponds to which virtual machine.
For security, you will have to shut down all possible virtual machines before killing this process or processes. Otherwise, you risk cutting off a virtual machine that was still running correctly.
Confirm the action.
Like magic, the virtual machine will be considered shut down by VMware Workstation.
Nevertheless, don't forget that the sudden shutdown of the "vmware-vmx.exe" process only allows you to recover your hand on the management of the host PC.
Indeed, by killing the "vmware-vmx.exe" process, the host PC will become unstable because of the information left in its RAM.
This may result in a slower shutdown of your host PC when you shut down Windows this time.
Once the host PC is shutdown and then power on again (and not with an automatic restart from Windows), the RAM will be correct again.
This solution therefore only allows you to save what you were doing, rather than losing important changes because of a virtual machine that would have become unstable.
Additional 1-on-1 Support, From Dennis
If you are still stuck with the VMWare Workstation error "Taking ownership of this virtual machine failed", or if the virtual machine still won't start despite applying the instructions described in this article, I can help using my remote desktop support service. Simply contact me, briefly describing the issue and I will get back to you as soon as possible.
1. Take ownership error
At some moments, you may not have access to a virtual machine (even if it's down and not password protected).
When you want to access it from VMware Workstation, a "This virtual machine appears to be in use" warning is displayed.
VMware Workstation offers you to obtain the rights on it by clicking on : Take Ownership.
This warning can occur in 2 cases :
- you have opened 2 windows of VMware Workstation and you are trying to open the same virtual machine from the 2 windows. In this case, click : Cancel.
- VMware Workstation has become unstable or a bug is temporarily blocking you from accessing it. In this case, click : Take Ownership.
Most of the time, it will fail and this message will appear :
Note that in older versions of VMware Workstation, the icon displayed was an error icon and the "Remove" button did not exist.
With these older versions, you had to click OK.
Since VMware Workstation can't open this virtual machine, a red icon appears on it.
To solve this problem, close all open VMware Workstation windows and open VMware Workstation again, but as an administrator.
Now, you will have access to your virtual machine.
From now, you will be able to access it again normally (without having to restart VMware Workstation every time as administrator).
Got a Computer Question or Problem? Ask Dennis!
I need mor e computer questions. If you have a computer question - or even a computer problem that needs fixing - please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.
Сегодня, при запуске виртуальной машины (работает под управлением VMware Workstation) столкнулся с такой проблемой:
This virtual machine appears to be in use. If this virtual machine is already in use, press the "Take Ownership" button to obtain ownership of it." Otherwise, press the "Cancel" button to avoid damaging it.
Could not open virtual machine. Taking ownership of this virtual machine failed. The virtual machine is in use by an application on ypur host computer.
Решением проблемы является необходимость удалить директорию блокировки (*.lck), которая находится в папке виртуальной машины.
При этом кликанье по кнопке “Take Ownership” не приносит никаких результатов. Обычно, такая неприятность связана со сбоями в работе хостовой системы, чаще всего эта ошибка возникает при холодном рестарте хоста при помощи Reset’a без предварительного завершения работы гостевых систем. Решается же эта проблема достаточно просто — нужно, всего лишь, найти и удалить все файлы с расширением .lck в папке с виртуальной машиной. После этого можно спокойно продолжать работу с гостевой системой.
Alex1983
VMware Workstation — известная программа для виртуализации систем. Данный продукт является мощным решением для разработчиков программного обеспечения и системных администраторов, создающих и тестирующих полно-комплексные сетевые приложения класса серверов, работающие в различных средах. Уникальная технология VMware MultipleWorlds позволяет изолировать операционные системы и приложения в пределах создаваемых виртуальных машин, причем в распоряжении каждой виртуальной машины оказывается стандартный компьютер x86, с собственным процессором и памятью.
Новая платформа предлагает расширенные возможности для разработчиков приложений, инженеров по контролю качества, специалистов по продажам технологических решений и IT-администраторов. Одним из самых заметных нововведений пакета VMware Workstation 8 стала расширенная поддержка 32-битных и 64-битных версий Windows. Для отображения состояния виртуальных машин теперь полноценно используются функции Flip 3D и Aero Peek, реализованные в интерфейсе Windows 7. Пакет VMware Workstation 8 стал первым продуктом с полной поддержкой графической оболочки Aero в системах Windows 7. Существенно расширен перечень трехмерных приложений на базе технологий DirectX 9.0c Shader Model 3 и OpenGL 2.1, которые можно запускать в виртуальных машинах Windows.
- Одновременный запуск нескольких гостевых операционных систем на одном компьютере
Запуск виртуальной машины в окнах рабочего стола основной операционной системы и на полный экран
Установка виртуальных машин без пере-разбиения дисков
Запуск уже установленных на компьютере ОС без их переустановки или пере-конфигурирования
Запуск приложений операционной системы Windows на компьютере с ОС Linux и наоборот
Создание и тестирование приложений одновременно для разных систем
Запуск не протестированных приложений без риска нарушить устойчивую работу системы или потерять критичные данные
Совместное использование файлов и приложений разными виртуальными машинами за счет использования виртуальной сети
Запуск клиент-серверных и веб-приложений на одном ПК
Снимки обеспечивают сохранение состояния виртуальных машин и возврат к нему в любое время. Снимки полезны, если нужно вернуть виртуальную машину в предыдущее, более стабильное состояние. Workstation обеспечивает удобный поиск ранее сохраненных снимков и возврат к ним.
Запуск на одном ПК нескольких виртуальных компьютеров и моделирование работы локальной сети
VMware Workstation 10 delivers best-in-class Windows 8 support, and innovative
new features that transform the way technical professionals work with virtual
machines, whether they reside on their PCs or on private enterprise clouds.
*New Operating System Support
Support has been added for:
-Windows 8.1
-Windows 8.1 Enterprise
-Windows Server 2012 R2
-Ubuntu 13.10
As well as for the latest Fedora, CentOS, Red Hat and OpenSUSE releases.
*VMware Hardware Version 10
This version of VMware Workstation includes VMware hardware Version 10 and is
compatible with vSphere 5.5. Hardware versions introduce new virtual hardware
functionality and new features while enabling VMware to run legacy operating
systems in our virtual machines. New features included in this hardware
version:
*16 vCPUs
*8 Terabyte Disks
*Virtual SATA Disk Controller
*USB Improvements
*More VMnets
*SSD Pass-through
*Expiring Virtual Machines
*Virtual Tablet Sensors
*User Interface Enhancements
*Windows 8 Unity Mode Support
*Multiple Monitor Navigation
*Power Off Suspended Virtual Machines
*Remote Hardware Upgrade
*Localized into Simplified Chinese
*New Converter
*OVFTool
*VMRun Enhancements
*Cloud Management Tools
*Embedded 30-day Trial
*VMware KVM
*WSX 1.1
Fixes from 10.0.0:
*Easy Install supports RTM versions of Windows 8.1 and Windows Server 2012 R2
*Workstation or Player on Windows freezes if another application is frozen.
*Virtual machine hangs when powering off
*Improved compatibility with some AMD CPUs
*Virtual machines displayed incorrectly on a multi-monitor Windows host when
the displays have differing pixel density (DPI.)
*Boot from CD/DVD when Legacy Floppy is disabled
VMware Workstation is a professional virtualization solution that allows you to do a lot of things and is able to manage many virtual machines at the same time (if the resources of the host PC allow it).
However, in rare cases (and especially when you edit manually some settings in the vmx files), VMware Workstation can become unstable and arrive in a state where you will not be able to access or close some virtual machines.
Again, this is very rare, but here is how to solve ou avoid these problems.
Удаление виртуальной машины
Идём в проводнике по пути хранения данных машины VMware Workstation. Удаляем все её файлы, кроме виртуальных дисков – файлов «.wmdk» (или «.vhd», если используется этот формат) .
В папке машины должны остаться только файлы виртуальных дисков.
Теперь в программе VMware Workstation открываем панель библиотеки и удаляем машину с помощью контекстного меню.
Читайте также: