You receive an error message when you use the Netsh utility to modify the network configuration in Windows Vista


When you use the Netsh command-line scripting utility (Netsh.exe) to modify the network configuration, the command is not executed. Then, you receive an error message in Windows Vista.

For example, you type the following command at a command prompt:
Netsh interface set interface "Local Area Connection 2" enable
Then, you receive one of the following error messages:
An interface with this name is not registered with the router
No more data is available


This issue occurs because the user account under which you run the command does not have either administrative or elevated user rights.

Note You may also receive one of the previous error messages if you run a command to configure a network interface that does not exist. For example, in the example that is mentioned in the "Symptoms" section, you may receive one of the error messages if the Local Area Connection 2 interface does not exist.


To resolve this issue, run a Netsh command by using the Administrator account. To do this, follow these steps:
  1. Click StartStart button , and then type
    commandin the Start Search box.
  2. In the search results list, right-click Command Prompt, and then click Run as Administrator.

     User Account Control permission  If you are prompted for an administrator password or confirmation, type your password, or click Continue.
  3. At the command prompt, type the Netsh command that you want to use.

Article ID: 929858 - Last Review: Oct 21, 2008 - Revision: 1