Move-VM Powershell -> Access Denied


hi everybody,

here lab :
domain : mylab.local
infra01 : 10.0.0.1
hyperv01 : 10.0.0.10
hyperv02 : 10.0.0.11
no shared volumes

enable live migration kerberos , use network.

when move virtual machine 1 host using ui works fine !
when run command : "move-vm vm01 hyperv02 -includestorage" hyperv01 works fine

(because there's but), when run same command on hyperv01 trough a pssession got following error : 

"accessdenied,microsoft.hyperv.powershell.commands.movevmcommand"

tried contact myself ... :)

idea ?

thanks,

julien

it permissions scoping. 

i had exact same issue, run powershell @ 1 server (logged in) , push vm other.  if psremoted other server push failed.

it due fact not logged in @ remote server, , don't have kerberos token.  (passing creds not form complete authentication session token, machine isolation).

in following blog post (move vm , forth):

http://itproctology.blogspot.com/#!/2012/08/my-windows-network-virtualization-demo.html

but key working in comments of script:

on remote hypervisor used powershell dedicated endpoint created  
work around credssp issues - http://blogs.msdn.com/b/taylorb/archive/2012/03/26/remote-administration-with-powershell-3-0-sessions-part-1.aspx


brian ehlert
http://itproctology.blogspot.com
learn. apply. repeat.
disclaimer: attempting change of own free will.



Windows Server  >  Hyper-V



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...