Windows Cannot Access\\ PC(computer name) Errors

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 152
    Windows 10 Pro/Education x64
       #11

    Hi,

    Can you try opening windows explorer, navigate to c:\windows\system32\drivers\etc. Open the hosts file and put in the ip address and machine name of the machine you are trying to access. Close and save the file. Logging out is optional, but you can try closing and opening explorer and type in the machine name. Do the shared folders now show up at this point?
      My Computer


  2. Posts : 18
    Windows 10 Pro
    Thread Starter
       #12

    Hi Stigg, I have rebooted my router several times and the firmware is up-to-date according to the Manufacturer(Hitron). I also have a Linksys switch between these two PCs which I have reset. They all seem OK but not the problem. I strongly suspect the problem lies with Windows 10 since my Windows 7 Pro can see and access all the PCs on my network. I have also updated the drivers for the LAN adapters(both Intel), they show "working properly" in device manager. Maybe I will have some luck with the 1809 update.

    Clintlgm, thanks for the reminder. I did have both the discovery services changed to automatic & running. My bad, I left one out of the list on my first post. I am not familiar with Teamviewer, is that an app that I can download?

    Hi Jimbo, I hear your frustration & enjoyed your post. I have been running a home network since the Windows 2000 days and honestly, it just seems to deteriorate on each Windows version including the Homegroup idea.Peer to Peer networking should be the simplest way to do any networking with a home system but somehow they made it more complicated. I may have to isolate these two machines to get my transferring completed. The 1809 update may arrive before I get this problem solved, I can't wait forever. Thanks again.
      My Computer


  3. Posts : 18
    Windows 10 Pro
    Thread Starter
       #13

    Hi Titetanium, I attempted to add the IPs and Names to the Host file, but was unable to save it in the etc folder. I was denied due to permissions. I checked and I am logged in as local administrator with Full Permissions but this file doesn't recognize me apparently. I am attaching the file that I changed to be sure I understood your instructions. Is there a work-a-round for saving the file? hosts.txt
      My Computer


  4. Posts : 1,471
    Win10 Home x64 - 1809
       #14

    Hey Optimxr,
    1. You have to open Notepad as Administrator to be able to save the hosts file.
    2. Make sure you save it as hosts and not hosts.txt (Notepad > File > Save as > File Types > All Files)
    3. Yes, you entered the information correctly,
    4. If you're not using static IPs, adding IP HOSTNAME to the hosts file can be problematic.


    You can use the following script on your Win10 PC's to check/compare settings.

    Code:
    Note: The following script ....
    1. Makes NO changes to your PC (For information only)
    2. Only shows PC NAME (Does NOT reveal any personal info)
    3. It creates a .txt file on your Desktop (Assumes your Desktop Folder has NOT been moved)
    4. Upload the .txt file in your post if you need help with the output.
    
    Open PowerShell as Admin. Copy/Paste the following, making sure to hit enter after the last line.
    
    $(
    write-output "CHECKING SMB FOR COMPUTER $($env:computername) @ $(get-date -format g)"
    if((Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol).State -eq "Enabled" -OR (Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Client).State -eq "Enabled" -OR (Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Server).State -eq "Enabled" -OR (Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol-Deprecation).State -eq "Enabled") {
    write-output "==================="
    write-output "SMB1 FEATURES"
    write-output "==================="
    $scq10 = (sc.exe query mrxsmb10 | FINDSTR "SERVICE_NAME STATE")
    $scqc10 = (sc.exe qc mrxsmb10 | FINDSTR "START_TYPE")
    $scqb = (sc.exe query browser | FINDSTR "SERVICE_NAME STATE")
    $scqcb = (sc.exe qc browser | FINDSTR "START_TYPE")
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol | FINDSTR "FeatureName"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol | FINDSTR "State"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Client | FINDSTR "FeatureName"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Client | FINDSTR "State"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Server | FINDSTR "FeatureName"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Server | FINDSTR "State"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Deprecation  | FINDSTR "FeatureName"
    get-windowsoptionalfeature -Online -FeatureName SMB1Protocol-Deprecation | FINDSTR "State"
    write-output " "
    write-output "==================="
    write-output "SMB PROTOCOLS"
    write-output "==================="
    get-smbserverconfiguration | Select EnableSMB1Protocol,EnableSMB2Protocol | FORMAT-LIST
    } else {
    write-output " "
    write-output "==================="
    write-output "SMB PROTOCOLS"
    write-output "==================="
    $scq10 = ""
    $scqc10 = ""
    $scqb = ""
    $scqcb = ""
    write-output "EnableSMB1Protocol : False"
    get-smbserverconfiguration | Select EnableSMB2Protocol | FORMAT-LIST
    }
    write-output " "
    write-output "=================="
    write-output "SERVICES"
    write-output "=================="
    $scq10
    $scqc10
    $scqb
    $scqcb
    sc.exe query mrxsmb20 | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc mrxsmb20 | FINDSTR "START_TYPE"
    sc.exe query fdphost | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc fdphost | FINDSTR "START_TYPE"
    sc.exe query fdrespub | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc fdrespub | FINDSTR "START_TYPE"
    sc.exe query ssdpsrv | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc ssdpsrv | FINDSTR "START_TYPE"
    sc.exe query upnphost | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc upnphost | FINDSTR "START_TYPE"
    sc.exe query dhcp | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc dhcp | FINDSTR "START_TYPE"
    sc.exe query dnscache | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc dnscache | FINDSTR "START_TYPE"
    sc.exe query iphlpsvc | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc iphlpsvc | FINDSTR "START_TYPE"
    sc.exe query lmhosts | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc lmhosts | FINDSTR "START_TYPE"
    sc.exe query lanmanserver | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc lanmanserver | FINDSTR "START_TYPE"
    sc.exe query lanmanworkstation | FINDSTR "SERVICE_NAME STATE"
    sc.exe qc lanmanworkstation | FINDSTR "START_TYPE"
    write-output " "
    write-output "================="
    write-output "SMB REGISTRY KEYS"
    write-output "================="
    if (Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Name SMB1 -ErrorAction SilentlyContinue) {
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Name SMB1 | FORMAT-LIST -Property SMB1
    } else {
    write-output "NO SMB1 KEY"
    }
    if (Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Name SMB2 -ErrorAction SilentlyContinue) {
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters -Name SMB2 | FORMAT-LIST -Property SMB2
    } else {
    write-output "NO SMB2 KEY"
    }
    if (Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanWorkstation -Name DependOnService -ErrorAction SilentlyContinue) {
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanWorkstation -Name DependOnService | FORMAT-LIST -Property DependOnService
    } else {
    write-output "NO DEPEND ON SERVICE"
    }
    if (Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\Browser\Parameters -Name MaintainServerList -ErrorAction SilentlyContinue) {
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\Browser\Parameters | FORMAT-LIST -Property MaintainServerList
    } else {
    write-output "NO BROWSER MAINTAIN SERVER LIST KEY"
    }
    write-output " "
    write-output "========================"
    write-output "LANMAN SERVER PARAMETERS"
    write-output "========================"
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
    write-output "============================="
    write-output "LANMAN WORKSTATION PARAMETERS"
    write-output "============================="
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
    write-output "================="
    write-output "TCPIP4 PARAMETERS"
    write-output "================="
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    write-output "================="
    write-output "TCPIP6 PARAMETERS"
    write-output "================="
    Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
    write-output "========================"
    write-output "SMB CLIENT CONFIGURATION"
    write-output "========================"
    Get-SmbClientConfiguration
    write-output "========================"
    write-output "SMB SERVER CONFIGURATION"
    write-output "========================"
    Get-SmbServerConfiguration
    write-output "==============="
    write-output "IPCONFIG ALL"
    write-output "==============="
    ipconfig /all
    ) > "$($env:userprofile)\Desktop\$env:computername-SMB-CHECK.txt"
      My Computers


  5. Posts : 152
    Windows 10 Pro/Education x64
       #15

    Also, you can drag the host file to the desktop, edit it, and save it back to the desktop. Then drag it back to the original location. You will get a UAC prompt to drop it back, click yes and it should work.
      My Computer


  6. Posts : 18
    Windows 10 Pro
    Thread Starter
       #16

    Titetanium & Eagle51, Thanks I got the notepad solved(ran as administrator) and tried the //computer name but still get the same network error. Tried the map a network drive again with the same error.
    Eagle51, so name resolution is a problem if you use both IP and computer name? I should just use IP alone, right. I'll try it. I am now going to copy/paste the SMB checker and see what that shows. Thanks again for the fast response.
      My Computer


  7. Posts : 1,471
    Win10 Home x64 - 1809
       #17

    Titetanium & Eagle51, Thanks I got the notepad solved(ran as administrator) and tried the //computer name but still get the same network error. Tried the map a network drive again with the same error.
    Ok
    Eagle51, so name resolution is a problem if you use both IP and computer name? I should just use IP alone, right.
    No ... if your network is working correctly, you should be able to connect to other PCs/Shares on your network by using \\PCNAME\SHARENAME or \\IPADDRESS\SHARENAME
    I'll try it. I am now going to copy/paste the SMB checker and see what that shows. Thanks again for the fast response.
    Ok,
      My Computers


  8. Posts : 18
    Windows 10 Pro
    Thread Starter
       #18

    Hi Eagle51, after a bit of juggling I believe I got the SMB checker to run. I have attached both logs. The first obvious difference I see is SIMTRON PC has both SMBv1 and SMBv2 as true but IMAGEONE has SMBv1 as false. Can this be changed? Also, under the Services, IMAGEONE has upnphost as Demand_Start whereas SIMTRON has upnphost as Auto_Start. I should be able to change that in services. Do you see other discrepancies?
    IMAGEONE-SMB-CHECK.txt
    SIMTRON-SMB-CHECK.txt
      My Computer


  9. Posts : 1,471
    Win10 Home x64 - 1809
       #19

    Hey Optimxr,
    1. If you don't have any legacy devices that require SMB1 (older routers with USB File Sharing, older NAS boxes, etc) you do not need SMB1 to do file sharing on Wiin10. If you do need SMB1 you should only need the SMB1.0/CIFS Client.
    a, SMB1 is turned on/off in Control Panel > Programs & Features > Turn Windows Features On/Off > Scroll down SMB1.0/CIFS
    b: It should force you to reboot, but if it doesn't .... reboot anyway
    3. Yes, I see the service discrepancies you mention and alto the should be the same, I don't think they are causing the issue.
    a You can easily change their startup by Open Command Prompt as Admin > sc config service start= Auto or Demaind (i.e sc config upnphost start= Auto)

    Note:
    1, There is one thing I see that has to do with SMB1, but you need decide if you want/need to use SMB1 or not ???
    2. If you decide you need/want SMB1, I would turn off SMB1.0/CIFS Server on SIMITRON ( you can always turn it back )
      My Computers


  10. Posts : 18
    Windows 10 Pro
    Thread Starter
       #20

    After taking a closer look at the SMB checker logs, I noticed that I had used the wrong IP addresses for both PCs in the host table. I changed both host files and the connections began working again. I also eliminated SMBv1 on SIMTRON PC and all connections appear to still work OK. I copy/pasted several large files from and to both PCs successfully, then restarted and my connections are still working normally. The connection problems seem to be gone, Whaaho! Thanks to Eagle51 and Titetanium, I believe my problem has been solved for now. The next update will be the real test.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:38.
Find Us




Windows 10 Forums