1stetcgoldmedal
Contributor
Contributor

How to run files that require administrator privileges program via runprograminguest(vmrun)

vmrun.exe -gu Admin -gp 1 runprograminguest "D:\Virtual Machines\VM\TEST\TEST.vmx" -activeWindow -interactive -noWait C:\Users\Admin\Desktop\TEST.exe

Error: A program could not run on the guest operating system

OS : WIN8

uac warning turned off 

If I uncheck "Run with administrator privileges" in File->Compatibility = it works successfully
If I check "Run as administrator" in File->Compatibility, then = does not work.

Does anybody have the same problem as me or am I mistaken or missing something?

0 Kudos
0 Replies