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 (45)

  1. rodo777 says:

    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 …

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

  3. john@devblue.com says:

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

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

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

  6. STSAdm GUI foor WSS 3.0/MOSS 2007

  7. Igor Macori says:

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

  8. cedtat says:

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

  9. Don Hite says:

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

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

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

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

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

  14. Remember that little STSADMWin gem? v3 is here!

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

  16. imorrish says:

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

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

  17. Waldek Mastykarz says:

    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?

  18. CodeJedi.NET says:

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

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

  20. zenmonkey says:

    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.

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

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

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

  24. Ronalus says:

    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

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

  26. wmabern says:

    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

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

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

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

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

  31. wintert says:

    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.

  32. parth2651 says:

    Ping back from | sharepointkings

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

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

  35. STSAdm windows desktop interface

  36. 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

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

  38. 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

  39. Jeff @spjeff says:

    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?

  40. Pablo Guerra - Colombia says:

    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!

  41. diego says:

    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!

  42. Mahtab Siddique says:

    It is really very very useful. Thanx

  43. Dgmoss says:

    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