• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

So do an ipconfig /all and check the gateway and dns settings and try and match them up.

 

Here is some code to copy and paste into Notepad and use if wanted.

Save as A2Z.bat and double click to run.

@ECHO  THIS MAY HELP TO REPAIR / RECTIFY,
@ECHO  VERY, SIMPLE NETWORK DIFFICULTIES.
@ECHO  BOTH ETHERNET & WIRELESS PROBLEMS.
@ECHO  THE RESULTS WILL VARY ACCORDING TO 
@ECHO  YOUR CONFIGURATION AND USER LEVEL.
@ECHO  A RE-BOOT MUST BE DONE AFTER DOING
@ECHO  SOME OF THE CHECKS OPTIONED BELOW.
@ECHO....................................
:MENU
@ECHO  TYPE IN YOUR PREFERRED MENU CHOICE
@ECHO....................................
@ECHO.
@ECHO  A - PING_LO Ping test to 127.0.0.1
@ECHO  B - PING_TO Pinging out to 8.8.8.8
@ECHO  C - GET_IFS Display each Interface
@ECHO  D - DNSFLSH Flush out DNS Register
@ECHO  E - DNS_REG Register new DNS value
@ECHO  F - IPvFOUR Reset to remove errors
@ECHO  G - IP_RNEW Force/Renew IP address
@ECHO  H - IPv_SIX Reset to remove errors
@ECHO  I - NB_STAT NETBIOS -Renew -Repair
@ECHO  J - DIS_HEU Disable TCP Heuristics
@ECHO  K - SH_ETH0 Display ETH0 interface
@ECHO  L - DR_WLAN Drivers WLAN interface
@ECHO  M - SH_WLAN Display WLAN interface
@ECHO  N - NS_LKUP Shows your Name Server
@ECHO  O - GET_MAC Obtain MAC address(es)
@ECHO  P - GTMAC-A Create address(es)-TXT
@ECHO  Q - IP_CONF Display Network Config
@ECHO  R - IPCNF-A All Network Config-TXT
@ECHO  S - SYS_SUM System Summary Display
@ECHO  T - INFO_32 Shows MSINFO32 Screens
@ECHO  U - NETSTAT All Network Statistics
@ECHO  V - NSTAT-A Show Network Stats-TXT
@ECHO  W - WINSOCK Reset to remove errors
@ECHO  X - PROFILE Displays SSID listings
@ECHO  Y - WIFIKEY Displays as clear text
@ECHO  Z - FINISHD Close this Command Box
@ECHO ...................................
@ECHO OFF
COLOR B1
SET /P M= Press A-Z, and then ENTER:

IF /I %M%==A GOTO PING_LO
IF /I %M%==B GOTO PING_TO
IF /I %M%==C GOTO GET_IFS
IF /I %M%==D GOTO DNSFLSH
IF /I %M%==E GOTO DNS_REG
IF /I %M%==F GOTO IPvFOUR
IF /I %M%==G GOTO IP_RNEW
IF /I %M%==H GOTO IPv_SIX
IF /I %M%==I GOTO NB_STAT
IF /I %M%==J GOTO DIS_HEU
IF /I %M%==K GOTO SH_ETH0
IF /I %M%==L GOTO DR_WLAN
IF /I %M%==M GOTO SH_WLAN
IF /I %M%==N GOTO NS_LKUP
IF /I %M%==O GOTO GET_MAC
IF /I %M%==P GOTO GTMAC-A
IF /I %M%==Q GOTO IP_CONF
IF /I %M%==R GOTO IPCNF-A
IF /I %M%==S GOTO SYS_SUM
IF /I %M%==T GOTO INFO_32
IF /I %M%==U GOTO NETSTAT
IF /I %M%==V GOTO NSTAT-A
IF /I %M%==W GOTO WINSOCK
IF /I %M%==X GOTO PROFILE
IF /I %M%==Y GOTO WIFIKEY
IF /I %M%==Z GOTO FINISHD

:PING_LO
ping LOOPBACK
echo.
GOTO MENU

:PING_TO
ping 13.107.4.52
echo.
GOTO MENU

:GET_IFS
netsh interface ip show interface
echo.
GOTO MENU

:DNSFLSH
ipconfig /flushdns
echo.
GOTO MENU

:DNS_REG
ipconfig /registerdns
echo.
GOTO MENU

:IPvFOUR
netsh int ipv4 reset reset.log
echo.
GOTO MENU

:IP_RNEW
ipconfig /release
pause
ipconfig /renew
echo.
GOTO MENU

:IPv_SIX
netsh int ipv6 reset reset.log
echo.
GOTO MENU

:NB_STAT
nbtstat -RR
echo.
GOTO MENU

:DIS_HEU
netsh int tcp set heuristics disabled
echo. 
GOTO MENU

:SH_ETH0
netsh lan show interfaces | more /c
echo.
GOTO MENU

:DR_WLAN
netsh wlan show drivers | more /c
echo.
GOTO MENU

:SH_WLAN
netsh wlan show interfaces | more /c
echo.
GOTO MENU

:NS_LKUP
nslookup /ns
echo.
GOTO MENU

:GET_MAC
getmac | more /c
echo.
GOTO MENU

:GTMAC-A
getmac >> c:\GM.txt
Notepad c:\GM.txt
echo. 
GOTO MENU

:IP_CONF
ipconfig -all
echo.
GOTO MENU

:IPCNF-A
ipconfig -all >> C:\IP.txt 
Notepad C:\IP.txt
echo. 
GOTO MENU

:SYS_SUM
systeminfo
echo.
GOTO MENU

:INFO_32
msinfo32
echo.
GOTO MENU

:NETSTAT
netstat -e -r -s | more /c
echo.
GOTO MENU

:NSTAT-A
netstat -e -r -s >> NetStat.txt
Notepad NetStat.txt
echo.
GOTO MENU

:WINSOCK 
netsh winsock reset catalog
echo.
GOTO MENU

:PROFILE
netsh wlan show profiles
echo. 
@ECHO PLEASE NOTE any NETWORK-SSID name(s)
@ECHO that you want the PASSPHRASE(S) for.
echo.
GOTO MENU

:WIFIKEY
set /p wkey=Please type in the SSID 
Please type in the SSID 
netsh wlan show profile name=%wkey% key=clear
echo.
GOTO MENU

:FINISHD
EXIT

####

 

Letters D, E, N & U may be relevant.

 

You should be able use the above on both machines for comparison.

HP Recommended

Tnx,

will execute the batch file end get back to you with the results.

In the mean time I pinged the Asus laptop. Here is the output:

Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Pinging 192.168.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Pinging 192.168.1.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=6ms TTL=64
Reply from 192.168.2.1: bytes=32 time=4ms TTL=64
Reply from 192.168.2.1: bytes=32 time=9ms TTL=64
Reply from 192.168.2.1: bytes=32 time=4ms TTL=64
Ping statistics for 192.168.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 9ms, Average = 5ms

Pinging 13.107.4.52 with 32 bytes of data:
Reply from 13.107.4.52: bytes=32 time=7ms TTL=122
Reply from 13.107.4.52: bytes=32 time=6ms TTL=122
Reply from 13.107.4.52: bytes=32 time=6ms TTL=122
Reply from 13.107.4.52: bytes=32 time=8ms TTL=122
Ping statistics for 13.107.4.52:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 8ms, Average = 6ms

Thanks for your effort so far!

HP Recommended

Hi,

 

I've got the output of your batchfile from the Asus and HP laptops.

I hope they are useful to you.

grz.

ASUS:

Microsoft Windows [Version 10.0.17134.345]
(c) 2018 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users\Watt's In The Name>@ECHO THIS MAY HELP TO REPAIR / RECTIFY,
THIS MAY HELP TO REPAIR / RECTIFY,

C:\Users\Watt's In The Name>@ECHO VERY, SIMPLE NETWORK DIFFICULTIES.
VERY, SIMPLE NETWORK DIFFICULTIES.

C:\Users\Watt's In The Name>@ECHO BOTH ETHERNET & WIRELESS PROBLEMS.
BOTH ETHERNET
'WIRELESS' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Watt's In The Name>@ECHO THE RESULTS WILL VARY ACCORDING TO
THE RESULTS WILL VARY ACCORDING TO

C:\Users\Watt's In The Name>@ECHO YOUR CONFIGURATION AND USER LEVEL.
YOUR CONFIGURATION AND USER LEVEL.

C:\Users\Watt's In The Name>@ECHO A RE-BOOT MUST BE DONE AFTER DOING
A RE-BOOT MUST BE DONE AFTER DOING

C:\Users\Watt's In The Name>@ECHO SOME OF THE CHECKS OPTIONED BELOW.
SOME OF THE CHECKS OPTIONED BELOW.

C:\Users\Watt's In The Name>@ECHO....................................
...................................

C:\Users\Watt's In The Name>:MENU
C:\Users\Watt's In The Name>@ECHO TYPE IN YOUR PREFERRED MENU CHOICE
TYPE IN YOUR PREFERRED MENU CHOICE

C:\Users\Watt's In The Name>@ECHO....................................
...................................

C:\Users\Watt's In The Name>@ECHO.


C:\Users\Watt's In The Name>@ECHO A - PING_LO Ping test to 127.0.0.1
A - PING_LO Ping test to 127.0.0.1

C:\Users\Watt's In The Name>@ECHO B - PING_TO Pinging out to 8.8.8.8
B - PING_TO Pinging out to 8.8.8.8

C:\Users\Watt's In The Name>@ECHO C - GET_IFS Display each Interface
C - GET_IFS Display each Interface

C:\Users\Watt's In The Name>@ECHO D - DNSFLSH Flush out DNS Register
D - DNSFLSH Flush out DNS Register

C:\Users\Watt's In The Name>@ECHO E - DNS_REG Register new DNS value
E - DNS_REG Register new DNS value

C:\Users\Watt's In The Name>@ECHO F - IPvFOUR Reset to remove errors
F - IPvFOUR Reset to remove errors

C:\Users\Watt's In The Name>@ECHO G - IP_RNEW Force/Renew IP address
G - IP_RNEW Force/Renew IP address

C:\Users\Watt's In The Name>@ECHO H - IPv_SIX Reset to remove errors
H - IPv_SIX Reset to remove errors

C:\Users\Watt's In The Name>@ECHO I - NB_STAT NETBIOS -Renew -Repair
I - NB_STAT NETBIOS -Renew -Repair

C:\Users\Watt's In The Name>@ECHO J - DIS_HEU Disable TCP Heuristics
J - DIS_HEU Disable TCP Heuristics

C:\Users\Watt's In The Name>@ECHO K - SH_ETH0 Display ETH0 interface
K - SH_ETH0 Display ETH0 interface

C:\Users\Watt's In The Name>@ECHO L - DR_WLAN Drivers WLAN interface
L - DR_WLAN Drivers WLAN interface

C:\Users\Watt's In The Name>@ECHO M - SH_WLAN Display WLAN interface
M - SH_WLAN Display WLAN interface

C:\Users\Watt's In The Name>@ECHO N - NS_LKUP Shows your Name Server
N - NS_LKUP Shows your Name Server

C:\Users\Watt's In The Name>@ECHO O - GET_MAC Obtain MAC address(es)
O - GET_MAC Obtain MAC address(es)

C:\Users\Watt's In The Name>@ECHO P - GTMAC-A Create address(es)-TXT
P - GTMAC-A Create address(es)-TXT

C:\Users\Watt's In The Name>@ECHO Q - IP_CONF Display Network Config
Q - IP_CONF Display Network Config

C:\Users\Watt's In The Name>@ECHO R - IPCNF-A All Network Config-TXT
R - IPCNF-A All Network Config-TXT

C:\Users\Watt's In The Name>@ECHO S - SYS_SUM System Summary Display
S - SYS_SUM System Summary Display

C:\Users\Watt's In The Name>@ECHO T - INFO_32 Shows MSINFO32 Screens
T - INFO_32 Shows MSINFO32 Screens

C:\Users\Watt's In The Name>@ECHO U - NETSTAT All Network Statistics
U - NETSTAT All Network Statistics

C:\Users\Watt's In The Name>@ECHO V - NSTAT-A Show Network Stats-TXT
V - NSTAT-A Show Network Stats-TXT

C:\Users\Watt's In The Name>@ECHO W - WINSOCK Reset to remove errors
W - WINSOCK Reset to remove errors

C:\Users\Watt's In The Name>@ECHO X - PROFILE Displays SSID listings
X - PROFILE Displays SSID listings

C:\Users\Watt's In The Name>@ECHO Y - WIFIKEY Displays as clear text
Y - WIFIKEY Displays as clear text

C:\Users\Watt's In The Name>@ECHO Z - FINISHD Close this Command Box
Z - FINISHD Close this Command Box

C:\Users\Watt's In The Name>@ECHO ...................................
...................................

C:\Users\Watt's In The Name>@ECHO OFF
COLOR B1
SET /P M= Press A-Z, and then ENTER:
Press A-Z, and then ENTER:
IF /I %M%==A GOTO PING_LO
IF /I %M%==B GOTO PING_TO
IF /I %M%==C GOTO GET_IFS
IF /I %M%==D GOTO DNSFLSH
IF /I %M%==E GOTO DNS_REG
IF /I %M%==F GOTO IPvFOUR
IF /I %M%==G GOTO IP_RNEW
IF /I %M%==H GOTO IPv_SIX
IF /I %M%==I GOTO NB_STAT
IF /I %M%==J GOTO DIS_HEU
IF /I %M%==K GOTO SH_ETH0
IF /I %M%==L GOTO DR_WLAN
IF /I %M%==M GOTO SH_WLAN
IF /I %M%==N GOTO NS_LKUP
IF /I %M%==O GOTO GET_MAC
IF /I %M%==P GOTO GTMAC-A
IF /I %M%==Q GOTO IP_CONF
IF /I %M%==R GOTO IPCNF-A
IF /I %M%==S GOTO SYS_SUM
IF /I %M%==T GOTO INFO_32
IF /I %M%==U GOTO NETSTAT
IF /I %M%==V GOTO NSTAT-A
IF /I %M%==W GOTO WINSOCK
IF /I %M%==X GOTO PROFILE
IF /I %M%==Y GOTO WIFIKEY
IF /I %M%==Z GOTO FINISHD

:PING_LO
ping LOOPBACK

Pinging Watts-In-The-Name [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
echo.

GOTO MENU

:PING_TO
ping 13.107.4.52

Pinging 13.107.4.52 with 32 bytes of data:
Reply from 13.107.4.52: bytes=32 time=6ms TTL=122
Reply from 13.107.4.52: bytes=32 time=6ms TTL=122
Reply from 13.107.4.52: bytes=32 time=51ms TTL=122
Reply from 13.107.4.52: bytes=32 time=6ms TTL=122

Ping statistics for 13.107.4.52:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 51ms, Average = 17ms
echo.

GOTO MENU

:GET_IFS
netsh interface ip show interface

Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
12 55 1500 connected Wi-Fi
15 5 1500 disconnected Ethernet
14 25 1500 disconnected LAN-verbinding* 2
1 75 4294967295 connected Loopback Pseudo-Interface 1
11 25 1500 disconnected LAN-verbinding* 4

echo.

GOTO MENU

:DNSFLSH
ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.
echo.

GOTO MENU

:DNS_REG
ipconfig /registerdns
U hebt niet de benodigde bevoegdheden voor deze bewerking.
echo.

GOTO MENU

:IPvFOUR
netsh int ipv4 reset reset.log
Resetting Compartment Forwarding, OK!
Resetting Compartment, OK!
Resetting Control Protocol, OK!
Resetting Echo Sequence Request, OK!
Resetting Global, failed.
The requested operation requires elevation (Run as administrator).
Resetting Interface, failed.
The requested operation requires elevation (Run as administrator).
Resetting Anycast Address, OK!
Resetting Multicast Address, OK!
Resetting Unicast Address, failed.
The requested operation requires elevation (Run as administrator).
Resetting Neighbor, failed.
The requested operation requires elevation (Run as administrator).
Resetting Path, failed.
The requested operation requires elevation (Run as administrator).
Resetting Potential, OK!
Resetting Prefix Policy, OK!
Resetting Proxy Neighbor, OK!
Resetting Route, OK!
Resetting Site Prefix, OK!
Resetting Subinterface, OK!
Resetting Wakeup Pattern, OK!
Resetting Resolve Neighbor, OK!
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , failed.
The requested operation requires elevation (Run as administrator).
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , failed.
The requested operation requires elevation (Run as administrator).
Resetting , OK!
Resetting , OK!
Resetting , OK!
Restart the computer to complete this action.

echo.

GOTO MENU

:IP_RNEW
ipconfig /release

Windows IP Configuration

No operation can be performed on Ethernet while it has its media disconnected.
No operation can be performed on LAN-verbinding* 2 while it has its media disconnected.
No operation can be performed on LAN-verbinding* 4 while it has its media disconnected.

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter LAN-verbinding* 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter LAN-verbinding* 4:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a8da:1104:a962:6c40%12
Default Gateway . . . . . . . . . :
pause
Press any key to continue . . .

 

HP:

Microsoft Windows [Version 10.0.17134.407]
(c) 2018 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users\tinyh>@ECHO THIS MAY HELP TO REPAIR / RECTIFY,
THIS MAY HELP TO REPAIR / RECTIFY,

C:\Users\tinyh>@ECHO VERY, SIMPLE NETWORK DIFFICULTIES.
VERY, SIMPLE NETWORK DIFFICULTIES.

C:\Users\tinyh>@ECHO BOTH ETHERNET & WIRELESS PROBLEMS.
BOTH ETHERNET
'WIRELESS' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\tinyh>@ECHO THE RESULTS WILL VARY ACCORDING TO
THE RESULTS WILL VARY ACCORDING TO

C:\Users\tinyh>@ECHO YOUR CONFIGURATION AND USER LEVEL.
YOUR CONFIGURATION AND USER LEVEL.

C:\Users\tinyh>@ECHO A RE-BOOT MUST BE DONE AFTER DOING
A RE-BOOT MUST BE DONE AFTER DOING

C:\Users\tinyh>@ECHO SOME OF THE CHECKS OPTIONED BELOW.
SOME OF THE CHECKS OPTIONED BELOW.

C:\Users\tinyh>@ECHO....................................
...................................

C:\Users\tinyh>:MENU
C:\Users\tinyh>@ECHO TYPE IN YOUR PREFERRED MENU CHOICE
TYPE IN YOUR PREFERRED MENU CHOICE

C:\Users\tinyh>@ECHO....................................
...................................

C:\Users\tinyh>@ECHO.


C:\Users\tinyh>@ECHO A - PING_LO Ping test to 127.0.0.1
A - PING_LO Ping test to 127.0.0.1

C:\Users\tinyh>@ECHO B - PING_TO Pinging out to 8.8.8.8
B - PING_TO Pinging out to 8.8.8.8

C:\Users\tinyh>@ECHO C - GET_IFS Display each Interface
C - GET_IFS Display each Interface

C:\Users\tinyh>@ECHO D - DNSFLSH Flush out DNS Register
D - DNSFLSH Flush out DNS Register

C:\Users\tinyh>@ECHO E - DNS_REG Register new DNS value
E - DNS_REG Register new DNS value

C:\Users\tinyh>@ECHO F - IPvFOUR Reset to remove errors
F - IPvFOUR Reset to remove errors

C:\Users\tinyh>@ECHO G - IP_RNEW Force/Renew IP address
G - IP_RNEW Force/Renew IP address

C:\Users\tinyh>@ECHO H - IPv_SIX Reset to remove errors
H - IPv_SIX Reset to remove errors

C:\Users\tinyh>@ECHO I - NB_STAT NETBIOS -Renew -Repair
I - NB_STAT NETBIOS -Renew -Repair

C:\Users\tinyh>@ECHO J - DIS_HEU Disable TCP Heuristics
J - DIS_HEU Disable TCP Heuristics

C:\Users\tinyh>@ECHO K - SH_ETH0 Display ETH0 interface
K - SH_ETH0 Display ETH0 interface

C:\Users\tinyh>@ECHO L - DR_WLAN Drivers WLAN interface
L - DR_WLAN Drivers WLAN interface

C:\Users\tinyh>@ECHO M - SH_WLAN Display WLAN interface
M - SH_WLAN Display WLAN interface

C:\Users\tinyh>@ECHO N - NS_LKUP Shows your Name Server
N - NS_LKUP Shows your Name Server

C:\Users\tinyh>@ECHO O - GET_MAC Obtain MAC address(es)
O - GET_MAC Obtain MAC address(es)

C:\Users\tinyh>@ECHO P - GTMAC-A Create address(es)-TXT
P - GTMAC-A Create address(es)-TXT

C:\Users\tinyh>@ECHO Q - IP_CONF Display Network Config
Q - IP_CONF Display Network Config

C:\Users\tinyh>@ECHO R - IPCNF-A All Network Config-TXT
R - IPCNF-A All Network Config-TXT

C:\Users\tinyh>@ECHO S - SYS_SUM System Summary Display
S - SYS_SUM System Summary Display

C:\Users\tinyh>@ECHO T - INFO_32 Shows MSINFO32 Screens
T - INFO_32 Shows MSINFO32 Screens

C:\Users\tinyh>@ECHO U - NETSTAT All Network Statistics
U - NETSTAT All Network Statistics

C:\Users\tinyh>@ECHO V - NSTAT-A Show Network Stats-TXT
V - NSTAT-A Show Network Stats-TXT

C:\Users\tinyh>@ECHO W - WINSOCK Reset to remove errors
W - WINSOCK Reset to remove errors

C:\Users\tinyh>@ECHO X - PROFILE Displays SSID listings
X - PROFILE Displays SSID listings

C:\Users\tinyh>@ECHO Y - WIFIKEY Displays as clear text
Y - WIFIKEY Displays as clear text

C:\Users\tinyh>@ECHO Z - FINISHD Close this Command Box
Z - FINISHD Close this Command Box

C:\Users\tinyh>@ECHO ...................................
...................................

C:\Users\tinyh>@ECHO OFF
COLOR B1
SET /P M= Press A-Z, and then ENTER:
Press A-Z, and then ENTER:
IF /I %M%==A GOTO PING_LO
IF /I %M%==B GOTO PING_TO
IF /I %M%==C GOTO GET_IFS
IF /I %M%==D GOTO DNSFLSH
IF /I %M%==E GOTO DNS_REG
IF /I %M%==F GOTO IPvFOUR
IF /I %M%==G GOTO IP_RNEW
IF /I %M%==H GOTO IPv_SIX
IF /I %M%==I GOTO NB_STAT
IF /I %M%==J GOTO DIS_HEU
IF /I %M%==K GOTO SH_ETH0
IF /I %M%==L GOTO DR_WLAN
IF /I %M%==M GOTO SH_WLAN
IF /I %M%==N GOTO NS_LKUP
IF /I %M%==O GOTO GET_MAC
IF /I %M%==P GOTO GTMAC-A
IF /I %M%==Q GOTO IP_CONF
IF /I %M%==R GOTO IPCNF-A
IF /I %M%==S GOTO SYS_SUM
IF /I %M%==T GOTO INFO_32
IF /I %M%==U GOTO NETSTAT
IF /I %M%==V GOTO NSTAT-A
IF /I %M%==W GOTO WINSOCK
IF /I %M%==X GOTO PROFILE
IF /I %M%==Y GOTO WIFIKEY
IF /I %M%==Z GOTO FINISHD

:PING_LO
ping LOOPBACK

Pinging LAPTOP-LDEQAJ00 [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
echo.

GOTO MENU

:PING_TO
ping 13.107.4.52

Pinging 13.107.4.52 with 32 bytes of data:
Reply from 13.107.4.52: bytes=32 time=7ms TTL=122
Reply from 13.107.4.52: bytes=32 time=11ms TTL=122
Reply from 13.107.4.52: bytes=32 time=9ms TTL=122
Request timed out.

Ping statistics for 13.107.4.52:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 11ms, Average = 9ms
echo.

GOTO MENU

:GET_IFS
netsh interface ip show interface

Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
2 55 1500 connected Wi-Fi
1 75 4294967295 connected Loopback Pseudo-Interface 1
14 5 1500 disconnected Ethernet
4 25 1500 disconnected LAN-verbinding* 2
18 25 1500 disconnected LAN-verbinding* 3

echo.

GOTO MENU

:DNSFLSH
ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.
echo.

GOTO MENU

:DNS_REG
ipconfig /registerdns
U hebt niet de benodigde bevoegdheden voor deze bewerking.
echo.

GOTO MENU

:IPvFOUR
netsh int ipv4 reset reset.log
Resetting Compartment Forwarding, OK!
Resetting Compartment, OK!
Resetting Control Protocol, OK!
Resetting Echo Sequence Request, OK!
Resetting Global, failed.
The requested operation requires elevation (Run as administrator).
Resetting Interface, failed.
The requested operation requires elevation (Run as administrator).
Resetting Anycast Address, OK!
Resetting Multicast Address, OK!
Resetting Unicast Address, failed.
The requested operation requires elevation (Run as administrator).
Resetting Neighbor, failed.
The requested operation requires elevation (Run as administrator).
Resetting Path, failed.
The requested operation requires elevation (Run as administrator).
Resetting Potential, OK!
Resetting Prefix Policy, OK!
Resetting Proxy Neighbor, OK!
Resetting Route, OK!
Resetting Site Prefix, OK!
Resetting Subinterface, OK!
Resetting Wakeup Pattern, OK!
Resetting Resolve Neighbor, OK!
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , failed.
The requested operation requires elevation (Run as administrator).
Resetting , OK!
Resetting , OK!
Resetting , OK!
Resetting , failed.
The requested operation requires elevation (Run as administrator).
Resetting , OK!
Resetting , OK!
Resetting , OK!
Restart the computer to complete this action.

echo.

GOTO MENU

:IP_RNEW
ipconfig /release

Windows IP Configuration

No operation can be performed on Ethernet while it has its media disconnected.
No operation can be performed on LAN-verbinding* 2 while it has its media disconnected.
No operation can be performed on LAN-verbinding* 3 while it has its media disconnected.

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter LAN-verbinding* 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter LAN-verbinding* 3:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::5de9:8f0b:3a24:2b5e%2
Default Gateway . . . . . . . . . :
pause
Press any key to continue . . .

 

HP Recommended

Hi

Thank you.

Specifically can you extract just these?

C:\>netsh wlan show drivers
Interface name: WiFi
    Driver                    : Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
    Vendor                    : Realtek Semiconductor Corp.
    Provider                  : Realtek Semiconductor Corp.
    Date                      : 24/02/2018
    Version                   : 2023.66.1104.2017
    INF file                  : oem40.inf
    Type                      : Native Wi-Fi Driver
    Radio types supported     : 802.11n 802.11g 802.11b
    FIPS 140-2 mode supported : Yes
    802.11w Management Frame Protection supported : Yes
    Hosted network supported  : No
    Authentication and cipher supported in infrastructure mode:
                                Open            None
                                WPA2-Personal   CCMP
                                Open            WEP-40bit
                                Open            WEP-104bit
                                Open            WEP
                                WPA-Enterprise  TKIP
                                WPA-Personal    TKIP
                                WPA2-Enterprise TKIP
                                WPA2-Personal   TKIP
                                WPA-Enterprise  CCMP
                                WPA-Personal    CCMP
                                WPA2-Enterprise CCMP
                                Vendor defined  TKIP
                                Vendor defined  CCMP
                                Vendor defined  Vendor defined
                                Vendor defined  Vendor defined
                                WPA2-Enterprise Vendor defined
                                WPA2-Enterprise Vendor defined
                                Vendor defined  Vendor defined
                                Vendor defined  Vendor defined
    IHV service present       : Yes
    IHV adapter OUI           : [00 e0 4c], type: [00]
    IHV extensibility DLL path: C:\WINDOWS\system32\Rtlihvs.dll
    IHV UI extensibility ClSID: {6c2a8cca-b2a2-4d81-a3b2-4e15f445c312}
    IHV diagnostics CLSID     : {00000000-0000-0000-0000-000000000000}
    Wireless Display Supported: Yes (Graphics Driver: Yes, Wi-Fi Driver: Yes)

 

C:\>netsh wlan show interfaces

There is 1 interface on the system:

    Name                   : WiFi
    Description            : Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter
    GUID                   : fe8c17aa-1613-4f0a-9bbf-4344b97cb399
    Physical address       : 48:e2:44:54:66:27
    State                  : connected
    SSID                   : TLos
    BSSID                  : 44:6e:e5:6d:3c:64
    Network type           : Infrastructure
    Radio type             : 802.11n
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Connection mode        : Auto Connect
    Channel                : 2
    Receive rate (Mbps)    : 65
    Transmit rate (Mbps)   : 65
    Signal                 : 91%
    Profile                : TLos

    Hosted network status  : Not available

 

HP Recommended

Hi,

Is this what you need?

HP Laptop:

Interface name: Wi-Fi

 

    Driver                    : Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter

    Vendor                    : Realtek Semiconductor Corp.

    Provider                  : Realtek Semiconductor Corp.

    Date                      : 21-4-2018

    Version                   : 2023.66.319.2018

    INF file                  : oem30.inf

    Type                      : Native Wi-Fi Driver

    Radio types supported     : 802.11n 802.11g 802.11b

    FIPS 140-2 mode supported : Yes

    802.11w Management Frame Protection supported : Yes

    Hosted network supported  : No

    Authentication and cipher supported in infrastructure mode:

                                Open            None

                                WPA2-Personal   CCMP

                                Open            WEP-40bit

                                Open            WEP-104bit

                                Open            WEP

                                WPA-Enterprise  TKIP

                                WPA-Personal    TKIP

                                WPA2-Enterprise TKIP

                                WPA2-Personal   TKIP

                                WPA-Enterprise  CCMP

                                WPA-Personal    CCMP

                                WPA2-Enterprise CCMP

                                Vendor defined  TKIP

                                Vendor defined  CCMP

                                Vendor defined  Vendor defined

                                Vendor defined  Vendor defined

                                WPA2-Enterprise Vendor defined

                                WPA2-Enterprise Vendor defined

                                Vendor defined  Vendor defined

                                Vendor defined  Vendor defined

    IHV service present       : Yes

    IHV adapter OUI           : [00 e0 4c], type: [00]

    IHV extensibility DLL path: C:\WINDOWS\system32\Rtlihvs.dll

    IHV UI extensibility ClSID: {6c2a8cca-b2a2-4d81-a3b2-4e15f445c312}

    IHV diagnostics CLSID     : {00000000-0000-0000-0000-000000000000}

    Wireless Display Supported: Yes (Graphics Driver: Yes, Wi-Fi Driver: Yes)

 

 

There is 1 interface on the system:

 

    Name                   : Wi-Fi

    Description            : Realtek RTL8723BE 802.11 bgn Wi-Fi Adapter

    GUID                   : 05c18dd1-15d5-4d2d-b724-86323d2ee114

    Physical address       : 94:e9:79:e3:9b:5d

    State                  : connected

    SSID                   : VGV7519BF32F0

    BSSID                  : 18:83:bf:bf:32:f0

    Network type           : Infrastructure

    Radio type             : 802.11n

    Authentication         : WPA2-Personal

    Cipher                 : CCMP

    Connection mode        : Profile

    Channel                : 2

    Receive rate (Mbps)    : 72.2

    Transmit rate (Mbps)   : 72.2

    Signal                 : 81%

    Profile                : VGV7519BF32F0

 

    Hosted network status  : Not available

 

 

ASUS Laptop:

Interface name: Wi-Fi

 

    Driver                    : Qualcomm Atheros AR9285 Wireless Network Adapter

    Vendor                    : Qualcomm Atheros Communications Inc.

    Provider                  : Qualcomm Atheros Communications Inc.

    Date                      : 19-11-2015

    Version                   : 10.0.0.329

    INF file                  : oem4.inf

    Type                      : Native Wi-Fi Driver

    Radio types supported     : 802.11b 802.11g 802.11n

    FIPS 140-2 mode supported : Yes

    802.11w Management Frame Protection supported : Yes

    Hosted network supported  : Yes

    Authentication and cipher supported in infrastructure mode:

                                Open            None

                                Open            WEP-40bit

                                Open            WEP-104bit

                                Open            WEP

                                WPA-Enterprise  TKIP

                                WPA-Personal    TKIP

                                WPA2-Enterprise TKIP

                                WPA2-Personal   TKIP

                                Vendor defined  TKIP

                                WPA2-Enterprise Vendor defined

                                Vendor defined  Vendor defined

                                WPA-Enterprise  CCMP

                                WPA-Personal    CCMP

                                WPA2-Enterprise CCMP

                                Vendor defined  CCMP

                                WPA2-Enterprise Vendor defined

                                Vendor defined  Vendor defined

                                WPA2-Personal   CCMP

                                Vendor defined  Vendor defined

    Authentication and cipher supported in ad-hoc mode:

                                Open            None

                                Open            WEP-40bit

                                Open            WEP-104bit

                                Open            WEP

                                WPA2-Personal   CCMP

                                Vendor defined  Vendor defined

    Wireless Display Supported: No (Graphics Driver: No, Wi-Fi Driver: Yes)

 

There is 1 interface on the system:

 

    Name                   : Wi-Fi

    Description            : Qualcomm Atheros AR9285 Wireless Network Adapter

    GUID                   : 83749718-6a2c-4189-9929-3693f31e37ba

    Physical address       : 74:de:2b:51:24:17

    State                  : connected

    SSID                   : VGV7519BF32F0

    BSSID                  : 18:83:bf:bf:32:f0

    Network type           : Infrastructure

    Radio type             : 802.11n

    Authentication         : WPA2-Personal

    Cipher                 : CCMP

    Connection mode        : Auto Connect

    Channel                : 2

    Receive rate (Mbps)    : 65

    Transmit rate (Mbps)   : 65

    Signal                 : 100%

    Profile                : VGV7519BF32F0

 

    Hosted network status  : Not available

HP Recommended

Hi

Absolutely excellent,

your HP WiFi is working better than your     Asus. It aint connecting to the internet perhaps.

Receive rate (Mbps)    : 72.2                             Receive rate (Mbps)    : 65

Transmit rate (Mbps)   : 72.2                           Transmit rate (Mbps)   : 65

 

Connection mode        : Profile                       : Auto Connect  DIFFERENT

WPA2-Personal            CCMP                            WEP-40bit       DIFFERENT

Hosted network supported  : No                       YES                 DIFFERENT

                      

   So the HP has a profile created and that is the difference.

Eth IPv4.png

 

That is my ethernet connection, did we establish your gateway and DNS settings?

 

 

HP Recommended

So if we concentrate on the profiles...

C:\>netsh wlan show profiles

Profiles on interface WiFi:

Group policy profiles (read only)
---------------------------------
    <None>

User profiles
-------------
    All User Profile     : Moto FREE WIFI
    All User Profile     : Chessbroadband
    All User Profile     : The New Inn
   All User Profile     : WhiffyOne
   

 

C:\>netsh wlan show profile name=WhiffyOne key=clear
Profile WhiffyOne on interface WiFi:
Applied: All User Profile
Profile information
   Version                : 1
    Type                   : Wireless LAN
    Name                   : WhiffyOne
    Control options        :
        Connection mode    : Connect automatically
        Network broadcast  : Connect only if this network is broadcasting
        AutoSwitch         : Do not switch to other networks
        MAC Randomization  : Disabled

Connectivity settings
---------------------
    Number of SSIDs        : 1
    SSID name              : "WhiffyOne"
    Network type           : Infrastructure
    Radio type             : [ Any Radio Type ]
    Vendor extension          : Not present

Security settings
    Authentication         : WPA2-Personal
    Cipher                 : CCMP
    Authentication         : WPA2-Personal
    Cipher                 : GCMP
    Security key           : Present
    Key Content            : PassWurd

Cost settings
    Cost                   : Unrestricted
    Congested              : No
    Approaching Data Limit : No
    Over Data Limit        : No
    Roaming                : No
    Cost Source            : Default

THEN redo that profile if you can.

HP Recommended

Hi,

The profile of the HP laptop:

Profile VGV7519BF32F0 on interface Wi-Fi:
=======================================================================

Applied: All User Profile

Profile information
-------------------
Version : 1
Type : Wireless LAN
Name : VGV7519BF32F0
Control options :
Connection mode : Connect automatically
Network broadcast : Connect only if this network is broadcasting
AutoSwitch : Do not switch to other networks
MAC Randomization : Disabled

Connectivity settings
---------------------
Number of SSIDs : 1
SSID name : "VGV7519BF32F0"
Network type : Infrastructure
Radio type : [ Any Radio Type ]
Vendor extension : Not present

Security settings
-----------------
Authentication : WPA2-Personal
Cipher : CCMP
Authentication : WPA2-Personal
Cipher : GCMP
Security key : Present
Key Content : Password

Cost settings
-------------
Cost : Unrestricted
Congested : No
Approaching Data Limit : No
Over Data Limit : No
Roaming : No
Cost Source : Default

 

Don't know what you mean with REDO!?

HP Recommended

Hi

Well the profile of the other PC is different.

So if you can edit or delete the HP profile and correct or create anew.

 

 

HP Recommended

Hi,

sorry for not responding.

What happened: I made some changes to the user profile. This resulted in not been able to access my account. I did a diagnostics check which gave a hdd failure!

I contacted HP and they send me a new sdd. But it was not the right card. I performed a new diagnostics. No failures! The hard drive was ok after all. I did a new Windows install. The connectivity problem still existed.

I contacted Microsof Support. They suggested to download a file WindowsFirewall.cab. After running this file the problem did not occur since!

I hope this is the solution.

I would like to thank you for your time and support!!

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.