65.9K
CodeProject is changing. Read more.
Home

Ugh, WIFI Not Working or Unstable? Try This Tip....

starIconstarIconstarIconstarIconstarIcon

5.00/5 (2 votes)

May 17, 2016

CPOL
viewsIcon

13992

downloadIcon

66

Ugh, WIFI not working or unstable? Try this tip....

Introduction

It's simple, many public wifi spots, be it educational or in a shop, etc. are very unreliable. Simply use the following Powershell script to quickly relase your IP, disconnect then reconnect and receive a new IP.

Using the Code

Personally, I have found that having to do this manually is very annoying (hence the script). Simply replace the "Name" and "SSID" with the desired information.

//
ipconfig /release
netsh wlan disconnect
netsh wlan show profile
ipconfig /renew
netsh wlan connect name="NAME" ssid="SSID"
//

Many thanks!