Установил Virtual Machine Manager Console (VMM) 2012 SP1 – очередной бажик (а может и фишка такая).
1 2 3 4 5 6 7 8 |
Error (20552) VMM does not have appropriate permissions to access the resource on the HYPER-V server. Recommended Action Ensure that Virtual Machine Manager has the appropriate rights to perform this action. Also, verify that CredSSP authentication is currently enabled on the service configuration of the target computer HYPER-V. To enable the CredSSP on the service configuration of the target computer, run the following command from an elevated command line: winrm set winrm/config/service/auth @{CredSSP="true"} |
заходим на сервер HYPER-V, и вводим следующие волшебные команды:
winrm qc -q
winrm set winrm/config/service/auth @{CredSSP=”True”}
Auth
Basic = false
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = true
CbtHardeningLevel = Relaxed
winrm set winrm/config/winrs @{AllowRemoteShellAccess=”True”}
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 180000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 15
MaxMemoryPerShellMB = 150
MaxShellsPerUser = 5
winrm set winrm/config/winrs @{MaxMemoryPerShellMB=”2048″}
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 180000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 15
MaxMemoryPerShellMB = 2048
MaxShellsPerUser = 5
winrm set winrm/config/client @{TrustedHosts=”*”}
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = false
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
DefaultPorts
HTTP = 5985
HTTPS = 5986
TrustedHosts = *
winrm set winrm/config/client/auth @{CredSSP=”True”}
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = true
после чего удаляем хост из VMM через Virtual Machine Manager Console и снова добавляем.
теперь все будет хорошо.