En utilisant ce site, vous acceptez le politique de confidentialité.
Accepter
EntérinEntérinEntérin
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
    • Azuré
    • Configmgr / sccm
    • DPM
    • Orchestrateur
    • Hyper-v
    • Microsoft Edge Insider
    • MSI
    • Bureau 365
    • Bureau Insider
    • Power Bi
    • Skype
    • Serveur SQL
    • Équipes
  • FENÊTRES
    • Centre d'administration Windows
    • Client Windows
    • Serveur Windows
  • Liste de collecte de requêtes SCCM
En lisant: Comment arrêter une machine virtuelle Hyper-V coincée
Redimensionneur de policeAA
EntérinEntérin
Redimensionneur de policeAA
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
  • FENÊTRES
  • Liste de collecte de requêtes SCCM
Recherche
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
    • Azuré
    • Configmgr / sccm
    • DPM
    • Orchestrateur
    • Hyper-v
    • Microsoft Edge Insider
    • MSI
    • Bureau 365
    • Bureau Insider
    • Power Bi
    • Skype
    • Serveur SQL
    • Équipes
  • FENÊTRES
    • Centre d'administration Windows
    • Client Windows
    • Serveur Windows
  • Liste de collecte de requêtes SCCM
Hyper-v

Comment arrêter une machine virtuelle Hyper-V coincée

Publié: Février 18, 2024
3 Lecture minimale
PARTAGER

Comment arrêter une machine virtuelle Hyper-V coincée.

Contenu
Méthode 1Méthode 2Méthode 3

It is stuck in the Stopping ou En cours d'exécution state and doesn’t give any Turn Off, Shutdown, Sauvegarder, 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. Malheureusement, 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!

Méthode 1

If you have a small number of VMs:

  1. Ouvrir Gestionnaire de tâches and view the Details languette;
  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 Guidage for that machine;
  4. Now we know which Guidage relates to the virtual machine that we are looking to stop. Jump back to Gestionnaire de tâches, right-click on the correct process, et End Process.

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

Méthode 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 Guidage relates to the virtual machine that we are looking to stop. Jump back to Gestionnaire de tâches, right-click on the correct process, et 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 (pas VM GUID).

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

Méthode 3

Utiliser Sysinternals Process Explorer.

ÉTIQUETÉ:Microsoft Hyper-VServeur Microsoft WindowsPowershellWindows Serveur 2012R2Serveur Windows 2016Serveur Windows 2019
Article précédent Fixation d'erreur PowerBi Osplatform
Article suivant PowerShell add Windows PATH variable using setx
Laisser un commentaire Laisser un commentaire

Laisser une réponse Annuler la réponse

Votre adresse email ne sera pas publiée. Les champs obligatoires sont marqués *

Ce site utilise Akismet pour réduire le spam. Découvrez comment les données de vos commentaires sont traitées.

Traduction

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

Articles populaires

Configuration système requise pour Windows Server 2016
Serveur Windows
Liste de collecte de requêtes Configuration Manager
Liste de collecte de requêtes Configuration Manager
Configmgr
Navigation structurée/gérée activée sur les pages modernes dans les sites d'équipe classiques
Technologie
SCCM n'a pas réussi à obtenir les emplacements DP comme version attendue de MP
Configmgr

Messages récents

Installation et configuration de Fail2ban pour la protection SSH sur Ubuntu 24.04
Linux
Activation et configuration de FirewallD sur AlmaLinux
Linux
Création d'utilisateur et configuration de la clé SSH dans AlmaLinux
Linux
Comment réinitialiser le mot de passe sur AlmaLinux
Linux

© 2023 Entérin

Aller à la version mobile
Content de te revoir!

Connectez-vous à votre compte

Nom d'utilisateur ou adresse e-mail
Mot de passe

Vous avez perdu votre mot de passe?