Hi,
after hot adding nic device, while i am trying to use the invoke script, getting permission errors.
before hot adding nic device, everything working well.
it looks like vmware toolbox bug.
I can always reproduce this error.
I tested it on win 2008 R2 64bit, win 2003 32bit, win 2003 64bit, RHEL5.4
and i tested invoke-Script for just get direcotry info, echo a file(touch a file), run process.
before hot adding nic device, it always working well.
bug after hot adding nic device, throws permission errors.
+ Invoke-VMScript <<<< -VM $vm -ScriptText "dir" -GuestUser administrator -Gue
stPassword justpassword
+ CategoryInfo : NotSpecified: (:) [Invoke-VMScript], ViError
+ FullyQualifiedErrorId : Client20_VmGuestServiceImpl_RunScriptInGuest_ViE
rror,VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript
and I using vSphere 5.0 sdk to build very simple test code. and result is same.
my environment is like this:
VMware Tools: Version 8.6.5, Build 652272
Vcenter Server: Version 5.0.0 Build 455964
ESXi: Version 5.0.0 Build 623860
Guest OS: Windows Server 2003 64bit, Windows Server 2008 R2 64bit, Windows Server 2003 32bit, RHEL 5.4 32bit
Is this a bug? and is this fixed at vSphere 5.1 or new VMware tool version?
Is here Any one have some idea?
Thanks.
lihlcnkr