How to use STSADM Commands
January 29th, 2009
Using STSADM :
Microsoft Office SharePoint Server 2007 includes the Stsadm tool for command-line administration of Office SharePoint Server 2007 servers and sites.
- We can use Stsadm from the command line or with batch files or scripts.
- To use Stsadm commands, user must be a member of the local Administrators group on the Server.
- Stsadm commands must be run on the server itself.
- Invoking stsadm commands is by supplying operation and set of command line parameter from the command prompt.
Please follow the steps below to invoke stsadm commands in the SharePoint server.- Open Dos command prompt.
- Browse to the directory that you can access stsadm.exe. The default location in version 3.0 is
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin - Type the stsadm commands, When you invoke Stsadm, you supply an operation and a set of command-line parameters in the form:
stsadm.exe -o <operation>
e.g., stsadm.exe –o addsolution -filename E:\test.wspStsadm Help: stsadm.exe –help <operation>
e.g., stsadm.exe –help backup

Categories: SharePoint