Delete SharePoint 2010 Search Service Application

This post has been in draft since last 2 years and would probably not see the light of the day if it had not been for me having to delete the SharePoint 2010 Search Service Application couple of times recently using this technique…

I have had this “consistent” experience of not being able to delete the Search Service Applicaiton from Central Administration

Remove-SPServiceApplication -id [] should do the trick… but if it doesn’t – our good old STSADM will nail it. Thanks to a forum post I had seen then… STSADM works everytime…

Here is the solution

Get -SPServiceApplication

Grab the Search Service Application id – [for example] 30b15b57-6bec-46b5-990d-541d99bab53b

then use this

Stsadm -o deleteconfigurationobject -id 30b15b57-6bec-46b5-990d-541d99bab53b (Preferred over the next method of PowerShell)


Remove-SPServiceApplication -id [id of Search Service Application] -confirm:$false -RemoveData

That’s it!

Applying WIM To VHD

This is a continuation of the series Re Imaging SharePoint VMs on the fly.

Now that you have captured your bootable virtual hard drive that was prepared for SharePoint Installation, you can apply that to another active partition or a virtual hard drive and then install whichever flavour of SharePoint you please!

As seen in the earlier post, capturing a virtual hard drive to create a Windows Image File is time consuming (compared to taking a snapshot in VMWare or Hyper-V) and memory intensive as well, however the advantage is that you can leverage on bare metal power – like having dual boot or multi-boot environment on your laptop.

Continue reading “Applying WIM To VHD”