Windows

Download the IPConfig Gadget to simplify troubleshooting in Vista

After building his Vista IP Configuration Tool, Greg Shultz responded to member requests and created this Sidebar gadget to make things even easier.

The IPConfig command can be invaluable when troubleshooting TCP/IP connectivity problems. Unfortunately, this handy command is a command-line tool, which means that 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. Recently, I created the Windows Vista IP Configuration Tool for Vista, whose IPConfig command offers five more options than XP and requires working through a UAC prompt.

In the discussion thread for the Vista version, TechRepublic member jvdgijp suggested that I convert the tool, which is an HTML application, into a Vista gadget. Several other members echoed that request, so I got to work and created the IPConfig Gadget. Let's take a closer look.

Using the IPConfig Gadget

The IPConfig Gadget runs from the Windows Sidebar and presents each of the IPConfig command-line tool's options on a flyout menu, as shown in Figure A. All you need to do is select the option you want to use and click the OK button. The IPConfig Gadget then opens a Command Prompt window and runs the ipconfig command, along with the selected option. The default option will run the IPConfig Help command (ipconfig /?) so that you can see what each option does.

Figure A

The IPConfig Gadget displays each of the IPConfig command-line tool's options on a flyout menu.

Because the Windows Vista IP Configuration Tool is an HTA, it requires that you install the Elevate HTML Application PowerToy and then access and use the Run As Administrator command to run the tool. However, the IPConfig Gadget works a bit differently. In fact, it runs more like a native Vista application, in that it displays a UAC only when elevated privileges are required.

In reality, not all of the IPConfig command's options require elevated privileges. For example, the /displaydns option doesn't require elevated privileges, but the /flushdns option does. So when you select the /displaydns option, the IPConfig Gadget runs the command immediately. When you select the /flushdns option, the IPConfig Gadget displays a UAC first. Once you work through the UAC, the command runs.

Installation

After you download the IPConfig Gadget Package, you'll have a Zip file that contains two files:

  • IPConfig.zip
  • IPConfig Gadget Readme.doc
Simply extract both files to a folder of your choice. Then, rename the IPConfig.zip file to IPConfig.gadget. Next, right-click on the IPConfig.gadget file and select Windows Sidebar from the Open With submenu. When you do, you'll see the Windows Sidebar - Security Warning dialog box, shown in Figure B. Just click the Install command. The IPConfig Gadget will be installed in the Windows Sidebar and will be ready to use.

Figure B

Select Windows Sidebar from the Open With submenu and choose the Install command in the Windows Sidebar - Security Warning dialog box.


Disclaimer: The IPConfig Gadget was created for and tested in Windows Vista. Theoretically, the gadget could run in Windows 7, but I can't guarantee that it will.

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.

37 comments
Wildfire365
Wildfire365

Why is this still not working have tried everything I could think of and it still don't work. It's becoming a wast of time.

Wildfire365
Wildfire365

Still haven't go it to load anyone have a copy of the file already to load if so can you zip it up and email it to me. Thanks in advance Wildfire365@aol.com

Wildfire365
Wildfire365

Is there a reason that this don't work. I have tried to to get this to load and no lock. I have tried over and over and still won't work. I'm trying to load it on win 7 anyone have any trouble also. Thank's

bootch42
bootch42

I must be missing something. When i rename the zip file it is still a .zip file. I added the .gadget but it didn't pop up with the install screen when i selected windows sidebar under the open with submenu. Any help would be greatly appreciated. Thanks

petersonba
petersonba

I just installed this on Windows 7 business edition. I used the command line to rename the file extension of the .zip file to .Gadget C:\Program Files\Windows Sidebar\Gadgets> ren *.zip *.Gadget Bam! Works great. Thank you for this cool gadget!

jmlouer
jmlouer

Sir you have outdone yourself and made a portable gadget via thumb to any vista 32 or 64 bit, and guessing, the same would be true (from the responses) for 7...a giant shortcut for assessing IP info at a glance. If I were to change anything it would be cosmetic...the gadget is not in line with all the other gadgets...I have 2 rows of gadgets and they are completely transparent except on hover and a clean desktop. the gadget skin should fit in line and maybe change the icon to IP or something like it and the buttons a bit bigger and, for kicks and giggles, a changable color palatte. And offer it on the microsoft vista gadget website. Thanks for a great tool.

corpman
corpman

where can I find the same tool for xp

bert
bert

The gadget doesn't install in my Windows Vista Home Premium SP2 (dutch version)but comes with an "error on webpage" message and "rule 8: document.getElementByID(...) is empty or no object". What is wrong?

shobe_1983
shobe_1983

As I read for some comments I think it be will useful for my work here..I just make download right now. Anyone can give me idea were I can download a free adobe acrobat 8 professional because problem for I download soe article in tech rebuplic.Just send to my email loi.cabahug@gmail.com

belivakov
belivakov

what you thing about this - selecting switches from drop down menu? Then tool will in single line.

Greg Shultz
Greg Shultz

Which of the following Network Troubleshooting command line tools do you use most often? PathPing Netstat Which would you like to see as a Gadget? Are there other commnd line tools that you would like to see converted to a Gadget?

mudpuppy1
mudpuppy1

The install procedure is a bit different though. Just double-click the .gadget file and then click Install.

jred
jred

This gadget rocks! The only way it could be better is if MS included it so it'd be on every PC :)

Fireboss
Fireboss

Needed this last week a dozen times. Thanks!

DuctTapeNHammer
DuctTapeNHammer

I installed it the long way by creating a new folder named "IPConfig.Gadget" in C:\Program Files\Windows Sidebar\Gadgets\ and then extracting all files to the new folder. Works like a charm!

Greg Shultz
Greg Shultz

..the compliments. Glad that you like the Gadget. I'll take your suggestions into consideration.

Greg Shultz
Greg Shultz

...designed for Windows Vista. Windows XP doesn't support Sidebar Gadgets.

Greg Shultz
Greg Shultz

The command that this error message is referring to comes from the initializing routine and it seems that the object that is the background image for the gadget icon. I would surmise, that the gadget did not install correctly/completely. If that is the case, you should attempt to uninstall the incomplete version (right-click and select uninstall, from the Gadget Gallery interface). Then, reinstall the IPConfig Gadget.

Greg Shultz
Greg Shultz

... please. Did you follow the instructions completely? What happened? Error message?

Photogenic Memory
Photogenic Memory

I use these a lot on the job for networking: traceroute or tracepath mtr nmap dig ( it so much better than nslookup which is deprecated ) host nc(netcat) tcpdump or tshark

Greg Shultz
Greg Shultz

Manual installation is actually very easy, if you know what you need to do.

rameeti
rameeti

Could the hot spot for the different options be all of the text instead of just the small radio button? Just eliminate the radio buttons and make the text be the button. Less mousing and easier targets.

seanferd
seanferd

The link to which you so kindly posted in the article. I think I'll be recommending it in another forum for all the folks who can't mange this stuff at the command line. Very handy, I think.

bert
bert

I skipped the part to install the Elevate HTML power toy. I did so now, but i don't understand the "run as administrator command to run the tool". I have no idea where the power toy has been installed and what i have to do with it.

bert
bert

The IPConfig gadget doesn't reside in the Gadget Gallery Interface, so I can't uninstall it this way. Is there another way to achieve this?

arcov
arcov

Hello, I made the mistake to rename the downloaded ZIP file not the ZIP file in the ZIP file worked ok after that. Arkie

bert
bert

The manual way succeeded, but in a slightly different way. I manually unzipped the IPConfig.zip file to a folder, renamed that folder (not the zipfile) to IPConfig.gadget and copied it to the gadgets folder the way you described. OK. I retried the standard installation method and that still doesn't work. Is this because my Vista doesn't use its internal unzip function anymore? I had to install 7-ZIP. How can I repair the internal unzip function of Vista? Was that the problem here? Thanks for all your help!

Greg Shultz
Greg Shultz

...the manual way: The quickest way to access the Gadgets folder in Vista is to press [Windows]R to access the Run dialog box and then type the following command in the Open text box: %userprofile%\appdata\local\microsoft\windows sidebar\gadgets Once you access the gadgets folder, look for the IPConfig.gadget folder. If it is there, delete it. Then, copy the IPConfig.gadget folder that you downloaded to the gadgets folder. Now, access the Gadget Gallery interface and double click the IPConfig icon to install the gadget.

bert
bert

When I reinstall the gadget (e.a. open the file IPConfig.gadget with the "windows sidebar" program) the only thing that happens is that the sidebar opens on the screen, that's all, no message, nothing else happens.

Greg Shultz
Greg Shultz

...confusing the the two versions of this tool. Windows Vista IP Configuration Tool is an HTA and it requires that you install the Elevate HTML Application PowerToy. The IPConfig Gadget will prompt you for elevation when it is needed. Try and reinstall the IPConfig Gadget folloing the instructions...if you get an error message, please copy it down verbatum and let me know.

Greg Shultz
Greg Shultz

...show up in the Gadget Gallery interface, then it is not installed. Check the instructions in the readme and try to install it again.

Editor's Picks