Modify IPv4 settings using VB script | Nagarams Blog

Wednesday, 8 July 2015

Modify IPv4 settings using VB script

Rate this Post:

In our previous post we explained and provided Batch scripts to "Add & Delete IPv4 address using Batch script".
While using the above script there will be a window pops up during command line execution (If u double click on .bat file) and closes automatically upon completion of execution.
If u want to execute such a IP modification script in stealth mode (If u don't want such a popup windows) then follow the below procedure...
Modify IPv4 using VB script

  • Download IP set and IP Reset VB script files
  • Right click on "ipset.vbs" file and click on edit option
  • On line-34 modify "your ip" with your IP
  • On next line modify "your subnet mask" with your subnet mask
  • On next line modify "your gate way ip" with your Gate way Address
  • On next line modify "your DNS server 1", "your DNS server 2" with your default DNS server addresses
  • Remove sentences with in the quotes to leave that column empty. (If u don't know Gateway, DNS addresses)
  • Save the file and close it.
  • Similarly Right click on "ipreset.vbs" file and click on edit option
  • Modify line-34 and so on based on your requirement
That's it now on wards  you can toggle between two IP settings by double clicking on IPSET.VBS and IPRESET.VBS.

Actually both files are same, but with different file names.
While executing this files there will be no popup windows. so you can Modify IPv4 settings in stealth mode.

Hope it helps You.


Thank You
Please leave your comments

No comments :

Post a Comment