sml156

Windows Network Fix

Feb 21st, 2016
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
  2.  
  3. sc config Dhcp start= auto
  4. sc config Dnscache start= auto
  5. sc config NlaSvc start= auto
  6. sc config nsi start= auto
  7. sc config Wcmsvc start= auto
  8.  
  9. sc config NcbService start= demand
  10. sc config Netman start= demand
  11. sc config netprofm start= demand
  12. sc config WinHttpAutoProxySvc start= demand
  13. sc config WlanSvc start= demand
  14.  
  15. net start nsi
  16. net start NlaSvc
  17. net start Dnscache
  18. net start Dhcp
  19. net start Wcmsvc
  20.  
  21. ipconfig /flushdns
  22. ipconfig /registerdns
  23.  
  24. netsh advfirewall reset
  25. netsh int ip reset
  26. netsh winsock reset
  27. shutdown /r /t 60
  28.  
  29. rem If resetting fails, take ownership of the following key in registry, set it to Full Control
  30. rem HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi\{eb004a00-9b1a-11d4-9123-0050047759bc}\26
  31.  
  32. pause
Advertisement
Add Comment
Please, Sign In to add comment