Utilizzando questo sito, accetti il politica sulla riservatezza.
Accettare
EnterineEnterineEnterine
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
    • Azzurro
    • ConfigMgr/SCCM
    • Dpm
    • Orchestratore
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Ufficio 365
    • Insider dell'ufficio
    • Potenza BI
    • Skype
    • SQLServer
    • Squadre
  • FINESTRE
    • Centro di amministrazione di Windows
    • Cliente Windows
    • Windows Server
  • Elenco raccolte query SCCM
Lettura: How to Stop a Stuck Hyper-V Virtual Machine
Ridimensionamento dei caratteriAa
EnterineEnterine
Ridimensionamento dei caratteriAa
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
  • FINESTRE
  • Elenco raccolte query SCCM
Ricerca
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
    • Azzurro
    • ConfigMgr/SCCM
    • Dpm
    • Orchestratore
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Ufficio 365
    • Insider dell'ufficio
    • Potenza BI
    • Skype
    • SQLServer
    • Squadre
  • FINESTRE
    • Centro di amministrazione di Windows
    • Cliente Windows
    • Windows Server
  • Elenco raccolte query SCCM
Hyper-V

How to Stop a Stuck Hyper-V Virtual Machine

Pubblicato: Febbraio 18, 2024
3 Lettura minima
CONDIVIDERE

How to Stop a Stuck Hyper-V Virtual Machine.

Contenuto
Metodo 1Metodo 2Metodo 3

It is stuck in the Stopping or Running state and doesn’t give any Turn Off, Shutdown, Salva, 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!

Metodo 1

If you have a small number of VMs:

  1. Aprire Task Manager and view the Details scheda;
  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, E End Process.

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

Metodo 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, E 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 (non VM GUID).

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

Metodo 3

Use Sysinternals Process Explorer.

TAGGATO:Microsoft Hyper-VMicrosoft Windows ServerPowershellWindowsServer2012R2Windows Server 2016Windows Server 2019
Articolo precedente Fixing PowerBI OSPlatform Error
Articolo successivo PowerShell add Windows PATH variable using setx
Lascia un commento Lascia un commento

Lascia una risposta Annulla risposta

Il tuo indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito utilizza Akismet per ridurre lo spam. Scopri come vengono elaborati i dati dei tuoi commenti.

Traduzione

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
di Transposh - plugin di traduzione per wordpress

Post popolari

Requisiti di sistema per Windows Server 2016
Windows Server
Elenco raccolte query di Gestione configurazione
Elenco raccolte query di Gestione configurazione
ConfigMgr
Navigazione strutturata/gestita abilitata nelle pagine moderne nei siti del team classici
Tecnologia
SCCM Impossibile ottenere le posizioni DP come versione prevista da MP
ConfigMgr

Post recenti

Installazione e configurazione di Fail2ban per la protezione SSH su Ubuntu 24.04
Linux
Abilitazione e configurazione di FirewallD su AlmaLinux
Linux
Creazione utente e configurazione chiave SSH in AlmaLinux
Linux
Come reimpostare la password su AlmaLinux
Linux

© 2023 Enterine

Vai alla versione mobile
Bentornato!

Accedi al tuo account

Nome utente o indirizzo e-mail
Password

Hai perso la password?