Sep 25, 2009

"The requested operation requires elevation."

Ever since Vista introduces UAC (User Account Control), it becomes an issue whenever you need to execute command and script at command prompt.

Here's the message you get and it means you hit UAC when you execute command.

"The requested operation requires elevation."

You have 3 options:
  • Turn off UAC (bad idea).
  • From "Start" menu, follow "All Programs", "Accessories"; right-click "Command Prompt", select "Run as administrator".
  • Use the shortcut below:
  • Goto “Start” and enter “cmd” into the search field.
  • Do not just hit enter. Hold CTRL + Shift and hit Enter!
This works on Windows 7 too!