VMware Workstation

 View Only

 Shared folder being automatic disabled during creation

Caio Cesar's profile image
Caio Cesar posted Feb 10, 2025 12:37 AM

Im working on a software to create virtual machines, im creating the .vmx file myself and modifying the values necessary to automatic enable shared folder, i.e:

isolation.tools.hgfs.disable = "FALSE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "..."
sharedFolder0.guestName = "..."
sharedFolder0.expiration = "session"
sharedFolder0.present = "TRUE"
sharedFolder.maxNum = "1"

But when i start the machine i get the following pop up message and on the machine shared folders is not being enabled.

Win10Host, Im using Workstation 17.5 Pro because on newer version they have removed unity 😏

I also noted that something automatic modify the value of isolation.tools.hgfs.disablefrom FALSE to TRUE
I have some files that need to be accessed/read from the shared folder during installation, how to disable this behaviour ?