logo elektroda
logo elektroda
X
logo elektroda

Win10 Pro Computer Can't Access Ubuntu Server Shared Folders on LAN - Samba, Ping Works, Error

turek77 13155 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17463656
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    Hello.
    I have a problem with one computer (WIN10 PRO).
    I have about 30 computers on the network that have shared network folders from the server (Ubuntu server + samba). On this one (new) computer, I can't connect to shared folders. Ping works but if I enter the address in the bar \\ 192.168.14.100 it shows "Windows cannot access \\ 192.168.14.100". Diagnosing has no solution.
    I was looking for possible solutions but nothing worked.
    What I did?
    - system reinstall
    - adding a password to the user
    - enabling guest account
    - enabling "SMB 1.0 / CIFS file sharing support
    - setting the network to Private

    I will add that the computer is assigned to the right workgroup, has the option of network discovery enabled and can see the entire network environment (unfortunately I cannot access the shared printer). Password sharing is disabled ...

    Does anyone have any idea?
  • ADVERTISEMENT
  • #2 17463687
    End
    Level 29  
    Posts: 1750
    Help: 54
    Rate: 68
    Hello,

    And can it communicate with other computers?
    Is there a firewall such as ESET or something?
  • #3 17463695
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    Other ping computers receive but cannot connect to them through the network environment. After double click I get information about the lack of access ...
    As for the firewall, it is a clean installation, without av, and I disabled the firewall in windows defender.
  • ADVERTISEMENT
  • #4 17463710
    jprzedworski
    Network and Internet specialist
    Posts: 5353
    Help: 758
    Rate: 825
    Are the "Computer Browser" and "Workstation" services on this computer running?
  • #5 17463716
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    Yes, both services are started and set to Automatic.
    It is interesting that the internet works properly (I browse websites, download files). Something is online ...

    /// edit

    When attempting to map a network drive (although it cannot find it through the address bar), the following message appears: "Unable to create mapped network drive due to the following error: You do not have access to this shared folder because organization security policies prevent access by unauthenticated guests. These policies help protect your computer against dangerous or malicious devices on the network. "

    wtf ???
  • ADVERTISEMENT
  • #6 17465323
    End
    Level 29  
    Posts: 1750
    Help: 54
    Rate: 68
    And if you share a directory publicly on one of these 30 computers, then you can't deny access?
  • #7 17465499
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    I cannot enter this directory. Refusal.
    I can see computers on the network but I can't access any ...
  • ADVERTISEMENT
  • #8 17466346
    KOCUREK1970
    Network and Internet specialist
    Posts: 35138
    Help: 3787
    Rate: 5328
    Workgroup created, name assigned to all equipment the same?
  • #9 17471272
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    KOCUREK1970 wrote:
    Workgroup created, name assigned to all equipment the same?


    In the first post I wrote that the working group is set up correctly ...
    In addition, it does not have to be the same on all hardware for the computer to see the server (it is enough on the server and the computer that is to see it).
  • #10 17471631
    KOCUREK1970
    Network and Internet specialist
    Posts: 35138
    Help: 3787
    Rate: 5328
    @ turek77
    Maybe some permissions are missing to access the site / directory?
    Check on computers where it works and add what is missing where it does not work.
  • #11 17472103
    End
    Level 29  
    Posts: 1750
    Help: 54
    Rate: 68
    And if you create a directory on this computer and make it available, then you can get to this directory from other computers?
  • Helpful post
    #12 17473186
    pioflo
    Level 18  
    Posts: 204
    Help: 26
    Rate: 27
    Hmm, maybe at the first connection you entered and remembered the password / user?

    See Control Panel -> Credentials Manager -> Windows Credentials
    Check if you have an entry for IP 192.168.14.100 and if necessary edit or delete it.
  • #13 17476828
    turek77
    Level 7  
    Posts: 14
    Help: 1
    Rate: 5
    @pioflo in fact there was nothing in the credentials ... I added the server ip and login and password and found ... The network drive came back but I still can't connect to the shared printers ... Other computers do it without a problem ... I can see the computer sharing on the network but I am denied access ... I was looking at another computer and there is no additional credentials ... Anyone have any idea? Network discovery is on ...

    aaa and when trying to connect to the computer sharing the printer I don't have a password prompt ... I just can't access. On the computer sharing everything is set up as it should be because 4 computers use its printer ... The fifth I just connected in 5 seconds ... And this damn little can't ...

Topic summary

✨ A user is experiencing issues accessing shared folders on an Ubuntu server with Samba from a Windows 10 Pro computer, despite successful pinging of the server. The user has attempted various troubleshooting steps, including system reinstallation, enabling guest accounts, and configuring SMB 1.0/CIFS support, but still cannot connect. Other users on the network can access shared resources without issue. Responses suggest checking firewall settings, ensuring necessary services are running, verifying permissions, and managing Windows Credentials. The user later discovers that adding credentials for the server allows access to network drives, but issues persist with shared printers, indicating potential permission problems or misconfigurations on the printer-sharing computer.
Generated by the language model.

FAQ

TL;DR: 30 PCs on the LAN; one Win10 Pro can't open Samba shares: "Guest access in SMB2 is disabled by default." Fix by enabling secure authentication or the temporary insecure guest logons policy, then map drives with stored credentials. Printers may still require credentials and permissions. [Guest access in SMB2 is disabled by default]

Why it matters: This helps Windows 10 users fix \server access errors to Ubuntu/Samba shares and restore file and printer sharing reliably.

Quick Facts

  • Windows 10 (1709+) blocks unauthenticated SMB guest sessions by default; use accounts or enable “Enable insecure guest logons” if required. [Guest access in SMB2 is disabled by default]
  • SMB1/CIFS is deprecated and unsafe; prefer SMB2/SMB3 on both Windows and Samba servers. [Stop using SMB1]
  • Adding a Windows Credential for \192.168.14.100 restored drive mapping on the affected PC. [Elektroda, turek77, post #17476828]
  • Matching workgroup names aren’t required when connecting via \IP; browsing and access are separate. [Elektroda, turek77, post #17471272]
  • Instead of disabling Defender Firewall, allow File and Printer Sharing on Private networks. [File sharing over a network in Windows]

Why do I get "You do not have access... unauthenticated guests" on Windows 10?

Windows 10 blocks guest SMB access by default for SMB2/SMB3. That message appears when the server expects guest access. Use real user credentials or temporarily enable the "Enable insecure guest logons" policy. Microsoft notes, "Guest access in SMB2 is disabled by default." [Guest access in SMB2 is disabled by default]

How do I enable insecure guest logons (temporary workaround)?

  1. Open gpedit.msc → Computer Configuration → Administrative Templates → Network → Lanman Workstation.
  2. Set "Enable insecure guest logons" to Enabled and apply.
  3. Reconnect to \server\share. Use this only while you transition to authenticated access. [Guest access in SMB2 is disabled by default]

How do I store Samba credentials in Windows so access works?

  1. Open Control Panel → Credential Manager → Windows Credentials.
  2. Add a Windows credential: Internet address = server IP or name, Username and Password = Samba user.
  3. Reconnect the share or map a drive. Windows will use this credential without prompting. [Credential Manager]

Ping works but \\192.168.x.x fails—what does that mean?

Ping only tests ICMP reachability. SMB access can still fail due to guest restrictions, credentials, or firewall rules. Test using the full UNC path to a share, like \192.168.14.100\share. Ensure File and Printer Sharing is allowed on the Private profile. [File sharing over a network in Windows]

Should I enable SMB1/CIFS to fix access?

No. SMB1 is obsolete and risky; leave it disabled. Instead, use SMB2/SMB3 and proper credentials. Microsoft states, "SMBv1 is not installed by default." Update Samba if needed to support modern protocols. [Stop using SMB1]

Which Windows services must be running to access network shares?

Ensure the Workstation service is running, as it handles SMB client connections. Open services.msc and verify Workstation is set to Automatic and Started. Forum experts also ask to check this when diagnosing share issues. [Elektroda, jprzedworski, post #17463710]

I can see computers in Network, but I get Access Denied—why?

Discovery and access are separate. You may see devices but still be blocked by guest restrictions or missing credentials. Connect directly using \IP\share and supply a valid account, or add a Windows Credential. Access can be denied even when the directory is visible. [Elektroda, turek77, post #17465499]

How do I map a network drive when browsing fails?

Use the UNC path directly.
  1. In File Explorer, right‑click This PC → Map network drive.
  2. Enter \192.168.14.100\share and check "Connect using different credentials."
  3. Enter the Samba username and password and finish. [Map a network drive in Windows]

Windows never asks for a username/password—how do I change that?

Windows uses cached credentials. Open Control Panel → Credential Manager → Windows Credentials. Remove or edit entries for the server name or IP. Reconnect the share and select "Use different credentials" when mapping to enter the correct account. [Credential Manager]

Why can’t I access a shared printer even though drives now work?

Printer shares may still require authentication and matching permissions. Add the printer via \host\printer using a valid account. Confirm your user is allowed on the printer share. In the case discussed, four PCs printed fine while one remained denied until credentials were addressed. [Elektroda, turek77, post #17476828]

What Samba settings help Windows 10 clients connect securely?

Create named users and require authentication. In smb.conf, use security = user, set server min protocol = SMB2, and avoid guest-only shares. If you must allow guests, do so intentionally and understand the risks. [Samba Guest Access]

Do workgroup names have to match to access Ubuntu Samba shares?

No. Accessing by \IP or DNS works regardless of workgroup. Matching names mainly affect browsing visibility. The server and the client just need compatible SMB and valid credentials when authentication is required. [Elektroda, turek77, post #17471272]

Is there a command-line way to test access with credentials?

Yes, use net use. Example: net use \192.168.14.100\share /user:USERNAME PASSWORD /persistent:no If it connects, your credentials and SMB path are correct. You can then map the drive in Explorer. [net use]

Edge case: Enabling SMB1 makes Network browsing appear—should I keep it?

No. SMB1 may restore legacy browsing, but it remains insecure and unsupported. Keep SMB1 disabled and fix authentication or DNS instead. Modern discovery and access work without SMB1, and the old Computer Browser relied on SMB1. [Stop using SMB1]
Generated by the language model.
ADVERTISEMENT