Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- An error occurred while attempting to connect to server "server.local". Check that the
- Virtual Machine Management service is running and that you are authorized to
- connect to the server.
- Hyper-V encountered an error trying to access an object on computer 'server.local' because
- the object was not found. The object might have been deleted. Verify that the Virtual
- Machine Management service on the computer is running.
- # sconfig.cmd: Enable "Configure Remote Management"
- # sconfig.cmd: Add Local Administrator
- # sconfig.cmd: Enabled Remote Desktop
- Enable-PSRemoting
- Enable-WSManCredSSP -Role server
- sc start vmms # Is this the "missing object"?
- netsh advfirewall set currentprofile state off # Let's try disabling firewall
- Set-Item WSMan:localhostClientTrustedHosts -Value "server.local"
- Enable-WSManCredSSP -Role client -DelegateComputer "server.local"
- # Changed group policy: "Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow delegating fresh credentials with NTLM-only server authentication" by doing: "Click Enable and add wsman/fqdn-of-hyper-v-host."
- # Disabled firewall
- # dcomcnfg > COM SECURITY > Access Permissions > Edit Limits > Anonymous Login > ALLOW Remote Access
- cmdkey /add:YOURSERVERNAME /user:USERNAMEONTHESERVER /pass:THEPASSWORDOFTHATUSER
- Enable-PSRemoting
- Enable-WSManCredSSP -Role server
- Enable-PSRemoting
- Set-Item WSMan:localhostClientTrustedHosts -Value server-1
- Enable-WSManCredSSP -Role client -DelegateComputer server-1
- Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
- cmdkey /add:server-1 /user:Administrator /pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement