Windows TCP/IP Stack Reset

From CECS wiki
Jump to navigation Jump to search
ipconfig /flushdns
nbtstat -R
nbtstat -RR
netsh int ipv6 reset
netsh int ipv4 reset
netsh winsock reset
Reboot


If want to restore WMI repo (good thing sometimes)[edit]

net stop wscsvc
net stop vmms
net stop "IP Helper"
net stop winmgmt
move %windir%\System32\wbem\Repository %windir%\System32\wbem\RepositoryBackup
net start winmgmt
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s