Vista - ipconfig - The Requested Operation Requires Elevation

Posted Monday, October 9, 2006 10:58 PM by C-Dog's .NET Tip of the Day

If you have been running Vista, you may run into a time where you need to use ipconfig to perform some sort of operation such as flushing DNS or getting a new IP address. By default when you run it, you will get an error like the following.

The Requested Operation Requires Elevation.

This is a feature of the new UAC functionality in Vista which I am sure most of you will end up turning off. To perform this functionality, right click on your command prompt icon, and choose Run as Administrator. Note, this is required even if your user account is an administrator account. You'll find many things in Vista will require running in this manner to work correctly (i.e.: debugging web sites with VS2005). Once you run the command prompt with this manner, you can then run ipconfig to do whatever you needed.

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=308