<?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> &#187; Active Directory</title>
	<atom:link href="http://markswinkels.nl/category/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://markswinkels.nl</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 14:40:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to: Create users for testing purposes</title>
		<link>http://markswinkels.nl/2009/11/how-to-create-users-for-testing-purposes/</link>
		<comments>http://markswinkels.nl/2009/11/how-to-create-users-for-testing-purposes/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:49:45 +0000</pubDate>
		<dc:creator>markswinkels</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=1615</guid>
		<description><![CDATA[If you want to create a large amount of test user accounts in your domain, you can use the following command to quickly add all the user accounts! This will save you a lot of time&#8230;. FOR /L %i in (1,1,100) DO dsadd user &#8220;cn=User%i,ou=Gebruikers,dc=exchange,dc=local&#8221; -samid User%i -upn User%i@Exchange.local -fn User%i -display User%i -pwd P@sswOrd -disabled [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to create a large amount of test user accounts in your domain, you can use the following command to quickly add all the user accounts! This will save you a lot of time&#8230;. <img src='http://markswinkels.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong><em>FOR /L %i in (1,1,100) DO dsadd user &#8220;cn=User%i,ou=Gebruikers,dc=exchange,dc=local&#8221; -samid User%i -upn User%i@Exchange.local -fn User%i -display User%i -pwd P@sswOrd -disabled no</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2009/11/how-to-create-users-for-testing-purposes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create new users in Active Directory with DSADD</title>
		<link>http://markswinkels.nl/2009/01/create-new-users-in-active-directory-with-dsadd/</link>
		<comments>http://markswinkels.nl/2009/01/create-new-users-in-active-directory-with-dsadd/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 18:22:27 +0000</pubDate>
		<dc:creator>markswinkels</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=700</guid>
		<description><![CDATA[Today I was testing some things in my Exchange 2007 environment. For this test I&#8217;ve to create 100 new users in Active Directory. So I&#8217;ve created a little script that made all the new users for me. In this script I use the command line tool dsadd. dsadd user &#8220;CN=Testuser01,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser01@testlab.local -fn testuser01 -pwd P@$$W@rd [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was testing some things in my Exchange 2007 environment. For this test I&#8217;ve to create 100 new users in Active Directory. So I&#8217;ve created a little script that made all the new users for me.</p>
<p>In this script I use the command line tool <strong><em>dsadd.</em></strong></p>
<p>dsadd user &#8220;CN=Testuser01,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser01@testlab.local -fn testuser01 -pwd P@$$W@rd<br />
dsadd user &#8220;CN=Testuser02,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser02@testlab.local -fn testuser02 -pwd P@$$W@rd<br />
dsadd user &#8220;CN=Testuser03,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser03@testlab.local -fn testuser03 -pwd P@$$W@rd<br />
dsadd user &#8220;CN=Testuser04,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser04@testlab.local -fn testuser04 -pwd P@$$W@rd<br />
dsadd user &#8220;CN=Testuser05,OU=Gebruikers,DC=testlab,DC=local&#8221; -upn testuser05@testlab.local -fn testuser05 -pwd P@$$W@rd</p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2009/01/create-new-users-in-active-directory-with-dsadd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing multiple passwords in Active Directory</title>
		<link>http://markswinkels.nl/2008/11/changing-multiple-passwords-in-active-directory/</link>
		<comments>http://markswinkels.nl/2008/11/changing-multiple-passwords-in-active-directory/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 11:23:52 +0000</pubDate>
		<dc:creator>markswinkels</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=380</guid>
		<description><![CDATA[All of you now that you cannot change multiple passwords of the user objects in the Active Directory through the Grafical User Interface (GUI). You&#8217;ve to click all the users one by one and so you can change the password of that specific user. There&#8217;s some good news Default in Windows Server 2003 and Windows [...]]]></description>
			<content:encoded><![CDATA[<p>All of you now that you cannot change multiple passwords of the user objects in the Active Directory through the Grafical User Interface (GUI). You&#8217;ve to click all the users one by one and so you can change the password of that specific user. There&#8217;s some good news <img src='http://markswinkels.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Default in Windows Server 2003 and Windows Server 2008 there&#8217;s a command <strong><em>net user</em></strong>. With this command you&#8217;re abble to change the password of multiple users in the Active Directory. Let&#8217;s do this in my testenvironment.</p>
<ul>
<li>Open the commandline</li>
<li>Run the following command, <strong><em>net user. </em></strong>Now you get an overview of all the user objects in the Active Directory</li>
<li>Open notepad</li>
<li>Copy and past the right user and add the following things</li>
<li><strong><em>net user &lt;username&gt; &lt;password&gt;</em></strong></li>
<li>Be sure that the new password meets the configured Password Policy of your Defautl Domain Policy.</li>
</ul>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_01.jpg"><img class="alignnone size-thumbnail wp-image-381" title="net_user_01" src="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_01-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_02.jpg"><img class="alignnone size-thumbnail wp-image-382" title="net_user_02" src="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_02-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_03.jpg"><img class="alignnone size-thumbnail wp-image-383" title="net_user_03" src="http://markswinkels.nl/wp-content/uploads/2008/11/net_user_03-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>So you can see this will save you a lot of time&#8230;.. <img src='http://markswinkels.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2008/11/changing-multiple-passwords-in-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Join domain batchfile</title>
		<link>http://markswinkels.nl/2008/10/join-domain-batchfile/</link>
		<comments>http://markswinkels.nl/2008/10/join-domain-batchfile/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 17:45:22 +0000</pubDate>
		<dc:creator>markswinkels</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=94</guid>
		<description><![CDATA[With the following script you can yoin a workstation to a domain. Copy the script into notepad and save it as an batchfile. @echo off C: cd \Temp\Tools netdom.exe JOIN %COMPUTERNAME% /Domain:corp.local  /UserD:WSimport /PasswordD:*** /OU:&#8221;OU=Workstations,DC=corp,DC=local&#8221; Make sure the user you use in the script has administrative rights, so this user can join the workstations into [...]]]></description>
			<content:encoded><![CDATA[<p>With the following script you can yoin a workstation to a domain. Copy the script into notepad and save it as an batchfile.</p>
<p><em>@echo off</em></p>
<p><em>C:<br />
cd \Temp\Tools<br />
netdom.exe JOIN %COMPUTERNAME% /Domain:corp.local</em></p>
<p><em> /UserD:WSimport /PasswordD:*** /OU:&#8221;OU=Workstations,DC=corp,DC=local&#8221;</em></p>
<p>Make sure the user you use in the script has administrative rights, so this user can join the workstations into de domain <em>corp.local.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2008/10/join-domain-batchfile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

