my pc and my laptop are not discoverable across my network.

Colorado Blank 40 Reputation points
2026-10-17T13:34:26.4933333+00:00

good morning. i have a problem that i can not clear up. my laptop and pc are connected to the same home network. All settings on each machine are set properly, private network is on, discoverable is on with all the permissions. I have verified that my Netgear Nighthawk router is not blocking them. i am able to connect to my Qnap NAS on the network without any issue. I have researched this issue on line till my head hurts and still no luck. I have to update files on the laptop from the pc when i travel for work and at present, to do requires the use of a portable drive which is cumbersome at best. I am using the Home version of Win 11, version 26H2. i would be grateful for any suggestions.

Thanks

John

Windows for home | Windows 11 | Settings
0 comments No comments

Answer accepted by question author
Horace Wiggins 625 Reputation points
2026-10-26T15:47:08.13+00:00

Are both computers in the same Workgroup?

https://www.bing.com/search?q=work+group&qs=HS&pq=work+group&sc=12-10&cvid=CA5661C2FF994BB7A89598F217F204F0&FORM=QBLH&sp=1&ghc=1&lq=0

For your Home network have you tried having both computers on and then rebooting your router?

As much as I dislike One Drive that is a good way to look at and save too, your necessary documents. Have you tried using One Drive Live?

https://www.bing.com/search?q=one+drive+live+online&qs=HS&pq=one+&sk=HS1&sc=12-4&cvid=8CEE4B4B57D3475793DBE3C2D3F1E492&FORM=QBLH&sp=2&ghc=1&lq=0

Was this answer helpful?

1 person found this answer helpful.

3 additional answers

Sort by: Oldest
  1. AI answer

    2026-10-17T13:35:23.4233333+00:00

    Set the four Windows discovery services to Automatic and start them on both computers; this is the most relevant next step because you have already enabled the Private profile and sharing settings and ruled out router isolation.

    1. Start the discovery services on both PCs

    Repeat these steps on the desktop and laptop:

    1. Press Windows key + R.
    2. Enter services.msc, then select OK.
    3. For each service below, double-click it, set Startup type to Automatic, select Start if stopped, then select Apply:
      • Function Discovery Provider Host
      • Function Discovery Resource Publication
      • SSDP Discovery
      • UPnP Device Host
    4. Restart both computers.
    5. Open File Explorer → Network and allow about a minute for the list to populate.

    Microsoft’s Windows 11 file-sharing procedure specifically requires these services to run and start automatically.^1^

    2. Test direct access instead of relying on the Network list

    The Network page can fail to display a computer even when file sharing itself works. On each computer:

    1. Open Settings → System → About and note Device name.
    2. Share a test folder:
      • Right-click the folder → Show more options
      • Select Give access to → Specific people
      • Add the account that will connect, or temporarily select Everyone
    3. From the other computer, enter this in File Explorer’s address bar:
    \\COMPUTER-NAME
    

    Replace COMPUTER-NAME with the other PC’s device name. If name-based access fails, try its IPv4 address:

    \\[IP Address]
    

    If the UNC path opens, SMB file sharing works and only discovery/name resolution is failing. You can bypass the unreliable Network view by mapping the share:

    1. File Explorer → This PC
    2. Select More (…) → Map network drive
    3. Enter \\COMPUTER-NAME\ShareName
    4. Select Reconnect at sign-in, then Finish.^1^

    3. If direct access also fails

    Check the Windows firewall rules on both computers:

    1. Press Windows key + R, enter firewall.cpl, and press Enter.
    2. Select Allow an app or feature through Windows Defender Firewall.
    3. Ensure Network Discovery and File and Printer Sharing are allowed for Private networks.
    4. If third-party security or VPN software is installed, disconnect the VPN temporarily and check whether it has an option such as Allow LAN access, Discover on LAN, or Invisible on LAN.

    Network discovery requires its firewall exception; application-specific firewall rules can otherwise prevent devices from seeing each other.^2^

    Do not leave the firewall disabled. If temporarily disabling a third-party firewall proves it is responsible, re-enable it and correct its LAN/discovery rules.

    4. Last resort: reset the network stack

    Only if services and firewall rules do not fix either discovery or direct UNC access:

    1. Open Settings → Network & internet → Advanced network settings → Network reset.
    2. Select Reset now → Yes.
    3. After restart, set the home connection back to Private, because Network reset can change known networks to Public.
    4. Reconfigure any VPN or virtual-network software that was removed by the reset.^3^

    Avoid enabling SMB 1.0 or insecure guest logons for this PC-to-PC case. SMB1 is deprecated and removed by default, and guest access weakens authentication protections.^4^

    There is currently no Windows 11 26H2 release-health entry specifically identifying invisible PCs under Network Discovery as a known issue.^5^

    Access while travelling

    Windows LAN sharing and \\PC\Share paths are intended for computers on the same local network; do not expose SMB/TCP 445 through the router. For travel, synchronize the working folder with OneDrive, or first connect securely to the home network through a properly configured VPN and then access the share. Microsoft recommends OneDrive when sharing files over the Internet rather than the local LAN.^1^


    References

    1. [Windows 11](https://support.microsoft.com/windows/experience/connectivity-networking/file-sharing-over-a-network-in-windows)
    2. Inspecting Adapter and Firewall Settings
    3. [Windows 10](https://support.microsoft.com/windows/experience/connectivity-networking/fix-wi-fi-connection-issues-in-windows#general-troubleshooting)
    4. SMB security hardening
    5. Windows 11, version 26H2 known issues and notifications
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. MotoX80 37,946 Reputation points
    2026-10-18T00:37:37.2366667+00:00

    Do you know how to run a Powershell script?

    Your problem is quite common and I've helped a number of users with similar problems. What I have tried to do is to bundle a few useful scripts the I have come across along with some that I have written myself into a single script to test your environment.

    You didn't provide any error message that you encountered, so we'll need to run some tests to see where to go next.

    You can save this script as any name that you want. I would suggest something like CheckMyNetwork.ps1.

    You will need to launch Powershell with "Run as administrator" in order for it to work.

    Start by running options 2, and 4 on the pc that hosts the file shares. Run options 1 and 2 on the "client" pc.

    Option 1 should look like this if successful.

    User's image

    Please let us know what errors you get.

    Here is the script.

    <#
    .NAME 
    CheckMyNetwork.ps1
    
    .SYNOPSIS
    This Powershell script tests and fixes issues with home network connectiviy.
    That includes Network Discovery and File Sharing.
    
    .DESCRIPTION
    This script is intended for private networks where users are unable to connect to shares on their other PC's. 
    
    .NOTES
    Author: Dave K. aka MotoX80 on the MS Technet forums. 
    Usage: Use this script at your own risk. I have made every effort to test it and verify functionality. 
    But I have no way to test for every possible configuration on every PC on the planet. 
    #>
    function Test-IsAdmin {
    	([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
    }
    if ((Test-IsAdmin) -eq $False) {
       Write-Host "I am not running elevated."
       Write-Host "Please launch Powershell with 'run as administrator'"
       return
    } 
    function Test-NetworkDiscovery {
    	cls
        $np = Get-NetConnectionProfile
        "Your network profile is set to {0}." -f $np.NetworkCategory | Write-Host 
        $ctr = 0 
        $Svcs =  "DNS Client", "UPnP Device Host", "Function Discovery Resource Publication", "Function Discovery Provider Host", "SSDP Discovery"
        foreach ($sn in $Svcs) {
            $s = Get-Service $sn
            if ($s.Status -ne "Running") {
                "{0} is not running." -f $s.DisplayName | Write-Host 
                $ctr++
            }
            if ($s.StartType -ne "Automatic") {
                "{0} is not set for automatic startup." -f $s.DisplayName | Write-Host 
                $ctr++
            } 
        } 
        if ($np.NetworkCategory -ne "Private") {
            Write-Host "Your network profile is not set to Private."
            $ctr++
        } 
        $fwr = Get-NetFirewallRule -DisplayGroup 'Network Discovery'  | where-object -property Profile -match "private" | select Name,DisplayName,Enabled,Profile
    	 "I found {0} firewall rules." -f $fwr.count | Write-Host 
        if ($fwr.count -lt 10 ) {
            Write-Host "Warning! There should be more rules than that. "
    	}
    	 
        foreach ($f in $fwr) {
            if ($f.Enabled -ne "True") {
                "Rule {0} is not enabled.." -f $f.Name | Write-Host 
                $ctr++
            }
        }
        if ($ctr -ne 0 ) {
            Write-Host "Errors were found!"
            Write-Host ""
            Write-Host "You should run the 'Fix' option."
        } else {
            Write-Host "No issues detected."
        }
    } 
    Function Fix-NetworkDiscovery {
        
        #
        # FixNetworkDiscovery.ps1
        #
        # This script sets the following:
        # - Network profile is set to Private 
        # - Start the required services and set to automatic startup.
        # - Enable firewall rules. 
        #
        # Requires "run as administrator".
        #
        # Reference:
        #  http://winrollup.com/enable-network-discovery-in-windows-10-creator-edition-without-using-the-netsh-command-in-powershell
        #
    	cls
        Get-Service  -name "UPnP Device Host" | Set-Service -StartupType Automatic  
        Get-Service  -name "Function Discovery Resource Publication" | Set-Service -StartupType Automatic  
        Get-Service  -name "Function Discovery Provider Host" | Set-Service -StartupType Automatic  
        Get-Service  -name "SSDP Discovery" | Set-Service -StartupType Automatic  
      
       
        Get-Service  -name "DNS Client" | Start-Service  
        Get-Service  -name "UPnP Device Host" | Start-Service  
        Get-Service  -name "Function Discovery Resource Publication" | Start-Service  
        Get-Service  -name "Function Discovery Provider Host" | Start-Service   
        Get-Service  -name "SSDP Discovery" | Start-Service  
      
        Set-NetConnectionProfile -NetworkCategory Private -PassThru  
        #Get-NetFirewallRule -DisplayGroup 'Network Discovery'|Set-NetFirewallRule -Profile 'Private, Domain' -Enabled true -PassThru|select Name,DisplayName,Enabled,Profile|ft -a
    	
    	Get-NetFirewallRule -DisplayGroup 'Network Discovery' | where-object -property Profile -match "private" | Set-NetFirewallRule  -Enabled true -PassThru|select Name,DisplayName,Enabled,Profile|ft -a 
    	
        Write-Host ""
        Write-Host "You may need to reboot if other PC's are unable to see this one."
    }
    Function Test-Connectivity {
        cls
        Write-Host ""
        $computer = Read-Host  "Please enter a computer name"
        Write-Host "Testing $computer"
        $GLOBAL:ProgressPreference = 'silentlyContinue' 
        $tnc = Test-NetConnection -ComputerName $computer 
        if ($tnc.remoteaddress -eq $null) {
            Write-Host "No network address was found."
            return
        }
        "We found this remote address: {0}" -f $tnc.remoteaddress | Write-Host 
        Write-Host "Checking to see if SMB port 445 is open." 
        $tnc = Test-NetConnection -ComputerName $computer -CommonTCPPort SMB 
        if ($tnc.TcpTestSucceeded -eq $false) {
            Write-Host "SMB port is not accessible. Check the firewall rules."
            return
        }
        Write-Host "SMB port is open. Looking for shares."
        $stderr = ""
        $stdout = ""
        net.exe view \\$computer 2>&1 | ForEach-Object {
            if ($_ -is [System.Management.Automation.ErrorRecord]) {
                $stderr += $_.Exception.Message  # Extract error message text
            } else {
                if ($_.trim() -ne "") {
                    $stdout += "$_`n" #.tostring()
                }
            }
        }
        if ($stderr -ne "") {
            $stderr | write-host -ForegroundColor Red 
        }
        if ($stdout -ne "") {
            $stdout | write-host #-ForegroundColor White -BackgroundColor Green  
        }
    }
    # Script: SharePermissionsSimple.ps1
    Function SharePermissionsSimple {
    	cls
    	Get-SmbShare | Where-Object -Property Name -NotLike '*$' | Where-Object -Property Path -Like '*:\*' | foreach {        # exclude hidden and administrative shares
    		write-host -ForegroundColor Blue "----------------------------------------------------------------"
    		"             {0}"  -f $_.Name  | write-host -ForegroundColor Yellow 
    		write-host -ForegroundColor Blue "----------------------------------------------------------------"
    		
    		"Share permissions for {0}." -f $_.Name
    		$_ | Get-SmbShareAccess | Format-Table -Property AccountName, @{L='Type';E={$_.AccessControlType}}, AccessRight
    		""
    		"NTFS folder permissions on {0}." -f $_.Path
    		(Get-Acl -Path $_.Path ).Access | foreach {
    			[pscustomobject] @{
    				AccountName = $_.IdentityReference
    				Type = $_.AccessControlType
    				Inherit = $_.IsInherited
    				AccessRight = ($_.FileSystemRights.tostring().replace(", Synchronize","").replace("-536805376","Modify (Inherit Only)"))
    			}
    		} | Format-Table   -AutoSize
    	} 
    }
    function Test-ShareRules {
    	cls
        $np = Get-NetConnectionProfile
        "Your network profile is set to {0}." -f $np.NetworkCategory | Write-Host 
        $ctr = 0 
        if ($np.NetworkCategory -ne "Private") {
            Write-Host "Your network profile is not set to Private."
            $ctr++
        } 
        $fwr = Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing'  | where-object -property Profile -match "private"  | select Name,DisplayName,Enabled,Profile
    	 "I found {0} firewall rules." -f $fwr.count | Write-Host 
        if ($fwr.count -lt 10 ) {
            Write-Host "Warning! There should be more rules than that. "
    	}
        foreach ($f in $fwr) {
            if ($f.Enabled -ne "True") {
                "Rule {0} is not enabled.." -f $f.Name | Write-Host 
                $ctr++
            }
        }
        if ($ctr -ne 0 ) {
            Write-Host "Errors were found!"
            Write-Host ""
            Write-Host "You should run the 'Fix' option."
        } else {
            Write-Host "No issues detected."
        }
    } 
    Function Fix-ShareRules {
    	cls  
        Set-NetConnectionProfile -NetworkCategory Private -PassThru  
        Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | where-object -property Profile -match "private" | Set-NetFirewallRule -Enabled true -PassThru | select Name,DisplayName,Enabled,Profile | ft -a
        Write-Host ""
    }
    # Peocedure Division
    cls
    while ($true) {
        Write-Host "Please select an option."
        Write-Host ""
        Write-Host "   1. Check connectivity to another PC."
        Write-Host "   2. Check Network Discovery."
        Write-Host "   3. Fix Network Discovery."
    	Write-Host "   4. Check File and Printer Sharing firewall rules."
    	Write-Host "   5. Fix File and Printer Sharing firewall rules."
    	Write-Host "   6. List share and folder permissions on this PC."
    	Write-Host ""
    	Write-Host "   Enter any other character to exit."
        Write-Host ""
        $selection = Read-Host
        if ($selection -eq 1) {
            Test-Connectivity
        } elseif ($selection -eq 2) {
            Test-NetworkDiscovery
        } elseif ($selection -eq 3) {
            Fix-NetworkDiscovery
        } elseif ($selection -eq 4) {
    		Test-ShareRules
        } elseif ($selection -eq 5) {
    		Fix-ShareRules
        } elseif ($selection -eq 6) {
    		SharePermissionsSimple
        } else {
            Write-Host "Done."
            return
        }
        ""
    }
     
      
    

    Was this answer helpful?


  3. Colorado Blank 40 Reputation points
    2026-10-19T18:11:52.0466667+00:00

    after trying all the suggestions i have received to this point, the computers are not visible on the network. The general error message i'm receiving is "you do not have access to the computer". i'm now using my NAS as a file transfer device (same as using a portable drive). cumbersome but it works. My bride voiced a thought about completing a new windows installation on both pc's which I am considering. Maybe the current Home version doesn't permit internet connectivity installing a fresh copy would be the answer. Thoughts?

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.