SharePoint 2007 STSADM Overview
Written By: Matt Takhar -- 1/5/2011 --
(1261) comments --
Categories: MOSS 2007, System Administration, WSS3
< Prev -
- Next >
| Become a paid author
When SharePoint goes wrong or you need to do some "advanced" configuration, you are often referred to a tool called
STSADM. This article gives you an overview of that tool.
Firstly lets clear up the name, STSADM stands for SharePoint Team Server Administration.
(This is because many moons ago SharePoint was called Team Server. Those of you new to SharePoint will find Microsoft
likes to change product names from time to time.)
STSADM is a command-line tool to help you administer SharePoint. It is more powerful than "SharePoint Central Administration" and allows you to script multiple commands. However,
one small caveat here. Going forward Microsoft is encouraging us to use the new SharePoint PowerShell
STSADM is located in your SharePoint (2007) installation directory, which is also often referred to as the SharePoint HIVE.
%COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\12\bin
C:\Program files\Common Files\Microsoft Shared\Web Server Extensions\12\bin
First tip - setting your Path
If you want to execute an STSADM command you have have to launch a command prompt (because it
is a command line tool) and then navigate to the HIVE before then typing in the
A much better approach is to add the SharePoint HIVE to your operating systems Environment PATH variable. The net result of this will be the ability to execute
STSADM from any location (it saves you navigating to the HIVE!).
< Prev -
- Next >
- Connect to your SharePoint Server
- Load up "System Settings" (Right Click Computer and select Properties)
- Click the Advanced tab on System Settings
- Click Environment Variables
- On the Environment Variables dialog select the Path variable under System Variables. Click
On the Edit System Variable dialog click the Variable Value field and press
END on your keyboard.
- At the end of the Variable Value field enter the following
- ;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
- Note the semi colon at the beginning
- Also note the number 12, this the path for SharePoint 2007 or WSS 3.0. Change this to 14 for SharePoint 2010
- Click OK on all of the open dialogs
- Test by opening a NEW command prompt and typing in "STSADM -help"