Windows Server 2012 NFS Server Configuration

Windows Server 2012 has the option to not only share the storage with Windows Clients but with UNIX like servers too.  In this tutorial we will install and configure the Windows Server 2012 NFS server.

Steps to install NFS server

  1. Open Administrator PowerShell window
  2. Import-Module Servermanager
  3. Add-WindowFeature FS-NFS-Server,RSAT-NFS

Steps to configure an NFS Share

  1. Create a folder in a disk. ex. new-item -name foldername -itemtype directory
  2. Share folder via NFS. ex new-nfsshare -name sharename -path d:foldername  -permission readwrite
  3. If you need to enable root access. set-nfsshare -name sharename -AllowRootAccess $True

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

9 thoughts on “Windows Server 2012 NFS Server Configuration”

  1. Not working for me in 2012 essentials.
    Can you help me to share a folder with nfs in essentials,please?
    I can´t find any information.
    Thanks in advance and sorry for my english.

  2. Add-WindowFeature : El término ‘Add-WindowFeature’ no se reconoce como nombre de un cmdlet, función, archivo de script
    o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que
    dicha ruta es correcta e inténtelo de nuevo.
    En línea: 1 Carácter: 1
    + Add-WindowFeature FS-NFS-Server,RSAT-NFS
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Add-WindowFeature:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

  3. Thanks for your quick answer,now i have this:
    PS C:Windowssystem32> Import-Module Servermanager
    PS C:Windowssystem32> Add-WindowsFeature FS-NFS-Server,RSAT-NFS
    Add-WindowsFeature : ArgumentNotValid: el nombre del rol, del servicio de rol o de la característica no es válido:
    ‘FS-NFS-Server,RSAT-NFS’. No se encontró el nombre.
    En línea: 1 Carácter: 1
    + Add-WindowsFeature FS-NFS-Server,RSAT-NFS
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (FS-NFS-Server,RSAT-NFS:String) [Install-WindowsFeature], Exception
    + FullyQualifiedErrorId : NameDoesNotExist,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

    Success Restart Needed Exit Code Feature Result
    ——- ————– ——— ————–
    False No InvalidArgs {}

    Thanks again. o gracias de nuevo.¿Puedo escribir en castellano?

      • Nothing,it try a search but don´t report anything,return me to command line.
        In Add/Remove Functions I only have NFS client, I can´t find NFS server,maybe you´re right and Essentials don´t have this feature.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: