NFS shared folder on Windows 11

Hi all

I’m trying to backup my iPhone 13 Pro weekly to my personal laptop.

I want to create an NFS share on my laptop using haneWIN.

I’m trying to config haneWIN NFS but failing to get it to work and can’t find a config guide to help me.

This is my config file

C:\video -readonly 192.168.1.1 192.168.1.4 192.18.1.23
“C:\Users\usr\Documents\NFS Server\New folder” -name:server -maproot:0 -alldirs -range 192.168.1.1 192.168.1.30
“C:\Users\usr\Documents\iPhone SMB share” -name:iphone13backup -w -lowercase -public -alldirs

Things I have tried and yet failed

  • I’ve tried Photosynch and that sees my laptop but fails to synch.
  • I’ve tried an SMB folder share and that fails in Windows, it appears to just time out
  • I’ve watched Chris Titus share a folder in Windows 11 but his webpage highlighting how to share a Windows 11 folder isn’t working and I can’t make out the config.
  • I’ve tried creating a share in haneWIN with the above config, exporting it, saving it and then restarting the server and that doesn’t work.
  • I’ve searched Reddit and mede8erforum.com
  • I want to try booting up into a Linux image, creating an NFS share, dumping the photos and then moving the photos to my laptops main drive.

Running an HP Elitebook with Windows 11 version 23H2. I may need to do a Windows reinstall

Can someone point me in the direction of a guide or reliable app to help me please?

I can’t plug my phone into my laptop and backup my images that way as when I do that, the Photos app just reads corrupted images on the iphone even using multiple cables.

Many thanks in advance

NFS and SMB are built into windows, no need for third party tools.
Make sure that in “Windows Features” you got “Services for NFS” enabled. Windows is also fussy about SMB-shares without password.

Can you test transferring files from a second computer?

1 Like

Hi. Thanks for the reply.

I don’t have a second computer with me - it’s currently with in storage at my mother’s bungalow that I won’t get to this year.

I realise that SMB and NFS are built into Windows but I can’t see to get an SMB share working (even with password protection enabled) and I can’t seem to find any guide to help create an NFS share on Windows.

I know how to connect to an NFS share from my Windows 11 machine but not how to create the share on the PC.

If you know of a guide to create an NFS share on Windows 11 and could link it, I’d appreciate it.

Technically you can’t create a NFS share on windows 11. The ability to host an NFS server is reserved to windows server only. However, You can theoretically create an NFS server using WSL. Just be aware that WSL runs behind a vNAT on hidden hyper-V tooling.

You will have to dredg through the command line with powershell And Microsoft documentation to set up The virtual network infrastructure correctly. As for editing the linux config files for the server, You don’t have to fully use the command line and nano. You can mount the virtual Linux filesystem into windows useing.

net use Z: \wsl$\Ubuntu-24.04

With Ubuntu-24.04 Being the distribution you installed on wsl. This mounts the file system as the Z: drive, and creates a plan 9 connection between the VM and Windows, With WSL being the plan 9 server, and Windows host being the client. You can then edit the Linux config files from the comfort of your chosen Windows text editor, With the odd command in wsl to restart services And check logs.

When you are done, You can remove the Mount with.

net use /del Z:

1 Like

edit: Forgot to set the command as preformatted.
net use Z: \\wsl$\Ubuntu-24.04

Also, a guy did a Youtube video on this. I’m new so I can’t post links, But just search the following on youtube.

Linux Tips - NFS Server on Windows Using WSL (2022)

1 Like