<?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>Sentiment &#187; Active Directory</title>
	<atom:link href="http://wouter.shush.com/tag/active-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://wouter.shush.com</link>
	<description>About Life, the Universe, and Everything...</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:27:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Error moving mailboxes?</title>
		<link>http://wouter.shush.com/2010/01/error-moving-mailboxes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=error-moving-mailboxes</link>
		<comments>http://wouter.shush.com/2010/01/error-moving-mailboxes#comments</comments>
		<pubDate>Wed, 20 Jan 2010 12:23:37 +0000</pubDate>
		<dc:creator>wooter</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Disabled users]]></category>
		<category><![CDATA[Eventlog]]></category>
		<category><![CDATA[Eventviewer]]></category>
		<category><![CDATA[Move Mailbox]]></category>

		<guid isPermaLink="false">http://wouter.shush.com/?p=243</guid>
		<description><![CDATA[So you&#8217;re cleaning out a storage group, and there are a bunch of mailboxes that you don&#8217;t seem to be able to move? If you check the Eventlog, do you find these events? The MAPI call &#8216;OpenMsgStore&#8217; failed with the &#8230; <a href="http://wouter.shush.com/2010/01/error-moving-mailboxes">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re cleaning out a storage group, and there are a bunch of mailboxes that you don&#8217;t seem to be able to move?</p>
<p>If you check the Eventlog, do you find these events?</p>
<blockquote><p>The MAPI call &#8216;OpenMsgStore&#8217; failed with the following error:<br />
The information store could not be opened.<br />
The MAPI provider failed.<br />
MAPI 1.0<br />
ID no: 8004011d-0289-00000000</p>
<p>For more information, click http://www.microsoft.com/contentredirect.asp.</p></blockquote>
<blockquote><p>Failed to open mailbox &#8216;/o=CONTOSO/ou=First Administrative Group/cn=Recipients/cn=JohnDoe&#8217; in mailbox store &#8216;/o=CONTOSO/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=ContosoMailServer/cn=Microsoft Private MDB81234567&#8242; on server &#8216;ContosoMailServer&#8217;.<br />
Error: The information store could not be opened.<br />
The MAPI provider failed.<br />
MAPI 1.0<br />
ID no: 8004011d-0289-00000000</p>
<p>For more information, click http://www.microsoft.com/contentredirect.asp.</p></blockquote>
<p>Quickly check if these users are not disabled.  Mailboxes with disabled users as associated account cannot be moved.  The workarounds are to enable the user accounts &#8211; which is not that desireable for your company&#8217;s Security staff &#8211; or assign SELF as the associated account.</p>
<p><a title="KB 821829" href="http://support.microsoft.com/kb/821829" target="_blank">More info at Microsoft</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wouter.shush.com/2010/01/error-moving-mailboxes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows clients forget their domain after you reset their snapshot?</title>
		<link>http://wouter.shush.com/2009/03/windows-clients-forget-their-domain-after-you-reset-their-snapshot?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-clients-forget-their-domain-after-you-reset-their-snapshot</link>
		<comments>http://wouter.shush.com/2009/03/windows-clients-forget-their-domain-after-you-reset-their-snapshot#comments</comments>
		<pubDate>Mon, 30 Mar 2009 10:00:05 +0000</pubDate>
		<dc:creator>wooter</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[snapshot]]></category>

		<guid isPermaLink="false">http://wouter.shush.com/2009/03/windows-clients-forget-their-domain-after-you-reset-their-snapshot</guid>
		<description><![CDATA[Ever run into a problem where you revert a domain member server or Windows XP domain client toa previously taken snapshot, and when trying to log on the domain, the logon fails? I did in 2007, and never really thought &#8230; <a href="http://wouter.shush.com/2009/03/windows-clients-forget-their-domain-after-you-reset-their-snapshot">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><!--:en-->Ever run into a problem where you revert a domain member server or Windows XP domain client toa previously taken snapshot, and when trying to log on the domain, the logon fails?</p>
<p>I did in 2007, and never really thought of it until I ran into <a href="http://kb.vmware.com/selfservice/viewContent.do?externalId=1006764&amp;sliceId=1" target="_blank">the following article 1006764 on the VMWare knowledge base</a>.</p>
<p>The cause is very simple, and so is the solution: Member servers and clients have, just like users, accounts with passwords.  If set up like this, these passwords are reset every set period.  If you revert a machine back to an old snapshot, chances are that the password stored in the snapshot is not up to date with the password stored in Active Directory, and hence, Active Directory does not allow the machine to log on again.<!--:--><!--:nl-->
<p>Ever run into a problem where you revert a domain member server or Windows XP domain client toa previously taken snapshot, and when trying to log on the domain, the logon fails?</p>
<p>I did in 2007, and never really thought of it until I ran into the following article on the VMWare knowledge base: http://kb.vmware.com/selfservice/viewContent.do?externalId=1006764&#038;sliceId=1</p>
<p>The cause is very simple, and so is the solution: Member servers and clients have, just like users, accounts with passwords.  If set up like this, these passwords are reset every set period.  If you revert a machine back to an old snapshot, chances are that the password stored in the snapshot is not up to date with the password stored in Active Directory, and hence, Active Directory does not allow the machine to log on again.</p>
<p><!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://wouter.shush.com/2009/03/windows-clients-forget-their-domain-after-you-reset-their-snapshot/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adminpak.msi Redux</title>
		<link>http://wouter.shush.com/2008/09/adminpakmsi-redux?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adminpakmsi-redux</link>
		<comments>http://wouter.shush.com/2008/09/adminpakmsi-redux#comments</comments>
		<pubDate>Wed, 10 Sep 2008 06:55:34 +0000</pubDate>
		<dc:creator>wooter</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Command Prompt]]></category>

		<guid isPermaLink="false">http://wouter.shush.com/?p=84&#038;lang=en-us</guid>
		<description><![CDATA[Whenever you are working with the tools included in the Administration Pack, you might want to use some shortcuts to get quicker to the information you want.  For instance, when working in a Active Directory forest with multiple domains, you &#8230; <a href="http://wouter.shush.com/2008/09/adminpakmsi-redux">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><!--:en-->Whenever you are working with the tools included in the Administration Pack, you might want to use some shortcuts to get quicker to the information you want.  For instance, when working in a Active Directory forest with multiple domains, you sometimes do not want to spend time clicking and hovering through the Start Menu to get to Active Directory Users and Computers, to open the AD structure of the domain you are logged into, and to manually open the Active Directory Domain you want to make changes in.</p>
<p>Do it quicker.</p>
<p><!--:--><span id="more-84"></span><!--:en--></p>
<p>You can, using the Command Prompt or Run in the Start Menu, type in the corresponding <span class="filetype">Microsoft Management Console Snap-in Control file</span> to open the correct domain.</p>
<p>For instance, to open up the Active Directory Users and Computers console for Contoso&#8217;s subsidiary in Paris (domain &#8220;paris.contoso.com&#8221;) you could use the following:</p>
<pre>dsa.msc /domain=paris</pre>
<p>This will open the Active Directory Users and Computers console with the paris domain opened.</p>
<p>Some of the other snap-ins you can open directly:</p>
<table id="AutoNumber10" border="2" cellspacing="1" width="53%">
<tbody>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Certificates</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">certmgr.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Indexing  					Service</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">ciadv.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Computer  					Management</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">compmgmt.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Device Manager</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">devmgmt.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Disk  					Defragmenter</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">dfrg.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Disk Management</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">diskmgmt.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Event Viewer</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">eventvwr.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Shared Folders</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">fsmgmt.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Group Policy</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">gpedit.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Local Users and  					Groups</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">lusrmgr.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Removable  					Storage</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">ntmsmgr.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Removable  					Storage Operator Requests</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">ntmsoprq.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Performance</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">perfmon.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Resultant Set  					of Policy</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">rsop.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Local Security  					Settings</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">secpol.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Services</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">services.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Windows  					Management Infrastructure (WMI)</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">wmimgmt.msc</span></td>
</tr>
<tr>
<td width="36%"><span style="font-family: Tahoma; font-size: x-small;">Component  					Services</span></td>
<td width="28%"><span style="font-family: Tahoma; font-size: x-small;">comexp.msc</span></td>
</tr>
</tbody>
</table>
<p><!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://wouter.shush.com/2008/09/adminpakmsi-redux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding members to groups with +1500 members in PowerShell</title>
		<link>http://wouter.shush.com/2007/10/adding-members-to-groups-with-1500-members-in-powershell?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-members-to-groups-with-1500-members-in-powershell</link>
		<comments>http://wouter.shush.com/2007/10/adding-members-to-groups-with-1500-members-in-powershell#comments</comments>
		<pubDate>Fri, 19 Oct 2007 07:27:37 +0000</pubDate>
		<dc:creator>wooter</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADSI]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://wouter.shush.com/it-stuff/adding-members-to-groups-with-1500-members-in-powershell</guid>
		<description><![CDATA[The Windows Active Directory does not really have hard limits when it comes to group memberships. There are however soft limits. Any ADSI or WMI query to a list of your group memberships will turn out to 1000 members in &#8230; <a href="http://wouter.shush.com/2007/10/adding-members-to-groups-with-1500-members-in-powershell">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><!--:en-->The Windows Active Directory does not really have <a title="Active Directory limits" href="http://blogs.technet.com/mcs-ireland-infrastructure/archive/2006/10/14/active-directory-limits.aspx" target="_blank">hard limits</a> when it comes to group memberships. There are however soft limits.</p>
<p>Any ADSI or WMI query to a list of your group memberships will turn out to 1000 members in Windows 2000 mode, or 1500 in Windows 2003 native mode. Only by using <a title="List large groups" href="http://www.rlmueller.net/DocumentLargeGroup.htm" target="_blank">ADO range limits</a>, you can go by this soft limit.</p>
<p>This shouldn&#8217;t pose a problem when you are just adding members to an already big group. However, it does.<!--:--><span id="more-36"></span><!--:en--></p>
<pre lang="powershell" line="1">$userOU = [ADSI] "LDAP://cn=myUser,ou=Users,dc=contoso,dc=com"
$groupOU = [ADSI] "LDAP://cn=myGroup,ou=Users,dc=contoso,dc=com"
<strong>$groupOU.Member = $groupOU.Member + $userOU.distinguishedName
</strong>$groupOU.SetInfo()
</pre>
<p>Adding the myUser user to the myGroup group will work fine if the group member count is below 1500. Once above, your group will suddenly loose an amount of members until you are left with a group of just 1500 members, and then added by the new member.</p>
<p>What actually happens is self-explanatory when reading the code: the group members is the group member list plus the new member. When the group member list only returns 1500 members, and then you add one member, you are left with 1501 members, and not your original amount of members + 1.</p>
<p>A workaround is this:</p>
<pre lang="powershell" line="1">$ADS_PROPERTY_APPEND = 3
$userOU = [ADSI] "LDAP://cn=myUser,ou=Users,dc=contoso,dc=com"
$groupOU = [ADSI] "LDAP://cn=myGroup,ou=Users,dc=contoso,dc=com"
<strong>$groupOU.putEx($ADS_PROPERTY_APPEND, "member", @($userOU.distinguishedname))</strong>
$groupOU.SetInfo()</pre>
<p>In this workaround, we are going to use <a title="HOW TO: Use ADSI to Set LDAP Directory Attributes" href="http://support.microsoft.com/kb/260251" target="_blank">putEx</a> to append a member to a group, instead of loading the full member list (with a limit of 1500) and then adding a new member.</p>
<p><a title="ADSI and group membership - what am I doing wrong - Neil Chambers " href="http://www.eggheadcafe.com/software/aspnet/30327382/adsi-and-group-membership.aspx" target="_blank">Source</a>.<!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://wouter.shush.com/2007/10/adding-members-to-groups-with-1500-members-in-powershell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: wouter.shush.com @ 2012-02-08 01:57:03 -->
