Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I joined two hyper-v servers to a domain and added shared storage to both of them. From what I read I should be able to run the test-cluster cmdlet at this point for it to check the configuration, but when I run it, it throws an access denied error. I'm running it as the default administrator account for the domain.

PS C:\Users\administrator.LAB> test-cluster -Node 'hyperv-02','hyperv-01'
test-cluster : Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED))
At line:1 char:1
+ test-cluster -Node 'hyperv-02','hyperv-01'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (:) [Test-Cluster], ClusterCmd
   letException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.FailoverClusters.Po
   werShell.TestClusterCommand

These are both 2012 R2 server core installations.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

oops this was my own stupidity. I had the server name wrong. The "hyperv-02" server was actually named "hypver-02". After renaming the computer the command worked. I still think the error message could have been a bit clearer though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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