none
my virtual machine freeze , how i start my virtual machine ? RRS feed

  • Question

  • i use rhel 7 in virtual machine. when i stopped virtual machine, it stop responding. all option of this virtual machine are freezed.i can not use any hyper-v menu for this virtual machine. now how i start this virtual machine ?
    Wednesday, September 20, 2017 5:47 AM

Answers

  • Hi,

    If you want to start the VM, open powershell and type in

    Start-VM '<vm name>'

    If you need to power off the VM and you don't have any other option to do it, use powershell for that. 

    First you need to find VM Process ID

    Get-WmiObject Win32_Process -Filter "Name like '%vmwp%'" | Select-Object ProcessId, @{Label="VMName";Expression = {(Get-VM -Id $_.Commandline.split(" ")[1] | Select-Object VMName).VMName}} | ft -AutoSize
    This will give you a list of the VM´s and the Process Id´s.
    Next you can use Stop-Process command to kill the VM
    Stop-Process <ProcessID>

    Now try to start the VM again

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

    Please remember to mark the replies as answers if they help.

    nedimmehic.org





    • Edited by Nedim Mehic Wednesday, September 20, 2017 5:59 AM
    • Marked as answer by Mahmudul hasan9 Wednesday, September 20, 2017 6:33 AM
    Wednesday, September 20, 2017 5:54 AM