Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using some applications need to do some thing as an admin, so I was using the verb "runas" in windows 7 and it is working well,

However, once we migrate to windows 8, the new processes were having the same permissions as the invoker no matter what it was, so a lot of permission exceptions were thrown.

What happened to "runas" verb? Is there a new verb or more suitable one to use?

share|improve this question

migrated from Dec 27 '12 at 10:01

This question came from our site for professional and enthusiast programmers.

@Timothy question is about runas verb in ShellExecute. Q belongs here on SO. – David Heffernan Dec 27 '12 at 8:19
runas works fine on windows 8. Clearly your environment is a little special. So, more details are needed. – David Heffernan Dec 27 '12 at 8:21
I expected as much, but that is not specified in the question. – TimothyP Dec 27 '12 at 8:59
I guess the people that migrated this here don't know about verbs and ShellExecute. I don't have enough rep to migrate it back where it belongs. – David Heffernan Dec 27 '12 at 20:03
I have the same issue in windows 8. Setting ProcessStartInfo.Verb = "runas" is not working. – Despertar Jan 26 '13 at 0:11

You must log in to answer this question.