Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.