Welcome to MSDN Blogs Sign in | Join | Help
stsadmWin 2007 is here

One of the most frequently used utilities in SharePoint (2007 as well as 2003) is STSADM.

Although highly improved in 2007, it maintains backward compatible with 2003 syntax.

As STSADM is a command line utility, and the command-line is somewhat limited compared to Windows GUI, especially when it comes to non-English usage, there is a room for GUIs like stsadmWin (STSADM for Windows).

How stsadmWin works?

stsadmWin reads a list of commands from an XML file (namely: operations.xml), and displays a combo with the operations, denoting mandatory and optional parameters, and linking to the utility’s help.

The above download includes an XML file with SharePoint 2003 operations.

An XML file for MOSS 2007 RTM is attached by the end of this post (in stsadmWin.zip ).

Help information

stsadmWin displays help for the selected operation in the 2003 version.

This feature is currently not available in the 2007 version.

To get more information on STSADM 2007 see:

 * Stsadm command-line tool (Office SharePoint Server)

 * Stsadm command-line tool (Windows SharePoint Services)

 * Complete reference of all STSADM operations (with parameters) in MOSS 2007

 * Run STSADM /?   -or-   STSADM –help <OPERATION>

To get a list of stsadm commands grouped by function - see Ian Morrish's WSS Demo .
The list is updated to SP1 and even indicates if a command is unique  to stsadm or if there is a Central Admin/SSP equivalent.

stsadmWin extensibility

Unlike the 2003 version, STSADM in 2007 is extensible. Meaning: you may get newer commands (operations) available as you add components to your environment.

To generate an XML file that suites your environment – you can use the GetOperations utility (also attached by the end of this post - in stsadmWin.zip).

Note: it is advisable to backup existing XML before generating an updated version …

A note on the generated XML:

 * A couple of operations may be generated with wrong syntax.

 * The ones I currently know about are: osearch and profilechangelog.

 * An updated syntax will be available in operationsUpdate.xml, which is referenced below.

 * You will only need this update when you re-generate operations.xml. In this case - you have to update operations.xml with the content of operationsUpdate.xml .

 * The operations.xml files that are referenced below - already include the correct syntax.

Download

stsadmWin 2007 is attached by the end of this document - in stsadmWin.zip .
Current version is v3.0 , which was last updated on Jan. 18, 2008.
If you do not see the attachments - you may be on the main BLOG page.
Clicking on this post title will get you to the page in which you will see the link to the download.

Disclaimer
This posting is provided "AS IS" with no warranties. Use of included utilities are subject to the terms specified here.

 

Enjoy STSADM,

Ronalus

Posted: Thursday, January 04, 2007 6:25 PM by Ronalus
Attachment(s): stsadmWin.zip

Comments

rodo777 said:

Thank you very much!

The help file for 2007 would really be a fine thing .. ;-)

I try to figure out what the option -preparetomove means and does,

because i got an error message after restore a content db from a

different server, and the message hints:

Use stsadm -o preparetomove with parameter -OldContentDB <uniqueidentifier>

But no hint from where to get this guid. OK, i fixed it with SQL profile which

showed me which table the command touches, so I found out what was wrong.

But still wonder, what preparetomove does and how? Because I want

to move sites from one db to another, and maybe that is possible with that ...

# January 9, 2007 8:18 AM

Bart Bultinck's Blog - Tales From The infr#structureside said:

Real men don't click ! But the following download might also be usefull : http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007-version.aspx

# April 8, 2007 12:15 PM

Meron Fridman's Blog said:

From Rona we get one the useful tools for moss "stsadmWin". stsadm -o thankYouMessage -message "Thank

# April 11, 2007 1:41 PM

John Gerl said:

Where is the "An updated XML file for MOSS 2007 is attached to this post"?

# April 11, 2007 2:35 PM

Philippe Sentenac [Usual Coder] said:

Depuis un ou deux mois, on ne compte plus le nombre d'applis qui ont été développées pour simplifier

# April 12, 2007 4:46 PM

SharePoint, SharePoint and stuff said:

Ronalus hat eine grafische Benutzeroberfläche für STSADM 2007 geschrieben. Unbedingt downloaden ! Technorati

# April 13, 2007 4:03 PM

Leon Meijer's Weblog said:

STSAdm GUI foor WSS 3.0/MOSS 2007

# May 2, 2007 6:45 PM

Igor Macori said:

Molti sanno quanto è importante il comando stsadm.exe : la console da riga di comando che permette di

# May 10, 2007 3:59 PM

cedtat said:

Great tool, can you change the link, Microsoft servers are not supported asp page anymore so there must be a new link :)

# July 11, 2007 11:17 AM

Don Hite said:

Quest SharePoint Discovery Tool Scan for unmanaged, rogue, or under the radar deployments and get lists

# August 12, 2007 9:04 AM

Dirk's Sharepoint Blog space said:

One of the most frequently used utilities in SharePoint (2007 as well as 2003) is STSADM. Although highly

# October 23, 2007 4:07 AM

Luis Du Solier G. - SharePoint en Español said:

Cada vez es mas sabido el potencial de los productos y tecnologías relacionados con Microsoft Office

# November 20, 2007 11:48 PM

SharePoint en Español - Luis Du Solier G. said:

Cada vez es mas sabido el potencial de los productos y tecnologías relacionados con Microsoft Office

# November 20, 2007 11:49 PM

Mirrored Blogs said:

Corps: J&#39;en avais parlé il y a quelque temps avec notamment la publication d&#39;un projet sur CodePlex

# December 3, 2007 6:29 PM

Andrew Connell [MVP MOSS] said:

Remember that little STSADMWin gem? v3 is here!

# January 12, 2008 10:58 AM

Mirrored Blogs said:

Ronalus has posted on his blog links to the STSADMWin v3/2007 version. Many people loved this little

# January 12, 2008 12:07 PM

imorrish said:

Alternative list of stsadm commands grouped by function (using a SharePoint list;-).

http://www.wssdemo.com/Lists/stsadm/AllItems.aspx

# January 13, 2008 3:47 AM

Waldek Mastykarz said:

If I'm not wrong not all of the STSADM commands are present in the operations.xml. Have you added the hard coded commands as well to your tool?

# January 13, 2008 5:32 AM

CodeJedi.NET said:

Ronalus has posted about the release of a Windows interface version of the STSADM that works with the

# January 13, 2008 8:09 PM

Noticias externas said:

Ronalus has posted about the release of a Windows interface version of the STSADM that works with the

# January 13, 2008 8:31 PM

Gyan Penrose-Kafka said:

The link at the beginning, in the paragraph starting "As STSADM is a command line utility..." goes to a dead page at MS. Glad I found the link to the program at the end of the blog entry.

# January 14, 2008 11:19 AM

Mirrored Blogs said:

Body: AC just posted a link to the new version of the STSADM windows utility that we all knew and loved

# January 14, 2008 11:36 AM

SharePoint, SharePoint and stuff said:

HowTos Adding Code-Behind Files to Master Pages and Page Layouts in SharePoint Server 2007 Adding Custom

# January 16, 2008 4:12 AM

Mirrored Blogs said:

HowTos Adding Code-Behind Files to Master Pages and Page Layouts in SharePoint Server 2007 Adding Custom

# January 16, 2008 4:30 AM

Ronalus said:

Hi Waldek,

Yes, the "hard coded" ones are supposed to be included. Can you specify which commands are missing?

Dear Gyan,

Thank you for the update. I removed the link. If anyone needs the 2003 version of stsadmWin - please let me know and I will upload it for you.

Enjoy STSADM,

Ronalus

# January 18, 2008 1:56 PM

Blog del CIIN said:

Para cerrar el mes de enero, aquí os dejamos la entrega nº 14 de recursos y enlaces relevantes sobre

# January 30, 2008 5:25 PM

wmabern said:

Please upload the 2003 version. I am new to this and would like to see how 2003 works before maybe moving to 2007. Thank you.

wmabern

# February 11, 2008 4:18 PM

SharePoint Thinks, Links and Clinks said:

Quick Outline for more detailed items on STSADM, especially with PowerShell goodness TechNet Powerful

# April 1, 2008 12:27 PM

Mirrored Blogs said:

Y es que mucho se habla de este comando, que va por sus casi 200 parametros y es el nucleo de SharePoint

# April 22, 2008 12:53 PM

Adlai Maschiach said:

STSADM Command Line Reference All those who maintain some Administrative skills of SharePoint ( regardless

# May 13, 2008 12:43 AM

Vlad-Point Master Chief said:

Microsoft sabe que allá fuera existen (creo que yo no me puedo contar entre ellos) ITPros y Developers

# June 3, 2008 12:32 AM

wintert said:

Hey man,

Great update for the new StsAdm 2007.

Great article either.

You really like to get inside the guts of everything ha? :)

Keep on doing the great job.

# June 26, 2008 4:10 AM

parth2651 said:

Ping back from | sharepointkings

# July 10, 2008 1:43 AM

SharePoint MVP Blogs said:

# July 15, 2008 1:46 PM

Coskun Cavusoglu SharePoint said:

Here are some links I found when I was reading through codeplex at http://www.codeplex.com/governance

# August 15, 2008 8:51 AM

Mirrored Blogs said:

Body: Tech-Ed seems like a distant memory now but it was actually only a week ago. I had an awesome time

# September 10, 2008 7:20 AM

Envarian - SharePoint Advice said:

STSAdm windows desktop interface

# November 21, 2008 5:10 PM

Confluence: SharePoint Development Wiki said:

Creating a list of other tools to make SharePoint Dev and Admin a little easier. All are free unless marked otherwise. Visual Studio Development Environment Extensions SharePoint Development Environment Modifications

# April 9, 2009 10:30 AM

Luis Du Solier - SharePoint en Español said:

Los Administradores de SharePoint sabes que aparte de la Administración que podemos hacer del producto

# June 3, 2009 10:02 PM

Confluence: SharePoint Development Wiki said:

Creating a list of other tools to make SharePoint Dev and Admin a little easier. All are free unless marked otherwise. Visual Studio Development Environment Extensions CodeRush/Refactor Tools for SharePoint Developers

# June 9, 2009 6:04 AM
Anonymous comments are disabled
Page view tracker