<?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>Admins Goodies &#187; adsi</title>
	<atom:link href="http://adminsgoodies.com/tag/adsi/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 23 May 2013 16:33:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How to list available ADSI (Active Directory Service Interfaces) service providers?</title>
		<link>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers-2/</link>
		<comments>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers-2/#comments</comments>
		<pubDate>Sat, 26 May 2012 00:33:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[active-directory]]></category>
		<category><![CDATA[adsi]]></category>
		<category><![CDATA[c sharp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers-2/</guid>
		<description><![CDATA[How can I list available ADSI (Active Directory Service Interfaces) service providers? On StackOverflow no one knows, so they advised me to ask here. Asked by TN. this works, googled &#8220;script list of adsi providers&#8221; WScript.Echo( listProviders() );function listProviders() { var list = "ADSI Providers on this machine\n" ); list += "==============================\n" ); var ads = GetObject( "ADs:" ); var e = new Enumerator( ads ); for( ; !e.atEnd(); e.moveNext() ) { var mem = [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>How can I list available <a href="http://msdn.microsoft.com/en-us/library/aa772235%28VS.85%29.aspx" rel="nofollow">ADSI (Active Directory Service Interfaces) service providers</a>?</p>
<p>On <a href="http://stackoverflow.com/questions/3422423/how-to-list-available-adsi-active-directory-service-interfaces-service-provider">StackOverflow</a> no one knows, so they advised me to ask here.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/28300/tn" target="_blank">TN.</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>this works, googled &#8220;script list of adsi providers&#8221;</p>
<pre><code>WScript.Echo( listProviders() );function listProviders()
{
    var list = "ADSI Providers on this machine\n" );
    list    += "==============================\n" );    var ads = GetObject( "ADs:" );    var e = new Enumerator( ads );
    for( ; !e.atEnd(); e.moveNext() )
    {
        var mem = e.item();
        list += mem.Name + "\n";    
    }
    return( list );
}
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/40098/tony-roth" target="_blank">tony roth</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/167957/how-to-list-available-adsi-active-directory-service-interfaces-service-provide" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Public Folders &#8211; Delete Public Folders from 2003 after migrating to 2010 (via Adsiedit) &#8211; safe?</title>
		<link>http://adminsgoodies.com/public-folders-delete-public-folders-from-2003-after-migrating-to-2010-via-adsiedit-safe/</link>
		<comments>http://adminsgoodies.com/public-folders-delete-public-folders-from-2003-after-migrating-to-2010-via-adsiedit-safe/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 10:33:38 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[active-directory]]></category>
		<category><![CDATA[adsi]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[exchange-2003]]></category>
		<category><![CDATA[exchange-2010]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/public-folders-delete-public-folders-from-2003-after-migrating-to-2010-via-adsiedit-safe/</guid>
		<description><![CDATA[Similar Question: How do I delete a public store in Exchange 2003? We are ready to remove our Exchange 2003 server after having migrated all public folders and mailboxes to 2010. We ran for a week with the exchange 2003 server shutdown and everything seemed to work. When I try to delete the PF database from 2003 it says it contains replicas. Whilst migrating i only had one was sync working (from 2003 to 2010) [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Similar Question: <a href="http://serverfault.com/questions/48055/how-do-i-delete-a-public-store-in-exchange-2003">How do I delete a public store in Exchange 2003?</a></p>
<p>We are ready to remove our Exchange 2003 server after having migrated all public folders and mailboxes to 2010. </p>
<p>We ran for a week with the exchange 2003 server shutdown and everything seemed to work. </p>
<p>When I try to delete the PF database from 2003 it says it contains replicas. </p>
<p>Whilst migrating i only had one was sync working (from 2003 to 2010) so i believe that 2003 hasn&#8217;t received the responses from 2010 saying replica removed. </p>
<p>When I look in Public folders on the 2003 box none are listed, when i look in PF Instances they are all listed. </p>
<p>I know everything has moved to the 2010 server and I know 2010 is not showing the 2003 server as a replica for any folders. </p>
<p>I am looking to use <code>ADSI edit</code> to remove the Public folder database from the 2003 server, but want to ensure i am going to delete the right thing so that they do not get deleted from the 2010 database. </p>
<p>Should i delete configuration, Services, Microsoft Exchange, Company Name, Administrative groups, First administrative group, Servers, Server name, Information store, First storage group, public folder store (Server name)? </p>
<p>Or something else? </p>
<p>I have checked and the only public folder with the old exchange server listed as a replica is SYSTEM CONFIGURATION. </p>
<p>Thanks in advance. </p>
<div class="author">Asked by <a href="http://serverfault.com/users/112635/heavencore" target="_blank">HeavenCore</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>In Exchange 2003, databases are always child objects of Exchange servers; so you&#8217;l find them in the directory tree with a structure like</p>
<pre><code> &lt;Administrative Group Name&gt;
   &lt;Servers&gt;
     &lt;Server Name&gt;
       &lt;Information Store&gt;
         &lt;Storage Group Name&gt;
           &lt;Database Name&gt;
</code></pre>
<p>This changed in Exchange 2010, where databases are higher-level objects, and are no longer tied to a specific server.</p>
<p>So, yes, that&#8217;s the right place where you will find an Exchange 2003 public folder database, and the right place where you can delete it.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/6352/massimo" target="_blank">Massimo</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/374028/public-folders-delete-public-folders-from-2003-after-migrating-to-2010-via-ad" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/public-folders-delete-public-folders-from-2003-after-migrating-to-2010-via-adsiedit-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get account name for IIS anonymous user</title>
		<link>http://adminsgoodies.com/get-account-name-for-iis-anonymous-user/</link>
		<comments>http://adminsgoodies.com/get-account-name-for-iis-anonymous-user/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 19:33:29 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[adsi]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[vbscript]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/get-account-name-for-iis-anonymous-user/</guid>
		<description><![CDATA[I&#8217;d like to get the name of the anonymous user account for an IIS install. It&#8217;s easy enough to assume that it&#8217;s the machine name, but in the event that the machine name has changed I&#8217;d like to still know what it is. Ultimately I&#8217;d like to be able to drop this into a bat file or vbscript that I&#8217;m using for a website deployment. The I&#8217;ve gleaned following from the MSDN: dim schemaObject: set [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;d like to get the name of the anonymous user account for an IIS install. It&#8217;s easy enough to assume that it&#8217;s the machine name, but in the event that the machine name has changed I&#8217;d like to still know what it is. Ultimately I&#8217;d like to be able to drop this into a bat file or vbscript that I&#8217;m using for a website deployment. </p>
<p>The I&#8217;ve gleaned following from the MSDN:</p>
<pre><code>dim schemaObject: set schemaObject = GetObject("IIS://localhost/schema/anonymoususername")
dim schemaObjectType: schemaObjectType = schemaObject.syntax
WScript.Echo( schemaObjectType )
</code></pre>
<p>GetObject() is returning an IISSchemaObject but what property represents the name itself? It&#8217;s not obvious and I haven&#8217;t found much in the way of documentation. </p>
<p>Alternatively, is there a way to call the adsutil script and only return the value you&#8217;re interested in?</p>
<pre><code>cscript adsutil.vbs get w3svc/anonymoususername
anonymoususername          : (STRING) "IUSR_SERVER-NAME"
</code></pre>
<p>I only want &#8220;IUSR_SERVER-NAME&#8221;</p>
<div class="author">Asked by <a href="http://serverfault.com/users/72818/nerraga" target="_blank">nerraga</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>ADSUtil just uses GetObject under the covers (IIS is exposed as a garden variety ADSI provider), so you can simply target the property you&#8217;re interested in (<em>if you know the path)</em> with something like</p>
<pre><code>set oSite = GetObject("IIS://localhost/W3SVC/1/ROOT")
Wscript.echo oSite.AnonymousUserName
</code></pre>
<p>for the default web site, or this (as in your example above) for the box level setting.</p>
<pre><code>set oMasterSite = GetObject("IIS://localhost/W3SVC")
Wscript.echo oMasterSite.AnonymousUserName
</code></pre>
<p>That covered, it&#8217;s important to note that the anon username could be reset at basically any folder level in the IIS hierarchy.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/35088/tristank" target="_blank">TristanK</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/365488/get-account-name-for-iis-anonymous-user" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/get-account-name-for-iis-anonymous-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How a password is transmited to AD Server</title>
		<link>http://adminsgoodies.com/how-a-password-is-transmited-to-ad-server/</link>
		<comments>http://adminsgoodies.com/how-a-password-is-transmited-to-ad-server/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 20:20:21 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[active-directory]]></category>
		<category><![CDATA[adsi]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-a-password-is-transmited-to-ad-server/</guid>
		<description><![CDATA[My question is how ADSI performs SetPassword operation. According to what I have read ADSI is a COM interface and it has more capabilities than AD provides through LDAP. While you are suppose to update unicodePwd attribute of a personaccount entity through LDAP, ADSI provides you SetPassword call. I know that ADSI &#38; AD provides Kerberos during authentication. So how the password is transmitted to server when SetPassword is called? Is it raw binary unencrypted [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>My question is how ADSI performs SetPassword operation. According to what I have read ADSI is a COM interface and it has more capabilities than AD provides through LDAP. While you are suppose to update unicodePwd attribute of a personaccount entity through LDAP, ADSI provides you SetPassword call. I know that ADSI &amp; AD provides Kerberos during authentication. So how the password is transmitted to server when SetPassword is called? Is it raw binary unencrypted data? Or does Kerberos comes into play at this call?</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>The netlogon service changes the password over RPC, usually contacting the PDC emulator directly.</p>
<p>Check this to see how the session is established: <a href="http://msdn.microsoft.com/en-us/library/cc208245%28v=prot.10%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/cc208245%28v=prot.10%29.aspx</a></p>
<p>So no, the password is not sent in clear text over the wire. It could be sniffed locally on the DC that is on the receiving end however. Some password sync tools work like that, actually.</p>
<p class="ref-link">Check <a href="http://serverfault.com/questions/124815/how-a-password-is-transmited-to-ad-server" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-a-password-is-transmited-to-ad-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADSIEdit Cleanup After Exchange 2003 Crash During Transition To Exchange 2010</title>
		<link>http://adminsgoodies.com/adsiedit-cleanup-after-exchange-2003-crash-during-transition-to-exchange-2010/</link>
		<comments>http://adminsgoodies.com/adsiedit-cleanup-after-exchange-2003-crash-during-transition-to-exchange-2010/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 17:25:22 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[adsi]]></category>
		<category><![CDATA[exchange-2003]]></category>
		<category><![CDATA[exchange-2010]]></category>
		<category><![CDATA[exchange-transition]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/adsiedit-cleanup-after-exchange-2003-crash-during-transition-to-exchange-2010/</guid>
		<description><![CDATA[I would value some input from a few Exchange 2010 experts. I have almost completed the transition from Exchange 2003 Standard to Exchange 2010 Standard. Everything went smoothly until I tried to uninstall Exchange 2003. At that point the server bit the dust and died completely. I now have NO access to the old Exchange System Management MMC as I am running Windows 2008 SR2 and Windows 7 only. I can only fix this with [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I would value some input from a few Exchange 2010 experts. I have almost completed the transition from Exchange 2003 Standard to Exchange 2010 Standard. Everything went smoothly until I tried to uninstall Exchange 2003. At that point the server bit the dust and died completely. I now have NO access to the old Exchange System Management MMC as I am running Windows 2008 SR2 and Windows 7 only. I can only fix this with ADSIEdit, EMShell, and EMConsole.</p>
<p>I have used the 2010 shell to move/remove/verify that all mailboxes, public folders and OAB are hosted on Exchange 2010. I also verified that the routing connector has been deleted. The only two things that were not done was to remove the Recipient Update Service and actually perform the removal of the 2003 software.</p>
<p>I have spent a lot of time going through ASDIedit and have located the old Administrative Group and the Exchange 2003 server listed under it. I also located the Recipient Update Service which includes two entries; Enterprise and my domain name. I have read that it is an unwise idea to remove the old administrative group so I won&#8217;t bother messing with that.</p>
<p>I am repeatedly getting three warnings in the Application Log. Both are from MSExchangeTransport EventID 5006 (Cannot find route to Mailbox Server OLDSERVER) and 5020 (The topology doesn&#8217;t contain a route to Exchange 2000 Server or Exchange Server 2003)</p>
<p>So my questions are: </p>
<p>To clean out AD of the old Exchange 2003 info, can I delete the server name folder (Configuration -&gt; Services -&gt; Microsoft Exchange -&gt; ExchOrg -&gt; Administrative Groups -&gt; First Administrative Group -&gt; Servers -&gt; Old Server) and also delete the Update Recipient Service (Enterprise) and Update Recipient Service (DOMAIN) containers safely?</p>
<p>Are there any additional items I need to address to ensure the AD is clean?</p>
<p>Thanks in advance for your help!</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I&#8217;d spin up an instance of an older version of Windows, install the Exchange 2003 management tools, and continue with the decommissioning procedure just to be safe. I&#8217;m assuming this is a production environment, and I don&#8217;t think I&#8217;d toy around with deleting records via ADSIEdit.</p>
<p class="ref-link">Check <a href="http://serverfault.com/questions/144175/adsiedit-cleanup-after-exchange-2003-crash-during-transition-to-exchange-2010" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/adsiedit-cleanup-after-exchange-2003-crash-during-transition-to-exchange-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to list available ADSI (Active Directory Service Interfaces) service providers?</title>
		<link>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers/</link>
		<comments>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 07:25:40 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[active-directory]]></category>
		<category><![CDATA[adsi]]></category>
		<category><![CDATA[c sharp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers/</guid>
		<description><![CDATA[How can I list available ADSI (Active Directory Service Interfaces) service providers? On StackOverflow no one knows, so they advised me to ask here. this works, googled &#8220;script list of adsi providers&#8221; WScript.Echo( listProviders() );function listProviders() { var list = "ADSI Providers on this machinen" ); list += "==============================n" ); var ads = GetObject( "ADs:" ); var e = new Enumerator( ads ); for( ; !e.atEnd(); e.moveNext() ) { var mem = e.item(); list += [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>How can I list available <a href="http://msdn.microsoft.com/en-us/library/aa772235%28VS.85%29.aspx" rel="nofollow">ADSI (Active Directory Service Interfaces) service providers</a>?</p>
<p>On <a href="http://stackoverflow.com/questions/3422423/how-to-list-available-adsi-active-directory-service-interfaces-service-provider">StackOverflow</a> no one knows, so they advised me to ask here.</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>this works, googled &#8220;script list of adsi providers&#8221;</p>
<pre><code>WScript.Echo( listProviders() );function listProviders()
{
    var list = "ADSI Providers on this machinen" );
    list    += "==============================n" );    var ads = GetObject( "ADs:" );    var e = new Enumerator( ads );
    for( ; !e.atEnd(); e.moveNext() )
    {
        var mem = e.item();
        list += mem.Name + "n";    
    }
    return( list );
}
</code></pre>
<p class="ref-link">Check <a href="http://serverfault.com/questions/167957/how-to-list-available-adsi-active-directory-service-interfaces-service-provider" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-list-available-adsi-active-directory-service-interfaces-service-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
