I am on the latest version of VMWare Workstation. In my VMWareTools I have configrued an individual script file (start.bat) to be started when the (guest) OS is booted. Unfortuantely it does not run when starting the guest system as intended.
- When pressing “run now” it works
- Running the script from CMD works as well
- I have changed the service (VMWareTools service) to run under different users – no success
- All Users (of the service) have had Administrator privileges
I have no idea what is going wrong. Maybe someone is having an idea ….
I had the power section of the VM mis-configured. From the documentation.
Similar scenario applies when Starting up. With the correct setting the script start. Once you know the answer -as always – it is so obvious. However, the other comment remains an interesting alternative.
Just a hint: When running the script, VMWare reported the script did not successfully run, which it did. Setting
ERRORLEVEL = 0at the end of the script avoids this issue.