Windows optimize

Save time and keystrokes with the Windows Vista IP Configuration Tool

Avoid the hassle of hitting the command line to run Vista's IPConfig command, with its expanded set of switches. This little GUI app makes the job a cinch.

When you're troubleshooting TCP/IP connectivity problems, chances are good that you shell out to the command line and use the IPConfig command. While this is indeed a powerful tool, using it can be a painstaking operation that requires you to type the IPConfig command over and over again with a different switch for each operation.

To alleviate some of that tedious labor, I created the Windows XP IP Configuration Tool several years ago. Now, I've built a version just for Vista -- whose IPConfig command offers five more switches than XP includes.

The Windows Vista IP Configuration Tool presents each of the IPConfig command-line tool's switches in one dialog box (Figure A). All you need to do is select the option corresponding to the switch you want to use and click the OK button. In addition to making it easy to use the 13 switches, the Windows Vista IP Configuration Tool allows you to run the IPConfig command without any switches at all. This will display just the IP address, subnet mask, and default gateway for all adapters.

Figure A

The Windows Vista IP Configuration Tool dialog box

Installation

Once you download the Windows Vista IP Configuration Tool package, simply copy its three files to a folder of your choice:

  • Vista-IPConfig.hta
  • Wvipc.ico
  • Vista IPConfig Tool-ReadMe.doc

Of course, the Vista-IPConfig.hta file is the HTA file that you'll use to launch the application. The Wvipc.ico file simply contains the icon that the HTA uses for the control menu and the taskbar. The Vista IPConfig Tool-ReadMe.doc runs through the basic usage info, covered here.

Using the Windows Vista IP Configuration Tool

The Windows Vista IP Configuration Tool is an HTML Application (HTA) that combines HTML, Windows Script Host, and VBScript to create nice little GUI application. However, because Windows Vista employs the User Account Control system, running the script-based Windows Vista IP Configuration Tool requires that you download and install the Elevate HTML Application PowerToy, which is a part of the Elevation PowerToys for Windows Vista.

You can learn more about the Script Elevation PowerToys for Windows and the Elevate HTML Application PowerToy by reading the article "Elevate Privileges Automatically with Elevation PowerToys."

With the Elevate HTML Application PowerToy installed, you can launch the Windows Vista IP Configuration Tool by right-clicking on the HTA file and selecting the Run As Administrator command.

The Windows Vista IP Configuration Tool dialog box has a single panel containing a set of option buttons and text boxes that allow you to configure your IPConfig command line. When you click OK, you'll see the IPConfig command line and be prompted to launch it. When you do, a Command Prompt window will open and display the results.

Click the Help button and you'll see Command Prompt window, which will display the IPConfig command's help screen.

About

Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.

19 comments
pjboyles
pjboyles

So, when are you going to sign it so it doesn't take actra actions to work?

mslaven
mslaven

Windows Vista IP Configuration Tool If it works on Vista, will it work on Windows 7 also?

jvdgijp
jvdgijp

Brilliant! Why MS burried the IP in cmd or somewhere in the NIC properties we'll never know. just a hint, if ye convert ihe tool to a vista sidebar gadget you'll not only be tha man. you'll our hero ;-) J.

lccurtis1
lccurtis1

Should come in handy! Nice tool.

MMitsialis
MMitsialis

A really cool additional feature would be the ability to pipe the result through CLIP.EXE to place a copy of the result into the clipboard as well.

bmbufalo
bmbufalo

I had never heard of either of these but I am going to start putting them to use! Thanks!

Greg Shultz
Greg Shultz

...work in Windows 7 as well as Vista, but I can't guarantee it at this point in time.

lkugle
lkugle

Shouldn't option 8 of the Vista IP Config tool read /renew6 not /release6?

Greg Shultz
Greg Shultz

Thanks! Would you like to see the Windows Vista IP Configuration Tool converted to a Gadget? If so, just drop a note here in the Discussion area titled "Please Create a Gadget"

spudman
spudman

I downloaded both Vista and XP verisions and ran the Vista one on XP without realizing I did. Ran OK till I got to an option that didn't exist in XP. How about having one version with the Vista only options indicated as such? I liked seeing the text of the command, but not having to hit OK and then OK again to actually run it. How about displaying the text of the command at the bottom at the time you click the radio button and then OK will just run it? Nice display in a separate command prompt window with clear colors.

Greg Shultz
Greg Shultz

...a typo in the text for the dialog box. The actual command is correct and I've made the correction. Thank you for pointing it out!

shreddn1
shreddn1

I would like a gadget for Vista.

Greg Shultz
Greg Shultz

...the requirement that the Vista version deal with elevated privileges for UAC just makes it easier to keep them as separate tools.

Greg Shultz
Greg Shultz

The reason for the confirmation message (the extra click) was that it displayed the command syntax. Unfortunately, when you pass the command from the HTA to the Command Prompt, the command is not displayed in the Command Prompt window, just the results. Not sure that it would be easy, or possible, to post the command at the bottom of the dialog box when you select the option because HTML Applications are not as graphically powerful as those written in real programming languages. If you want to see the command before it is issued, you have to put the confirmation message back.

pdr5407
pdr5407

I installed it on a Vista computer with the elevate.exe installed and it worked ok, but there was not a "run as administrator" in the context menu of the .hta file, just "open". When I select "open" the program works as stated in the article.

spudman
spudman

I took out the confirmation click after clicking OK so it would run the command, but I lost the syntax display. I don't know enough programming to make it display on the main screen. Would it be easy to post that at the bottom of the main screen each time any radio button is selected? It could be educational that way too and the changes in the command could be seen immediately.