How to Setup VMware Workstation Server and Share Virtual Machines in Windows 10

If you have a powerful host computer with multiple virtual machines on it at your home or office, you can simply share those VMs via the network with others. Instead of complying and migrating virtual machines to different computers or access is via the RDP protocol over the network, we can leverage the built-in VMware virtual machine share feature.

This guide shows how to make your VMware workstation as server and share virtual machines from the host computer. Then other users can access them from remote workstations through network.  Virtual machine sharing in VMware workstation is called ‘Shared VMs’  and it is a built-in feature without additional installations.

Basically ‘Shared VMs’ feature allows you to share a particular virtual machine via network. So, remote users can use their VMware workstation to access shared virtual machines which running on your computer. You can create multiple users and assign different access levels for shared VMs. According to VMware, up to 100 remote users can connect to a single shared virtual machine at a time. It is really a great feature when it comes to production or testing environment. Instead of deploying same virtual machine on different computers, we can just share it from a single host and access it from multiple remote hosts.

The process involves two major steps:

  1. Enable VMware server on Worskatation – This is the one-time initial setup
  2. Share the particular VM

Step1: Enable VMware Workstation Server

Where ever you are having the VMware workstation either on Windows, Linux or macOS, we must enable the server feature. It has few initial setups and configuration.

1) Launch the VMWare workstation program.

2) Click on ‘Edit’ and ‘Preferences’.

3) in ‘Shared VM’s filed, mostly you will see the below screen. It indicates that the server (VM share) feature is not enabled yet.

VM Share Initial Option

4) You must have administrative privilege on the Windows 10 computer to proceed further. Click on ‘Change Settings’ and ‘Enable Sharing’ as shown below.

Enable Sharing Option

Here is the Error: Failed to configure the Workstation Server

You may not get this error all the time, but I got it while enabling the sharing option.

Failed To Configure The Workstation Server

Basically, there is a Windows service called ‘VMware Workstation Server’. It should be running to make this setup work. If it is not running, we can manually start the service. But if you get the above ” Failed to configure the Workstation Server” error message, I’m sure even the particular Windows service can’t be started normally.

Windows Service Failed To Start

 

 

Once the VMware Workstation Server service started and enabled, we can proceed to the next step to share the virtual machines.

Things to Know about Sharing Virtual machines in VMware workstation

1) The virtual machine should be powered off for sharing.

2) There is a ‘Shared Virtual machine directory’ on host to have all shared VMs’ files and folders.

shared VMs location

Because I already have shared VMs on my host, the above settings can not be changed. So, better change the settings before sharing any VMs or you have to stop the VMs share and edit the settings.

All files related to shared VM will be moved into ‘Shared VMs location’ after sharing.

3) In two ways a VM can be shared.

a) Move the original VM (sharing the original VM). In this case, the particular machine will be moved to shared VMs location. You will not have separate (the original) copy of  VM.

b) Make a full clone of VM and move it (sharing the clone VM). In this case, the full clone of VM will be shared and moved to shared VMs location. But you will still have your original VM separately.

transfer type

4) A Virtual machine with linked clones can be shared only by making full clone of VM.

linked clone

More useful and important information about sharing virtual machines in VMware workstation is available here at official site.

How to Share a Virtual Machine in VMware Workstation

1) Make sure virtual machine sharing is enabled and running. By default the VM sharing is working through 443 (https) port, so your computer firewall or any other firewall/anti virus programs should allow incoming https (443) port traffic.

enabled vm share

2) Now right click on the virtual machine you would like to share and select Share under Manage option as shown below.

vm share

3) Next option is to select whether you like full or clone move, select the appropriate option.

Important Note:  By sharing a VM, the all related files (virtual hard disk and snapshot) will be moved the ‘VM Shared Library’ location from original location. So, make sure that the target location is having enough disk space to accommodate shared VM.

In this example, I have moved a full VM without cloning, and it consumed around 8GB disk space for all files.

Once VM is shared, it will be listed out under ‘Shared VMs’ as shown below. Also, one more new view will appear right side of screen to show the command tasks initiated by remote users (its very similar to vSphere hypervisors)

shared vm

4) Permissions to control shared virtual machine can be managed under ‘Permissions’ ( Right Click on Shared VM –> Manage –> Permissions).  There are few pre-made permission Roles available to assign to users. The local (or domain) windows users or groups can be added to users list from the host computer where VMware workstation is running.

permissions

By default local host computer’s administrators group has full permission for shared VMs.

Mostly that’s all required from VMware workstation which is hosting shared virtual machines.

 

How to Access Shared VMs from Remote VMware Workstation

In this example, I will be accessing the shared VM (VMware ESXi5) from other laptop which is having VMware workstation 8 and connected network.

5) Make sure the network is working fine between the host (which is having shared VMs) and the remote computer (from where you are trying to access shared VM). You can try pinging hosts.

6) On the remote workstation, select ‘Connect to Server’ as shown below.

connect to server

7) Type the IP address or hostname (if it can be resolved) and user name with password of target host. In this example, I have typed my Windows user name and password of the host computer which is having shared VMs.

login details

If the network communication is fine and VMware VM sharing is working OK with allowed  port 443 traffic in firewall (or firewall is completely switched off), you must be prompted to accept/ignore the certificate message and remember the user name/password screen.

8.) Once the authentication is succeeded, you can see the shared VMs under new tab with host’s IP or PC name. The main screen will give the basic information about the available physical recourses on the host. It will be easy to understand the available (or free) hardware resources  before powering on any VMs, because the VM will be running from the original host, not from the remote host.

after loged in

Depending on the permissions and roles level, you can play around with the shared VM from remote host.

I hope this guide would have given some basic information about how to share virtual machines in VMware workstation on a host and how to access it from a different remote host.

Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

3 thoughts on “How to Setup VMware Workstation Server and Share Virtual Machines in Windows 10”

  1. Hi Dinesh,

    Thanks for this. I have set my network up like this. But I wanted to know something more about this:

    “Can more than 1 user access it at the same time using different logins to the shared VM? I have shared my Windows 8 with 2 more users but when I share it, we all login as the same user to the VM (They login to the server as different user) and we all are using same copy and can see what others are doing. Could we have multiple instances of users in the same image (like TS)?”

    Thanks.

  2. Thanks for update. Please let me know how do I access my guest Operating systems from WAN. My environment details as follows.
    Windows XP (Base Machine) Public IP, 10.0.0.1
    Windows Server 2003 (Guest OS) 10.0.0.10
    Windows Server 2008 (Guest OS) 10.0.0.11
    ESXi 4 (Guest OS) 10.0.0.12

Comments are closed.

Pin It on Pinterest

Shares