A Windows Vista forum. Vista Banter

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.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Requires Elevation



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 24th 06, 03:46 PM posted to microsoft.public.windows.vista.networking_sharing
Michael Henderson
external usenet poster
 
Posts: 7
Default Requires Elevation

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.

  #2 (permalink)  
Old November 24th 06, 03:59 PM posted to microsoft.public.windows.vista.networking_sharing
Kristan Kenney
external usenet poster
 
Posts: 64
Default 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.


  #3 (permalink)  
Old November 24th 06, 05:24 PM posted to microsoft.public.windows.vista.networking_sharing
Mike Shepperd
external usenet poster
 
Posts: 3
Default 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.



  #4 (permalink)  
Old November 25th 06, 10:16 AM posted to microsoft.public.windows.vista.networking_sharing
Robert Moir
external usenet poster
 
Posts: 548
Default 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...


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.