Set up NFS Share on Windows 7/8.1/10 with Hanewin NFS and Connect to VMware vSphere

I’m posting this as an answer for a question asked by Sysprobs reader. How to configure and set up NFS share on Windows 7 and connect it to VMware ESX server as storage. Here I explain the steps I did in my test lab to create and connect storage to VMware ESXi server. Network File System (NFS) developed by Sun Microsystems to use in UNIX based systems.

Update:
Though this post was originally published in the year 2010 for Windows 7 host OS, it might work with Windows 10 and 8.1 as long as Hanewin NFS works on the latest Windows OS with proper firewall setting.

To set up NFS share on earlier Microsoft Operating systems, you need a component called ‘Windows Services for UNIX (WSFU)’ which can be downloaded from Microsoft. But WSFU is not available for Windows 7. So, creating NFS share on Windows 7 and allowing other UNIX based Operating Systems to access the share is not straight forward without third-party utilities. As mentioned earlier, this case is applicable for Windows 10 and 8.1 Operating Systems also.

haneWIN NFS Server works nicely with Windows 7 to create and share Network File Systems.  Download 30 days trial version of hanWIN NFS here. If you are happy with the product and for permanent use, get the registered version.

Steps to Configure NFS Share on Windows 7/8.1/10

1) Download and Install haneWIN product.

2) I suggest to switch off Windows firewall in Windows 7 client.

3) Right Click and Run as administrator to open it.

Configure and Set up NFS Share on Windows 74) Go to Server tab and make sure below both checkboxes are ticked.

Configure and Set up NFS Share on Windows 75) Go to the Exports tab, here we can define which drive or folder will be shared. The best part is, it doesn’t require any Windows permissions to set up. I’m going to share a folder created for ESXi storage under below location.

Configure and Set up NFS Share on Windows 7Click on ‘Edit exports file’ button, remove the example shares and add your share location.  I have added the following line in the opened text file.

Configure and Set up NFS Share on Windows 7-public to enable web-based NFS share access. More details available under help.

Note – You can’t save this file if you started the program without selecting run as administrator option.

See Also

Configure iSCSI disks on Windows computer with VMware
How to connect FreeNAS iSCSI disks to VMware ESX Server

6) Press Restart Server to take effect of changes in the export file.

edit_restart

7) That’s it. Now you have set up the Windows 7 as NFS server with share that can be accessed by UNIX based Operating systems and programs.

To view connected clients and mount points, go to Mounts tab. I managed to connect this share from VMware ESXi server. Here is the IP address of the connected client.

connected_client

Connect Windows Share with haneWIN NFS to VMware ESXi Server Storage

As described earlier, you can easily use Windows OS partitions and folders with haneWIN NFS as network storage for VMware ESX or ESXi servers without any hardware devices. It is a very simple and easy way to extend data store with Windows shares in a testing environment or home use.

Before continuing further steps in connecting the NFS share with VMware vSphere, make sure to meet the following requirements.

a) Network connectivity between VMware ESXi server and Windows host

b) Windows firewall is switched off or exception is given for NFS/storage services on Windows host.

Here is the recap of NFS share I did the setup for VMware storage.

connect Windows 7 Share to VMware ESXi

My F drive properties as shown below.

connect Windows 7 Share to VMware ESXi

1) Open vSphere client, go to the Configuration tab and click on Storage.

connect Windows 7 Share to VMware ESXi

2) Click on ‘Add storage’ at top right. Select second option Network File System.

connect Windows 7 Share to VMware ESXi

3) My Windows 7 host haneWIN NFS server IP is 192.5.2.100.

So, type the IP address in server location.

Folder name (Shared directory) should be typed as shown below.

connect Windows 7 Share to VMware ESXi

4) Click Next and OK. That’s it. Added Windows 7 share NFS will appear under VMware ESXi storage. It picks up the Windows partition capacity and free space.

If you don’t mount this as ‘Read only’, then you can use this as full fledge storage to install Operating Systems and save files.

added_storage

The good thing is, same storage (actually a Windows folder) can be accessed in Windows OS explorer too. So, it’s easy to transfer data.

from_windows

I hope this guide is useful in setting up and using Windows OS folder/partition as storage for VMware vSphere by using haneWIN NFS utility.

8 thoughts on “Set up NFS Share on Windows 7/8.1/10 with Hanewin NFS and Connect to VMware vSphere”

  1. It worked great until this morning. Then it stopped working and now I can’t see my mounts anymore. It is not mounting my exports. What to do from here?

  2. Thanks for your great tuturial, I managed to setup the NFS server successfully for sharing my media from PC to Boxee Box.

    One question: how do I add the server to the startup folder for Windows to start it up automatically? I tried to do it but I don’t know how to configure in such a way that the program is executed in administrator mode automatically.

    Hope you can help
    best regards
    Rogier

    • First, create a shortcut in the startup folder of your all users/public in the start menu folder.
      To run as administrator, get the properties of the shortcut, click the Advanced Tab, click the Run as administrator checkbox.

  3. Anton – How do I get the information into the Mounts screen/tab? In this post, it was said by DINESH at step (7)that to view the connected clients and mount points, go to the Mounts tab. He managed to connect this share from VMware ESXi server.
    Under the Edit Exports file I type in the following C:\downloads -public -name:downloads
    but it is then displayed as /downloads under the Directory column and -public under the Options column.I have downloaded VMware ESXi serverbut do not have a clue of how to install this because there are so many zip files.
    Please help!

Comments are closed.