Hello all,
I don't know if there's a reason or it's a bug, but If I run
> vmrun -T ws -gu guestUser -gp guestPassword listProcessesInGuest VM.vmx
32bit VM will display the command line and 64bit VM will only display the name of the executable.
Example:
> vmrun -T ws -gu guestUser -gp guestPassword listProcessesInGuest 32bitVM.vmx
Process list: 24
pid=0, owner=N\S, cmd=[System Process]
pid=4, owner=N\S, cmd=System
pid=552, owner=NT AUTHORITY\SYSTEM, cmd=\SystemRoot\System32\smss.exe
pid=616, owner=N\S, cmd=csrss.exe
pid=640, owner=NT AUTHORITY\SYSTEM, cmd=winlogon.exe
pid=684, owner=NT AUTHORITY\SYSTEM, cmd=C:\WINDOWS\system32\services.exe
pid=696, owner=NT AUTHORITY\SYSTEM, cmd=C:\WINDOWS\system32\lsass.exe
pid=872, owner=NT AUTHORITY\SYSTEM, cmd="C:\Program Files\VMware\VMware Tools\vmacthlp.exe"
pid=888, owner=NT AUTHORITY\SYSTEM, cmd=C:\WINDOWS\system32\svchost -k DcomLaunch
pid=960, owner=N\N, cmd=svchost.exe
pid=1056, owner=NT AUTHORITY\SYSTEM, cmd=C:\WINDOWS\System32\svchost.exe -k netsvcs
pid=1172, owner=N\N, cmd=svchost.exe
pid=1252, owner=N\L, cmd=svchost.exe
pid=1396, owner=NT AUTHORITY\SYSTEM, cmd=C:\WINDOWS\system32\spoolsv.exe
pid=1536, owner=N\L, cmd=svchost.exe
pid=1692, owner=NT AUTHORITY\SYSTEM, cmd="C:\Program Files\VMware\VMware Tools\vmtoolsd.exe"
pid=1852, owner=NT AUTHORITY\SYSTEM, cmd="C:\Program Files\VMware\VMware Tools\VMUpgradeHelper.exe" /service
[...]
> vmrun -T ws -gu guestUser -gp guestPassword listProcessesInGuest 64bitVM.vmx
Process list: 178
pid=0, owner=, cmd=[System Process]
pid=4, owner=N\S, cmd=System
pid=276, owner=N\S, cmd=smss.exe
pid=376, owner=N\S, cmd=csrss.exe
pid=408, owner=N\S, cmd=wininit.exe
pid=436, owner=N\S, cmd=csrss.exe
pid=480, owner=N\S, cmd=winlogon.exe
pid=528, owner=N\S, cmd=services.exe
pid=536, owner=N\S, cmd=lsass.exe
pid=544, owner=N\S, cmd=lsm.exe
pid=640, owner=N\S, cmd=svchost.exe
pid=720, owner=N\N, cmd=svchost.exe
pid=812, owner=N\L, cmd=svchost.exe
pid=848, owner=N\S, cmd=svchost.exe
pid=884, owner=N\S, cmd=svchost.exe
pid=256, owner=N\L, cmd=svchost.exe
pid=540, owner=N\N, cmd=svchost.exe
pid=1176, owner=N\S, cmd=spoolsv.exe
pid=1204, owner=N\L, cmd=svchost.exe
pid=1340, owner=N\L, cmd=svchost.exe
pid=1452, owner=N\S, cmd=vmtoolsd.exe
pid=1544, owner=N\S, cmd=VMUpgradeHelper.exe
pid=920, owner=N\S, cmd=svchost.exe
[...]
Thanks in advance for your help,
Sebastien