Vagrant – Removing VM from Global Status after Deleting Folder and Files

You might have deleted the folders and files for a Vagrant virtual machine. However, you will see the machine appear under the ‘vagrant global-status’ command.

If you issue the command ‘vagrant destroy [virtualmachineid]’, you will get the following message

“The working directory for Vagrant doesn’t exist! This is the specified working directory:”

To remove the machine completely, issue the following command. ‘vagrant global-status –prune’. This will fix it.