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

4 Answers 4

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 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

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

Check the Folder where the backup file will store and should not readonly. if yes uncheck from folder properte and try again. its working for me. Thank you, Eugine

share|improve this answer
Backup file? How does your answer relate to the question about running STSADM? Perhaps you need to add more details to your answer. –  Phil Greer Aug 6 '14 at 20:21
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Waqas Sarwar MCSE Aug 6 '14 at 20:23

Your Answer


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