Cannot start virtual machine in cluster

Михаил Андросов 396 Reputation points
2022-12-18T12:17:15.147+00:00

Hi!
The virtual machine is running in a Hyper-V cluster. After stopping the VM, I can't start it. The virtual machine starts and immediately stops. An error is displayed
Source: Failover Clustering
ID: 1069
Cluster resource 'Virtual Machine MS-VS-13' of type 'Virtual Machine' in clustered role 'MS-VS-13' failed. The error code was '0x775' ('The referenced account is currently locked out and may not be logged on to.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it. Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

I can't figure out which account the link is to. What can be done to solve the problem?
Filover cluster based Windows Server 2012 R2

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
Windows for business Windows Server Storage high availability Clustering and high availability
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,751 Reputation points
    2022-12-20T09:29:35.323+00:00

    Hi. Thank you for your question and reaching out. My name is John and I’d be more than happy to help you with your query.

    Using PowerShell, it is much simpler to locate and end the virtual machine process that isn't responding. Run the Hyper-V "Hyper-V administrators" group-account as an administrator in the PowerShell console.

    A VM process must be terminated using its GUID. The VM GUID can be found by name. Run the following command, for instance, to obtain the GUID for the VM with the name SVM-GUARDEDHOST1.
    $VMGUID = (Get-VM "SVM-GUARDEDHOST1").ID

    You can list every VM registered on this Hyper-V host along with their ID if you don't want to input the complete name of the VM:
    Get-VM | Select VMName, VMId, path

    Copy your VMID from the list that appears.

    The process identifier (PID) for this VMGUID in vmwp.exe is:
    $VMWMProc = (Get-WmiObject Win32_Process | ? {$.Name -match 'VMWP' -and $.CommandLine -match $VMGUID})

    After that, you must use the Stop-Process command to forcibly end the Hyper-V virtual machine's process:
    Stop-Process ($VMWMProc.ProcessId) –Force

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.