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

I am unable to use the STSADM command. When i try to use it, it shows me access denied.

I am the admin of my system, but still I am getting access denied.

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

Are you running Server 2008? If so, you need to open the command prompt using the "Run as Administrator" option.

share|improve this answer
    
User Access Control will prevent you from running commands unless you do the "Run As" that Mark suggested. –  Mike Oryszak Jun 17 '10 at 19:12
add comment

Add your user account to the Administrators group on the Local Machine. Make sure the BUILTIN\Administrators is in the Farm Administration group.

Central Administration -> Operations -> Update farm administrator's group

share|improve this answer
    
yeah i have been added to admin list.still same "access denied" –  Anonymous Jun 17 '10 at 18:56
add comment

Are you logged in as a local administrator of the system? Also, you must be logged in to the SharePoint server via a remote desktop or local connection; you cannot "remotely" administer a SharePoint farm with stsadm.

share|improve this answer
    
yes i have been logged in as administrator.But i m remotely accessing the PC.Is this an issue? –  Anonymous Jun 17 '10 at 19:02
    
As long as you log in remotely with an account that is a member of the Administrators group on the system, you should be fine (as in, issue isn't with remote desktop connection). –  James Love Jun 17 '10 at 20:01
add comment

Your Answer

 
discard

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