Solved

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

Posted on 2014-10-01
5
1,680 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 33

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

733 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