Disclaimer
Let me stress before I begin that the below configuration is for testing only. It involves insecure settings on the Windows 2008 server so do not use this information for a production solution.
Background
In an effort to learn about ESX 4.0, or vSphere, I set up 4 VMs within VMWare Workstation 6.5.2 using the below configuration:
- 2 VMs to run ESX 4.0. I used the instructions at xtravirt.com (get them here) to create the VMs.
- 1 VM to run vCenter server.
- 1 VM to serve as a domain controller. vCenter cannot be installed on a domain controller, hence the need for another VM. By the way, you don’t need a domain environment for vSphere, but I wanted one to test with.
All my installs went fine. However problems arose when attempting to use the vCenter server (OS: Windows 2008) as my NFS server. I had used Windows 2003 in the past with no issue for a similar set up so I was stuck for awhile. Google searches revealed others with the same issue but no solutions (that I could find). I’m happy to report I did finally get it working…steps below. The following assumptions apply:
- You have already added the File Server role with the Services for Network File System (NFS) role service and that you have an NFS share created. For a walk-thru of this go here.
- Your ESX host’s have a VMKernel port properly configured to allow access to the NFS server. Confirm the configuration is correct by vmkping’ing the NFS server from the host itself.

Steps to enable ESX hosts to access NFS share on Windows 2008.
- Edit the NTFS permissions of the shared folder to allow the ANONYMOUS LOGON group Full Control.
- On the NFS Sharing tab click the Manage NFS Sharing button. Check the Allow anonymous access box.
- Click the Permissions button. In the NFS Permissions dialog click Add. Select Host and enter the IP address of your first ESX host. Set the permissions to Read/Write and select the Allow root access box and click OK. Repeat the proceedure for your other ESX host.
- Click OK three times then Close. If a warning pops up about how insecure this configuration is, clickYes. Remember, this is for testing only.
- Open the Local Security Policyeditor (Start>Administrative tools>Local Security Policy), expand Local Policies, and click Security Options.
- Locate the Network Access: Let Everyone permissions apply to anonymous userspolicy and make sure it is set to Enabled.
- Reboot the NFS server. When it comes back up you should be able to mount the NFS share from the ESX host(s) within vCenter.






Perfect information – works quite well!
I did all this got the storage to been seen by the ESX 4 host, but cant seem to use it for creating VM guests, the shared folder had the ISO as well,pointed to the ISO file on the Shared 2008 folder, it doesnt work.
Sadly it took me four hours to find this. The Local Policy setting did the trick for me. I’m SO glad you posted this. Well done!
Chris
I’m glad you got it going Chris.
Steve
I have been at this for 7 hours we have followed each step and checked it over at least 100 time, I am unable to get my ESXi 4 to connect, If someone could do a web x session with me to look over my sholder that would be wonderfull, in addition my cell phone is 504-908-3428 Brian Baker
Ok, it works but NFS throughput MB/s is almost zero. Did anyone try to clone a VM to the NFS data store? it takes hours to clone a 3GB VM
Hi,
we configure Windows 2008 host slight differently by installing Identity for Unix (role service) on our AD Domain Controller and set Services for NFS on W2008 server to use the AD authentication (also we create AD user and group with mapping to ESXi root GID=0 UID=0).
Datastore was created and accessible for ESXi.
But we have huge problem because when we try to copy the data W2008 server with NFS share crashed (hangup the whole system) and must rebooted. We try on two different HP server models one with Windows 2008 and second with Windows 2008 R2. Same result – server hangs/crash. There are no BSOD, there no trace in logs on possible cause.
Anybody knows where is the problem ?
We copy for test not so big (8GB) folder with turned off virtual machine using datastore copy/paste function from vSphere client.
Hi Mike. You might want to check out Xtravirt.com as they recently published a whitepaper on this topic. http://xtravirt.com/nfs-storage-configuration-for-vsphere-using-windows-2008
Steve