Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
JAX script to start VMware vm from Viscosity that used to work stopped working with latest VMware Fusion

BigSur 11.6.1

After upgrading Fusion to 12.2.0 a vmrun command that used to work when run using an AppleScript (JAX) from a given Viscosity VPN pre-connection event simply stopped working. This script when run directly from AppleScript IDE works fine. Tried adding user, password and admin privileges flag yet it will not start the vm when run as a Viscosity VPN event.

This is the snippet of code that attempt to start the VPN:

var app = Application.currentApplication();
app.includeStandardAdditions = true;
try {
    app.doShellScript("ping 192.168.20.128 -c 1");
} 
catch (err) {
    app.doShellScript("'/Applications/VMware Fusion.app/Contents/Library/vmrun' start '//Users//<username>//Virtual Machines.localized//OpenWRT21-RW.vmwarevm//OpenWRT21-RW.vmx'", {userName:'<username>', password:'<password>', administratorPrivileges:true, alteringLineEndings:false});
}

Any ideas? Something changed with vmrun that suddenly when run from a context different than the interactive user context makes it fail?

( I have a separate post in VMWare communities where I'm sharing all my misadventures with Fusion 12.2: https://communities.vmware.com/t5/VMware-Fusion-Discussions/Fusion-12-2-breaks-otherwise-properly-working-networking-in/m-p/2872773#M175912 )

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!