Go Back   Cyber Tech Help Support Forums > Operating Systems > Windows 11

Notices

Windows 11 Problem solving for the Windows 11 Operating System.

Reply
 
Topic Tools
  #1  
Old May 8th, 2023, 02:10 AM
CyberTrek CyberTrek is offline
Senior Member
 
Join Date: Aug 2008
Location: NC, USA, Earth, Sector 001
Posts: 585
My Network Reset Batch File

Wanted to see if anyone can tell me if the order of these options is optimized, and maybe what else can be added/removed/tweaked. It is a batch file I made, long ago and is on my Desktop. Is called "netsh winsock reset.bat."

ipconfig /flushdns
dnscmd /clearcache
netsh winsock reset
ipconfig /release
ipconfig /renew
netsh ini ip reset
shutdown -r -t 1
Reply With Quote
  #2  
Old May 9th, 2023, 06:14 PM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows XP Pro
Posts: 17,434
Hum I have always used this one:

ipconfig /release
ipconfig /renew
arp -d *
nbtstat -R
nbtstat -RR
ipconfig /flushdns
ipconfig /registerdns


The two ipconfig commands will release the current IP address and then immediately ask for a new one

The arp command deletes the current host name so you can reacquire it

The nbtstat-rcommand purges and reloads the remote cache name table

The nbstst-RR command sends Name release packets to WINS and then starts a refresh

The final two ipconfig commands flush the DNS and then initiate manual dynamic registration for the DNS names and IP addresses that are configured at the computer
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:25 AM.