netsh wlan set autoconfig enabled=yes interface="Wi-Fi"
In some of my games teammates consistently (every 30 to 60 seconds) ping spike and I have to ask if they're on wireless. When they are, there's a simple fix for the problem:
in your windows cmd, type in
netsh wlan show settings
and one of the last things might say
Auto configuration logic is enabled on interface "Wireless Network Connection"
if that's the case, then type in
netsh wlan set autoconfig enabled=no interface="Wireless Network Connection"
It should respond with
Auto configuration has been disabled on interface "Wireless Network Connection".