Network Configuration on Windows

1
2
3
> net user
> net share
> netsh wlan show
1
> ipconfig | clip	# Command copies the output to the Windows clipboard. 

Release and Renew IP Address

1
2
> ipconfig /release && ipconifg /renew 	# To release and renew your IP address on a Windows.
> ipconfig /registerdns			# To manually update a computer's DNS records and resolver cache.

Refresh hosts file without rebooting

edit C:\Windows\System32\drivers\etc\hosts

1
2
3
> ipconfig /displaydns	# The contents of the DNS client resolver cache, local Hosts files, and resource records for name lookups.
> ipconfig /flushdns	# Flushes and resets the contents of the DNS client resolver cache
> dnscmd /clearcache	# CClears the DNS cache memory of resource records on a specified DNS server. 
1
> tracert www.google.com

Find the WiFi Password

1
2
> netsh wlan show profile
> netsh wlan show profile name="WiFi name" key=clear
1
2
3
> ipconfig /release
> ipconfig /renew
> ipconfig /all
1
2
> tracert dillonxu.ddns.net
> tracert 10.20.30.40
comments powered by Disqus