1.20 VMCH-80-000209

Information

Virtual machines (VMs) must remove unneeded floppy devices.

GROUP ID: V-258722RULE ID: SV-258722r959010

Ensure no device is connected to a virtual machine if it is not required. For example, floppy, serial, and parallel ports are rarely used for virtual machines in a data center environment, and CD/DVD drives are usually connected only temporarily during software installation.

Solution

Floppy drives are no longer visible through the vSphere Client and must be done via the Application Programming Interface (API) or PowerCLI.

The VM must be powered off to remove a floppy drive.

From a PowerCLI command prompt while connected to the ESXi host or vCenter server, run the following command:

Get-VM "VM Name" | Get-FloppyDrive | Remove-FloppyDrive

See Also

https://workbench.cisecurity.org/benchmarks/23620