<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SpinPlate &#187; command-line</title>
	<atom:link href="http://spinplate.com/tag/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://spinplate.com</link>
	<description>Just keeping the plates from falling.</description>
	<lastBuildDate>Thu, 17 Nov 2011 17:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Can&#8217;t use PSconfig to create SharePoint 2010 configdb</title>
		<link>http://spinplate.com/2011/08/cant-use-psconfig-to-create-sharepoint-2010-configdb/</link>
		<comments>http://spinplate.com/2011/08/cant-use-psconfig-to-create-sharepoint-2010-configdb/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 17:59:51 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[psconfig]]></category>

		<guid isPermaLink="false">http://spinplate.com/2011/08/cant-use-psconfig-to-create-sharepoint-2010-configdb/</guid>
		<description><![CDATA[On a client’s site today I was having a horrible time trying to use psconfig to create a configdb. The reason I was doing it is because the client wanted every SharePoint database to have a certain prefix on the &#8230; <a href="http://spinplate.com/2011/08/cant-use-psconfig-to-create-sharepoint-2010-configdb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On a client’s site today I was having a horrible time trying to use psconfig to create a configdb. The reason I was doing it is because the client wanted <strong>every SharePoint database</strong> to have a certain prefix on the database name. You can use the configuration wizard to customize the name of the configdb but it doesn’t let you customize the name of the Central Admin site’s content database. To do that, you need to use PSconfig.exe. No problem, I’ve done this before; sometimes for this exact reason.</p>
<p>But this time I had a horrible time doing it. I don’t know if these factors had anything to do with it but my situation included the following noteworthy factors:</p>
<ul>
<li>Brand new SQL 2008 R2 CU7 Active/Passive clustered SQL environment with a named instance </li>
<li>SQL is configured to use dynamic ports only on TCP/IP </li>
<li>My SharePoint 2010 hosts is configured to connect to use SQL client aliases to connect </li>
<li>SharePoint 2010 was installed with media that was slipstreamed with service pack 1 and the June 2011 CU </li>
</ul>
<p>Here is the command I was trying to use:</p>
<p><font face="Courier New">psconfig.exe -cmd configdb -create -server MYSQLAliasName -database FancyPrefix_SharePoint_Config -dbuser Domain\SPfarm -dbpassword SomePassword -user Domain\spadmin -password SomePassword -admincontentdatabase SP_FTIAP_Admin_Content –passphrase MY_passphrase</font></p>
<p>The error I got in command-prompt window was:</p>
<blockquote><p>The configdb command is invalid or a failure has been encountered.      <br />Cannot connect to database master at SQL server at MYSQLAliasName. The database might not       <br />exist, or the current user does not have permission to connect to it.</p>
</blockquote>
<p>Not helpful. After verifying that I was able to connect I turned to look at the database server. But on the SQL server there was a more descriptive error in the SQL Logs:</p>
<blockquote><p>Error: 18456, Severity: 14, State: 6.</p>
<p>Message      <br />Login failed for user ‘Domain\SPfarm&#8217;. Reason: Attempting to use an NT account name with SQL Server Authentication.</p>
</blockquote>
<p>So at first, I tried to configure SQL to accept Windows Authentication only. That didn’t help, after restarting the services, future attempt got me this error:</p>
<blockquote><p>Error: 18456, Severity: 14, State: 58.</p>
<p>Message      <br />Login failed for user ‘Domain\SPfarm’. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. </p>
</blockquote>
<p>So no dice. I kept searching and trying variations. Including altering my syntax to use the “username@domain.local” style but nothing worked.</p>
<p>I never did figure out how to get past the problem. I ran out of time and decided to go around the issue. I created the farm using the configuration wizard and then followed <a href="http://www.bullspit.co.uk/2011/03/19/sharepoint-2010-change-the-name-of-the-administration-content-database/" target="_blank">Cuban Pete’s instructions to change the name of the Admin Content database</a>, which is simply the PowerShell commands needed to change the name in SharePoint and then when to go into SQL Server Managment Studio and change the actual database name.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/psconfig' rel='tag' target='_blank'>psconfig</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_blank'>SharePoint</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2011/08/cant-use-psconfig-to-create-sharepoint-2010-configdb/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Searching Through Active Directory</title>
		<link>http://spinplate.com/2011/03/searching-through-active-directory/</link>
		<comments>http://spinplate.com/2011/03/searching-through-active-directory/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 21:19:35 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Windows User]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://spinplate.com/?p=123</guid>
		<description><![CDATA[There used to be a time when it was easy to search for Active Directory users or security groups or computer names. Back in Windows 2000 it was easy but now you need a dozen clicks to get XP or &#8230; <a href="http://spinplate.com/2011/03/searching-through-active-directory/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There used to be a time when it was easy to search for Active Directory users or security groups or computer names.  Back in Windows 2000 it was easy but now you need a dozen clicks to get XP or Windows 7 to let you search Active Directory.  Lucky for you you can make a quick shortcut to get you there.</p>
<p>Create a new shortcut and make the destination:<br />
     <code>%windir%\system32\rundll32.exe dsquery.dll,OpenQueryWindow</code></p>
<p>Give it a memorable name like &#8220;Active Directory Search&#8221; and consider changing it to a snappier icon and boom, there ya go.  Now you can search through all of the users, contacts, groups and even containers if you use the advanced tab.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Active+Directory' rel='tag' target='_blank'>Active Directory</a>, <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/Search' rel='tag' target='_blank'>Search</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2011/03/searching-through-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable SSL 2.0 and force SSL 3.0 and TLS 1.0 in IIS</title>
		<link>http://spinplate.com/2010/08/how-to-disable-ssl-2-0-and-force-ssl-3-0-and-tls-1-0-in-iis/</link>
		<comments>http://spinplate.com/2010/08/how-to-disable-ssl-2-0-and-force-ssl-3-0-and-tls-1-0-in-iis/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:02:00 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft Admin]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://spinplate.com/2010/08/how-to-disable-ssl-2-0-and-force-ssl-3-0-and-tls-1-0-in-iis/</guid>
		<description><![CDATA[I lot of places want to disable weaker encryption levels and require more secure encryption levels. There isn&#8217;t a lot of clear procedures out there that explain how this is done. So for the greater good, I&#8217;m posting it here. &#8230; <a href="http://spinplate.com/2010/08/how-to-disable-ssl-2-0-and-force-ssl-3-0-and-tls-1-0-in-iis/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I lot of places want to disable weaker encryption levels and require more secure encryption levels. There isn&#8217;t a lot of clear procedures out there that explain how this is done. So for the greater good, I&#8217;m posting it here.</p>
<h3>Follow these steps to make the change manually:</h3>
<ol>
<li><a href="http://windows.microsoft.com/en-US/windows7/Back-up-the-registry">Back up your registry</a> (outside link) </li>
<li>Disable SSL 2.0:
<ol>
<li>Browse to the &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0&quot; key.&#160; </li>
<li>There is probably a key there called &quot;Client&quot;.&#160; If there is not also a key under there called &quot;Server&quot;, create it. </li>
<li>Create a DWORD for the &quot;SSL 2.0\Client&quot; sub-key called &quot;Enabled&quot; and set it to &quot;0&quot;. </li>
<li>Create a DWORD value for the &quot;SSL 2.0\Server&quot; subkey and set it to &quot;0&quot;, too.&#160; (This will disable SSL version 2.0) </li>
</ol>
</li>
<li>Enable SSL 3.0:
<ol>
<li>Browse to the &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\&quot; key.&#160; </li>
<li>If there is not a key under there called &quot;SSL 3.0&quot;, create it. </li>
<li>Under &quot;SSL 3.0&quot;, create a key called &quot;Client&quot; and a key called &quot;Server&quot;. </li>
<li>For both &quot;Client&quot; and &quot;Server&quot;, add a DWORD value to each called &quot;Enabled&quot; and set it to &quot;1&quot; (This will enable SSL 3.0). </li>
</ol>
</li>
<li>Enable TLS 1.0:
<ol>
<li>Browse to the &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\&quot; key.&#160; </li>
<li>If there is not a key under there called &quot;TLS 1.0&quot;, create it. </li>
<li>Under &quot;TLS 1.0&quot;, create a key called &quot;Client&quot; and a key called &quot;Server&quot;. </li>
<li>For both &quot;Client&quot; and &quot;Server&quot;, add a DWORD value to each called &quot;Enabled&quot; and set it to &quot;1&quot; (This will enable&#160; TLS 1.0). </li>
</ol>
</li>
<li>Add support for the RC2, RC4, and 3DES ciphers:
<ol>
<li>Browse to this key: &quot;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers&quot; </li>
<li>Under &quot;Ciphers&quot; you will add three keys.&#160; The first is called &quot;RC2 128/128&quot;.&#160; The second is called &quot;RC4 128/128&quot;.&#160; The third is called &quot;Triple DES 168/168&quot;. </li>
<li>Do not add any values or keys under the three new keys. </li>
</ol>
</li>
<li>Restart the server. </li>
</ol>
<h3>Or you could just run these commands from an administrative command-line:</h3>
<p>  <code>REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\SSL 2.0\Server&quot; /v Enabled /t REG_DWORD /d 0 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\SSL 2.0\Client&quot; /v Enabled /t REG_DWORD /d 0 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\SSL 3.0\Server&quot; /v Enabled /t REG_DWORD /d 1 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\SSL 3.0\Client&quot; /v Enabled /t REG_DWORD /d 1 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\TLS 1.0\Server&quot; /v Enabled /t REG_DWORD /d 1 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Protocols\TLS 1.0\Client&quot; /v Enabled /t REG_DWORD /d 1 /f<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Ciphers\RC2 128/128&quot;<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Ciphers\RC4 128/128&quot;<br />
REG ADD &quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SChannel\Ciphers\Triple DES 168/168&quot; </code></p>
<p></p>
<h3>Further Reference: </h3>
<ul>
<li><a href="http://support.microsoft.com/kb/245030/">How to Restrict the Use of Certain Cryptographic Algorithms and Protocols in Schannel.dll</a> (Microsoft Support) </li>
<li><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;187498">How to disable PCT 1.0, SSL 2.0, SSL 3.0, or TLS 1.0 in Internet Information Services</a> (Microsoft Support) </li>
</ul>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_blank'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/security' rel='tag' target='_blank'>security</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2010/08/how-to-disable-ssl-2-0-and-force-ssl-3-0-and-tls-1-0-in-iis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;The list is too large to save as a template.&#8221;</title>
		<link>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/</link>
		<comments>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:51:13 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[stsadm]]></category>

		<guid isPermaLink="false">http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/</guid>
		<description><![CDATA[If you’re working with a SharePoint 2007 environment with multiple site collections but do not have access to cool tools to manage moving content around, then you may have had this problem:&#160; Someone needed to move a Document Library from &#8230; <a href="http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you’re working with a SharePoint 2007 environment with multiple site collections but do not have access to <a href="http://www.metalogix.net/products/sharepoint-site-migration-manager/" target="_blank">cool tools to manage moving content around</a>, then you may have had this problem:&#160; </p>
<p>Someone needed to move a Document Library from one site collection to another one.&#160; The only viable way to do this is to go to the library settings for that doc library and export it as a list template with content.&#160; When I did that I received the in-SharePoint error saying: </p>
<blockquote><p>“The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.”&#160; </p>
</blockquote>
<p>This poses a problem because the only other (non third-party tool) way to do this would involve exporting a copy of the original site and then importing it into the destination site collection so that I would be able to use Site Manager to move the list.</p>
<p>Well it turns out there is an undocumented property that can be modified to change this.&#160; Run the following command to see what your farm is currently set to:</p>
<blockquote><p>stsadm.exe –o getproperty -propertyname max-template-document-size</p>
</blockquote>
<p>Chances are the reply will be “&lt;Property Exist=No&quot; /&gt;”, which means that you are using the default setting of 10 MB as your limit.&#160; You can set the limit to something higher by using the “setproperty” switch.&#160; For example:</p>
<blockquote><p>stsadm -o setproperty -propertyname max-template-document-size –propertyvalue 500000000</p>
</blockquote>
<p>would increase the limit to about 60 MB.</p>
<p>In my case this was really a one-time thing so, after I had created the copy of the document library, I set the size back to the original 10485760 byte value.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_blank'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/stsadm' rel='tag' target='_blank'>stsadm</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshoot MOSS Profile Sync Issues</title>
		<link>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/</link>
		<comments>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:52:56 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[stsadm]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/</guid>
		<description><![CDATA[There was a problem at a client site where user profiles were not getting synced on certain content databases while others were getting synced. Out of the box, MOSS is set to run the profile sync timer job once every &#8230; <a href="http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There was a problem at a client site where user profiles were not getting synced on certain content databases while others were getting synced.</p>
<p>Out of the box, MOSS is set to run the profile sync timer job once every hour.&#160; So I ran the following command to show me which content DBs haven’t been synced in the last day:</p>
<blockquote><p>stsadm.exe -o sync -listolddatabases 1</p>
</blockquote>
<p>On my vpc, it looks like this:</p>
<p><a href="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_thumb.png" width="526" height="96" /></a> </p>
<p>This looks helpful except for the fact that nobody knows what the GUID of their content DBs are.&#160; On the client farm there some DBs with very old dates and I could tell something was wrong.&#160; I needed to figure out what the names of the DBs with the old GUIDs are.&#160; The easiest way to do that is to browse to Central Administration and mouse-over your content DBs.&#160; Then you can eyeball the DB GUIDs in the status bar of your browser as it shows you the URL of the hyperlink.&#160; It looks like this:</p>
<p><a href="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_thumb_3.png" width="531" height="276" /></a> </p>
<p>The GUID of the content DB you are pointing to starts after the “DatabaseID=%7B” in your status bar. Also take note that the “%2D” in the status bar refers to the hyphen character.&#160; Now you know the GUID of that SharePoint Content Database.</p>
<p>I tried going back to the command-line to use stsadm to force it to sync.&#160; To do that I just typed in:</p>
<blockquote><p>stsadm.exe –o sync</p>
</blockquote>
<p>I waited a while and even checked the timer job status in Central Admin and waited for it to say the Profile Sync job had completed successfully.&#160; It turns out that this sync command only forces the “quick” version which does not go through the same job that that is scheduled for every hour.&#160; I was disappointed to see that my content database did not get updated so now I used stsadm to wipe out my profile sync info for the databases with old data.&#160; The following command will delete the profile sync data for databases that haven’t been synced in the last day:</p>
<blockquote><p>stsadm.exe –o sync –deleteolddatabases</p>
</blockquote>
<p>I was feeling good about myself at this point but after double-checking my work I learned that it STILL had not synced.&#160; There was no getting around it, I had to look at the ULS logs.&#160; When I poked around I found a line that kept showing up that alarmed me.&#160; Referring to “SharePoint Portal Server User Profiles” the description portion of the error said something like “Aborting sweepsynch for guid instance {SomeGUID} due to null or non-online content database”.</p>
<p>This sounded familiar to me because I knew we had left some content databases in “offline” mode to prevent them from getting new site collections created in them (they’re already too big).&#160; So when I looked back in Central Administration to see which databases were offline, it turned out to be every one of the ones that weren’t syncing the profiles.</p>
<p>This isn’t documented anywhere but it looks like content databases that are marked as “offline” in central administration will not get synced with profile sync jobs.&#160; Once I turned them all back to “ready”, I had a very looooong running profile sync job after that and it was all clear from there on out.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/MOSS' rel='tag' target='_blank'>MOSS</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_blank'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/stsadm' rel='tag' target='_blank'>stsadm</a>, <a class='technorati-link' href='http://technorati.com/tag/WSS' rel='tag' target='_blank'>WSS</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to delete a MOSS farm and start over</title>
		<link>http://spinplate.com/2008/07/how-to-delete-a-moss-farm-and-start-over/</link>
		<comments>http://spinplate.com/2008/07/how-to-delete-a-moss-farm-and-start-over/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 19:48:29 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[psconfig]]></category>
		<category><![CDATA[stsadm]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://spinplate.com/?p=15</guid>
		<description><![CDATA[Use this procedure to completely blow away a Microsoft Office SharePoint Services 2007 (MOSS), or Windows SharePoint Services v3 (WSS 3.0) farm in 4 easy steps. Purpose: The reason this is important is that some people are convinced that they &#8230; <a href="http://spinplate.com/2008/07/how-to-delete-a-moss-farm-and-start-over/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h4 align="left">Use this procedure to completely blow away a Microsoft Office SharePoint Services 2007 (MOSS), or Windows SharePoint Services v3 (WSS 3.0) farm in 4 easy steps.</h4>
<h5>Purpose:</h5>
<p>The reason this is important is that some people are convinced that they have to uninstall SharePoint or even completely rebuild their box in order to start from scratch.&nbsp; This is not so.</p>
<h5><font color="#ff0000">NOTE:</font>:&nbsp;</h5>
<ul>
<li>This assumes you&#8217;ve backed up and kept everything you want to keep.
<li>The psconfig.exe command is located in the &#8220;%WINDIR%\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin&#8221; folder.
<li>this does not remove any custom code or other types of files from the 12 hive
<li>this procedure will keep the SharePoint patch and service pack level of the host so there&#8217;s no need to rerun hotfixes or anything</li>
</ul>
<h5>Procedure:</h5>
<ol>
<li>From the host that runs Central Admionistration, run this command <b>psconfig.exe -cmd configdb -disconnect</b> to disconnect Central Admin from your database.
<li>Run this command: <b>psconfig.exe -cmd adminvs -unprovision</b> to unprovision the Central Administration site.
<li>Delete all application pools and web sites from affected IIS servers.
<li>Delete any <a href="http://technet.microsoft.com/en-us/library/cc678868(TechNet.10).aspx" target="_blank">SQL user databases related to SharePoint</a> e.g. SharedServices*,SharePoint_AdminContent*,SharePoint_Config,WSS_Search</li>
</ol>
<p>
<strong>Edit:</strong> One thing this process does not account for is if there were any direct changes to existing files in the 12 hive of the SharePoint server.  If built-in files (like images or templates) were modified from their original, they will stay the same after you&#8217;ve done the above process.  In order to restore those modified files, you will need to either copy originals from another installation (risky and unwise) or uninstall/reinstall the SharePoint media from scratch.</p>
<p>Now you&#8217;re ready to run the Configuration Wizard just as if you had never set up a farm.
<p><a href="http://technet.microsoft.com/en-us/library/cc263093(TechNet.10).aspx" target="_blank">TechNet info on psconfig.exe</a>  </p>
<blockquote><p>&#8220;<em>I say we take off and nuke the site from orbit&#8230;&nbsp; It&#8217;s the only way to be sure.</em>&#8220;</p></blockquote>
<p align=right>&nbsp; &#8211; <u><a href="http://www.imdb.com/title/tt0090605/">Aliens</a></u></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/command-line' rel='tag' target='_blank'>command-line</a>, <a class='technorati-link' href='http://technorati.com/tag/MOSS' rel='tag' target='_blank'>MOSS</a>, <a class='technorati-link' href='http://technorati.com/tag/psconfig' rel='tag' target='_blank'>psconfig</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_blank'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/stsadm' rel='tag' target='_blank'>stsadm</a>, <a class='technorati-link' href='http://technorati.com/tag/WSS' rel='tag' target='_blank'>WSS</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2008/07/how-to-delete-a-moss-farm-and-start-over/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

