Skip to main content

Network - Windows

Firewall

Change default to block

Windows Firewall

Ref: How to Create Advanced Firewall Rules in the Windows Firewall

Network Profile

PowerShell

IP address conflict

Windows will use IP 169.254.0.0/16 if IP address conflict

Network monitor

Network emulator

Delay / Drop / Bandwidth ...

Show TCP / UDP connection

PowerShell

netstat <option>
OptionPermission
-aDisplays all connections and listening ports
-nDisplays addresses and port numbers in numerical form

Reset (Repair) TCP/IP stack

netsh winsock reset
netsh int[erface] ip[v4] reset
netsh int[erface] ipv6 reset
ipconfig /flushdns

Ref: How to reset TCP/IP by using the NetShell utility

Ref: Network troubleshooting

TCP/IP time-out

TCP/IP re-transmission time-out

Get

netsh interface tcp show global

Set

netsh interface tcp set global initialrto=<ms>

Ref: You cannot customize some TCP configurations by using the netsh command

Ref: How to modify the TCP/IP maximum retransmission time-out