Forum Discussion

LinZ01's avatar
LinZ01
Copper Contributor
Oct 30, 2021

No internet connection

Can you tell me what "The remote device or resource won't accept the connection" means and if/how I can fix it?
I apologize if I'm in the wrong place.
  • Mousefluff's avatar
    Mousefluff
    Iron Contributor

    Run these commands to reset your network, and then restart your computer:

     

    1.) Start Powershell -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -> Select "Create this task with administrative privileges." -> Click OK.

     

    2.) Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force;

    3.) Get-NetAdapter | Enable-NetAdapter;

    4.) Set-NetIPInterface;

    5.) Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses;

    6.) Get-NetAdapterBinding | Disable-NetAdapterBinding -AllBindings -IncludeHidden -componentid "ms_netbios";

    7.) Get-NetAdapterBinding | Enable-NetAdapterBinding -componentid "ms_tcpip";

    8.) Get-NetAdapterBinding | Enable-NetAdapterBinding -componentid "ms_tcpip6";

    9.) Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses;

    10.) Get-NetAdapterBinding | Disable-NetAdapterBinding -AllBindings -IncludeHidden -componentid "ms_netbios";

    11.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_msclient";

    12.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_server";

    13.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_pacer";

    14.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_implat";

    15.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_lldp";

    16.) Get-NetAdapterBinding | Disable-NetAdapterBinding -componentid "ms_rspndr";

    17.) Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses;

    18.) Remove-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad" -Recurse -Force;

    19.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "DisableCachingOfSSLPages" -Value "00000000";

    20.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "EnableNegotiate" -Value "00000000";

    21.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyEnable" -Value "00000000";

    22.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "MigrateProxy" -Value "00000001";

    23.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "WarnonZoneCrossing" -Value "00000000";

    24.) Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "SyncMode5" -Value "00000000";

     

    25.) Start an Elevated Command Prompt -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\CMD.EXE -> Select "Create this task with administrative privileges." -> Click OK.

     

    26.) ipconfig /release

    27.) ipconfig /flushdns

    28.) ipconfig /renew

    29.) netsh winsock reset

    30.) netsh interface ipv4 reset

    31.) netsh interface ipv6 reset

    32.) netsh winsock reset catalog

    33.) netsh int ipv4 reset reset.log

    34.) netsh int ipv6 reset reset.log

     

    • LinZ01's avatar
      LinZ01
      Copper Contributor
      Hi!
      I honestly don't know where to begin with your instructions. I really appreciate your having gone to all that trouble but I just don't understand what to do. Opening PowerShell is not a problem but from that point on I am lost.
      Thanks so much
      Lin
    • LinZ01's avatar
      LinZ01
      Copper Contributor
      Hi!
      Unfortunately this didn't work. When I start my browser my email accounts load just fine but I can't do anything with any of the messages. AND, no websites load. (Hmmm... can't reach this page
      The connection was reset. etc)
      Thanks for your help!
      Lin

Resources