If you're like me and you like using specific DNS servers while leaving the rest of your network configuration on DHCP, the following two commands will help you set specific DNS servers from the commandline. Put the following commands in a batch file and run said batch file from boot. netsh interface ip set dns name="Wireless Network Connection" static 208.67.222.222 netsh interface ip add dns name="Wireless Network Connection" 208.67.220.220 Here's another way to achieve the same, but now by specifying specifically the primary and the alternate DNS server: netsh interface ip set dns name="Wireless Network Connection" static 208.67.222.222 netsh interface ip add dns name="Wireless Network Connection" 208.67.220.220 index=2 The DNS servers above are the DNS servers for OpenDNS