Friday, April 24, 2009

WindowsError: The requested operation requires elevation


I got this error while installing Pylons for the first time. Pylons a web framework for Python - and from what I've read, the best solution for what we need. Of course, there's Django, which Google AppEngine uses.

Anyway, the error is due to user rights on your machine. I'm sick of Vista requiring me to run things as an administrator or preventing me from running things. I am the administrator. And I'm always logged in, so why does it keep asking me this.

I finally disabled User Account Control. Just go to Control Panel -> User Accounts -> Turn User Account Control off.

5 comments:

Tim Marman said...

The UI can be annoying at times, but having this on out-of-the-box is a key reason Vista is more secure than previous versions of Windows.

Frankly, it's a better idea not to run as administrator for local tasks regardless of your OS.

Yes, there are things you want to run as admin (like this) but there are just as many things you don't (like viruses). Turning this off can be a big exposure... just a warning :)

Mark Moulton said...

Noted your use of Pylons. I will be very curious to see how that works out.

Good luck getting your operations elevated!

Mark

Lefty said...

@Tim - I agree, thanks for the comment. I've got plenty of anti-virus and firewall software up to stop a small army (not really). So I'm putting my faith more in that. This should definitely not be turned off by people unfamiliar with OS operations.

I've been getting utterly annoyed with running programs, as an admin, that still require me to confirm that I want to run the op.

Lefty said...

@Mark - will definitely keep you posted!

cv service said...

I'm sick of Vista requiring me to run things as an administrator or preventing me from running things.