I fix my problem by changing the local user in a administrator (from the AD) now my new problem is
My script load into my console screen but nothing more, i can see that
After one hour, nothing more... and the script does nothing (i try a echo toto > c:\test.txt and nothing happend)
The command i'm using :
Invoke-VMScript -vm $VM ScriptText "runas /user:$GuestUser $MYSCRIPT" -ScriptType BAT -GuestUser $GuestUser -GuestPassword $GuestPassword