Windows 10: Accessing public and private shares from Windows

Discus and support Accessing public and private shares from Windows in Windows 10 Network and Sharing to solve the problem; Last I knew the Windows implementation of SMB allows only one set of network credentials for a given pair of Windows user name and a remote NAS. That... Discussion in 'Windows 10 Network and Sharing' started by pokeefe0001, Feb 17, 2018.

  1. Accessing public and private shares from Windows


    Last I knew the Windows implementation of SMB allows only one set of network credentials for a given pair of Windows user name and a remote NAS. That means a user cannot access both a public and a private share on the same NAS. I know this has been discussed before but I don't remember seeing any good circumventions.

    The following is what (I think) I know about this topic. I would love to here if any of it is incomplete or incorrect.

    If the NAS has a static IP address multiple names can be assigned to the IP addr on each computer using the etc\hosts file. And I vaguely remember that you can have one set of credentials using the IP address and another using the DNS name. But I would prefer to use dynamic addressing. I've been bitten in the past by having obsolete records in my etc\hosts file, and I recently heard that Windows sometimes deletes etc\hosts. (I haven't seen that happen. It would have saved me some grief if Windows had deleted mine a while ago.)

    If I had access to my local DNS server I could add an Alias or CName record but my DNS server is buried inside of a router/wireless access point box and (as far as I can see) provides no aliasing capability.

    If the IP Resolver component of Windows allowed tweaking I might be able to provide my 3 computers with the equivalent of a CName record but I think the etc\hosts file is the only tweakable part of the Resolver.

    If a caching/forwarding DNS server were available for Windows I could probably give it DNS Alias records but I don't think there is a Windows DNS server except for on servers. And that would really be an overkill solution ... which I might be willing to try.

    I guess I could get a separate router/DNS server that would let me add CName records but tryinging to figure out the configuration hurts my head. I'm not sure it would work at all (unless maybe if the NAS had its own LAN segment connected by that new router).

    Am I missing an easy solution here? How do other people cope with this?

    :)
     
    pokeefe0001, Feb 17, 2018
    #1

  2. how do you change a network from public to private?

    To change a network from public to private in Windows 10

    Go to Control Panel > Network & Internet > Homegroup

    Click yes to share and network will change from public to private
     
    MargaretHanna, Feb 17, 2018
    #2
  3. How can I set my Wifi connection from public network to private network?

    How to Change a Wireless Network to Private or Public

    To change from a public network to a private network for vice versa, start by connecting to your network. You can do this by opening the available Network icon in the Notification area. Select the network, then connect to it. After connecting, select it then
    click Properties.

    Here you can change your Network profile to Public or Private. Choose the one that best suits your environment.

    How to Change a Wired Network to Public or Private

    If you want to change the network profile for a wired network, open Start > Settings > Network & Internet > Ethernet then click your network adapter.

    Then choose the profile you want.

    Customize Public and Private Network Settings

    You can change the settings for your public or private networks. For example, if you wanted to make your computer discoverable on public networks (not recommended) or disable file or printer sharing on a private network, you could.

    Open Start > Settings > Network & Internet, under Change your network settings, click Sharing options.

    Expand Private or public, then choose the radio box for the desired options such as turning off network discovery, file and printer sharing or accessing homegroup connections.

    MOre information:

    https://www.groovypost.com/howto/change-network...
     
    Andre Da Costa, Feb 17, 2018
    #3
  4. Kari Win User

    Accessing public and private shares from Windows

    I might have misunderstood your point, but at least I have no issues accessing both private and public folders / shares on my NAS. Of the NAS shares I always map (see screenshot), I access share with one set of credentials, Public requires no credentials because, as the name says, it's meant to be public. Share OD, my local backup for everything I store in OneDrive is again accessed with same credentials than :


    Accessing public and private shares from Windows [​IMG]


    When mapping a network share, you can use different credentials for each share simply by selecting this option:


    Accessing public and private shares from Windows [​IMG]


    The above option is not required to access public shares on NAS.
     
  5. Hmm. I'm going to have to look deeper into this. I have always had trouble with that and have read (apparently incorrectly) that a public share does take a place in wherever Windows saves credentials - effectively saying that credentials aren't needed. I have the public share permanently mapped; when I try to access the private share in File Explorer I get "Windows cannot access ..." (with the private share name provided). If I just provide the name of the NAS File Explorer brings up the public share.

    Issuing Get-Smbconnection in an elevated PowerShell I get a response showing the credentials:
    PS C:\WINDOWS\system32> Get-SmbConnection
    Code: PS C:\WINDOWS\system32> Get-SmbConnection ServerName ShareName UserName Credential Dialect NumOpens ---------- --------- -------- ---------- ------- -------- MyBookLive Public PUGET-116877\Patrick PUGET-116877\Patrick 2.0.2 1[/quote] And when I try mapping the private share without first going through FileExplorer Windows I get a popup saying the share is already mapped using different credentials. (It is not.)

    Update:
    I did some more searching and found a description of what I'm seeing:
    https://support.microsoft.com/en-us/...o-a-network-sh

    That's a fairly old article - doesn't mention Windows 10 - but it was updated on June 18, 2017.

    Obviously you are not running into this, but just as obviously, I am. *Sad
     
    pokeefe0001, Feb 17, 2018
    #5
  6. Kari Win User
    I had to test this. I found out that I was partially wrong, I apologize it.

    There are no issues in mapping both my personal shares and public (no credentials) shares at the same time. That part was correct in my previous reply. However, adding a share with different credentials, that's where I was wrong. It simply does not work.

    I added a user / share Test on my NAS, with different credentials. Trying to map this share gave the error message you told about:


    Accessing public and private shares from Windows [​IMG]


    I need to study this more.
     
    Kari, Apr 5, 2018
    #6
Thema:

Accessing public and private shares from Windows

Loading...
  1. Accessing public and private shares from Windows - Similar Threads - Accessing public private

  2. Public or Private etc.

    in Windows 10 Software and Apps
    Public or Private etc.: May have asked before but security is key. If im on computer at home in a highly networked area,computer is personal use not work,,is it Public or private i have to make sure its on????. Network wise?.If it was on the wrong one,,,,, at some point could people get into my...
  3. Network Switching from Private to Public

    in Windows 10 Network and Sharing
    Network Switching from Private to Public: Hi folksI was on my husband's laptop to change a sound setting for him and while I was checking that other stuff was working ok, I found that the network was on Public instead of Private, which is where I had it set for him the last time I did maintenance for him, months...
  4. Public or Private

    in Windows 10 Network and Sharing
    Public or Private: I have a PC on my network connected via Ethernet, should I set the network profile to Public or Private? https://answers.microsoft.com/en-us/windows/forum/all/public-or-private/b5726991-3097-48a7-8942-a09107bd04d3
  5. changing WIFI from public to private

    in Windows 10 Network and Sharing
    changing WIFI from public to private: win 10 is saying NOT CONNECTED TO NETWORK but I can go to YOUTUBE and every where else except in my own lan I went to settings....where there is supposed to be an option to pick public or private network BUT THE OPTION IS NOT THERE I have researched the internet inclubing...
  6. Network changed from Private to Public

    in Windows 10 Network and Sharing
    Network changed from Private to Public: I have windows 10 version 1803 now my wifi network connection shows public not private so I can not get to the internet. HELP https://answers.microsoft.com/en-us/windows/forum/all/network-changed-from-private-to-public/503943f0-a5e9-483e-b1ef-a964d4e99178
  7. Public to Private

    in Windows 10 Network and Sharing
    Public to Private: Can't switch from public to private with 1083 build. Is there a solution? I've tried some from the internet, none worked. https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/public-to-private/19e102bf-9b7f-43d5-8d3b-affc260109c3
  8. Can't change from public to private

    in Windows 10 Network and Sharing
    Can't change from public to private: I've two refurb Dels running windows 10 1709. I initially hooked up to my home Wifi for software and windows registration but the machines will be used in a charity horse show office offline. Removed the USB Wifi for the rest of the work. Need to connect for printer sharing...
  9. Private or Public

    in Windows 10 Network and Sharing
    Private or Public: I just noticed in Windows defender My network is listed as public. Does it matter if my network is listed as private or public. I found how to change it if I have to. I just want to know if it matters. I don't know if this has anything to do with it or not. In the network box...
  10. Change Network from Public to Private

    in Windows 10 Network and Sharing
    Change Network from Public to Private: So I have Windows 10 up and running...How do I change my home Wi-Fi from Public networks to Private? I also want to join my homegroup however cannot seem to figure it out.... Thanks 12023