Skip to main content

Task VMWare - [Guest] Delete Directory​

The VMWare - [Guest] Delete Directory Task deletes a folder in the guest operating system.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

With Remote VMWare server, this Task needs a VMWare Connection with the Authentication type "Vix"; "vSphere" and "vSphere 7" do not support it (see Connection support). See also Connection - VMWare.

Connection sub tab​

Connection sub tab of the VMWare Guest Delete directory Task, with the Remote VMWare server and Local VMWare workstation options, Guest OS Credentials and the timeout

The Connection sub tab is the same for every VMWare Task; see Start VM for each field.

Guest OS Credentials is required: select the Credential of a user account inside the virtual machine. Before it signs in, the Task waits up to 60 seconds for VMware Tools to run in the guest, whatever the timeout says. It signs in with the VMware option that requires an interactive session, so that user must be signed in to the guest desktop.

VM Task settings sub tab​

VM Task settings sub tab of the VMWare Guest Delete directory Task, with the Folder field

  • Folder: the full path of the folder to delete in the guest. Variables are replaced in this field
warning

The folder is deleted without asking for confirmation.

Output and errors​

When VMware reports an error, the Task fails.