VMware Communities
miechovy
Enthusiast
Enthusiast

VMRUN: login to Windows 10 by command line vmrun tool

Is there a possibility to login to Windows 10 by VMRUN tool from command line? Yes, we have a set named "autologin" to add user and password and it works fine. But I mean the same by the command line using by VMRUN tool.

The primary command doesn't work:

vmrun -gu USER -gp PASSWORD path-to.vmx -> system is started but no auto login.

Reply
0 Kudos
1 Reply
wila
Immortal
Immortal

Hi,

The gu and gp options are for being able to do things in the guest that require guest credentials.

For example to run a command in the guest or to copy files to the guest or...
They are not for having the VM login automatically.

As you say, you need to define that functionality within the VM itself, if you want to login automatically then you have to call a command in the guest that does that for you. I'm not aware of that even existing.

_
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva