Windows 10: What are the different ways to programmatically connect to a nfs shared folder? How...

Discus and support What are the different ways to programmatically connect to a nfs shared folder? How... in Windows 10 Software and Apps to solve the problem; Hi, so I have currently shared a nfs folder from linux, enabled nfs features in windows and I am now able to mount this folder as a drive. On enabling... Discussion in 'Windows 10 Software and Apps' started by Sloth_Lord, Jan 21, 2025.

  1. What are the different ways to programmatically connect to a nfs shared folder? How...


    Hi, so I have currently shared a nfs folder from linux, enabled nfs features in windows and I am now able to mount this folder as a drive. On enabling unsecured logins I can also access this using the address bar in file explorer. I want to know if it is possible to connect to the nfs share using WNetAddConnection API, In the event viewer I can see that this defaults to smb when attempting to connect, but then I want to know why it works with the address bar in file explorer. Also according to some resources online I need to set guid and uid to be able to write to the folder/drive. I have do

    :)
     
    Sloth_Lord, Jan 21, 2025
    #1

  2. Error when mounting NFS Share

    Hello

    I have been trying to mount a NFS share from windows server 2022 on windows 10.

    whenever i tried to mount the share on win10 i got this message:

    C:\Users\admin>mount -o anon \\192.168.1.250\sharebox x:

    Network Error - 1204



    Type 'NET HELPMSG 1204' for more information.

    i tried everything and still no success .

    i tried a third party nfs tool on the client part that helps navigate the nfs share without mounting them and it works just fine . even showmount -e command shows the share :

    showmount -e 192.168.1.250

    Exports list on 192.168.1.250:

    /sharebox 192.168.1.231

    any suggestions?
     
    Mahmoud Al.Gendy, Jan 21, 2025
    #2
  3. Frogger Win User
    ?? How do I PW protect Folders in windows

    hmmm?
    Sharing files and folders overview You can share the files and folders stored on your computer, on a network, and on the Web. The method you choose depends on whom you want to share files with, and what computer they will use to access the files.

    When you share files or folders, they are not as protected as they are when you do not share them. People with access to your computer or your network might be able to read, copy, or change files that are in a shared folder. You should always be aware that the files and folders that you share are available to other people and be sure to monitor your shared files and folders on a regular basis.

    Important

    If your computer is not joined to a domain, you can use the Network Setup Wizard to automatically turn file and printer sharing on or off. To start the Network Setup Wizard, click Start, click Control Panel, click Network and Internet Connections, and then click Network Setup Wizard.
    If you both use the same computer

    You can put the files you want to share in the Shared Documents folder. Files stored in the Shared Documents folder or its subfolders are always available to other users on your computer.

    Step-by-step procedure
    Note

    If you are connected to a network domain, the Shared Documents, Shared Pictures, and Shared Music folders are not available.
    If both computers are on the same network

    You can share a folder or drive on your computer with others on the network. You can also control whether the files in the shared folder can be modified by other users.

    If your computer is connected to a network domain, use this procedure:

    Step-by-step procedure
    If your computer is connected to a workgroup, use this procedure:

    Step-by-step procedure
    Note

    If you are connected to a network domain, you will need to set the Access control for the folder or drive after sharing it. For more information, go to To set, view, change, or remove file and folder permissions.
    If you want to share your files online

    You can publish pictures and documents on the Web using the Web Publishing Wizard. The files will be stored in a private, online folder that you manage.

    Step-by-step procedure

    If you don't want others to access your files

    You can prevent other users from accessing your folders and the files they contain. When your computer is connected to a domain, this is called setting permissions for your file or folder. When your computer is connected to a workgroup, this is called making your folders private.

    If your computer is connected to a network domain, use this procedure:

    Step-by-step procedure
    If your computer is connected to a workgroup, use this procedure:

    Step-by-step procedure

    'HELP' it can be your friend *Smile What are the different ways to programmatically connect to a nfs shared folder? How... :)
     
    Frogger, Jan 21, 2025
    #3
  4. What are the different ways to programmatically connect to a nfs shared folder? How...

    mount nfs share with nfs client

    Hello,

    my nfs share was exported by my centos os.

    and I refer the doc to mount the nfs share by nfs client on my windows 10 pro.

    Can I Set Up User Name Mapping in Windows Vista?

    On windows 10 version 1709

    mount nfs share successfully and permission acccess are all right

    On windows 10 version 1809

    mount nfs share successfully, but permission access is not correctly set.

    after some investigation, I find with win 10 version 1809, despite what I set AnonymousUid and AnonymousGid in the regedit under

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default

    mount always set the uid=-2 and gid=-2

    but on windows 10 version1709, the uid and gid can correctly set according to the value of AnonymousUid and AnonymousGid in the regedit.

    Do you know why? is there any solution? Thank you very much!

    ,
     
    Heming A Tang, Jan 21, 2025
    #4
Thema:

What are the different ways to programmatically connect to a nfs shared folder? How...

Loading...
  1. What are the different ways to programmatically connect to a nfs shared folder? How... - Similar Threads - are different ways

  2. What are the different ways to programmatically connect to a nfs shared folder? How...

    in Windows 10 Gaming
    What are the different ways to programmatically connect to a nfs shared folder? How...: Hi, so I have currently shared a nfs folder from linux, enabled nfs features in windows and I am now able to mount this folder as a drive. On enabling unsecured logins I can also access this using the address bar in file explorer. I want to know if it is possible to connect...
  3. Error when mounting NFS Share

    in Windows 10 Gaming
    Error when mounting NFS Share: HelloI have been trying to mount a NFS share from windows server 2022 on windows 10.whenever i tried to mount the share on win10 i got this message:C:\Users\admin>mount -o anon \\192.168.1.250\sharebox x: Network Error - 1204 Type 'NET HELPMSG 1204' for more information.i...
  4. Error when mounting NFS Share

    in Windows 10 Software and Apps
    Error when mounting NFS Share: HelloI have been trying to mount a NFS share from windows server 2022 on windows 10.whenever i tried to mount the share on win10 i got this message:C:\Users\admin>mount -o anon \\192.168.1.250\sharebox x: Network Error - 1204 Type 'NET HELPMSG 1204' for more information.i...
  5. Error when mounting NFS Share

    in Windows 10 Network and Sharing
    Error when mounting NFS Share: HelloI have been trying to mount a NFS share from windows server 2022 on windows 10.whenever i tried to mount the share on win10 i got this message:C:\Users\admin>mount -o anon \\192.168.1.250\sharebox x: Network Error - 1204 Type 'NET HELPMSG 1204' for more information.i...
  6. what's the difference between sharing and advanced sharing?

    in Windows 10 Gaming
    what's the difference between sharing and advanced sharing?: hi all,1win 102right click on a folder, click "properties", then "sharing" tab, there are "sharing" and "advanced sharing".Q:1what's the difference?2which setting will take effect if both are set?thanks,...
  7. what's the difference between sharing and advanced sharing?

    in Windows 10 Software and Apps
    what's the difference between sharing and advanced sharing?: hi all,1win 102right click on a folder, click "properties", then "sharing" tab, there are "sharing" and "advanced sharing".Q:1what's the difference?2which setting will take effect if both are set?thanks,...
  8. How do I mount a shared drive with NFS

    in Windows 10 Network and Sharing
    How do I mount a shared drive with NFS: I have most of my data on a Linux machine accessible via NFS. How can I access it on my Windows 10 system? I have edited the registry to add Uid and Gid, and enabled the NFS service. The mount command eludes me. The examples I see have "-o anon" or "-o nolock" or similar....
  9. mount nfs share with nfs client

    in Windows 10 Network and Sharing
    mount nfs share with nfs client: Hello, my nfs share was exported by my centos os. and I refer the doc to mount the nfs share by nfs client on my windows 10 pro. https://blogs.msdn.microsoft.com/sfu/2009/03/27/can-i-set-up-user-name-mapping-in-windows-vista/ On windows 10 version 1709 mount nfs share...
  10. Is there way to programmatically add folders to Windows10 Quick Access

    in Windows 10 Support
    Is there way to programmatically add folders to Windows10 Quick Access: I am running windows 10 pro I would like to add folders to quick access using a script. Using powershell, cmd, wmi etc. I know that I can access quick access by using from the run prompt shell:::{679F85CB-0220-4080-B29B-5540CC05AAB6} to take me to quick access. I have...