Zeeshaan Posted September 11, 2010 Share Posted September 11, 2010 Hi, How do i change default DNS of my computer using AutoIt? My Network Places --> View network connections --> Local Area Connection Local Area Connection (Properties) --> Internet Protocol TCP/IP (Properties) Use following DNS Server Address: 8.8.8.8 8.8.4.4 but i want to do the above thing in background mode. without interfaring with windows automation or disturbing user's attention. Link to comment Share on other sites More sharing options...
wakillon Posted September 11, 2010 Share Posted September 11, 2010 try RunWait ( @ComSpec & " /c netsh interface ip set dns Local static 8.8.8.8" ) RunWait ( @ComSpec & " /c netsh interface ip add dns Local 8.8.4.4" ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
SharpShooter Posted September 11, 2010 Share Posted September 11, 2010 wakillon, i just noted that you 've been very helpful for forum. because you are always ready to help. i saw some of your replies & appreciate your efforts and dedication for AutoIt Script. Thanks for helping me too, keep it up. Link to comment Share on other sites More sharing options...
wakillon Posted September 11, 2010 Share Posted September 11, 2010 wakillon, i just noted that you 've been very helpful for forum. because you are always ready to help.i saw some of your replies & appreciate your efforts and dedication for AutoIt Script.Thanks for helping me too, keep it up.I'm a bit confused Thanks ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Zeeshaan Posted September 11, 2010 Author Share Posted September 11, 2010 wakillon, i just noted that you 've been very helpful for forum. because you are always ready to help.i saw some of your replies & appreciate your efforts and dedication for AutoIt Script.Thanks for helping me too, keep it up.+1Same words from my side Thanks Link to comment Share on other sites More sharing options...
SharpShooter Posted September 11, 2010 Share Posted September 11, 2010 I'm a bit confused Thanks !why? Link to comment Share on other sites More sharing options...
wakillon Posted September 11, 2010 Share Posted September 11, 2010 I usually work silently !And in some months or years it's you who will help others ! I hope ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
SharpShooter Posted September 11, 2010 Share Posted September 11, 2010 I usually work silently !And in some months or years it's you who will help others ! I hope !Sure... Great thought. Link to comment Share on other sites More sharing options...
Zeeshaan Posted September 11, 2010 Author Share Posted September 11, 2010 can we go back to original DNS provided by ISP when need to change Using AutoIt? Link to comment Share on other sites More sharing options...
wakillon Posted September 12, 2010 Share Posted September 12, 2010 (edited) can we go back to original DNS provided by ISP when need to change Using AutoIt?Yes, but backup them before Edited September 12, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now