![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
While trying to run the following command:
netsh interface ip set address name="Local Area Connection" static 12.1.1.25 255.0..0 12.1.1.20 I get this error: The requested operation requires elevation. |
|
|||
|
This is because the command prompt in which you are executing this command
from is not an "Administrative" command prompt sesssion. To run the command prompt elevated, click on Start, All Programs, Accessories, right click on Command Prompt and click on "Run as administrator", and then provide consent when User Account Control prompts you. Then try executing your command again. Hope this helps, -- Kristan Kenney Windows Live Butterfly News and Experiences on Windows Vista and beyond: http://www.windows-now.com This post is provided "AS IS" with no warranties, and confers no rights. "Michael Henderson" wrote in message ... While trying to run the following command: netsh interface ip set address name="Local Area Connection" static 12.1.1.25 255.0..0 12.1.1.20 I get this error: The requested operation requires elevation. |
|
|||
|
I've created a .cmd file "\Windows\System32\RACmd.cmd"
Which contains just this one line: Runas /user:administrator "cmd.exe /k cd c:\ && color cf && title ***** Admin Console *****" That will prompt me for the administrator password, then open a cmd prompt with a distinctive title and color combination so I can easily tell that it's running with elevated privileges. -- Mike Shepperd Sunfire Solutions LLC Seattle, WA [This posting is provided AS-IS, with no warranties and confers no rights] "Kristan Kenney" wrote in message ... This is because the command prompt in which you are executing this command from is not an "Administrative" command prompt sesssion. To run the command prompt elevated, click on Start, All Programs, Accessories, right click on Command Prompt and click on "Run as administrator", and then provide consent when User Account Control prompts you. Then try executing your command again. Hope this helps, -- Kristan Kenney Windows Live Butterfly News and Experiences on Windows Vista and beyond: http://www.windows-now.com This post is provided "AS IS" with no warranties, and confers no rights. "Michael Henderson" wrote in message ... While trying to run the following command: netsh interface ip set address name="Local Area Connection" static 12.1.1.25 255.0..0 12.1.1.20 I get this error: The requested operation requires elevation. |
|
|||
|
Mike Shepperd wrote:
I've created a .cmd file "\Windows\System32\RACmd.cmd" Which contains just this one line: Runas /user:administrator "cmd.exe /k cd c:\ && color cf && title ***** Admin Console *****" That will prompt me for the administrator password, then open a cmd prompt with a distinctive title and color combination so I can easily tell that it's running with elevated privileges. That isn't a bad idea... |