79306411

Date: 2024-12-24 20:10:07
Score: 1
Natty:
Report link

Use the VMware Tools Configuration Utility to control removable devices from the command line in the guest operating system.

https://docs.vmware.com/en/VMware-Tools/12.4.0/com.vmware.vsphere.vmwaretools.doc/GUID-009A09B7-60F0-4B38-8908-C7D712E7E63E.html

command in windows guest: VMwareToolboxCmd.exe

command in Mac OS X guest: vmware-tools-cli

command in Linux, FreeBSD, Solaris: vmware-toolbox-cmd

The required subcommands are "device enable/disable <device_name>".

The device name can be found using the "device list" subcommands.

With a script containing the required command, you can also connect and disconnect the devices from the command line in the host using "vmrun [...] runProgramInGuest [...] <path_to_script>".

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: random user