1

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?

1 Answer 1

3

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

2
  • Seems like a good solution - run the stsadm command as administrator and bypass UAC once for that call... thanks!
    – user879
    Commented Nov 24, 2010 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 :-) Commented Nov 24, 2010 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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