Solved

"requested operation requires elevation" - how do I get that elevation?

Posted on 2014-10-01
5
1,562 Views
Last Modified: 2014-10-01
Hi guys,

I have a 64-bit Windows 7 Pro system. It's my personal computer and no-one else accesses it, so when I set-up the user that I login as, I have administrator rights.

In trying to see what ports were being used (to resolve another issue) I opened a DOS window (command prompt) and ran 'netstat -b'. This returned a message 'The requested operation requires elevation.' I can run 'netstat' without a switch and I can run it with other switches, just not the -b switch.

In Googling this message I get the impression it has something to do with file rights/priviledges but I can't seem to make any changes that let me run this switch. And I can't understand why it is so selective with the switch it allows.

Has anyone seen this before, and if you have, were you able to fix it? Attached is a screen shot showing the message returned for netstat and then netstat -b.

Help appreciated.

Carl
0
Comment
Question by:Carl
5 Comments
 
LVL 16

Accepted Solution

by:
Joshua Grantom earned 125 total points
ID: 40354727
You need to right click the command prompt icon and run as administrator, this opens an elevated command prompt window.

cmdadmin.PNG
0
 
LVL 12

Assisted Solution

by:David Paris Vicente
David Paris Vicente earned 125 total points
ID: 40354737
You could try disable UAC

Start Menu -> Control Panel->User Accounts->User Accounts Control Settings-> And push the button to Never Notify.

Or Right click in cmd.exe and choose run as Administrator.

Let us know if helped.
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 125 total points
ID: 40354744
Or, when cmd.exe is selected, hold down a Ctrl key and a Shift key and hit Enter.

Either way you do it, you should then receive a User Account Control (UAC) dialog to which you must answer Yes for the elevated prompt to open.UAC dialog for cmd.exe elevation
0
 
LVL 32

Assisted Solution

by:it_saige
it_saige earned 125 total points
ID: 40354754
To solve your 'requires elevation' issue, you can simply open the command prompt with administrative privileges.

1.  Start
2.  In Search type 'cmd'
3.  Right-click on the cmd.exe item that is found and choose 'Run as administrator'.

You could also create a shortcut on your desktop that allows you to do the same thing.

This happens because even though you may be an administrative user, your user is not a root administrator (to borrow a term from the Unix world).

Microsoft implemented security changes starting with Windows Vista that sort of blurred the lines between root level administration and common administrative tasks (these changes carried over into Windows 7 and Windows 8).

Common administrative tasks are those that can be performed by a user-defined administrative user.  Root level administrative tasks are those that require elevation no matter the the users role on the workstation.  Root level administrative tasks that are accessed from the GUI can be identified by the shield that is added to the lower right hand corner of the task's icon.

These can be semi-turned off by disabling UAC (User Account Control), but doing so is normally frowned upon because your system inherently becomes less secure.

-saige-
0
 

Author Closing Comment

by:Carl
ID: 40354776
Hi guys,

thanks for your prompt responses. You all provided the solution so I shared out the points.

David, I had tried changing my UAC level but that didn't seem to work. Like you all said, right-clicking and running as Administrator worked.

Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Image capture and Deploy method is consist on two phases. In our first phase we capture the image of windows from the PC in which Windows and others softwares are already installed. In second phase we deploy the created image on new PC in which we…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now