15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started
01.11.2024
6 +3

How to Create a Shared Folder in VMware Workstation

VMware Workstation is one of the most powerful desktop virtualization platforms available, enabling users to run multiple operating systems simultaneously on a single physical machine. Among its many practical features, shared folders stand out as an essential tool for seamless file exchange between your host operating system and any virtual machine (VM) running inside it.

Whether you're a developer testing cross-platform applications, a sysadmin managing isolated environments, or a power user who needs to move files between systems quickly, understanding how to configure shared folders in VMware Workstation will significantly improve your virtualization workflow. This comprehensive guide walks you through every step — from prerequisites to accessing the shared folder inside your guest OS.

1. Prerequisites

Before configuring shared folders, make sure your environment meets the following requirements.

VMware Workstation Installation

You must have either VMware Workstation Pro or VMware Workstation Player installed on your host machine. The latest version can be downloaded directly from the official VMware website.

Your host system should meet these minimum hardware specifications:

ComponentMinimum RequirementRecommended
Processor64-bit CPU, 2+ cores (Intel or AMD)4+ cores
RAM4 GB8 GB or more
Disk Space10 GB free50 GB+ (depends on VM size)
Host OSSupported Windows or Linux versionLatest stable release

> Note: VMware Workstation Player has a reduced feature set compared to the Pro edition — notably, it lacks snapshot support. Keep this in mind when planning your virtualization environment.

A Configured and Running Virtual Machine

You need at least one virtual machine already set up inside VMware Workstation. Verify the following before proceeding:

  • The VM has a fully installed guest operating system (Windows, Linux, etc.).
  • VMware Tools is installed inside the guest OS — this is critical. Without VMware Tools, shared folder functionality will not work correctly.
  • The VM's network mode (NAT, Bridged, or Host-Only) is configured according to your requirements.
  • The VM is powered on and responsive.

Recommended best practice: Create a snapshot or full backup of your VM before making configuration changes. This allows you to roll back instantly if something goes wrong.

2. Step-by-Step: Creating a Shared Folder in VMware Workstation

Step 1 — Launch VMware Workstation

Open VMware Workstation on your host machine. You should see the main interface with your virtual machine library on the left panel.

Step 2 — Select the Target Virtual Machine

From the VM library, click on the virtual machine you want to configure shared folders for.

> Important: Power off the VM before modifying its settings. Attempting to add shared folders while the VM is running may result in configuration errors or the changes not being applied correctly.

Step 3 — Open Virtual Machine Settings

Navigate to the menu bar and click Edit, then select Virtual Machine Settings from the dropdown menu. Alternatively, you can right-click the VM in the library and choose Settings.

Step 4 — Navigate to the Shared Folders Option

In the Virtual Machine Settings window:

  1. Click on the Options tab (not the Hardware tab).
  2. In the left-hand pane, select Shared Folders.
  3. On the right side, you will see the sharing configuration panel.
  4. Click the Add… button to launch the wizard.

Step 5 — Use the Add Shared Folder Wizard

The Add Shared Folder Wizard will guide you through the configuration:

a) Select a Host Folder

Click Browse and navigate to the folder on your host machine that you want to share with the VM. This can be any directory — a project folder, a downloads directory, or a dedicated shared workspace.

b) Choose a Name for the Shared Folder

Assign a recognizable name to the shared folder. This is the name that will appear inside the guest OS, so choose something descriptive (e.g., shared-projects or vm-exchange).

c) Configure Access Permissions

Select the appropriate access level:

  • Read-Only: The VM can read files from the folder but cannot modify, create, or delete them. Ideal for distributing configuration files or reference documents securely.
  • Read/Write (Enabled): The VM has full access — it can read, write, and delete files. Use this when you need bidirectional file exchange.

d) Enable the Shared Folder

Make sure the Enable this share checkbox is selected. You can also check Always enabled to ensure the folder is shared every time the VM powers on.

e) Click Finish

Review your settings and click Finish to complete the wizard.

Step 6 — Save the Configuration

Back in the Virtual Machine Settings window, confirm your shared folder appears in the list. Click OK to save all changes and close the settings panel.

3. Accessing the Shared Folder Inside the Virtual Machine

Once the shared folder is configured, power on your VM and follow the appropriate steps for your guest OS.

Accessing Shared Folders on a Windows Guest

  1. Open File Explorer.
  2. In the address bar, type the following path and press Enter:
\vmware-hostShared Folders
  1. You will see all configured shared folders listed here. You can also map any of them as a network drive for quicker access:
  • Right-click the shared folder.
  • Select Map network drive…
  • Assign a drive letter (e.g., Z:).
  • Check Reconnect at sign-in if you want the mapping to persist across reboots.

Accessing Shared Folders on a Linux Guest

Open a terminal and run the following command to list available shared folders:

ls /mnt/hgfs/

Your shared folder should appear in this directory. If it is not visible, VMware Tools may not be running correctly. Verify its status with:

sudo systemctl status vmware-tools

If VMware Tools is not active, start it:

sudo systemctl start vmware-tools

If the /mnt/hgfs/ directory is empty even after VMware Tools is running, try remounting it manually:

sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other -o uid=1000

Replace uid=1000 with your actual user ID (check with id -u).

To make the mount persistent across reboots, add the following line to /etc/fstab:

.host:/    /mnt/hgfs    fuse.vmhgfs-fuse    allow_other,uid=1000    0    0

4. Troubleshooting Common Shared Folder Issues

Even with correct configuration, you may encounter issues. Here are the most common problems and their solutions:

ProblemLikely CauseSolution
Shared folder not visible in guestVMware Tools not installed/runningInstall or restart VMware Tools
/mnt/hgfs/ is empty on LinuxHGFS not mountedUse vmhgfs-fuse to mount manually
Read-only access despite write permissionsIncorrect permission settingRe-check the shared folder settings in VM options
Folder disappears after reboot"Always enabled" not selectedEdit VM settings and enable persistent sharing
Performance issues with large filesShared folder overheadConsider using SCP or SFTP for large transfers

5. Security Considerations for Shared Folders

Shared folders create a direct bridge between your host system and the VM. This convenience comes with security implications you should actively manage:

  • Limit access scope: Only share the specific folders that the VM needs. Avoid sharing root directories or system folders.
  • Use read-only mode when possible: If the VM only needs to read files, enforce read-only access to prevent accidental or malicious modifications.
  • Audit shared folder contents regularly: Periodically review what is being shared and remove stale or sensitive data.
  • Isolate untrusted VMs: If you're running potentially untrusted software inside a VM, disable shared folders entirely to prevent data leakage or host compromise.
  • Keep VMware Tools updated: Outdated VMware Tools can contain vulnerabilities. Always run the latest version.

6. When Local VMs Aren't Enough: Scale Up with Cloud Hosting

VMware Workstation is excellent for local development and testing, but it has inherent limitations — your physical hardware constrains what you can run, and local VMs aren't accessible from anywhere. When your projects grow beyond what a desktop environment can handle, it's time to consider a more scalable infrastructure.

If you need a reliable, high-performance environment for running virtual machines, deploying applications, or hosting services, AlexHost's VPS Hosting provides flexible plans with full root access, SSD storage, and enterprise-grade uptime. For workloads that demand maximum performance and dedicated resources, Dedicated Servers give you complete control over your hardware without the overhead of shared environments.

For teams that prefer a managed, user-friendly hosting experience, Shared Web Hosting offers an affordable entry point with all the essential tools pre-configured. And if your applications require GPU acceleration — such as machine learning pipelines, rendering workloads, or AI inference — GPU Hosting delivers the raw computational power you need.

To protect your hosted services and websites, don't overlook SSL Certificates — a fundamental layer of security that encrypts data in transit and builds user trust.

Conclusion

Creating a shared folder in VMware Workstation is a straightforward but powerful capability that bridges the gap between your host machine and virtual environments. By following the steps in this guide — from verifying prerequisites and configuring the shared folder wizard to accessing it from both Windows and Linux guest systems — you can establish a smooth, efficient file-sharing workflow.

Key takeaways:

  • Always install VMware Tools in your guest OS before attempting to use shared folders.
  • Choose the correct access mode (read-only vs. read/write) based on your security and workflow requirements.
  • Troubleshoot mounting issues on Linux using vmhgfs-fuse if the standard /mnt/hgfs/ path is empty.
  • Review shared folder permissions regularly to maintain a secure virtualization environment.
  • Consider cloud-based infrastructure when your local VM setup no longer meets your scalability or accessibility needs.

With the right configuration and security practices in place, shared folders in VMware Workstation become an indispensable part of any virtualization workflow.

15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started