PS C:\Windows\system32> get-cluster


PS C:\Windows\system32> get-clustergroup

Name                                    OwnerNode                               State
----                                    ---------                               -----
AG1                                     srvgnpw049                              Failed
Available Storage                       srvgnpw049                              Offline
Cluster Group                           srvgnpw049                              Online

PS C:\Windows\system32> remove-clustergroup AG1
remove-clustergroup : The object has been deleted from the cluster.
At line:1 char:1
+ remove-clustergroup AG1
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Remove-ClusterGroup], ClusterCmdletException
    + FullyQualifiedErrorId : ClusterObjectNotFound,Microsoft.FailoverClusters.PowerShell.RemoveClusterGroupCommand
PS C:\Windows\system32> get-clusterresource
get-clusterresource : The object has been deleted from the cluster.
At line:1 char:1
+ get-clusterresource
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-ClusterResource], ClusterCmdletException
    + FullyQualifiedErrorId : ClusterObjectNotFound,Microsoft.FailoverClusters.PowerShell.GetResourceCommand
PS C:\Windows\system32>

I am trying to delete Cluster Role from Windows 2012 Failover Cluster but get above error in both WFC Manager GUI and PS. AG1 cluster role is still visible in GUI and Cluster Core Resources is empty in GUI.

Please advise how AG1 role can be removed and cluster core resources be visible again.


As a quick workaround ended up deleting whole cluster:

PS C:\Windows\system32> Import-Module FailoverClusters
PS C:\Windows\system32> clear-clusternode
Are you sure you want to forcefully clean up cluster node SRVGNPW049?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
PS C:\Windows\system32>

And then recreating a new one.


You can find details of "How to remove the Availability Group feature" here.

Connect to the server instance that hosts the primary replica, if possible, or connect to another server instance that is enabled for Always On Availability Groups on a WSFC node that possess the correct security credentials for the availability group.

Use the DROP AVAILABILITY GROUP statement, as follows:


where group_name is the name of the availability group to be dropped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.