Prin utilizarea acestui site, sunteți de acord cu Politica de confidențialitate.
Accepta
EnterinITEnterinITEnterinIT
  • ACASĂ
  • IT PRO
  • TECH
  • MICROSOFT
    • Azur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Birou 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Echipe
  • WINDOWS
    • Centrul de administrare Windows
    • Client Windows
    • Windows Server
  • Lista de colecție de interogări SCCM
Lectură: How to Stop a Stuck Hyper-V Virtual Machine
Redimensionare fontAa
EnterinITEnterinIT
Redimensionare fontAa
  • ACASĂ
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • Lista de colecție de interogări SCCM
Căutare
  • ACASĂ
  • IT PRO
  • TECH
  • MICROSOFT
    • Azur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Birou 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Echipe
  • WINDOWS
    • Centrul de administrare Windows
    • Client Windows
    • Windows Server
  • Lista de colecție de interogări SCCM
Hyper-V

How to Stop a Stuck Hyper-V Virtual Machine

Publicat februarie 18, 2024
3 Min Read
SHARE

How to Stop a Stuck Hyper-V Virtual Machine.

Cuprins
Method 1Method 2Method 3

It is stuck in the Stopping or Running state and doesn’t give any Turn Off, Shutdown, Save, Pause or Reset options.

One way it’s possible to kill off that stuck virtual machine is to open Task Manger and end the task responsible for that machine. Unfortunately, it’s not quite that simple because the Virtual Machine Worker Process which is responsible for running the virtual machine appears numerous times, once for each running guest machine!

Method 1

If you have a small number of VMs:

  1. Open Task Manager and view the Details tab;
  2. You will see many vmwp.exe running processes with the Username column including the machine GUIDs;
  3. Browse to the location where the virtual machines are stored and open the folder of the virtual machine which is currently hung. From here we can find the machine configuration file and make note of the GUID for that machine;
  4. Now we know which GUID relates to the virtual machine that we are looking to stop. Jump back to Task Manager, right-click on the correct process, şi End Process.

NOTE: This process should only be used as a last resort as it could cause corruption of the virtual machine!

Method 2

If you have a bunch of running VMs. The fastest way is to find the needed VM GUID with the PowerShell command.

Get-VM <vmname> | fl *

Now we know which GUID relates to the virtual machine that we are looking to stop. Jump back to Task Manager, right-click on the correct process, şi End Process.

This command pulls a list of virtual machine names and GUIDs then compares that to a list of GUIDs in the Command Line of the processes running and returns virtual machine names with the associated Process ID (not VM GUID).

Get-WmiObject Win32_Process -Filter "Name like '%vmwp%'" | %{$vm=get-vm -id $_.CommandLine.split(" ")[1];"$($_.processID)`t$($vm.name)"}

Method 3

Use Sysinternals Process Explorer.

Etichetat:Microsoft Hyper-VMicrosoft Windows ServerPowerShellWindows Server 2012R2Windows Server 2016Windows Server 2019
Articolul precedent Fixing PowerBI OSPlatform Error
Articolul următor PowerShell add Windows PATH variable using setx
Lasă un comentariu Lasă un comentariu

Lasă un răspuns Anulează răspunsul

Adresa ta de e-mail nu va fi publicată. Câmpurile obligatorii sunt marcate *

Acest site folosește Akismet pentru a reduce spamul. Aflați cum sunt procesate datele comentariilor dvs.

Traducere

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
 Editați traducerea
de Transposh - translation plugin for wordpress

Postări populare

Cerințe de sistem pentru Windows Server 2016
Windows Server
Lista de colecție de interogări din Configuration Manager
Lista de colecție de interogări din Configuration Manager
ConfigMgr
Navigarea structurată/gestionată este activată în paginile moderne din site-urile clasice ale echipelor
Teh
SCCM nu s-a obținut locațiile DP ca versiune așteptată de la MP
ConfigMgr

Postări recente

Instalarea și configurarea Fail2ban pentru protecție SSH pe Ubuntu 24.04
Linux
Activarea și configurarea FirewallD pe AlmaLinux
Linux
Crearea utilizatorilor și configurarea cheii SSH în AlmaLinux
Linux
Cum să resetați parola pe AlmaLinux
Linux

© 2023 EnterinIT

Accesați versiunea mobilă
adbanner
Bine ai revenit!

Conectați-vă la contul dvs

Nume de utilizator sau adresă de e-mail
Parolă

Ți-ai pierdut parola?