16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Installing Windows SharePoint Services 51<br />

Removing Windows SharePoint Services from a Virtual Server by Using<br />

the Comm<strong>and</strong> Line<br />

You can use the unextendvs operation with the Stsadm.exe comm<strong>and</strong>-line utility to<br />

remove Windows SharePoint Services from a virtual server. The unextendvs operation<br />

takes the -url parameter <strong>and</strong> the optional -deletecontent parameter. When you<br />

use unextendvs without the -deletecontent parameter, it leaves the content databases<br />

in place so that you can reconnect to the content for a virtual server. When<br />

you include the -deletecontent parameter, the content databases are removed <strong>and</strong><br />

the virtual server is removed from the configuration database.<br />

For example, to remove Windows SharePoint Services from a virtual server but<br />

preserve the content databases, use the unextendvs operation with syntax as shown<br />

in the following example:<br />

stsadm -o unextendvs -url http://servername<br />

To remove Windows SharePoint Services from a virtual server <strong>and</strong> remove the<br />

content databases permanently, use the unextendvs operation with syntax as shown<br />

in the following example:<br />

stsadm -o unextendvs -url http://servername -deletecontent<br />

When you use the unextendvs operation with the -deletecontent parameter,<br />

you cannot reconnect to the site content later.<br />

Uninstalling Windows SharePoint Services from the Server Computer<br />

If you want to remove Windows SharePoint Services from a server computer<br />

entirely, you can uninstall by using the Add Or Remove Programs control panel.<br />

Uninstalling Windows SharePoint Services does not remove any chained products<br />

that were installed, such as WMSDE. You must uninstall these programs separately.<br />

You must be an administrator on the server computer to uninstall Windows<br />

SharePoint Services.<br />

When you use the Add or Remove Programs control panel to remove Windows<br />

SharePoint Services from a server, it calls a comm<strong>and</strong>-line operation, stsadm<br />

-o uninstall, to perform the task. The uninstall operation does not remove any<br />

chained products that were installed. The uninstall operation takes the optional<br />

-deletecontent parameter. When uninstall is used without the -deletecontent parameter,<br />

it leaves the content <strong>and</strong> configuration databases in place so that Windows<br />

SharePoint Services can be reinstalled, <strong>and</strong> so that you can reconnect to the databases<br />

<strong>and</strong> continue hosting sites. When the -deletecontent parameter is used, the<br />

content <strong>and</strong> configuration databases are removed, <strong>and</strong> you cannot recover the site<br />

content.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!