STSADM taking so long time to run – SLOW!

If yours is Intranet SharePoint Application, this is a very common issue “SLOW stsadm command”!!! Yes, you may not need to bother about this if you are not using it frequently. BUT,  if you have thousand lines of stsadm command you need to execute (such as migrating users from SharePoint 2007 to SharePoint 2010, installing/uninstalling solution packages), this could be an ass painful process.

Despite trying the following article http://dirkvandenberghe.com/2009/01/08/speed-up-sharepoint-spin-up-and-stsadm-execution-time-by-jeroen-ritmeijer.html, the slowness still persist

One thing that i notice from my previous project experience is that this issue will only happen when there is no internet connection in your Share Point server. You can try to enable internet access though. However, most of the cases,  you wont get the privilege to do so as this could be a security breach or the policy merely doesn’t allow you.

Nevertheless, the following modification could actually solve the slowness prooblem.

Resolution

Navigate to .NET Framework folder C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG  and look for machine.config file. (Note that the Location may be different if your server is running on 32 bit)

Look for the following section. (You might want to do a backup before making any changes)

[sourcecode]

Originally

<runtime/>

Change to

<runtime>

<generatePublisherEvidence enabled="false"/>

</runtime>

[/sourcecode]

Save the file and try STSADM now!

Leave a Reply

Your email address will not be published. Required fields are marked *