March 05, 2012

How to start the STSADM Command Prompt.

Using STSADM :


Microsoft Office SharePoint Server 2007 includes the Stsadm tool for command-line administration of Office SharePoint Server 2007 servers and sites.


  1. We can use Stsadm from the command line or with batch files or scripts.
  2. To use Stsadm commands, user must be a member of the local Administrators group on the Server.
  3. Stsadm commands must be run on the server itself.
  4. 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.
    1. Open Dos command prompt.
    2. 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
    3. 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.wsp
      Stsadm Help: stsadm.exe –help <operation>
      e.g., stsadm.exe –help backup
    cmd

No comments:

Post a Comment