Article ID: 979507 - View products that this article applies to.
In Microsoft SharePoint Server 2010 or in Microsoft SharePoint Foundation 2010, you create a custom operation for the Stsadm.exe utility by using the method that is described in the following MSDN Web site:
How to extend the Stsadm utilityWhen you run the Stsadm.exe utility without any parameters to enumerate all the operations, the custom operation is not enumerated. This problem occurs after you perform one of the following actions:
This problem occurs because the XML registration file of the custom operation is not copied automatically to the %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG directory.
To work around this problem, manually copy the XML registration file of the custom operation to the %ProgramFiles%\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG directory.
Article ID: 979507 - Last Review: September 12, 2011 - Revision: 4.0