Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

If you have an access denied error message when executing an STSAdm command its easy to solve by turning off UAC.

I can understand this, but what I would like to know is, what is the offical way to solve the access denied message while keeping UAC turned on.

Reason is: In some environments, some NA's get really annoyed if you disable UAC or adjust this setting. I personally see UAC as a hindrance, but there are certain times when disabling it is against company regulations.

You might say - just disable it - run the command then re-enable it. Yes you can do this, but this also requires 2 system restarts. Clearly not always an option if you're working on a busy production site without load balancing.

Is there any official Microsoft documentation on this?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Not sure but you could always just pop open a command line "As Administrator" - you only get the UAC pop up once that way.

share|improve this answer
    
Seems like a good solution - run the stsadm command as administrator and bypass UAC once for that call... thanks! –  user879 Nov 24 '10 at 12:52
    
if you hold down SHIFT while right-clicking console (or PowerShell, IE or other) you get both the As Administrator and As Another User in context menu. Very useful when you want to connect with another user :-) –  Anders Rask Nov 24 '10 at 19:49

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.