<?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>The Sysadmins</title>
	<atom:link href="http://blog.thesysadmins.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.thesysadmins.co.uk</link>
	<description>Tips and tricks from the Sysadmins</description>
	<lastBuildDate>Sat, 19 May 2012 20:43:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>ADMT Series &#8211; Misc. Cannot open database ADMT &#8211; The login failed</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-misc-cannot-open-database-admt-the-login-failed.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-misc-cannot-open-database-admt-the-login-failed.html#comments</comments>
		<pubDate>Sat, 19 May 2012 20:31:08 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2557</guid>
		<description><![CDATA[If you install ADMT under a different user, you may receive this error when trying to access the ADMT MMC console: Unable to check for failed actions. : DBManager.IManageDB.1 : Cannot open database "ADMT" requested by the login. The login failed. To resolve this you will need to install the Microsoft SQL Server management Studio, [...]]]></description>
			<content:encoded><![CDATA[<p>If you install ADMT under a different user, you may receive this error when trying to access the ADMT MMC console:</p>
<p><code>Unable to check for failed actions. : DBManager.IManageDB.1 : Cannot open database "ADMT" requested by the login. The login failed.</code></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-5.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-5.png" alt="" title="ADMTMISC1-5" width="411" height="149" class="left size-full wp-image-2560" /></a></p>
<p>To resolve this you will need to install the Microsoft SQL Server management Studio, download available here: <a title="http://www.microsoft.com/en-us/download/details.aspx?id=7593" href="http://www.microsoft.com/en-us/download/details.aspx?id=7593" target="_blank">http://www.microsoft.com/en-us/download/details.aspx?id=7593</a></p>
<p>Run the installer and select New SQL Server stand-alone installation or add feature to an existing installation.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-1.png" alt="" title="ADMTMISC1-1" width="533" height="67" class="left size-full wp-image-2566" /></a></p>
<p>Choose Add features to an existing instance of SQL Server 2008.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-2.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-2.png" alt="" title="ADMTMISC1-2" width="537" height="89" class="left size-full wp-image-2567" /></a></p>
<p>Select Management Tools - Basic (it's greyed out here as I've already got them installed).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-3.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-3.png" alt="" title="ADMTMISC1-3" width="569" height="110" class="left size-full wp-image-2569" /></a></p>
<p>Follow the rest of the installation through, when complete run the SQL Server Management Studio and connect to the SQLEXPRESS instance.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-4.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-4.png" alt="" title="ADMTMISC1-4" width="416" height="308" class="left size-full wp-image-2559" /></a><br />
<span id="more-2557"></span><br />
Select Security, Logins and choose New login.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-6.png" alt="" title="ADMTMISC1-6" width="285" height="126" class="left size-full wp-image-2561" /></a></p>
<p>Add the account that needs access to the ADMT MMC Console and select Windows Authentication.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-7.png" alt="" title="ADMTMISC1-7" width="701" height="132" class="left size-full wp-image-2562" /></a></p>
<p>You can see the user added, right click and select properties.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-8.png" alt="" title="ADMTMISC1-8" width="343" height="410" class="left size-full wp-image-2563" /></a></p>
<p>Select User Mapping, tick ADMT and give the db_owner and public role membership.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMTMISC1-9.png" alt="" title="ADMTMISC1-9" width="702" height="628" class="left size-full wp-image-2564" /></a></p>
<p>The user will also need to be local administrator on the ADMT machine. You should now be able to open the MMC console.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-misc-cannot-open-database-admt-the-login-failed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 11. Computer Migration Wizard</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html#comments</comments>
		<pubDate>Sat, 19 May 2012 20:00:44 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2513</guid>
		<description><![CDATA[This post will cover the process of migrating computers from the source domain to the target domain. After you migrate a batch of local user profiles, migrate the corresponding batch of user workstations. ADMT Supported Operating Systems for Computer Migration ADMT 3.2 - supports the migration of computers that run Windows XP, Windows Vista, Windows [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover the process of migrating computers from the source domain to the target domain. After you migrate a batch of local user profiles, migrate the corresponding batch of user workstations.</p>
<p><strong>ADMT Supported Operating Systems for Computer Migration</strong></p>
<p>ADMT 3.2 - supports the migration of computers that run Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2.</p>
<p>ADMT 3.1 - supports the migration of computers that run Windows 2000 Professional, Windows XP, Windows Vista, Windows 2000 Server, Windows Server 2003, and Windows Server 2008</p>
<p>ADMT 3.0 - supports the migration of computers that run Windows 2000 Professional, Windows XP, Windows NT 4, Windows 2000 Server, and Windows Server 2003.</p>
<p><strong>Computer Migration</strong></p>
<p>From the ADMT machine, run ADMT and select Computer Migration Wizard.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-1.png"><img class="left size-full wp-image-2522" title="ADMT11-1" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-1.png" alt="" width="286" height="137" /></a></p>
<p>Select the source and target domain, you can also select which specific domain controller to use.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-2.png"><img class="left size-full wp-image-2523" title="ADMT11-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-2.png" alt="" width="500" height="389" /></a></p>
<p>Select computers from the domain or use an include file. This may be quite useful if you're doing an OU at a time as you can export objects of an OU via ADUC (right click -> export list).<br />
<span id="more-2513"></span><br />
<a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-3.png"><img class="left size-full wp-image-2524" title="ADMT11-3" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-3.png" alt="" width="501" height="386" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-4.png"><img class="left size-full wp-image-2525" title="ADMT11-4" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-4.png" alt="" width="501" height="388" /></a></p>
<p>Select the target OU.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-5.png"><img class="left size-full wp-image-2526" title="ADMT11-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-5.png" alt="" width="501" height="390" /></a></p>
<p>Choose the objects you wish to translate.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-6.png"><img class="left size-full wp-image-2527" title="ADMT11-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-6.png" alt="" width="500" height="388" /></a></p>
<p>Here you can choose to replace, add or remove the permissions. Add is the safest option and is what I would recommend in most cases.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-7.png"><img class="left size-full wp-image-2514" title="ADMT11-7" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-7.png" alt="" width="499" height="388" /></a></p>
<p>After the wizard has completed, wait x minutes before restarting the computer. This can typically be set to 0 minutes.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-8.png"><img class="left size-full wp-image-2515" title="ADMT11-8" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-8.png" alt="" width="501" height="389" /></a></p>
<p>You can exclude particular attributes of the computer here, if needed.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-9.png"><img class="left size-full wp-image-2516" title="ADMT11-9" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-9.png" alt="" width="500" height="389" /></a></p>
<p>Select Do not migration source object if a conflict is detected in the target domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-10.png"><img class="left size-full wp-image-2517" title="ADMT11-10" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-10.png" alt="" width="500" height="387" /></a></p>
<p>At this stage the computer object will be pre-staged in the target domain, you will be able to refresh the target OU and view the object.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-11.png"><img class="left size-full wp-image-2518" title="ADMT11-11" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-11.png" alt="" width="413" height="394" /></a></p>
<p>As usual, run the pre-check, then run pre-check and agent operation. Once the Agent operation is complete, the wizard will wait to carry out the post-check. The post check uses a A record in the target domain to contact the machine and remove the ADMT tools. You should see an A record being created on machine reboot. </p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-14.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-14.png" alt="" title="ADMT11-14" width="601" height="22" class="left size-full wp-image-2521" /></a></p>
<p>If you don't, the post-check will fail- this isn't a major issue. As long as you're aware of why it failed. If the A record has not been created you will need to investigate why.</p>
<p>You'll probably get a message in the logs stating: </p>
<p><code>Admt unable to retrieve the dns hostname adsi property cannot be found in the property cache hr=0x8000500d</code></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-12.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-12.png" alt="" title="ADMT11-12" width="513" height="354" class="left size-full wp-image-2519" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-13.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-13.png" alt="" title="ADMT11-13" width="516" height="189" class="left size-full wp-image-2520" /></a></p>
<p>Confirmed joined.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-15.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT11-15.png" alt="" title="ADMT11-15" width="400" height="182" class="left size-full wp-image-2550" /></a></p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<strong><a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 10. Security Translation Wizard &#8211; Local Profiles</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html#comments</comments>
		<pubDate>Sat, 19 May 2012 18:25:30 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2444</guid>
		<description><![CDATA[This post will cover the Security Translation Wizard from the context of migrating local user account profiles into the target domain. This step is crucial if you want your users to maintain the same local profile. The Translation Wizard needs to be run before migrating the computers. If you decide to skip this step, the [...]]]></description>
			<content:encoded><![CDATA[<p>This post will cover the Security Translation Wizard from the context of migrating local user account profiles into the target domain. This step is crucial if you want your users to maintain the same local profile. The Translation Wizard needs to be run before migrating the computers. If you decide to skip this step, the users will receive a new profile when they logon to the target domain for the first time:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-1.png" alt="" title="ADMT10-1" width="398" height="63" class="left size-full wp-image-2448" /></a></p>
<p>Be aware this process can take some time, I've seen it take up to 40-45 minutes on some older laptops.</p>
<p><strong>Translation Security Wizard - For Local Profiles</strong></p>
<p>From the ADMT machine, run ADMT and select Security Translation Wizard.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-13.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-13.png" alt="" title="ADMT10-13" width="405" height="161" class="left size-full wp-image-2470" /></a></p>
<p>Next.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-2.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-2.png" alt="" title="ADMT10-2" width="502" height="234" class="left size-full wp-image-2449" /></a></p>
<p>If you have migrated the source domain user accounts, you can select Previously Migrated Objects- this will pull the list of the source and target SIDs from the ADMT database for mapping across the new permissions. This is probably the best method if you have migrated the users across, or if you don't need granular control over the process.</p>
<p>You can use a SID mapping file to link two accounts from the source and target domain. In the migration I recently went through, the accounts had already been created in the target domain, and there was no requirement for SID history. I decided that merging the user accounts wasn't necessary. As I hadn't migrated the users I was unable to use the previously migrated objects option, as ADMT has no history of the account SIDs in the ADMT database. A SID mapping file was used instead.</p>
<p>The SID Mapping file can be in the following formats:</p>
<pre class="brush: plain; title: ; notranslate">OldSID,NewSID</pre>
<p>or </p>
<pre class="brush: plain; title: ; notranslate">OldSID,TARGET\USER</pre>
<p>or</p>
<pre class="brush: plain; title: ; notranslate">SOURCE\USER,TARGET\USER</pre>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-14.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-14.png" alt="" title="ADMT10-14" width="741" height="250" class="left size-full wp-image-2508" /></a></p>
<p>For demonstration purposes I have migrated a bunch of users accounts so I can choose the previously migrated objects option.<br />
<span id="more-2444"></span><br />
Select the source and target domain, you can also select which specific domain controller to use.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-3.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-3.png" alt="" title="ADMT10-3" width="502" height="382" class="left size-full wp-image-2450" /></a></p>
<p>Select computers from the domain or use an include file.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-4.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-4.png" alt="" title="ADMT10-4" width="499" height="183" class="left size-full wp-image-2451" /></a></p>
<p>We will be translating profiles on a Windows XP SP3 test machine.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-5.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-5.png" alt="" title="ADMT10-5" width="501" height="298" class="left size-full wp-image-2452" /></a></p>
<p>Choose the objects you wish to translate. </p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-6.png" alt="" title="ADMT10-6" width="499" height="302" class="left size-full wp-image-2453" /></a></p>
<p><em>Files and folders - Select this option to translate security on files and folders on the targeted computer.<br />
Local groups - Select this option to translate security on the local groups on the targeted computer.<br />
Printers - Select this option to translate security on the local printers that are configured on the targeted computer.<br />
Registry - Select this option to translate security on registry settings on the targeted computer.<br />
Shares - Select this option to translate security on the shared resources on the targeted computer.<br />
User profiles - Select this option to translate security on the local user profiles on the targeted computer.<br />
User rights - Select this option to translate security on the user rights on the targeted computer.</em></p>
<p>Here you can choose to replace, add or remove the permissions. Add is the safest option and is what I would recommend in most cases.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-7.png" alt="" title="ADMT10-7" width="503" height="294" class="left size-full wp-image-2454" /></a></p>
<p>Select Finish.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-8.png" alt="" title="ADMT10-8" width="501" height="383" class="left size-full wp-image-2455" /></a></p>
<p>Run the pre-check and make sure it passes, then choose run pre-check and agent operation.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-9.png" alt="" title="ADMT10-9" width="515" height="566" class="left size-full wp-image-2456" /></a></p>
<p>If you click on Agent Detail and View Log you will be able to see what actions have been carried out. We have already migrated the user Ronnie Coleman so we see:</p>
<p><code>2012-05-19 17:00:36 Translating user profile, source account='Ronnie.Coleman', target account='Ronnie.Coleman'</code></p>
<p>After the profiles have been translated you will want to migrate the computers straight away. </p>
<p><strong>What happens to the profile?</strong></p>
<p>To show you what's happened I've logged into XP1. You can see that the target user has been granted full permission over the local profile. As we chose the Add option, the source domain user also maintains access.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-10.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-10.png" alt="" title="ADMT10-10" width="363" height="378" class="left size-full wp-image-2457" /></a></p>
<p>The migrated user in the target domain has been added to the profile list in the registry, and the profile is pointing to the source user's profile. You can view this under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList.</p>
<p>Target SID / User</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-111.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-111.png" alt="" title="ADMT10-11" width="715" height="54" class="left size-full wp-image-2464" /></a></p>
<p>Source SID / User</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-121.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT10-121.png" alt="" title="ADMT10-12" width="790" height="59" class="left size-full wp-image-2465" /></a></p>
<p>The next part of the series will run through migrating the computer objects and computer domain affiliation to the target domain.</p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<strong><a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a></strong><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 9. Merging Users with a Different sAMAccountName</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html#comments</comments>
		<pubDate>Sun, 06 May 2012 00:16:25 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2385</guid>
		<description><![CDATA[Is the last post we looked at a vanilla user account migration, assuming a clean target domain. There may be a situation where the users have already been created in the target domain with a different sAMAccountName. For example, the user Branch Warren might have the sAMAccountName of bwarren in the source domain but branch.warren [...]]]></description>
			<content:encoded><![CDATA[<p>Is the <a title="last post" href="http://blog.thesysadmins.co.uk/admt-series-user-account-migration-wizard.html">last post </a>we looked at a vanilla user account migration, assuming a clean target domain.</p>
<p>There may be a situation where the users have already been created in the target domain with a different sAMAccountName. For example, the user Branch Warren might have the sAMAccountName of bwarren in the source domain but branch.warren in the target.</p>
<p>Source<br />
<a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-1.png"><img class="left size-full wp-image-2390" title="ADMT9-1" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-1.png" alt="" width="383" height="118" /></a></p>
<p>Target<br />
<a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-2.png"><img class="left size-full wp-image-2391" title="ADMT9-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-2.png" alt="" width="404" height="124" /></a></p>
<p>To get around this you can use an include file to map these different sAMAccountNames together when migrating. The include file is in the following format, and if we use the example above would look like this:</p>
<pre class="brush: plain; title: ; notranslate">Sourcename,TargetSAM,TargetUPN
bwarren,branch.warren,branch.warren@target.local</pre>
<p><strong>Creating the Include File</strong></p>
<p>To generate this list you can use CSVDE to pull out the required information from the two forests. The final include file will require a bit of manual preparation to get into the correct format.</p>
<p>From the source domain:</p>
<pre class="brush: plain; title: ; notranslate">csvde -d &quot;OU=source,DC=source,DC=local&quot; -f sourceinclude.csv -l &quot;sAMAccountName&quot;</pre>
<p>From the target domain:</p>
<pre class="brush: plain; title: ; notranslate">csvde -d &quot;OU=target,DC=target,DC=local&quot; -f targetinclude.csv -l &quot;sAMAccountName, userPrincipalName&quot;</pre>
<p>Create the include CSV file in the same format as the example above, I've created three users which I need to migrate and merge with an include file.</p>
<pre class="brush: plain; title: ; notranslate">Sourcename,TargetSAM,TargetUPN
jjackson,Johnnie.Jackson,Johnnie.Jackson@target.local
jcutler,jay.cutler,jay.cutler@target.local
bwarren,branch.warren,branch.warren@target.local</pre>
<p>Once you have this in place, the migration process is very similar to the method outlined in the <a title="last blog post" href="http://blog.thesysadmins.co.uk/admt-series-user-account-migration-wizard.html">last blog post</a>. When you are asked to select users, choose Read objects from an include file, specify the Include file you created above.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-5.png"><img class="left size-full wp-image-2394" title="ADMT9-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-5.png" alt="" width="500" height="182" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-6.png"><img class="left size-full wp-image-2395" title="ADMT9-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-6.png" alt="" width="500" height="202" /></a><br />
<span id="more-2385"></span><br />
Clear all check boxes.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-7.png"><img class="left size-full wp-image-2396" title="ADMT9-7" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-7.png" alt="" width="501" height="243" /></a></p>
<p>When you get to the conflict management screen, choose Migrate and merge conflicting, leave both tick boxes empty.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-8.png"><img class="left size-full wp-image-2397" title="ADMT9-8" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-8.png" alt="" width="501" height="254" /></a></p>
<p>Click finish, and view log. Here you can see the account being merged, passwords being migrated and sIDHistory completed.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-9.png"><img class="left size-full wp-image-2402" title="ADMT9-9" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-9.png" alt="" width="607" height="165" /></a></p>
<p>If you open up one of the users, you can see the attributes have been carried across from the source domain user.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-12.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-12.png" alt="" title="ADMT9-12" width="423" height="446" class="left size-full wp-image-2412" /></a></p>
<p><strong>Migrating Only the siDHistory</strong></p>
<p>When you migrate users, all attributes are carried across unless otherwise specified. There may be a scenario where the user objects in the target domain need to be kept untouched but siDHistory brought across. You can achieve this with the object property exclusion options. Run through the user migration and tick Exclude specific object properties from migration, select object type User and move all attributes into the excluded properties box.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-10.png"><img class="left size-full wp-image-2399" title="ADMT9-10" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-10.png" alt="" width="497" height="388" /></a></p>
<p>Run through and finish the rest of the wizard. You can confirm that only the siDHistory has been brought across by running ldifde and comparing the two files.</p>
<p>Run before:</p>
<pre class="brush: plain; title: ; notranslate">ldifde -f user_before.ldf -d &quot;CN=lee.priest,OU=target,DC=target,DC=local</pre>
<p>Run after:</p>
<pre class="brush: plain; title: ; notranslate">ldifde -f user_after.ldf -d &quot;CN=lee.priest,OU=target,DC=target,DC=local</pre>
<p>Winmerge is a pretty handy tool to compare two files, here they are side-by-side:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-11.png"><img class="left size-full wp-image-2405" title="ADMT9-11" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT9-11.png" alt="" width="643" height="946" /></a></p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<strong><a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a></strong><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 8. User Account Migration Wizard</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-user-account-migration-wizard.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-user-account-migration-wizard.html#comments</comments>
		<pubDate>Sat, 05 May 2012 16:20:17 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2345</guid>
		<description><![CDATA[In this post we'll run through the User Account Migration Wizard to migrate users from the source to target domain. This guide will cover migrating users that do not exist in the target domain, if they do, please wait for the next article which will cover merging user accounts with an include file and/or migrating [...]]]></description>
			<content:encoded><![CDATA[<p>In this post we'll run through the User Account Migration Wizard to migrate users from the source to target domain. This guide will cover migrating users that do not exist in the target domain, if they do, please wait for the next article which will cover merging user accounts with an include file and/or migrating <em>only </em>the siDHistory attribute (with no other attributes).</p>
<p>I have created 9 test users in the source domain, which are members of the global security group we migrated in the <a title="last series post." href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html">last series post</a>.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-14.png"><img class="left size-full wp-image-2350" title="ADMT8-14" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-14.png" alt="" width="175" height="156" /></a></p>
<p><strong>Migrating Users</strong></p>
<p>From the ADMT machine, run ADMT and select User Account Security Wizard.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-1.png"><img class="left size-full wp-image-2354" title="ADMT8-1" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-1.png" alt="" width="365" height="120" /></a></p>
<p>Select the source and target domain, you can also select which specific domain controller to use.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-2.png"><img class="left size-full wp-image-2355" title="ADMT8-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-2.png" alt="" width="499" height="391" /></a></p>
<p>Select users from the domain or use an include file (the include file will be explained in the next ADMT Series post).<br />
<span id="more-2345"></span><br />
<a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-3.png"><img class="left size-full wp-image-2356" title="ADMT8-3" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-3.png" alt="" width="500" height="388" /></a></p>
<p>I've chosen 9 test user accounts.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-17.png"><img class="left size-full wp-image-2353" title="ADMT8-17" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-17.png" alt="" width="499" height="386" /></a></p>
<p>Select the target OU.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-4.png"><img class="left size-full wp-image-2357" title="ADMT8-4" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-4.png" alt="" width="502" height="387" /></a></p>
<p>Select Migrate Passwords, and choose the source DC (the DC which the <a title="Password Export Service is install on" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html">Password Export Service is install on</a>). If you receive the error: Unable to establish a session with the password export server. The Password Export Services is not running on the source server. Go to the source DC and start the Password Export Server Service.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-7.png"><img class="left size-full wp-image-2185" title="ADMT4-7" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-7.png" alt="" width="611" height="37" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-5.png"><img class="left size-full wp-image-2358" title="ADMT8-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-5.png" alt="" width="502" height="388" /></a></p>
<p>Tick Migrate Users SIDs to target domain if you require siDHistory.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-6.png"><img class="left size-full wp-image-2359" title="ADMT8-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-6.png" alt="" width="499" height="389" /></a></p>
<p>Enter source domain credentials to add SID history.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-7.png"><img class="left size-full wp-image-2360" title="ADMT8-7" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-7.png" alt="" width="501" height="387" /></a></p>
<p>You can exclude particular attributes of the user here. By default it will pull across all attributes, such as home address, telephone numbers, descriptions etc... If you want to exclude any of these from being migrated across, tick Exclude specific object properties from migration and select User in the object type box. Move any user properties you want to exclude into the excluded properties box.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-9.png"><img class="left size-full wp-image-2362" title="ADMT8-9" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-9.png" alt="" width="499" height="389" /></a></p>
<p>Conflict management, if you are unsure if a group with the same name exists in the target domain leave the default setting in place.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-10.png"><img class="left size-full wp-image-2363" title="ADMT8-10" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-10.png" alt="" width="500" height="390" /></a></p>
<p>Click Finish</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-11.png"><img class="left size-full wp-image-2347" title="ADMT8-11" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-11.png" alt="" width="498" height="389" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-12.png"><img class="left size-full wp-image-2348" title="ADMT8-12" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-12.png" alt="" width="408" height="393" /></a></p>
<p>If you click view log you can see that the user object and password has been migrated. As we previously migrated the global group, the user has also been added to that.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-13.png"><img class="left size-full wp-image-2349" title="ADMT8-13" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-13.png" alt="" width="636" height="178" /></a></p>
<p>You can now see the users in the target domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-15.png"><img class="left size-full wp-image-2351" title="ADMT8-15" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-15.png" alt="" width="192" height="155" /></a></p>
<p>Group membership updated.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-16.png"><img class="left size-full wp-image-2352" title="ADMT8-16" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-16.png" alt="" width="400" height="277" /></a></p>
<p>SID history carried across.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-18.png"><img class="left size-full wp-image-2364" title="ADMT8-18" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT8-18.png" alt="" width="644" height="84" /></a></p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<strong><a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a></strong><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-user-account-migration-wizard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series – 7. Group Account Migration Wizard</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html#comments</comments>
		<pubDate>Sat, 05 May 2012 15:28:25 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2297</guid>
		<description><![CDATA[Universal, global and domain local groups can be migrated with the ADMT tool. Each group type has different rules for membership, and each group type serves a different purpose. This affects the order that the groups are migrated from the source to the target domains. &#160; Universal groups Universal groups can contain members from any [...]]]></description>
			<content:encoded><![CDATA[<p>Universal, global and domain local groups can be migrated with the ADMT tool. Each group type has different rules for membership, and each group type serves a different purpose. This affects the order that the groups are migrated from the source to the target domains.</p>
<p>&nbsp;</p>
<p><em><strong>Universal groups</strong></em><br />
Universal groups can contain members from any domain in the forest, and they can replicate group membership to the global catalog. Therefore, you can use them for administrative groups. When you restructure domains, migrate universal groups first</p>
<p><em><strong>Global groups</strong></em><br />
Global groups can include only members from the domain to which they belong. Create global groups to organize users. Global groups should be migrated second.</p>
<p><em><strong>Domain local groups</strong></em><br />
Domain local groups can contain users from any domain. They are used to assign permissions to resources. When you restructure domains, you must migrate domain local groups when you migrate the resources to which they provide access, or you must change the group type to universal group. This minimizes the disruption in user access to resources. Migrate Domain Local groups last.</p>
<p>In this example we will migrate a global security group and a domain local security group which is the member of the global group.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-11.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-11.png" alt="" title="ADMT7-11" width="404" height="131" class="left size-full wp-image-2319" /></a></p>
<p><strong>Migrating Global Groups</strong></p>
<p>From the ADMT machine, run ADMT and select Group Account Security Wizard.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-1.png" alt="" title="ADMT7-1" width="371" height="160" class="left size-full wp-image-2306" /></a></p>
<p>Select the source and target domain, you can also select which specific domain controller to use.<br />
<span id="more-2297"></span></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-2.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-2.png" alt="" title="ADMT7-2" width="501" height="387" class="left size-full wp-image-2307" /></a></p>
<p>Select groups from the domain or use an include file.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-3.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-3.png" alt="" title="ADMT7-3" width="500" height="190" class="left size-full wp-image-2308" /></a></p>
<p>Select the global groups you wish to migrate.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-4.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-4.png" alt="" title="ADMT7-4" width="502" height="386" class="left size-full wp-image-2309" /></a></p>
<p>Select the target OU.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-5.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-5.png" alt="" title="ADMT7-5" width="502" height="390" class="left size-full wp-image-2310" /></a></p>
<p>When migrating groups, only tick Fix membership of group and migrate group SIDs to target domain. If you choose Copy Group Members, this will migrate the AD users within the group, you do not want to do that at this stage</p>
<p><em>Fix membership of group</em>. Select this option to add migrated user accounts to target domain groups if the user accounts were members of those groups in the source domain.</p>
<p><em>Migrate group SIDs to target domain</em> - Select this option to add the security identifiers (SIDs) of the migrated group accounts in the source domain to the SID history of the new group accounts in the target domain. This option uses a secure connection to the source domain controller.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-6.png" alt="" title="ADMT7-6" width="499" height="392" class="left size-full wp-image-2311" /></a></p>
<p>Enter source domain credentials to add SID history.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-7.png" alt="" title="ADMT7-7" width="501" height="386" class="left size-full wp-image-2312" /></a></p>
<p>You can exclude particular attributes of the group here.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-8.png" alt="" title="ADMT7-8" width="502" height="389" class="left size-full wp-image-2313" /></a></p>
<p>Conflict management, if you are unsure if a group with the same name exists in the target domain leave the default setting in place.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-9.png" alt="" title="ADMT7-9" width="502" height="390" class="left size-full wp-image-2314" /></a></p>
<p>Click Finish</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-10.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-10.png" alt="" title="ADMT7-10" width="502" height="388" class="left size-full wp-image-2315" /></a></p>
<p>The Global security group should now be migrated to the target domain (with no members).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-13.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-13.png" alt="" title="ADMT7-13" width="402" height="153" class="left size-full wp-image-2323" /></a></p>
<p><strong>Migrating Local Groups</strong></p>
<p>Follow the same process as above, but select the local groups you wish to migrate. You'll notice that when you open the Local group in ADUC the Global group you migrated earlier will have been added.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-12.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT7-12.png" alt="" title="ADMT7-12" width="400" height="179" class="left size-full wp-image-2321" /></a></p>
<p><strong>What about the users?</strong></p>
<p>The User accounts will be added to the relevant groups when you perform the user account migration (next part of the series).</p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<strong><a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a></strong><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 6. Service Account Migration Wizard</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html#comments</comments>
		<pubDate>Sun, 29 Apr 2012 18:54:59 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2231</guid>
		<description><![CDATA[The Service Account Migration Wizard will identify, migrate and update services that run in the context of a domain user account. ADMT does not migrate services running under the Local System account as they are migrated automatically when the computer is migrated. The Local Service and Network Service accounts are not migrated, because they are [...]]]></description>
			<content:encoded><![CDATA[<p>The Service Account Migration Wizard will identify, migrate and update services that run in the context of a domain user account. ADMT does not migrate services running under the Local System account as they are migrated automatically when the computer is migrated. The Local Service and Network Service accounts are not migrated, because they are well-known accounts that always exist in domains.</p>
<p>When you run the Migrate Service Account Wizard, you are asked to select the computers you wish to scan for service account flagging. You can either search for computers on the domain, or provide an include file (text file with new computer objects separated by a line break). The wizard will then deploy the ADMT agent to the selected computers and scan for services running in the context of a domain user account. After the scan is complete, you will be presented with a list of services and service accounts.</p>
<p>The Service Account Migration Wizard doesn't migrate any service accounts, nor does it make any changes to the services running under the computers you choose. It's simply to flag the service accounts in the ADMT database.</p>
<p>To migrate the service account and update the service with the migrated user (in the target domain), you need to run the User Migration Wizard and select the Service Accounts highlighted in the process above. This doesn't need to be done straight away and can be part of the User Migration Process. For this demo I will carry out the complete process so you can see what happens to the services.</p>
<p>This step isn't mandatory, and you would typically only run this against your servers (see the security concerns at the bottom of this post). You may find if you have a small number of servers you would want to do this manually with a re-jig of your service accounts. Or perhaps the target domain has a different policy for service accounts, be that a naming scheme or how they are used.</p>
<p><strong>Identifying Service Accounts</strong></p>
<p>On XP1.source.local I've changed two of the services to run under domain user accounts.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-1.png" alt="" title="ADMT6-1" width="594" height="37" class="left size-full wp-image-2241" /></a></p>
<p>From the ADMT machine, run ADMT and select Service Account Migration Wizard.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-2.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-2.png" alt="" title="ADMT6-2" width="392" height="185" class="left size-full wp-image-2242" /></a></p>
<p>Select the source and target domain, you can also select which specific domain controller to use.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-3.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-3.png" alt="" title="ADMT6-3" width="502" height="298" class="left size-full wp-image-2243" /></a></p>
<p><span id="more-2231"></span></p>
<p>Choose Yes, update the information.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-4.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-4.png" alt="" title="ADMT6-4" width="502" height="176" class="left size-full wp-image-2244" /></a></p>
<p>Select computers from the domain or use an include file.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-5.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-5.png" alt="" title="ADMT6-5" width="499" height="184" class="left size-full wp-image-2245" /></a></p>
<p>Select the computers you wish to identify service accounts on.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-6.png" alt="" title="ADMT6-6" width="499" height="318" class="left size-full wp-image-2246" /></a></p>
<p>Run the pre-check, it should Pass fairly quickly- if it fails it's normally a permissions issue, so check your permissions on the source machine.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-7.png" alt="" title="ADMT6-7" width="513" height="566" class="left size-full wp-image-2247" /></a></p>
<p>Once the pre-run has been checked and passed, run the pre-check and agent operation.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-8.png" alt="" title="ADMT6-8" width="516" height="564" class="left size-full wp-image-2248" /></a></p>
<p>Once it's successful you can view the agent detail and log, here we can see it listing the services and service users.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-9.png" alt="" title="ADMT6-9" width="558" height="214" class="left size-full wp-image-2249" /></a></p>
<p>The Accounts Marked as Service Accounts are shown.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-10.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-10.png" alt="" title="ADMT6-10" width="501" height="384" class="left size-full wp-image-2250" /></a></p>
<p>Finish. The accounts chosen are now marked in the ADMT database as Service Accounts.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-11.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-11.png" alt="" title="ADMT6-11" width="502" height="387" class="left size-full wp-image-2251" /></a></p>
<p>You can view the flagged Service Accounts under the Services Table in the ADMT Database.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-27.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-27.png" alt="" title="ADMT6-27" width="503" height="584" class="left size-full wp-image-2266" /></a></p>
<p><strong>Migrating the Service Accounts and Updating the Service</strong></p>
<p>This doesn't have to be done straight away, it can also be part of the main user migration progress. </p>
<p>Run the User Account Migration Wizard in ADMT</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-12.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-12.png" alt="" title="ADMT6-12" width="425" height="108" class="left size-full wp-image-2252" /></a></p>
<p>Choose the source and target domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-13.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-13.png" alt="" title="ADMT6-13" width="498" height="386" class="left size-full wp-image-2253" /></a></p>
<p>Select the service account users from the domain or include file.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-14.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-14.png" alt="" title="ADMT6-14" width="499" height="386" class="left size-full wp-image-2254" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-15.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-15.png" alt="" title="ADMT6-15" width="499" height="391" class="left size-full wp-image-2255" /></a></p>
<p>Select an OU for the service user accounts to be migrated to.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-16.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-16.png" alt="" title="ADMT6-16" width="501" height="178" class="left size-full wp-image-2256" /></a></p>
<p>Choose Generate complex passwords, you will be unable to migrate the password as the account as been flagged as a service account.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-17.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-17.png" alt="" title="ADMT6-17" width="500" height="283" class="left size-full wp-image-2257" /></a></p>
<p>Keep the default settings.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-18.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-18.png" alt="" title="ADMT6-18" width="500" height="389" class="left size-full wp-image-2258" /></a></p>
<p>Provide administrative credentials.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-19.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-19.png" alt="" title="ADMT6-19" width="500" height="390" class="left size-full wp-image-2259" /></a></p>
<p>Make sure only Update user rights is ticked.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-20.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-20.png" alt="" title="ADMT6-20" width="503" height="387" class="left size-full wp-image-2260" /></a></p>
<p>You can exclude particular attributes of the user object here.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-21.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-21.png" alt="" title="ADMT6-21" width="501" height="388" class="left size-full wp-image-2261" /></a></p>
<p>Conflict management, if you are unsure if a user with the same name exists in the target domain leave the default setting in place.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-22.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-22.png" alt="" title="ADMT6-22" width="500" height="390" class="left size-full wp-image-2234" /></a></p>
<p>As the user account has been flagged as a service account you will get the option to migrate all service accounts and to update SCM (service control manager).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-23.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-23.png" alt="" title="ADMT6-23" width="500" height="390" class="left size-full wp-image-2235" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-24.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-24.png" alt="" title="ADMT6-24" width="415" height="176" class="left size-full wp-image-2236" /></a></p>
<p>Select Finish.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-25.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-25.png" alt="" title="ADMT6-25" width="502" height="390" class="left size-full wp-image-2237" /></a></p>
<p>View the migration progress, once finished you can view the log. Check for any errors. Select Close.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-26.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-26.png" alt="" title="ADMT6-26" width="412" height="395" class="left size-full wp-image-2238" /></a></p>
<p>You can see that the service account user has been migrated into the target domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-28.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-28.png" alt="" title="ADMT6-28" width="477" height="146" class="left size-full wp-image-2274" /></a></p>
<p>The service has been updated with the migrated service account.</p>
<p>Before:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-1.png" alt="" title="ADMT6-1" width="594" height="37" class="left size-full wp-image-2241" /></a></p>
<p>After (we only migrated the ServiceAccount user):</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-29.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT6-29.png" alt="" title="ADMT6-29" width="587" height="40" class="left size-full wp-image-2275" /></a></p>
<p><strong>Security Concerns</strong></p>
<p>The Service Migration Wizard never migrates passwords into the target domain, instead they are given clear-text passwords which enables ADMT to configure and update the services after the services account migration. An encrypted version of the password is stored in the password.txt file within the ADMT installation directory.</p>
<p>It is recommend that you only migrate service accounts on servers that trusted administrators manage. The reason for this is that an administrator of a workstation or server can install a service and configure it to use any domain account. A malicious user could configure a service to use a privileged domain user account with an incorrect password, after the service account is migrated a new password would be generated and the service account updated with the migrated user and correct password allowing the service to run.</p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<strong><a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a></strong><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 5. Machine Preparation</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html#comments</comments>
		<pubDate>Sat, 28 Apr 2012 00:43:35 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2081</guid>
		<description><![CDATA[This post will look at preparing your workstations and servers to work with ADMT and to make sure you give ADMT the correct permissions and connectivity. Local Administrators Group The ADMT Migration Account that you use to migrate workstations and member servers must have local administrator rights in the the source domain. If you don't [...]]]></description>
			<content:encoded><![CDATA[<p>This post will look at preparing your workstations and servers to work with ADMT and to make sure you give ADMT the correct permissions and connectivity.</p>
<p><strong>Local Administrators Group</strong></p>
<p>The <a title="ADMT Migration Account" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Migration Account</a> that you use to migrate workstations and member servers must have local administrator rights in the the source domain. If you don't the ADMT agent cannot be deployed which will result in errors such as:</p>
<p><code>ERR2:7006 Failed to install agent on \\xp1.source.local, rc=5 Access is denied.</code></p>
<p><code>ERR2:7674 Unable to determine the local path for ADMIN share on the machine 'xp1.source.local'. rc=-2147024891</code></p>
<p>We'll look at two ways to achieve this with group policy.</p>
<p><strong>Method 1. Restricted Groups</strong></p>
<p>Create a Domain Local Security Group in the Source Domain, add the ADMT Service Account (ADMTUser in my case) to the group. You may decide to simply add the domain admins group from the target domain, as this includes the ADMTUser account. Also the Domain Admins group will get automatically added when the computers are migrated. The end result is the same though.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-1.png"><img class="left size-full wp-image-2193" title="ADMT5-1" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-1.png" alt="" width="403" height="133" /></a></p>
<p>Create a new GPO and link it to the OU with the computer objects in.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-2.png"><img class="left size-full wp-image-2194" title="ADMT5-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-2.png" alt="" width="357" height="165" /></a></p>
<p>Give it a name.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-3.png"><img class="left size-full wp-image-2195" title="ADMT5-3" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-3.png" alt="" width="385" height="102" /></a></p>
<p><span id="more-2081"></span></p>
<p>Dig down to Restricted Groups under the Computer Configuration.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-4.png"><img class="left size-full wp-image-2196" title="ADMT5-4" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-4.png" alt="" width="302" height="191" /></a></p>
<p>Add the ADMT Admin Local Security group you created earlier.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-5.png"><img class="left size-full wp-image-2197" title="ADMT5-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-5.png" alt="" width="371" height="147" /></a></p>
<p>Under This group is a member of: select add, type Administrators.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-6.png"><img class="left size-full wp-image-2198" title="ADMT5-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-6.png" alt="" width="368" height="149" /></a></p>
<p>This is how it should look in the end.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-7.png"><img class="left size-full wp-image-2199" title="ADMT5-7" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-7.png" alt="" width="360" height="445" /></a></p>
<p>Now if you run a <code>gpupdate /force</code> on a computer object within the OU you've applied the GPO to you should see the ADMT Admin group added.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-8.png"><img class="left size-full wp-image-2200" title="ADMT5-8" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-8.png" alt="" width="401" height="238" /></a></p>
<p><strong>Method 2. Net Localgroup</strong></p>
<p>Another way to add the group or user to the local administrators is to use the Net local group command. This will run under the user context, so the users must already be local administrators on the machines for this to work.</p>
<p>Create a batch file with the following and deploy it to an OU containing users. It's a bit of a dirty method but it works.</p>
<p>Format: <code>net localgroup administrators "targetdomain\user-or-group" /add</code><br />
Example specific: <code>net localgroup administrators "target\ADMT Admin" /add</code></p>
<p><strong>Windows Firewall</strong></p>
<p>Firewalls, such as Windows Firewall in Windows XP Service Pack 2 (SP 2 or above), can prevent the Active Directory Migration Tool (ADMT) computer account migration from completing. Microsoft recommend for any migration tasks that use agent deployment and where Windows Firewall is in use, enable the File and Printer Sharing exception.</p>
<p>Personally I recommend disabling the firewall completely for the migration via group policy.</p>
<p>Create a new group policy object (as above), again linking it to the OU containing computer objects.</p>
<p>Dig down to the domain profile under the computer configuration, set <code>Windows Firewall: Protect all network connections</code> to disabled.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-9.png"><img class="left size-full wp-image-2205" title="ADMT5-9" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT5-9.png" alt="" width="658" height="317" /></a></p>
<p>This covers the basic preparation required for ADMT run.</p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<strong><a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a></strong><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 4. Password Export Server</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html#comments</comments>
		<pubDate>Sun, 22 Apr 2012 10:30:18 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=2056</guid>
		<description><![CDATA[During the User account migration you will have the option to migrate passwords from the source domain user accounts to the target domain. If you choose to use this feature there are a few steps you need to carry out. This feature is very useful, and removes the requirement to communicate new passwords to end [...]]]></description>
			<content:encoded><![CDATA[<p>During the User account migration you will have the option to migrate passwords from the source domain user accounts to the target domain. If you choose to use this feature there are a few steps you need to carry out. This feature is very useful, and removes the requirement to communicate new passwords to end users.</p>
<p>&nbsp;</p>
<p><strong>Migrating Password Prerequisites</strong></p>
<p>Before you can migrate passwords, you will need to install the password export server onto a domain controller in the source domain.</p>
<p>Download the tool here: <a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=10370" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=10370" target="_blank">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=10370</a></p>
<p>Before you go ahead and install PES onto a DC in the source domain you need to create an encryption key from the machine running ADMT in the target domain. In our case this is ADMT.target.local. From the command prompt run:</p>
<p><code>admt key /option:create /sourcedomain:source.local /keyfile:"c:\PES Key\PES.pes" /keypassword:*</code></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-1.png" alt="" title="ADMT4-1" width="674" height="211" class="left size-full wp-image-2181" /></a></p>
<p>Now head over to a DC in the source domain (AD01.source.local) and download and run the PES installer. When prompted choose the .key file you created on the ADMT machine.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-2.png"><img class="left size-full wp-image-2058" title="ADMT4-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-2.png" alt="" width="504" height="254" /></a></p>
<p>Provide the password you used when creating the key.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-3.png"><img class="left size-full wp-image-2059" title="ADMT4-3" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-3.png" alt="" width="324" height="216" /></a></p>
<p><span id="more-2056"></span></p>
<p>ADMT provides the option to run the PES service under the Local System account or by using the credentials of an authenticated user in the target domain. It’s recommend that you run the PES service as an authenticated user in the target domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-4.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-4.png" alt="" title="ADMT4-4" width="452" height="345" class="left size-full wp-image-2178" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-5.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-5.png" alt="" title="ADMT4-5" width="457" height="117" class="left size-full wp-image-2179" /></a></p>
<p>The installation is now complete, you will need to restart the domain controller.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-6.png"><img class="left size-full wp-image-2062" title="ADMT4-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-6.png" alt="" width="508" height="238" /></a></p>
<p>For Password migration to work, you will need to manually start the Password Export Server service. You should only start this service when you are running through the User account migration, when you have finished, stop this service.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT4-7.png" alt="" title="ADMT4-7" width="611" height="37" class="left size-full wp-image-2185" /></a></p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<strong><a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a></strong><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 3. SID History</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html#comments</comments>
		<pubDate>Sat, 21 Apr 2012 19:38:59 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=1965</guid>
		<description><![CDATA[In the first post we setup the trust and prepared Active directory for the migration. One of the last messages provided when creating the trust states: To improve the security of this external trust, security identifier (SID) filtering is enabled. However, if users have been migrated to the trusted domain and their SID histories have [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a title="last post" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">first post</a> we setup the trust and prepared Active directory for the migration. One of the last messages provided when creating the trust states:</p>
<p><em>To improve the security of this external trust, security identifier (SID) filtering is enabled. However, if users have been migrated to the trusted domain and their SID histories have been preserved, you may choose to turn off this feature.</em></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-2.png"><img class="left size-full wp-image-1981" title="ADMT3-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-2.png" alt="" width="418" height="75" /></a></p>
<p><strong>What is SID History<br />
</strong><br />
SID history helps you to maintain user access to resources during the process of restructuring Active Directory domains. When you migrate an object to another domain, the object is assigned a new SID. Because you assign permissions to objects based on SIDs, when the SID changes, the user loses access to that resource until you can reassign permissions. When you migrate users into the target domain you will have the option to migrate the users SID to the target domain. This becomes the sIDHistory attribute under the new user object.</p>
<p>Resources within the source and target domains resolve their access control lists (ACLs) to SIDs and then check for matches between their ACLs and the access token when granting or denying access. If the SID or the SID history matches, access to the resource is granted or denied, according to the access specified in the ACL.</p>
<p>SID history can be used for roaming user profile access, certification authority access, software installation access and resource access.</p>
<p>To visualise this I've created a user called Ronnie Coleman in the source domain and run dsquery to display the user's SID.</p>
<p><code>dsquery * -filter "&amp;(objectcategory=user)(samaccountname=ronnie.coleman)" -attr objectsid</code></p>
<p>Here is Ronnie Coleman's SID in the Source Domain:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-10.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-10.png" alt="" title="ADMT3-10" width="403" height="72" class="left size-full wp-image-2041" /></a></p>
<p>If we use ADMT to migrate Ronnie Coleman to the target domain and migrate his SID from the source domain you will see both the new SID, and the sIDHistory from the source domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-5.png"><img class="left size-full wp-image-1997" title="ADMT3-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-5.png" alt="" width="386" height="122" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-11.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-11.png" alt="" title="ADMT3-11" width="401" height="95" class="left size-full wp-image-2040" /></a></p>
<p>The actual process of migrating the sIDHistory will be shown in the Migrating Users part of the series, this post is simply to explain what SID History is and why you would use it in your migration.</p>
<p><span id="more-1965"></span></p>
<p><strong>In Action</strong></p>
<p>On DC1.source.local (source domain) I have shared a folder called Ronnie Coleman, on which only Ronnie.Coleman@target.local can access. I've then migrated Ronnie.Coleman@target.local to the target.local (target) domain and migrated the SID (as above).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-7.png" alt="" title="ADMT3-7" width="365" height="408" class="left size-full wp-image-2171" /></a></p>
<p>Ronnie.Coleman@target.local has logged onto the AD1.target.local (target domain) and attempted to access the file share with SID Filtering still enabled, as you can see- access is denied:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-8.png" alt="" title="ADMT3-8" width="532" height="244" class="left size-full wp-image-2172" /></a></p>
<p>After SID filtering has been disabled (and Ronnie has logged off and back on) he is granted access, despite his user account not being directly in the NTFS permissions. SID History has allowed Ronnie.Coleman@target.local access to the resource.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-9.png" alt="" title="ADMT3-9" width="356" height="138" class="left size-full wp-image-2173" /></a></p>
<p><strong>How to Disable SID Filtering</strong></p>
<p>If you choose to utilise SID history you will need to disable SID filtering. Run Netdom as a domain or enterprise administrator from the target domain.</p>
<p>External trust: <code>Netdom trust TrustingDomainName /domain:TrustedDomainName /quarantine:No /usero:domainadministratorAcct /passwordo:domainadminpwd</code></p>
<p>In our test bed, source.local (source) is trusting target.local making it the trusting domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT3-6.png" alt="" title="ADMT3-6" width="641" height="87" class="left size-full wp-image-2170" /></a></p>
<p>If you are using a Forest trust, the command is slightly different: </p>
<p>Forest trust: <code>netdom trust trustingDomain /domain:trustedDomain /enableSIDhistory:yes /usero:domainadministratorAcct /passwordo:domainadminpwd</code></p>
<p><strong>Security Concerns</strong></p>
<p>Disabling SID filtering requires a level of trust between the two forests, and ultimately those who are responsible for Active Directory. With SID Filtering disabled, a rogue domain administrator could clone a SID from the other domain and add it to their SID History, granting them unauthorized rights.</p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<strong><a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a></strong><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series &#8211; 2. Preparing the ADMT Machine</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-preparing-the-admt-machine.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-preparing-the-admt-machine.html#comments</comments>
		<pubDate>Sat, 14 Apr 2012 16:24:34 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=1850</guid>
		<description><![CDATA[You should install ADMT and SQL onto a member server in the target forest. Use the ADMT service account explained in the previous post to install SQL and ADMT. ADMT requires a preconfigured instance of SQL Server for its underlying data store, so we'll go ahead and install SQL 2008 SP1 Express on ADMT.target.local. Installing [...]]]></description>
			<content:encoded><![CDATA[<p>You should install ADMT and SQL onto a member server in the target forest. Use the ADMT service account explained in the <a title="previous post" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">previous post</a> to install SQL and ADMT.</p>
<p>ADMT requires a preconfigured instance of SQL Server for its underlying data store, so we'll go ahead and install SQL 2008 SP1 Express on ADMT.target.local.</p>
<p><strong>Installing SQL Express 2008 SP1</strong></p>
<p>SQL Express download here: <a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=25052" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=25052" target="_blank">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=25052</a></p>
<p>1. Choose New Stand-alone installation.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-1.png"><img class="left size-full wp-image-2154" title="ADMT2-1" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-1.png" alt="" width="533" height="62" /></a></p>
<p>2. Select Database Engine Service.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-2.png"><img class="left size-full wp-image-2155" title="ADMT2-2" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-2.png" alt="" width="589" height="248" /></a></p>
<p>3. Accept the default named instance.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-3.png"><img class="left size-full wp-image-2156" title="ADMT2-3" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-3.png" alt="" width="581" height="191" /></a></p>
<p><span id="more-1850"></span></p>
<p>4. Set an account for the SQL service to run under (use your ADMT Service Account).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-4.png"><img class="left size-full wp-image-2157" title="ADMT2-4" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-4.png" alt="" width="557" height="162" /></a></p>
<p>5. Set a SQL administrator, choose the user account you plan to run ADMT under- be aware that this user account will need to have local administrative rights in the source domain (this will be discussed further in the series).</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-5.png"><img class="left size-full wp-image-2158" title="ADMT2-5" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-5.png" alt="" width="555" height="286" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-6.png"><img class="left size-full wp-image-2159" title="ADMT2-6" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-6.png" alt="" width="577" height="139" /></a></p>
<p><strong>Installing ADMT</strong></p>
<p>For this series I will be using ADMT 3.2, which is the supported version for Server 2008 R2. Use ADMT 3.1 for installation on a Server 2008 non-R2 server, or ADMT 3.0 for Server 2003. If you need to migration a Server 2000 Domain, you will need to use ADMT version 3.1 or earlier. The requirements are explained in the links below:</p>
<p>ADMT 3.0: <a title="http://www.microsoft.com/download/en/details.aspx?id=17488" href="http://www.microsoft.com/download/en/details.aspx?id=17488" target="_blank">http://www.microsoft.com/download/en/details.aspx?id=17488</a><br />
ADMT 3.1: <a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=17918" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=17918" target="_blank">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=17918</a><br />
ADMT 3.2: <a title="http://www.microsoft.com/download/en/details.aspx?id=8377" href="http://www.microsoft.com/download/en/details.aspx?id=8377" target="_blank">http://www.microsoft.com/download/en/details.aspx?id=8377</a></p>
<p>Run the ADMT setup file, and enter the named instance we created earlier.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-11.png"><img class="left size-full wp-image-2160" title="ADMT2-11" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-11.png" alt="" width="501" height="224" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-12.png"><img class="left size-full wp-image-2161" title="ADMT2-12" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-12.png" alt="" width="500" height="95" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-13.png"><img class="left size-full wp-image-2162" title="ADMT2-13" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-13.png" alt="" width="499" height="234" /></a></p>
<p>Here is the ADMT MMC, ready to go.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-15.png"><img class="left size-full wp-image-2153" title="ADMT2-15" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT2-15.png" alt="" width="430" height="373" /></a></p>
<p><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a><br />
<strong><a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a></strong><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-preparing-the-admt-machine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADMT Series – 1. Preparing Active Directory</title>
		<link>http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html</link>
		<comments>http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html#comments</comments>
		<pubDate>Fri, 13 Apr 2012 21:03:58 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ADMT]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=1912</guid>
		<description><![CDATA[Introduction to Series After recently using ADMT for an Active Directory migration I thought I'd write a series to document its use and to share any useful tips I found along the way. This first post will explain how to prepare the Active Directory for the migration process. If you've found this blog post you're [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction to Series</strong></p>
<p>After recently using ADMT for an Active Directory migration I thought I'd write a series to document its use and to share any useful tips I found along the way. This first post will explain how to prepare the Active Directory for the migration process.</p>
<p>If you've found this blog post you're probably already aware of what ADMT is and what it can be used for, and I'd suggest (as always) to read the documentation provided by Microsoft. The user guide for ADMT can be found here: <a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=19188" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=19188" target="_blank">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=19188</a></p>
<p><strong>Series Test bed</strong></p>
<p>In this Series I'm going to be using 3 servers and an XP client.</p>
<p>Server 1 AD1 - <em>Target Domain</em> Server 2008 R2 Domain controller in the target.local domain<br />
Server 2 ADMT - <em>Target Domain</em> Server 2008 R2 Member Server running ADMT in the target.local domain<br />
Server 3 DC1 - <em>Source Domain</em> Server 2003 Domain controller in the source.local domain<br />
Client 1 XP - <em>Source Domain</em> Windows XP client in the source.local domain</p>
<p>The goal of this series will be to migrate from the 2003 source.local Domain to the 2008 R2 target.local domain.</p>
<p><strong>Preparing Active Directory<br />
</strong><br />
In this post we'll look at preparing Active Directory for the migration process. There are two main things to prepare, DNS and a domain trust.</p>
<p>Before the domain trust can be created both domains will need to be able to resolve each other via DNS. To achieve this you can use stub zones, secondary zones or forwarders. I'll show you how to setup forwarders below on Server 2003 and 2008 R2. When using forwarders you need to manually populate the IP(s) of the name servers you'll be using for resolution, if for whatever reason these change you will have to manually go back and change the forwarder. This probably isn't an issue for most scenarios.</p>
<p><strong>Setting up a Server 2008 R2 DNS Forwarder</strong></p>
<p>1. Open the DNS MMC console, expand the server tree and select Conditional Forwarders. Right click and select new conditional Forwarder.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-3.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-3.png" alt="" title="ADMT1-3" width="357" height="99" class="left size-full wp-image-2134" /></a></p>
<p>2. Enter the other DNS domain name (the source domain in this case), then click below where it says "Click here to add" and enter the IP address of on the DNS servers in the other domain. Press enter. If you have multiple DNS servers in your Active Directory it's a good idea to store the conditional forwarder in AD, and replicate it accordingly.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-41.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-41.png" alt="" title="ADMT1-4" width="534" height="437" class="left size-full wp-image-2135" /></a></p>
<p>Before the forwarder:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-51.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-51.png" alt="" title="ADMT1-5" width="641" height="49" class="left size-full wp-image-2136" /></a></p>
<p>After the forwarder:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-6.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-6.png" alt="" title="ADMT1-6" width="447" height="66" class="left size-full wp-image-2137" /></a></p>
<p><span id="more-1912"></span></p>
<p><strong>Setting up a Server 2003 DNS Forwarder</strong></p>
<p>1. Open the DNS MMC console, right click on the server and select properties.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-1.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-1.png" alt="" title="ADMT1-1" width="327" height="294" class="left size-full wp-image-2132" /></a></p>
<p>2. Select the 2nd tab along titled 'Forwarders', new, enter the other DNS Domain (the target domain in this case) and click OK. With the Domain selected enter the IP address of one of the DNS servers in the other Domain and select Add.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-2.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-2.png" alt="" title="ADMT1-2" width="403" height="461" class="left size-full wp-image-2133" /></a></p>
<p><strong>Setting up the Domain Trust</strong></p>
<p>The trust will be created completely on AD1 in the Target.local domain.</p>
<p>1. Open the Active Directory Domains and Trusts, right click on the domain and click properties.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-7.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-7.png" alt="" title="ADMT1-7" width="303" height="166" class="left size-full wp-image-2138" /></a></p>
<p>2. Head over to the Trusts tab and select new trust.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-8.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-8.png" alt="" title="ADMT1-8" width="401" height="446" class="left size-full wp-image-2139" /></a></p>
<p>3. Enter the DNS domain name of the other Domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-9.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-9.png" alt="" title="ADMT1-9" width="501" height="234" class="left size-full wp-image-2140" /></a></p>
<p>4. Choose External or Forest trust, to setup a forest trust both domains will need to be at a 2003 Forest Functional level or higher. As we're dealing with two single domains an external trust is fine.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-10.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-10.png" alt="" title="ADMT1-10" width="501" height="229" class="left size-full wp-image-2141" /></a></p>
<p>5. We'll use a two-way trust.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-11.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-11.png" alt="" title="ADMT1-11" width="500" height="264" class="left size-full wp-image-2142" /></a></p>
<p>6. To setup both sides of the trust from the target domain you will need domain administrator credentials for the source/other domain.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-12.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-12.png" alt="" title="ADMT1-12" width="500" height="278" class="aleft size-full wp-image-2143" /></a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-13.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-13.png" alt="" title="ADMT1-13" width="501" height="388" class="left size-full wp-image-2144" /></a></p>
<p>7. Domain-wide authentication.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-14.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-14.png" alt="" title="ADMT1-14" width="500" height="283" class="left size-full wp-image-2145" /></a></p>
<p>8. Confirm both the incoming and outgoing trusts.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-15.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-15.png" alt="" title="ADMT1-15" width="498" height="162" class="left size-full wp-image-2146" /></a></p>
<p>I will cover SIDHistory in the next blog post, so we can ignore this for now.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-16.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-16.png" alt="" title="ADMT1-16" width="422" height="193" class="left size-full wp-image-2147" /></a></p>
<p>Here we can see the trust in place.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-17.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-17.png" alt="" title="ADMT1-17" width="400" height="444" class="left size-full wp-image-2148" /></a></p>
<p><strong>Suffix Search List</strong></p>
<p>Now that we have the forwarders in place in the source and target domains, clients from either domain should be able to resolve FQDNs from the other. However you will want to add the source/target domains suffix to the suffix search list, allowing simple, single-label names resolution.</p>
<p>On the Server 2008 R2 server, open Group Policy Management in Server manager, right click on the level you want to apply the policy to and select Create a GPO in this domain, and link it here... We'll call our GPO Trust - Suffix.</p>
<p>Dig down to Policies -&gt; Administrative templates -&gt; Network -&gt; DNS Client. Set the Primary DNS Suffix to the current domain, so in the Target.local domain we'd put this was Target.local. Then enable the DNS Suffix Search List policy, add the current domain first, then add the other domain- seperated with a comma.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-18.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-18.png" alt="" title="ADMT1-18" width="533" height="392" class="left size-full wp-image-2149" /></a></p>
<p>In the Server 2003 domain you can either add the policy via ADUC or via GPMC (<a title="http://www.microsoft.com/download/en/details.aspx?id=21895" href="http://www.microsoft.com/download/en/details.aspx?id=21895" target="_blank">http://www.microsoft.com/download/en/details.aspx?id=21895</a>). The settings are in the same place.</p>
<p>We can see the policy applied when we run an ipconfig /all. The clients will now append the primary suffix first, then try the additional suffixes found in the suffix search list.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-19.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-19.png" alt="" title="ADMT1-19" width="418" height="142" class="left size-full wp-image-2150" /></a></p>
<p><strong>ADMT Migration Account</strong></p>
<p>The account you run ADMT under will need to have administrative rights in both the source and target domain. You may decide to create a user specifically for the ADMT Migration, or you may use an existing user e.g. the default administrator account. I will create a user called ADMTUser and assign this user the correct permissions. This is the account we will use for the entire migration.</p>
<p>It is recommended that you make the user account in the target domain and make it a member of the domain administrators group.</p>
<p>Target Domain:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-21.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-21.png" alt="" title="ADMT1-21" width="450" height="174" class="left size-full wp-image-2152" /></a></p>
<p>In the source domain add the same user to the builtin administrators group (you will be unable to add it to the domain administrators group).</p>
<p>Source Domain:</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-20.png"><img src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADMT1-20.png" alt="" title="ADMT1-20" width="465" height="170" class="left size-full wp-image-2151" /></a></p>
<p><strong><a title="ADMT Series – 1. Preparing Active Directory" href="http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html" target="_blank">ADMT Series – 1. Preparing Active Directory</a></strong><br />
<a title="ADMT Series – 2. Preparing the ADMT Machine" href="http://blog.thesysadmins.co.uk/admt-series-2-preparing-the-admt-machine.html" target="_blank">ADMT Series – 2. Preparing the ADMT Machine</a><br />
<a title="ADMT Series – 3. SID History" href="http://blog.thesysadmins.co.uk/admt-series-3-sid-history.html" target="_blank">ADMT Series – 3. SID History</a><br />
<a title="ADMT Series – 4. Password Export Server" href="http://blog.thesysadmins.co.uk/admt-series-4-password-export-server.html" target="_blank">ADMT Series – 4. Password Export Server</a><br />
<a title="ADMT Series – 5. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-5-machine-preparation.html" target="_blank">ADMT Series – 5. Machine Preparation</a><br />
<a title="ADMT Series – 6. Machine Preparation" href="http://blog.thesysadmins.co.uk/admt-series-6-service-account-migration-wizard.html" target="_blank">ADMT Series – 6. Service Account Migration Wizard </a><br />
<a title="ADMT Series – 7. Group Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 7. Group Account Migration Wizard</a><br />
<a title="ADMT Series – 8. User Account Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-7-group-account-migration-wizard.html" target="_blank">ADMT Series – 8. User Account Migration Wizard</a><br />
<a title="ADMT Series – 9. Merging Users with a Different sAMAccountName" href="http://blog.thesysadmins.co.uk/admt-series-9-merging-users-with-a-different-samaccountname.html" target="_blank">ADMT Series – 9. Merging Users with a Different sAMAccountName</a><br />
<a title="ADMT Series – 10. Security Translation Wizard - Local Profiles" href="http://blog.thesysadmins.co.uk/admt-series-10-security-translation-wizard-local-profiles.html" target="_blank">ADMT Series – 10. Security Translation Wizard - Local Profiles</a><br />
<a title="ADMT Series – 11. Computer Migration Wizard" href="http://blog.thesysadmins.co.uk/admt-series-11-computer-migration-wizard.html" target="_blank">ADMT Series – 11. Computer Migration Wizard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/admt-series-1-preparing-active-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Active Directory Health Check Script</title>
		<link>http://blog.thesysadmins.co.uk/active-directory-healthcheck-script.html</link>
		<comments>http://blog.thesysadmins.co.uk/active-directory-healthcheck-script.html#comments</comments>
		<pubDate>Wed, 21 Mar 2012 18:55:57 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=1767</guid>
		<description><![CDATA[How do I know if Active Directory is healthy? I'm having some Active directory issues, where do I start? I see these questions asked a lot, and talking someone through some basic troubleshooting steps without having physical/remote access can be fairly time consuming. For that reason I've put together a script to collect basic information [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How do I know if Active Directory is healthy?</strong></p>
<p><strong> I'm having some Active directory issues, where do I start?</strong></p>
<p>I see these questions asked a lot, and talking someone through some basic troubleshooting steps without having physical/remote access can be fairly time consuming. For that reason I've put together a script to collect basic information about the domain controller the script is run on and active directory itself- which is then written to a log file.</p>
<p>The log file is saved onto the current users desktop by default. If you want to save the log file to a share you'd use:</p>
<pre class="brush: plain; title: ; notranslate">set logfile=\\server\share\ADHealth\ADHealth.txt</pre>
<p><strong>So, what does it do? </strong></p>
<p><code>System Boot Time - systeminfo | find "System Boot Time:"</code> - Displays boot time, not massively helpful or directly tied with Active Directory but still worth being aware of the last start-up time.</p>
<p><code>TCP/IP network configuration - IPCONFIG /all</code> - Displays all current TCP/IP network configuration values. This is normally helpful to highlight any DNS server misconfiguration. For example setting them to external public resolvers.</p>
<p><code>DCDIAG /a</code> - The meat and potatoes, there's a great article on what it actually does here: <a title="http://blogs.technet.com/b/askds/archive/2011/03/22/what-does-dcdiag-actually-do.aspx" href="http://blogs.technet.com/b/askds/archive/2011/03/22/what-does-dcdiag-actually-do.aspx" target="_blank">http://blogs.technet.com/b/askds/archive/2011/03/22/what-does-dcdiag-actually-do.aspx</a>. This is currently set to test all domain controllers (/a), you can get more verbose with /v, but I quite like the initial log to be succinct.</p>
<p><code>Repadmin /replsummary</code> - Will show you an overview of any failures, and for which DC(s). <a title="http://technet.microsoft.com/en-us/library/cc835092%28v=ws.10%29.aspx" href="http://technet.microsoft.com/en-us/library/cc835092%28v=ws.10%29.aspx" target="_blank">http://technet.microsoft.com/en-us/library/cc835092%28v=ws.10%29.aspx</a></p>
<p><code>Repadmin /showrepl</code> - This will let you know if the last replication attempts where successful. <a title="http://technet.microsoft.com/en-us/library/cc742066%28v=ws.10%29.aspx" href="http://technet.microsoft.com/en-us/library/cc742066%28v=ws.10%29.aspx" target="_blank">http://technet.microsoft.com/en-us/library/cc742066%28v=ws.10%29.aspx</a></p>
<p><code>NETDOM Query FSMO</code> - This will return the FSMO role holders, which can be used to confirm that the role holders are still online and functioning. A good article on FSMO roles and what happens if one of them fails can be found here: <a title="https://msmvps.com/blogs/acefekay/archive/2011/01/16/active-directory-fsmo-roles-explained.aspx" href="https://msmvps.com/blogs/acefekay/archive/2011/01/16/active-directory-fsmo-roles-explained.aspx" target="_blank">https://msmvps.com/blogs/acefekay/archive/2011/01/16/active-directory-fsmo-roles-explained.aspx</a></p>
<p><code>Nslookup -querytype=srv _gc._tcp.%domain%</code> - Displays all Global Catalogs.</p>
<p><strong>The batch file</strong></p>
<p>You can copy and paste it into your own batch file or download it from <a title="here." href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADHealth.bat" target="_blank">here.</a> If you're running it on a DC prior to Server 2008 you will need to install the Adminpak: <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=6315">Windows Server 2003 Service Pack 2 Administration Tools Pack (adminpak)</a></p>
<pre class="brush: plain; title: ; notranslate">
@Echo Off
ECHO Running AD Health Checks - Notepad will open after completion
ECHO You can share this log using http://pastie.org/pastes/new
ECHO This Command Prompt will close after you close Notepad
ECHO http://blog.thesysadmins.co.uk
set logfile=%userprofile%\Desktop\ADHealth.txt
echo You can share this log using http://pastie.org/pastes/new &gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM Finds system boot time
echo System Boot Time ------------------------------------------------------------- &gt;&gt; %logfile%
systeminfo | find &quot;System Boot Time:&quot; &gt;&gt; %logfile%
systeminfo | find &quot;System Up Time:&quot; &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM Displays all current TCP/IP network configuration values
echo IPCONFIG ------------------------------------------------------------- &gt;&gt; %logfile%
ipconfig /all &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM Analyse the state of domain controllers in a forest and reports any problems to assist in troubleshooting
echo DCDIAG ------------------------------------------------------------- &gt;&gt; %logfile%
dcdiag /a &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM The replsummary operation quickly summarizes the replication state and relative health
echo Replsummary ------------------------------------------------------------- &gt;&gt; %logfile%
repadmin /replsummary &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM Displays the replication partners for each directory partition on the specified domain controller
echo Showrepl ------------------------------------------------------------- &gt;&gt; %logfile%
repadmin /showrepl &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
echo. &gt;&gt; %logfile%
REM Query FSMO roles
echo NETDOM Query FSMO ------------------------------------------------------------- &gt;&gt; %logfile%
netdom query fsmo &gt;&gt; %logfile%
REM Query Global Catalogs
echo List Global Catalogs ------------------------------------------------------------- &gt;&gt; %logfile%
for /f &quot;tokens=2&quot; %%a in ('systeminfo ^| findstr Domain:') do set domain=%%a
nslookup -querytype=srv _gc._tcp.%domain% &gt;&gt; %logfile%
notepad %logfile%
</pre>
<p>Run the batch file, when it has completed notepad will open with the freshly created log. If you need to share this log with someone I suggest using pastie.org, and pasting the (redacted) document.</p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/ADHealth_Batch.png"><img class="left size-full wp-image-1796" title="ADHealth Batch" src="http://blog.thesysadmins.co.uk/wp-content/uploads/ADHealth_Batch.png" alt="ADHealth Batch" width="505" height="76" /></a></p>
<p>You may just want to run this as a one off when troubleshooting, or you may want to add this to a scheduled task (If so I'd remove the <code>notepad %logfile%</code> line off the end). This can be useful for comparisons and to outline when the error(s) / issues began. If your Active directory currently running like a dream, why not take a baseline log...</p>
<p>This script should give you a starting point for diagnosing some of the more common Active Directory issues. I recommend getting familiar with the tools included in the script, learning how to read and make sense of the information and to be aware of other parameters available.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/active-directory-healthcheck-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple iOS &#8211; Move contacts from &#8220;On my iPhone&#8221; to Exchange</title>
		<link>http://blog.thesysadmins.co.uk/apple-ios-move-contacts-from-on-my-iphone-to-exchange.html</link>
		<comments>http://blog.thesysadmins.co.uk/apple-ios-move-contacts-from-on-my-iphone-to-exchange.html#comments</comments>
		<pubDate>Wed, 07 Mar 2012 11:50:28 +0000</pubDate>
		<dc:creator>Tom@thesysadmins.co.uk</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.thesysadmins.co.uk/?p=1710</guid>
		<description><![CDATA[The Setup Apple iPhone syncing contacts with Microsoft Exchange server The Issue New contacts default to the "On my iPhone" contact group, which aren't synced with the Exchange account. This could cause contact loss when upgrading or switching iPhones, or will cause missing contacts on multiple devices e.g. iPads. I came across this earlier when [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Setup</strong></p>
<p>Apple iPhone syncing contacts with Microsoft Exchange server</p>
<p><strong>The Issue</strong></p>
<p>New contacts default to the "On my iPhone" contact group, which aren't synced with the Exchange account. This could cause contact loss when upgrading or switching iPhones, or will cause missing contacts on multiple devices e.g. iPads. I came across this earlier when someone mentioned their upgrade had missing contacts (turned out to be over 40). iOS version 5 seems to set Exchange as the default contact group, I believe this effects iOS 4 and below. You can change it in this location:</p>
<p><strong>Settings -&gt; Mail, Contacts and Calendars -&gt; Contacts - Default Account</strong></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/Orbi_Default.png"><img class="left size-full wp-image-1741" title="Orbi_Default" src="http://blog.thesysadmins.co.uk/wp-content/uploads/Orbi_Default.png" alt="" width="315" height="146" /></a></p>
<p><strong>The Solution</strong></p>
<p>There are a few paid apps that can move contacts across the groups, or another popular solution is to "share" the iPhone contact and email it to yourself, from there you can save it as a contact in the right group. After a bit more digging I stumbled across Orbicontact which was free and has the functionality needed.</p>
<p><a title="http://itunes.apple.com/gb/app/orbicontacts/id470885623" href="http://itunes.apple.com/gb/app/orbicontacts/id470885623">OrbiConact - iTunes</a></p>
<p><a href="http://blog.thesysadmins.co.uk/wp-content/uploads/Orbi.png"><img class="left size-full wp-image-1749" title="Orbi" src="http://blog.thesysadmins.co.uk/wp-content/uploads/Orbi.png" alt="" width="600" height="632" /></a></p>
<p>The contacts should now appear in Outlook and/or the new iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thesysadmins.co.uk/apple-ios-move-contacts-from-on-my-iphone-to-exchange.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

