Zobrazení nastavení síťových adaptérů pomocí Winkey+R a příkazu
ncpa.cpl
Zobrazení nastavení sítě
netsh interface ip show config
netsh interface show interface
Nastavení IP adres, pokud chyba tento objekt existuje, je potřeba najít nastavení adaptéru a pak jej odstranit
netsh interface ip set address name=“LAN“ static 192.168.1.10 255.255.255.0 192.168.1.1
Nastavení DHCP na síťovém adaptéru
netsh interface ip set address name=“Ethernet“ source=dhcp
Vypsání konfigurace IP
New-NetIPAddress -InterfaceAlias „Ethernet“ -IPAddress 192.168.1.100 -PrefixLength 24 -DefaultGateway 192.168.1.1
Kontrola duplicitní IP adresy v PS
Get-NetIPAddress -InterfaceAlias „Ethernet“
Odstranění duplicitní adresy
Remove-NetIPAddress -InterfaceAlias „Ethernet“ -IPAddress 192.168.1.100 -Confirm:$false
Oprava sítě
netsh int ip reset
netsh winsock reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns