<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>MukutDasBlogs</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mukutdas/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mukutdas/feed.xml</link>
    <description />
    <lastBuildDate>Mon, 25 Apr 2016 09:22:47 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Remove public folder using ADSIEdit</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/remove-public-folder-using-adsiedit</link>
      <pubDate>Fri, 11 Sep 2015 10:10:04 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/06/27/remove-public-folder-using-adsiedit/</guid>
      <description><![CDATA[In some cases you are forced to hard-remove public folders from Exchange. You can use ADSI Edit to...]]></description>
      <content:encoded><![CDATA[<p>In some cases you are forced to hard-remove public folders from Exchange. You can use ADSI Edit to delete these folders.</p>
<p>&nbsp;</p>
<p>Exchange 2010</p>
<p>&nbsp;</p>
<p>Open ADSI-Edit and got to configuration</p>
<p>&nbsp;</p>
<p>Navigate to this path:</p>
<p>&nbsp;</p>
<p>CN=Configuration,DC=DOMAIN,DC=LOCAL</p>
<p>CN=Services</p>
<p>CN=Microsoft Exchange</p>
<p>CN=EXCHANGE_ORG</p>
<p>CN=Administrative Groups</p>
<p>CN=Exchange Administrative Group (FYDIBOHF23SPDLT)</p>
<p>CN=Databases</p>
<p>CN=PUBLIC_FOLDER_DATABASE</p>
<p>&nbsp;</p>
<p>Now you can delete the PF-Database you want to get rid off.</p>
<p>&nbsp;</p>
<p>Exchange 2007</p>
<p>&nbsp;</p>
<p>Open ADSI-Edit and got to configuration</p>
<p>&nbsp;</p>
<p>Navigate to this path:</p>
<p>&nbsp;</p>
<p>CN=Configuration,DC=DOMAIN,DC=LOCAL</p>
<p>CN=Services</p>
<p>CN=Microsoft Exchange</p>
<p>CN=EXCHANGE_ORG</p>
<p>CN=Administrative Groups</p>
<p>CN=Exchange Administrative Group (FYDIBOHF23SPDLT)</p>
<p>CN=Servers</p>
<p>CN=SERVERNAME</p>
<p>CN=InformationStore</p>
<p>CN=STORAGE_GROUP</p>
<p>CN=PUBLIC_FOLDER_DATABASE</p>
<p>&nbsp;</p>
<p>Now you can delete the PF-Database you want to get rid off.</p>
<p>&nbsp;</p>
<p>Exchange 2003</p>
<p>&nbsp;</p>
<p>Open ADSI-Edit and got to configuration</p>
<p>&nbsp;</p>
<p>Navigate to this path:</p>
<p>&nbsp;</p>
<p>CN=Configuration,DC=DOMAIN,DC=LOCAL</p>
<p>CN=Services</p>
<p>CN=Microsoft Exchange</p>
<p>CN=EXCHANGE_ORG</p>
<p>CN=Administrative Groups</p>
<p>CN=First administrative Group</p>
<p>CN=Servers</p>
<p>CN=SERVERNAME</p>
<p>CN=InformationStore</p>
<p>CN=STORAGE_GROUP</p>
<p>CN=PUBLIC_FOLDER_DATABASE</p>
<p>&nbsp;</p>
<p>Now you can delete the PF-Database you want to get rid off.</p>
<p>&nbsp;</p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>You cannot view a list of public folders in an Exchange organization Using Exchange management Console/public folder management console:</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/you-cannot-view-a-list-of-public-folders-in-an-exchange-organization-using-exchange-management-consolepublic-folder-management-console</link>
      <pubDate>Thu, 11 Sep 2014 11:56:47 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/09/11/you-cannot-view-a-list-of-public-folders-in-an-exchange-organization-using-exchange-management-consolepublic-folder-management-console/</guid>
      <description><![CDATA[Symptoms:
When you try to expand public folder management console you get an error as given...]]></description>
      <content:encoded><![CDATA[<p><b><span style="text-decoration:underline;">Symptoms:</span></b></p>
<p>When you try to expand public folder management console you get an error as given below:</p>
<p><b><span style="text-decoration:underline;">&nbsp;</span></b></p>
<p>No existing &lsquo;PublicFolder&rsquo; matches the following Identity. &lsquo;\&rsquo;.&nbsp; Make sure that you specified the correct &lsquo;PublicFolder&rsquo; Identity and that you have the necessary permissions to view &lsquo;PublicFolder&rsquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/1.jpg" border="0" alt=" " /></a></p>
<p></p>
<p><b><span style="text-decoration:underline;">Cause:</span></b></p>
<p>This issue can occur if the admin account is missing values for below attributes.</p>
<ul>
<li>HomeMDB</li>
<li>HomeMTA</li>
<li>LegacyExchangeDN</li>
</ul>
<p><b><span style="text-decoration:underline;">Solution:</span></b></p>
<p>&nbsp;</p>
<p>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Open Adsiedit.msc</p>
<p>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connect to &ldquo;Default Naming Content&rdquo;</p>
<p>3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Browse the admin account.</p>
<p>4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Right click on the admin account and go to property.</p>
<p>5)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set values for above attributes.</p>
<p>6)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; That must take care of the issue.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/2.png" border="0" alt=" " /></a></p>
<p><strong>Important:</strong> Additionally, creating a mailbox for the admin account will take care of the issue. However if you don&#39;t wanna create a mailbox for your admin account, you have to perform above steps.&nbsp;</p>
<p></p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>eDiscovery export to pst failing</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/ediscovery-export-to-pst-failing</link>
      <pubDate>Thu, 31 Jul 2014 09:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/31/ediscovery-export-to-pst-failing/</guid>
      <description><![CDATA[&nbsp;
I was recently working with one of my customer and he had issues while performing discovery...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p>I was recently working with one of my customer and he had issues while performing discovery search.</p>
<p>He was typically getting a 404 error while performing search.</p>
<p>Customer was trying to perform a query and export data to a .pst. &nbsp;</p>
<p>Error as given below:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/Upload.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/Upload.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/Upload.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/Upload.png" border="0" alt=" " /></a></p>
<p></p>
<p>Digging more into it and found customer was using a custom IIS site.</p>
<p>Custom IIS site was missing EWS virtual directory.</p>
<p><strong>Note</strong>: EWS needs a unique IP address assigned and loop back IP must be remove. Don&rsquo;t remove loop back IP from backend and default site.</p>
<ol>
<li>We created a EWS VDir for custom site and assigned a unique IP address and removed loop back IP address from the VDir.:&nbsp;<span style="color:#0000ff;"><br /></span></li>
</ol>
<p style="margin-left:30px;"><span style="color:#0000ff;"><span>New-WebServicesVirtualDirectory -WebSiteName CustomSitename</span><br /></span></p>
<ol>
<li>Changed the VDir path to the custom location/path as they required for the custom IIS site.</li>
<li>Verify WebServicesVirtualDirectory InternalURL is assigned for each Vdir.</li>
<li>Set auto discovery URL for custom IIS site.</li>
<li>Recycle AppPool for auto discovery.</li>
<li>It must take care of the issue.</li>
</ol>
<p>&nbsp;</p>
<p><strong>Disclaimer</strong>: Please make sure we are not making any changes in the default and backend site.</p>
<p>&nbsp;</p>
<p>Apply to Exchange 2013.</p>
<p>&nbsp;</p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2010: Connect-Mailbox in a Bulk</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/exchange-2010-connect-mailbox-in-a-bulk</link>
      <pubDate>Mon, 21 Jul 2014 07:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/21/exchange-2010-connect-mailbox-in-a-bulk/</guid>
      <description><![CDATA[I was working with one of my customer last week. He had a strange issue where all mailboxes for DB01...]]></description>
      <content:encoded><![CDATA[<p>I was working with one of my customer last week. He had a strange issue where all mailboxes for DB01 was in disconnected state. While verifying HomeMDB for these disconnected mailbox found it was missing along with few other Exchange attributes. Almost 1800+ users were impacted. Also realized 70+ AD accounts were in disabled state.</p>
<p>&nbsp;</p>
<p>Customer wanted to enable all AD accounts and reconnect all mailboxes. At the time we tried reconnecting the mailbox manually using GUI it could not identify the matching user.</p>
<p>&nbsp;</p>
<p>If we reset Exchange attribute for one user and try connecting the mailbox it works fine. However connecting 1800+ users manually is time consuming and it&rsquo;s a huge task.</p>
<p>&nbsp;</p>
<p>Plan of action to follow:</p>
<ol>
<li>List all disconnected mailbox and their alias.</li>
<li>List all disabled AD account for disconnected mailbox and enabling them.</li>
<li>Reset Exchange attribute for all users.</li>
<li>Connect their mailbox back.</li>
</ol>
<p><strong>Note:</strong> Below tasks has to be in sequence.&nbsp;</p>
<p>&nbsp;<b>Important</b>: We need to be sure that none of the user has same display names. Otherwise its gonna be an issue while reconnecting the mailbox. Therefore we can list their alias and perform the task.</p>
<p>&nbsp;1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Export all disconnected mailbox list into csv for DB01</p>
<p>&nbsp;</p>
<p><span style="text-decoration:underline;">Listing all disconnected mailbox list: </span></p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">Get-MailboxStatistics -database &quot;DB01&rdquo; | Get-Mailbox | ?{$_.Database -eq $null}| Export-Csv &#39;C:\Reconnecting Mailbox\db01.csv&#39;</span></p>
<p>&nbsp;</p>
<p><span style="text-decoration:underline;">Listing these users with their alias/Import users from csv:</span></p>
<p><span style="color:#0000ff;">$all = Import-Csv &#39;C:\Reconnecting Mailbox\db01.csv&#39;</span></p>
<p><span style="color:#0000ff;">$all | select DisplayName,Alias</span></p>
<p><span style="color:#0000ff;">$all | select DisplayName,Alias | Export-Csv &#39;C:\Reconnecting Mailbox\onlyalias.csv&#39;</span></p>
<p><span style="color:#0000ff;">$alias = Import-Csv &#39;C:\Reconnecting Mailbox\onlyalias.csv&#39;</span></p>
<p><span style="color:#0000ff;">$alias</span></p>
<p>&nbsp;</p>
<p>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Listing all disabled AD accounts:</p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">Get-MailboxStatistics -Database &quot;DB01&quot; |?{$_.DisconnectReason -eq &quot;Disabled&quot;}| Export-CSV &quot;C:\AD.csv&quot;</span></p>
<p>&nbsp;</p>
<p>a)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Import-Module ActiveDirectory</p>
<p>b)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List alias for these users:</p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">$all = Import-CSV &quot;C:\AD.csv&quot;</span></p>
<p><span style="color:#0000ff;">$n=$all | select Displayname</span></p>
<p><span style="color:#0000ff;">foreach($m in $n)</span></p>
<p><span style="color:#0000ff;">{</span></p>
<p><span style="color:#0000ff;">Get-User $m.DisplayName</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p>&nbsp;</p>
<p>&nbsp;Enabling AD account for users located in different OUs however exported the list of users from mailbox database &quot;DB01&rdquo;:</p>
<p>&nbsp;</p>
<p><b>Step1: </b></p>
<p><span style="color:#0000ff;">$g=@()</span></p>
<p><span style="color:#0000ff;">foreach($m in $n)</span></p>
<p><span style="color:#0000ff;">{</span></p>
<p><span style="color:#0000ff;">$g+= Get-User $m.DisplayName</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">&nbsp;</span></p>
<p><b><span style="text-decoration:underline;">Step2:</span></b></p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">$g | %{Enable-Adaccount -Identity $_.Name</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">&nbsp;</span></p>
<p><span style="color:#0000ff;">&nbsp;</span>&nbsp;3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remove Exchange attributes using RemoveExchangeattributes.ps1 for all impacted users:</p>
<p>Script can be obtained from: <a href="https://gallery.technet.microsoft.com/office/Remove-Exchange-Attributes-3b39b2de">https://gallery.technet.microsoft.com/office/Remove-Exchange-Attributes-3b39b2de</a> &nbsp;</p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">foreach($user in $alias)</span></p>
<p><span style="color:#0000ff;">{</span></p>
<p><span style="color:#0000ff;">$enteruser = $user.Alias</span></p>
<p><span style="color:#0000ff;">$enteruser=$user.alias</span></p>
<p><span style="color:#0000ff;">.\RemoveExchangeattributes.ps1</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">&nbsp;</span></p>
<p>4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connect all users using below script: &nbsp;</p>
<p>Connect all users after listing alias after importing saved csv/mailbox names (Steps are given in step 1):</p>
<p>&nbsp;</p>
<p><span style="color:#0000ff;">&nbsp;foreach($user in $alias)</span></p>
<p><span style="color:#0000ff;">{</span></p>
<p><span style="color:#0000ff;">connect-mailbox $user.DisplayName -user (&quot;csxtlab\&quot;+$user.Alias) -Database &quot;DB01&rdquo;</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><span style="color:#0000ff;">&nbsp;</span></p>
<p>&nbsp;<b>Disclaimer</b>: Please make the necessary changes as per your requirement. And highly recommended to test/verify each loop of the scripts before trying it in the production. &nbsp;</p>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>Moving the Public Folder Hierarchy During an Exchange 2007 and 2010 Migration</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/moving-the-public-folder-hierarchy-during-an-exchange-2007-and-2010-migration</link>
      <pubDate>Sat, 19 Jul 2014 09:40:26 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/19/moving-the-public-folder-hierarchy-during-an-exchange-2007-and-2010-migration/</guid>
      <description><![CDATA[Before removing the last legacy Exchange server from the organization during an Exchange Server 2007...]]></description>
      <content:encoded><![CDATA[<p><span>Before removing the last legacy Exchange server from the organization during an Exchange Server 2007 or 2010 transition you should move the Public Folder hierarchy from the Exchange 2003 Administrative Group to the Exchange 2007 or 2010 Administrative Group.</span></p>
<p><span>&nbsp;</span></p>
<p><span>&nbsp;</span></p>
<p><span>Right-click the<span class="apple-converted-space">&nbsp;</span><strong><span>Exchange Administrative Group (FYDIBOHF23SPDLT)</span></strong><span class="apple-converted-space">&nbsp;</span>and choose<span class="apple-converted-space">&nbsp;</span><strong><span>New</span></strong><span class="apple-converted-space">&nbsp;</span>-&gt;<span class="apple-converted-space">&nbsp;</span><strong><span>Public Folders Container</span></strong>.</span></p>
<p><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/PF1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/PF1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/PF1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/PF1.jpg" border="0" alt=" " /></a><br /></span></p>
<p><span>&nbsp;</span></p>
<p><span>&nbsp;</span></p>
<p><span>Now simply drag the<span class="apple-converted-space">&nbsp;</span><strong><span>Public Folders</span></strong><span class="apple-converted-space">&nbsp;</span>tree from the Exchange Server 2003 administrative group to the Exchange Server 2007 or 2010 administrative group.</span></p>
<p><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/PF2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/PF2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/83/PF2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-83/PF2.png" border="0" alt=" " /></a><br /></span></p>
<p><span>&nbsp;</span></p>
<p>Thank you,</p>
<p>Mukut-</p>
<p><span>&nbsp;</span></p>
<p><span>&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to send to mail enabled public folder after migrating to Exchange 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/unable-to-send-to-mail-enabled-public-folder-after-migrating-to-exchange-2010</link>
      <pubDate>Tue, 15 Jul 2014 13:29:51 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/15/unable-to-send-to-mail-enabled-public-folder-after-migrating-to-exchange-2010/</guid>
      <description><![CDATA[Unbale to send mails to mail enable Public folder after migrating from legacy exchange server to...]]></description>
      <content:encoded><![CDATA[<p>Unbale to send mails to mail enable Public folder after migrating from legacy exchange server to Exchange 2010.</p>
<p>Most of the time we disable these mail enabled PF and delete the object in ADUC and re-enable them.</p>
<p>In case of thousands of PF it&rsquo;s really hard to perform these steps for each and every mail enabled PF.</p>
<p><span style="text-decoration:underline;">Ideally we will be performing below task:</span></p>
<p>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Export list for mail enabled PF.</p>
<p>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disable all mail enabled PF.</p>
<p>3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deleted ADCU object for the PF.</p>
<p>4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re-enable mail enable PF.</p>
<p>&nbsp;</p>
<p><b>1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Export list for mail enabled PF:</b></p>
<p><span style="color:#0000ff;">Get-PublicFolder -recurse -resultsize unlimited | WHERE { $_.MailEnabled -eq $true } | export-csv&nbsp; C:\PFtest2.csv</span></p>
<p><span style="color:#0000ff;">&nbsp;</span></p>
<p><b>2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disable all mail enabled PF:</b></p>
<p><span style="color:#0000ff;">Get-PublicFolder -recurse -resultsize unlimited | WHERE { $_.MailEnabled -eq $true } | Disable-MailPublicFolder -Confirm:$false</span></p>
<p>&nbsp;</p>
<p><b>3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deleted ADCU object for the PF:</b></p>
<p>a)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Open ADUC: Dsa.msc</p>
<p>b)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; View advanced features</p>
<p>c)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select &ldquo;<i>Microsoft Exchange System Object</i>&rdquo;</p>
<p>d)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Delete all ADUC objects for mail enabled PF.</p>
<p>&nbsp;</p>
<p><b>4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Re-enable mail enable PF: </b></p>
<p>Run below script:</p>
<p><span style="color:#0000ff;">$a=import-csv C:\PFtest2.csv</span></p>
<p><span style="color:#0000ff;">foreach($pf in $a){</span></p>
<p><span style="color:#0000ff;">Enable-MailPublicFolder -Identity $pf.Identity</span></p>
<p><span style="color:#0000ff;">}</span></p>
<p><b>&nbsp;</b></p>
<p><b>Impotent</b>: Please make the necessary changes as per your requirement.</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>Public Folders Missing from Exch 2007/2010 after Removing Exch 2003 Server</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/public-folders-missing-from-exch-20072010-after-removing-exch-2003-server</link>
      <pubDate>Tue, 15 Jul 2014 11:00:00 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/15/public-folders-missing-from-exch-20072010-after-removing-exch-2003-server/</guid>
      <description><![CDATA[When the EMC (exchange management console) is launched, it returns the following...]]></description>
      <content:encoded><![CDATA[<p>When the EMC (exchange management console) is launched, it returns the following error:</p>
<p><b>--------------------------------------------------------<br /> Microsoft Exchange Warning<br /> --------------------------------------------------------<br /> The following warning(s) were reported while loading topology information:</b></p>
<p><b>get-PublicFolderDatabase<br /> Completed</b></p>
<p><b>Warning:<br /> Object EX01\First Storage Group\Public Folder Database has been corrupted and it is in an inconsistent state. The following validation errors have occurred:</b></p>
<p><b>Warning:<br /> PublicFolderHierarchy is mandatory.</b></p>
<p><b>Warning:<br /> PublicFolderHierarchy is mandatory.</b></p>
<p><b><br /> --------------------------------------------------------<br /> OK<br /> --------------------------------------------------------</b></p>
<p>Trying to mount the Public folder database gets you the following eror:</p>
<p><b>--------------------------------------------------------<br /> Microsoft Exchange Error<br /> --------------------------------------------------------<br /> Failed to mount database &#39;Public Folder Database&#39;.</b></p>
<p><b>Public Folder Database<br /> Failed<br /> Error:<br /> Exchange is unable to mount the database that you specified. Specified database: EX01\First Storage Group\Public Folder Database; Error code: MapiExceptionADPropertyError: Unable to mount database. (hr=0x80004005, ec=2418)<br /> <br /> --------------------------------------------------------<br /> OK<br /> --------------------------------------------------------</b></p>
<p>When trying to delete the public folder database:</p>
<p><b>--------------------------------------------------------<br /> Microsoft Exchange Error<br /> --------------------------------------------------------<br /> The public folder database &#39;Public Folder Database&#39; cannot be deleted.</b></p>
<p><b>Public Folder Database<br /> Failed<br /> Error:<br /> The critical property &#39;PublicFolderHierarchy&#39; is missing in the PublicFolderDatabase object EX01\First Storage Group\Public Folder Database&#39;.</b></p>
<p><b>--------------------------------------------------------<br /> OK<br /> --------------------------------------------------------</b></p>
<p>&nbsp;</p>
<p>This all happens after you deleted the &quot;First administrative group&quot; in ADSIedit (which you should&nbsp;<strong>not</strong>&nbsp;have done!) after a migration to Exchange 2007 or 2010. If these are the only problems you are facing be happy. To resolve it perform the following actions:</p>
<p>1. Open&nbsp;ADSIedit.exe.</p>
<p>2. Right click on Exchange Administrative Group (FYDIBOHF23SPDLT)<br /> 3. Select New Object.<br /> 4. Select msExchPublicFolderTreeContainer for the class and click Next<br /> 5. Enter the following for the value: Folder Hierarchies, click Next<br /> 6. Click Finish<br /> <br /> Create Public Folder Tree Object<br /> <br /> 1. Right click CN=Folder Hierarchies -&gt; New Object<br /> 2. Selected msExchPFTree for the class<br /> 3. For the value we entered, &quot;Public Folders&quot; and clicked next<br /> 4. Clicked on the &quot;More Attributes&quot; button, selected msExchPFTreeType and set the value to 1.</p>
<p><br /> Note: This is very important that this value is set to a value of 1 as this tells Exchange that this is a MAPI Tree<br /> 5. Click Ok and then finish<br /> <br /> <br /> Populate msExchOwningPFTreeBL attribute object of the PF Stores in the organization<br /> <br /> 1. Get properties of the newly created &quot;Public Folders&quot; Tree object in ADSIEdit.<br /> 2. Copy the distinguishedname value to the clipboard and then click cancel.<br /> 3. Browse to CN=Public Folders Database,CN=First Storage Group,CN=InformationStore CN=&quot;Sever Name:,CN=Servers,CN=Exchange Administative Group,CN=Administrative Groups,CN=ORG Name,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=COM<br /> 4. In the properties of the &quot;Public Folder Database&quot;, Edit the msExchOwningPFtree attribute and paste the content copied to the clipboard in Step2<br /> 5. Restart the Information Store Service.</p>
<p>&nbsp;</p>
<p><strong>*Important*</strong></p>
<p>If you read the comments you&#39;ll see that Tim had a bit of an issue that was very similar to what was described here but not quite like it. Martina on the technet social helped him to resolve his issue by suggesting to check the&nbsp;<strong>msExchOwningPFTree</strong>&nbsp;attribute in ADSIedit! Have a look at the thread for the full details</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>Good to Know: Missing Windows Installer Cache files</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/good-to-know-missing-windows-installer-cache-files</link>
      <pubDate>Sun, 13 Jul 2014 05:21:47 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/13/good-to-know-missing-windows-installer-cache-files/</guid>
      <description><![CDATA[The Windows Installer Cache, located in&nbsp;c:\windows\installer&nbsp;folder, is used to store...]]></description>
      <content:encoded><![CDATA[<p>The Windows Installer Cache, located in&nbsp;<i>c:\windows\installer&nbsp;</i>folder, is used to store important files for applications installed using the&nbsp;<b>Windows Installe</b>r technology and should not be deleted. Same statement applicable for Exchange server and other hosted application. If the installer cache has been compromised, you may not immediately see problems until you perform an action such as uninstall, repair, or update on a product.<br /> <br /> When a product is installed using Windows Installer critical files are stored in the Windows Installer Cache (default is C:\Windows\Installer). These files are required for uninstalling and updating applications. Missing files cannot be copied between machines since they are unique.</p>
<p>So it is highly recommended to not clear/delete/move Windows Installer Cache from default location. Because these caches has an associated registry key on the server and its hard to determine and correct each and every missing .msi cache.</p>
<p>Now, if you think we can clean the reg key to avoid failure during action such as uninstall, repair, or update on a product. However that will cause more issues than you may expect and you will have to rebuild the server/box.&nbsp;</p>
<p>The only way we can fix this is by copying all missing .msi caches from setup media or healthy server and place it in the installer directory. Challenges are to re-associate these caches with registry.</p>
<p>There is no easy way to re-associate these caches with registry and it would not be wrong saying its equal to impossible. &nbsp;Because you wont be able to identify all missing or required caches and each time we fix one .msi cache it may through an error for another .msi cache. Fixing .msi caches one by one will be time consuming and time will depend on the count of missing .msi cache. Finally you will take a decision of rebuilding the server/box and performing recover server. Recover server will be a time consuming task.</p>
<p><b>Summarizing</b>, If files are missing from the Windows Installer Cache, you will have to rebuild the operating system and reinstall applications.</p>
<p><b>Third-party recovery</b>: Some third-party entities claim to be able to rebuild or repair the Windows Installer cache. For legal and supportability reasons we cannot recommend or endorse any of these entities. If you use such third-party products and recommendations you do so at your own risk.</p>
<p>If you have backups for your system prior to the file deletions here are some options:</p>
<ul>
<li>System RestorePoints available only on Client operating systems.</li>
<li>Restoreable System State Backup.</li>
<li>Disaster recovery methods that can restore the full system state backup</li>
<li>Reinstall the operating system and all applications.</li>
</ul>
<p>&nbsp;</p>
<p>Full system state restores are required. It is not possible for example to replace only the missing files from a previous backups.</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Mukut-</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Adding database copies to databases with a single copy results in copy status failed after seeding is completed</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/adding-database-copies-to-databases-with-a-single-copy-results-in-copy-status-failed-after-seeding-is-completed</link>
      <pubDate>Wed, 09 Jul 2014 13:56:08 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/09/adding-database-copies-to-databases-with-a-single-copy-results-in-copy-status-failed-after-seeding-is-completed/</guid>
      <description><![CDATA[I worked on a case today which had 2&nbsp;Exchange&nbsp;2010 servers in a DAG with about 5 mailboxes...]]></description>
      <content:encoded><![CDATA[<p>I worked on a case today which had 2&nbsp;<a href="https://geekswithblogs.net/marcde/category/12862.aspx">Exchange</a>&nbsp;2010 servers in a DAG with about 5 mailboxes databases, all in healthy status. All but one that is. This DataBaseCopy just would not come back into sync and was stuck in the eternal Resynchronizing loop. First thing you would want to do is to get a status of the database by running get-mailboxdatabasecopystatus -id &quot;databasename\servername&quot; | fl. This should return you something in this format:</p>
<p>[PS] C:\Windows\system32&gt;Get-MailboxDatabaseCopyStatus -Identity db-archive | FL</p>
<p>RunspaceId:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8ffefaf9-1e9e-4834-9f39-f1fddadae1cb</p>
<p>Identity:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DB-Archive\DAG10MBX02</p>
<p>Name:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DB-Archive\DAG10MBX02</p>
<p>DatabaseName:&nbsp;&nbsp;&nbsp;&nbsp; DB-Archive</p>
<p>Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FailedAndSuspended</p>
<p>MailboxServer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DAG10MBX02</p>
<p>ActiveDatabaseCopy:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dag10mbx01</p>
<p>ActivationSuspended:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; False</p>
<p>ActionInitiator:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service</p>
<p>ErrorMessage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The Microsoft Exchange Replication service encountered an unexpected error in log re</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; play for database &#39;DB-Archive\DAG10MBX02&#39;. Error MapiExceptionTooManyMountedDatabase</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s: Unable to mount database. (hr=0x8004060e, ec=-2147219954)</p>
<p>&nbsp;</p>
<p>ErrorEventId:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4057</p>
<p>ExtendedErrorInfo:</p>
<p>SuspendComment: The database copy was automatically suspended due to failure item processing. At &#39;7/</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9/2014 12:51:58 PM&#39; the copy of database &#39;DB-Archive&#39; on this server wasn&#39;t able to</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; operate because the number of mailbox database copies on this server exceeds the sup</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ported limit. Recovery was not attempted.</p>
<p>&nbsp;</p>
<p>SinglePageRestore&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 0</p>
<p>ContentIndexState&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Failed</p>
<p>ContentIndexErrorMessage : <span style="background-color:#ffff00;">Catalog is dismounted externally for database</span> {58ecc424-151c-40f7-9720-8e09e7c1dbe0}</p>
<p>CopyQueueLength&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1</p>
<p>Now generally speaking you would do a suspend-mailboxdatabasecopy -id &quot;mailboxdatabase\servername&quot; followed by an update-mailboxdatabasecopy -id &quot; &quot; -DeleteExistingFiles which would update the passive copy and resume the Storage Group Copy. Yet once in a while you&#39;ll run in to a case where this won&#39;t work as the gap is to large for&nbsp;<a href="https://geekswithblogs.net/marcde/category/12862.aspx">Exchange</a>&nbsp;to cover. In that case you&#39;ll have to perform the highly regarded&nbsp;<strong>&quot;manual reseeding procedure&quot;</strong>! This is somewhat disruptive for your users and risky unless you keep your head in the situation.</p>
<p>These would be the steps you follow:</p>
<p><b><span style="text-decoration:underline;">Option 1:</span></b></p>
<ol>
<li>Suspend the database copy</li>
<li>Go to the passive node and remove all the database and log files (fun yet?)</li>
<li>Dismount the database from&nbsp;<a href="https://geekswithblogs.net/marcde/category/12862.aspx">Exchange</a></li>
<li>Go to the log files folder on the active node and move them all to a different folder</li>
<li>Now copy the EDB file from the active node to the passive node</li>
<li>Mount the database once this is completed</li>
<li>Resume the storage group copy</li>
</ol>
<p><b><span style="text-decoration:underline;">Option 2:</span></b></p>
<ol>
<li>Get the GUID of the database: get-Mailboxdatabase &ndash;Identity Databasename | FT name,*GUID*</li>
<li>Navigate to the following registry path on the target server: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\ContentIndex\CatalogHealth\{DatabaseGUID}</li>
<li>Look for below string keys:</li>
</ol>
<ul>
<li>State: Exclude</li>
<li>ErrorCode: CatalogDismountedExternally</li>
<li>TimeStamp: 2014-07-02 14:52:14Z (depending on the last failure/updated time)</li>
</ul>
<ol>
<li>Changes these value as given below:</li>
</ol>
<ul>
<li>State: Recommended</li>
<li>ErrorCode: &ldquo;Success&rdquo; or leave it blank</li>
<li>TimeStamp: 2014-07-02 14:52:14Z (depending on the last failure/updated time)</li>
</ul>
<ol>
<li>Initiate seeding/update of the database update-mailboxdatabasecopy -id &quot; &quot; &ndash;DeleteExistingFiles</li>
<li>This must resolve the issue.</li>
</ol>
<p>All in all this should get your copy back in order. Not exactly the way you&#39;d want to (without down time) but it gets the job done.</p>
<p><span style="background-color:#ffff00;">Ps</span>: You can refer following article as well:&nbsp;https://blogs.technet.com/b/timmcmic/archive/2012/12/04/exchange-2010-adding-database-copies-to-databases-with-a-single-copy-results-in-copy-status-failed-after-seeding-is-completed.aspx&nbsp;</p>
<p></p>
<p>Thanks,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Product Lifecycle Search</title>
      <link>https://docs.microsoft.com/archive/blogs/mukutdas/microsoft-product-lifecycle-search</link>
      <pubDate>Wed, 02 Jul 2014 07:33:33 GMT</pubDate>
      <dc:creator><![CDATA[Mukut Das]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mukutdas/2014/07/02/microsoft-product-lifecycle-search/</guid>
      <description><![CDATA[Hi All,


You can find Microsoft product lifecycle in bellow...]]></description>
      <content:encoded><![CDATA[<p>Hi All,</p>
<p></p>
<p></p>
<p>You can find Microsoft product lifecycle in bellow link/URL:</p>
<p>https://support.microsoft.com/lifecycle/search/default.aspx?sort=PN&amp;alpha=exchange+server+2010+&amp;Filter=FilterSP&amp;spdate=3</p>
<p></p>
<p>Thank you,</p>
<p>Mukut-</p>]]></content:encoded>
    </item>
  </channel>
</rss>