Partager via


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

stsadmWin.zip

Comments

  • Anonymous
    January 09, 2007
    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 ...

  • Anonymous
    April 08, 2007
    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

  • Anonymous
    April 11, 2007
    From Rona we get one the useful tools for moss "stsadmWin". stsadm -o thankYouMessage -message "Thank

  • Anonymous
    April 11, 2007
    Where is the "An updated XML file for MOSS 2007 is attached to this post"?

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

  • Anonymous
    April 13, 2007
    Ronalus hat eine grafische Benutzeroberfläche für STSADM 2007 geschrieben. Unbedingt downloaden ! Technorati

  • Anonymous
    May 02, 2007
    STSAdm GUI foor WSS 3.0/MOSS 2007

  • Anonymous
    May 10, 2007
    Molti sanno quanto è importante il comando stsadm.exe : la console da riga di comando che permette di

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

  • Anonymous
    August 12, 2007
    Quest SharePoint Discovery Tool Scan for unmanaged, rogue, or under the radar deployments and get lists

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

  • Anonymous
    November 20, 2007
    Cada vez es mas sabido el potencial de los productos y tecnologías relacionados con Microsoft Office

  • Anonymous
    November 20, 2007
    Cada vez es mas sabido el potencial de los productos y tecnologías relacionados con Microsoft Office

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

  • Anonymous
    January 12, 2008
    Remember that little STSADMWin gem? v3 is here!

  • Anonymous
    January 12, 2008
    Ronalus has posted on his blog links to the STSADMWin v3/2007 version. Many people loved this little

  • Anonymous
    January 12, 2008
    Alternative list of stsadm commands grouped by function (using a SharePoint list;-). http://www.wssdemo.com/Lists/stsadm/AllItems.aspx

  • Anonymous
    January 12, 2008
    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?

  • Anonymous
    January 13, 2008
    Ronalus has posted about the release of a Windows interface version of the STSADM that works with the

  • Anonymous
    January 13, 2008
    Ronalus has posted about the release of a Windows interface version of the STSADM that works with the

  • Anonymous
    January 14, 2008
    The comment has been removed

  • Anonymous
    January 14, 2008
    The comment has been removed

  • Anonymous
    January 15, 2008
    HowTos Adding Code-Behind Files to Master Pages and Page Layouts in SharePoint Server 2007 Adding Custom

  • Anonymous
    January 15, 2008
    HowTos Adding Code-Behind Files to Master Pages and Page Layouts in SharePoint Server 2007 Adding Custom

  • Anonymous
    January 18, 2008
    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

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

  • Anonymous
    February 11, 2008
    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

  • Anonymous
    April 01, 2008
    Quick Outline for more detailed items on STSADM, especially with PowerShell goodness TechNet Powerful

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

  • Anonymous
    May 12, 2008
    The comment has been removed

  • Anonymous
    June 02, 2008
    Microsoft sabe que allá fuera existen (creo que yo no me puedo contar entre ellos) ITPros y Developers

  • Anonymous
    June 25, 2008
    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.

  • Anonymous
    July 09, 2008
    Ping back from | sharepointkings

  • Anonymous
    July 15, 2008
    Body: FYI. Here it is for 2007. http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007

  • Anonymous
    August 15, 2008
    Here are some links I found when I was reading through codeplex at http://www.codeplex.com/governance

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

  • Anonymous
    November 21, 2008
    STSAdm windows desktop interface

  • Anonymous
    April 09, 2009
    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

  • Anonymous
    June 03, 2009
    Los Administradores de SharePoint sabes que aparte de la Administración que podemos hacer del producto

  • Anonymous
    June 08, 2009
    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

  • Anonymous
    September 02, 2010
    I tried this on 2010 and it seems pretty good.   Most of the STSADM syntax is about the same, operations.xml might need a few tweaks.    Was there a way to auto-discover?   Maybe post a new XML for SharePoint 2010?

  • Anonymous
    November 11, 2010
    This app is so cool, very useful,  just one thing: could you add it a file browser to select the file for operations that need a .wsp like -addsolution ?.  Congratulations! Excelent Job!

  • Anonymous
    January 27, 2011
    Is the source code available? I'm doing a similar app, and wanted to grab some usefull parts from it (listing the operations and parameters from the XML). Thanks and great job!

  • Anonymous
    February 20, 2011
    It is really very very useful. Thanx

  • Anonymous
    May 08, 2011
    thanks for stsadmwin this is Dgmoss, i have some issue in moss , if u interested plz revert my email id dgmoss@live.com Thanks & Regards DGMOSS India