<?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; Microsoft Exchange 2003 Server</title>
	<atom:link href="http://markswinkels.nl/category/microsoft-exchange-2003-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://markswinkels.nl</link>
	<description></description>
	<lastBuildDate>Tue, 22 Jun 2010 08:32:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to: restore deleted Computers in Active Directory</title>
		<link>http://markswinkels.nl/2009/07/24/how-to-restore-deleted-computers-in-active-directory/</link>
		<comments>http://markswinkels.nl/2009/07/24/how-to-restore-deleted-computers-in-active-directory/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 09:13:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Exchange 2003 Server]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=1156</guid>
		<description><![CDATA[When you want to restore some deleted computer objects, user object or even Organizational Units back to to your production Active Directory, there&#8217;s a nice tool called ADRESTORE. It&#8217;s a tool you can download from SysInternals and it&#8217;s easy to use! For this example I&#8217;ve deleted the OU (Organizational Unit) where my computer objects are [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to restore some deleted computer objects, user object or even Organizational Units back to to your production Active Directory, there&#8217;s a nice tool called <strong><em>ADRESTORE</em></strong>. It&#8217;s a tool you can download from SysInternals and it&#8217;s easy to use!</p>
<p>For this example I&#8217;ve deleted the OU (Organizational Unit) where my computer objects are placed. The consequenses&#8230;.Yes, the computers are not longer trusted to this domain, OOPS!! <img src='http://markswinkels.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>By default the Active Directory markes all the deleted objects as IsDeleted True. The objects are not vissible any more in your Active Directory, but they still there. This calls tombstoned objects. By default tombstoned objects will be available for <strong>60 days</strong> in a Windows 2000/2003 Active Directory and <strong>180 days</strong> in a Windows 2003 SP1 of 2008 Active Directory.</p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2009/07/restore_05.jpg"><img class="alignnone size-thumbnail wp-image-1158" title="restore_05" src="http://markswinkels.nl/wp-content/uploads/2009/07/restore_05-150x150.jpg" alt="restore_05" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/07/restore_06.jpg"><img class="alignnone size-thumbnail wp-image-1159" title="restore_06" src="http://markswinkels.nl/wp-content/uploads/2009/07/restore_06-150x150.jpg" alt="restore_06" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/07/restore_07.jpg"><img class="alignnone size-thumbnail wp-image-1160" title="restore_07" src="http://markswinkels.nl/wp-content/uploads/2009/07/restore_07-150x150.jpg" alt="restore_07" width="150" height="150" /></a></p>
<p>As you can see, I&#8217;ve deleted the OU <strong><em>Omgeving </em></strong>with the sub OU&#8217;s <strong><em>Laptop </em></strong>and <strong><em>PC </em></strong>and all the computers objects in this OU&#8217;s. Now we&#8217;re going to restore everything back! <strong><em>Note: </em></strong>make sure you first restore the highest OU, than the sub OU&#8217;s and finally the computer objects.</p>
<p>1.) Start the command prompt (Start, Run, CMD)<br />
2.) Locate ADRESTORE.EXE<br />
3.) Type in <strong><em>ADRESTORE -R Omge* </em></strong>(this will find all deleted object starting with <strong><em>Omge</em></strong>)<br />
4.) Restore the OU <strong><em>Omgeving </em></strong>by pressing <strong><em>Y</em></strong><br />
5.) Type in <strong><em>ADRESTORE -R Lap* </em></strong>(this will find all deleted object starting with <strong><em>Lap</em></strong>)<br />
6.) Restore the OU <strong><em>Laptop </em></strong>by pressing <strong><em>Y<br />
</em></strong>7.) Type in <strong><em>ADRESTORE -R PC<br />
</em></strong>8.) Restore the OU <strong><em>PC</em></strong> by pressing <strong><em>Y<br />
</em></strong>9.) Type in <strong><em>ADRESTORE -R PC*</em></strong> (this will find all deleted objects starting with <strong><em>PC</em></strong>)<br />
10.) Restore the computer objects <strong><em>PC01 </em></strong>till <strong><em>PC10</em></strong> by pressing <strong><em>Y<br />
</em></strong>11.) 9.) Type in <strong><em>ADRESTORE -R LT*</em></strong> (this will find all deleted objects starting with <strong><em>LT</em></strong>)<br />
10.) Restore the computer objects <strong><em>LT01 </em></strong>till <strong><em>LT10</em></strong> by pressing <strong><em>Y</em></strong></p>
<p>When you&#8217;ve restored all the objects, these are <strong>disabled</strong> by default, so you&#8217;ve to enabled them manually!</p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2009/07/restore_08.jpg"><img class="alignnone size-thumbnail wp-image-1161" title="restore_08" src="http://markswinkels.nl/wp-content/uploads/2009/07/restore_08-150x150.jpg" alt="restore_08" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/07/restore_09.jpg"><img class="alignnone size-thumbnail wp-image-1162" title="restore_09" src="http://markswinkels.nl/wp-content/uploads/2009/07/restore_09-150x150.jpg" alt="restore_09" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2009/07/24/how-to-restore-deleted-computers-in-active-directory/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>Enable Password Changing through OWA in Exchange 2003</title>
		<link>http://markswinkels.nl/2009/06/21/enable-password-changing-through-owa-in-exchange-2003/</link>
		<comments>http://markswinkels.nl/2009/06/21/enable-password-changing-through-owa-in-exchange-2003/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 10:41:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Exchange 2003 Server]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=1066</guid>
		<description><![CDATA[By design it is not possible to let the user change there password through OWA in Exchange 2003.  But you can make it possible with the following steps. 1.) Open the Internet Information Services (IIS) Manager 2.) Navigate to the Web Sites, Default Web Sites 3.) Creat a new Virtual Directory with the alias Iisadmpwd 4.) Browse [...]]]></description>
			<content:encoded><![CDATA[<p>By design it is not possible to let the user change there password through OWA in Exchange 2003.  But you can make it possible with the following steps.</p>
<p>1.) Open the <em>Internet Information Services (IIS) Manager<br />
</em>2.) Navigate to the <em>Web Sites, Default Web Sites<br />
</em>3.) Creat a new <em>Virtual Directory</em> with the alias <em>Iisadmpwd<br />
</em>4.) Browse to the following path: <em>C:\Windows\System32\Inetsrv\Iisadmpwd<br />
</em>5.) Allow the following permissions: <em>Read, Run scripts, Execute<br />
</em>6.) Enable the change password button in OWA by opening <em>regedit</em> and create the following <em>REG_DWORD</em> &#8211; <em>DisablePassword </em>with the value <em>0</em> (zero)<br />
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeWEB\OWA<br />
7.) Register the following DLL from the command prompt.<br />
<em>regsvr32 c:\windows\system32\inetsrv\iisadmpwd\iispwchg.dll<br />
</em>8.) Restart your IIS Server with the command <em>iisreset /noforce<br />
</em><em><br />
<a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_01.jpg"><img class="alignnone size-thumbnail wp-image-1067" title="iis_01" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_01-150x150.jpg" alt="iis_01" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_02.jpg"><img class="alignnone size-thumbnail wp-image-1068" title="iis_02" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_02-150x150.jpg" alt="iis_02" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_03.jpg"><img class="alignnone size-thumbnail wp-image-1069" title="iis_03" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_03-150x150.jpg" alt="iis_03" width="150" height="150" /></a></em></p>
<p><em><a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_04.jpg"><img class="alignnone size-thumbnail wp-image-1070" title="iis_04" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_04-150x150.jpg" alt="iis_04" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_05.jpg"><img class="alignnone size-thumbnail wp-image-1071" title="iis_05" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_05-150x150.jpg" alt="iis_05" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_06.jpg"><img class="alignnone size-thumbnail wp-image-1072" title="iis_06" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_06-150x150.jpg" alt="iis_06" width="150" height="150" /></a></em></p>
<p><em><a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_07.jpg"><img class="alignnone size-thumbnail wp-image-1073" title="iis_07" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_07-150x150.jpg" alt="iis_07" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_08.jpg"><img class="alignnone size-thumbnail wp-image-1074" title="iis_08" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_08-150x150.jpg" alt="iis_08" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_09.jpg"><img class="alignnone size-thumbnail wp-image-1075" title="iis_09" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_09-150x150.jpg" alt="iis_09" width="150" height="150" /></a></em></p>
<p><em><a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_10.jpg"><img class="alignnone size-thumbnail wp-image-1076" title="iis_10" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_10-150x150.jpg" alt="iis_10" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2009/06/iis_11.jpg"><img class="alignnone size-thumbnail wp-image-1077" title="iis_11" src="http://markswinkels.nl/wp-content/uploads/2009/06/iis_11-150x150.jpg" alt="iis_11" width="150" height="150" /></a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2009/06/21/enable-password-changing-through-owa-in-exchange-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 SP1 Rollup 8 is available</title>
		<link>http://markswinkels.nl/2009/05/20/exchange-2007-sp1-rollup-8-is-available/</link>
		<comments>http://markswinkels.nl/2009/05/20/exchange-2007-sp1-rollup-8-is-available/#comments</comments>
		<pubDate>Wed, 20 May 2009 09:48:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Exchange 2003 Server]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=1013</guid>
		<description><![CDATA[Exchange 2007 SP1 Rollup 8 is available. You can download it here. Update Rollup 8 for Exchange Server 2007 SP1 fixes the issues that are described in the following Microsoft Knowledge Base articles: 948856  Event ID 9667 occurs when you create a new named property on an Exchange Server 2007 server 952935  A software update [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange 2007 SP1 Rollup 8 is available. You can download it <a title="Exchange 2007 SP1 Rollup 8 Download" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e1f5c8b2-c4f2-4eba-849b-e464d4f2869c&amp;displaylang=en" target="_blank">here</a>.</p>
<p>Update Rollup 8 for Exchange Server 2007 SP1 fixes the issues that are described in the following Microsoft Knowledge Base articles:</p>
<ul>
<li>
<div class="indent">948856  Event ID 9667 occurs when you create a new named property on an Exchange Server 2007 server</div>
</li>
<li>
<div class="indent">952935 <span class="pLink"> </span>A software update is available that provides the log tracing feature for the LogTruncator tag in Exchange Server 2007</div>
</li>
<li>
<div class="indent">954639  Exchange Information Store service stops responding intermittently on an Exchange 2007 server</div>
</li>
<li>
<div class="indent">955480  Meeting requests from external senders are displayed as Busy instead of Tentative in an Exchange 2007 environment</div>
</li>
<li>
<div class="indent">956633  User calendar permissions are removed after you run the Set-MailboxCalendarSettings cmdlet in an Exchange Server 2007 environment</div>
</li>
<li>
<div class="indent">957640  The &#8220;test-*&#8221; command fails when you run it on a site that contains only CAS roles in an Exchange 2007 environment</div>
</li>
<li>
<div class="indent">958239  Exchange Server 2007 does not generate an event log message for public folder replication messages even though a property validation exception is thrown and the replications do not occur</div>
</li>
<li>
<div class="indent">958881  All HTML content in attachment files of messages is run through an HTML filter when you open or save the attachment by using Outlook Web Access (OWA)</div>
</li>
<li>
<div class="indent">958938  The importance attribute of a message is lost when an Exchange 2007 user accesses a high-importance message or a low-importance message from Exchange Server 2007 by using a non-Outlook POP3 client or IMAP4 client</div>
</li>
<li>
<div class="indent">959510  A meeting request that is sent from OWA causes a &#8220;553 5.0.0 Message-Id header line format error&#8221; NDR message in an Exchange Server 2007 environment</div>
</li>
<li>
<div class="indent">959748  An account with the &#8220;Exchange View-Only Administrator&#8221; permission can review user mailbox contents by using an administrative application in Exchange Server 2007</div>
</li>
<li>
<div class="indent">959861  Some clients cannot connect to back-end Exchange Server 2003 IMAP servers after Exchange 2007 Service Pack 1 RU2 is applied</div>
</li>
<li>
<div class="indent">959990  An error occurs when you try to update a recurring appointment by using an Outlook client that is connected to an Exchange 2007 server</div>
</li>
<li>
<div class="indent">960178  You receive an NDR when you send an e-mail using OWA Premium and the ANR cache if the Exchange organization name has more than one space</div>
</li>
<li>
<div class="indent">960354  Edge Attachment Filtering does not honor the ExceptionConnectors value in Exchange Server 2007</div>
</li>
<li>
<div class="indent">960367  Error message when you run the Export-Mailbox command on a folder that has more than 5000 items in Exchange 2007: &#8220;-1056749164&#8243;</div>
</li>
<li>
<div class="indent">960495  The Information Store service crashes continuously on an Exchange Server 2007 server</div>
</li>
<li>
<div class="indent">960633  The Microsoft Exchange Information Store service crashes on an Exchange Server 2007 that has the mailbox server role installed</div>
</li>
<li>
<div class="indent">960703  Extended characters are replaced by question marks when you send an e-mail message that contains extended ASCII characters by using an IMAP4 client in Exchange 2007</div>
</li>
<li>
<div class="indent">960775  You receive a &#8220;Message too large for this recipient&#8221; NDR that has the original message attached after you restrict the Maximum Message Send Size value in Exchange Server 2007</div>
</li>
<li>
<div class="indent">960869  A queue that has multiple connections cannot enter a Retry state in Exchange Server 2007</div>
</li>
<li>
<div class="indent">961152  The Exchange information store service (Store.exe process) crashes intermittently when you migrate user data from Lotus Notes to Exchange Server 2007</div>
</li>
<li>
<div class="indent">961347  Error message when you export an Exchange 2007 mailbox to a .pst file and a filter is defined: &#8220;Export-Mailbox : Error was found for &amp;lt;username&amp;gt; (&amp;lt;SMTP address&amp;gt;)&#8221;</div>
</li>
<li>
<div class="indent">961443  Users cannot use Outlook Web Access for Exchange Server 2007 to open an address book</div>
</li>
<li>
<div class="indent">961524  Some journal messages are stuck in the Submission queue in Exchange Server 2007</div>
</li>
<li>
<div class="indent">961606  After you apply Rollup Update 5 for Exchange Server 2007 S961606, Outlook Web Access users find the font size of plain text messages is extremely small when they use some third-party Web browsers</div>
</li>
<li>
<div class="indent">961693  Japanese (1 byte Kana) characters in the subject and display name are corrupted when you try to reply or forward task requests or calendar items in Outlook client</div>
</li>
<li>
<div class="indent">962235  The date and time information for a &#8220;Follow Up&#8221; flag is missing if an Exchange 2007 user sends a message to an external recipient</div>
</li>
<li>
<div class="indent">966535  Duplicate messages are sent to an external recipient if the recipient is included in multiple distribution lists in an Exchange Server 2007 environment</div>
</li>
<li>
<div class="indent">967038  Many log entries are generated in Exchange Server 2007 if you turn on the Exchange log to audit the logons that do not use the primary account for shared resource mailboxes</div>
</li>
<li>
<div class="indent">967097  Users may receive duplicate calendar items for the updated instance on mobile devices</div>
</li>
<li>
<div class="indent">967109  A delegate cannot accept a meeting request for an online meeting in an Exchange Server 2007 environment</div>
</li>
<li>
<div class="indent">967255  Only the tracing information of the last user is logged when you configure Exchange Server 2007 to trace multiple users at the same time</div>
</li>
<li>
<div class="indent">968310  Many log entries are generated on an Exchange Server 2007 computer when you enable the Exchange log to audit user logons that do not use the primary account for their mailbox</div>
</li>
<li>
<div class="indent">968352  The W3wp.exe process crashes when you use the Italian version of the spelling checker on a message in Outlook Web Access in Exchange 2007</div>
</li>
<li>
<div class="indent">968589  The managed policy does not work if the ptagProvisionedFid attribute is missing in Exchange Server 2007</div>
</li>
<li>
<div class="indent">968673  The EdgeTransport.exe file of Exchange 2007 servers crashes continuously and Event ID 10003 and Event ID 5000 occur</div>
</li>
<li>
<div class="indent">968745  Incomplete tasks show in the Complete tasks view in OWA 2007 in an Exchange 2007 environment</div>
</li>
<li>
<div class="indent">968966  Many log entries are generated in Exchange Server 2007 if you turn on the Exchange log to audit administrator logons that do not use the primary account for mailboxes</div>
</li>
<li>
<div class="indent">969690  Unresolved sender for delivery status notifications after applying update rollup 7 for Exchange Server 2007 Service Pack 1</div>
</li>
<li>
<div class="indent">970687  A search operation in Outlook does not return a correct result if there is a corrupted HTML message in the target folder in an Exchange Server 2007 environment</div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2009/05/20/exchange-2007-sp1-rollup-8-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add custom e-mail addresses with VBS script</title>
		<link>http://markswinkels.nl/2008/10/15/add-custom-e-mail-addresses-with-vbs-script/</link>
		<comments>http://markswinkels.nl/2008/10/15/add-custom-e-mail-addresses-with-vbs-script/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 18:55:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Exchange 2003 Server]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=215</guid>
		<description><![CDATA[A collegue of mine, Alexander Carlucci, also working as an Microsoft Consultant for Ictivity, has written a VBS script to add custom e-mailaddress to Active Directory users. Let&#8217;s have a look on this script. There are two files, addmailadres.txt and addmailadres.vbs. In the file addmailadres.txt you fill in the users with the e-mail addresses. The [...]]]></description>
			<content:encoded><![CDATA[<p>A collegue of mine, Alexander Carlucci, also working as an Microsoft Consultant for Ictivity, has written a VBS script to add custom e-mailaddress to Active Directory users. Let&#8217;s have a look on this script.</p>
<p>There are two files, <strong><em>addmailadres.txt </em></strong>and <strong><em>addmailadres.vbs.</em></strong> In the file <strong><em>addmailadres.txt</em></strong> you fill in the users with the e-mail addresses. The first collum is the <em>SAMaccountname, </em>the second collum is the <em>Mailaddress. </em>Watch the example that we are going to run&#8230;.</p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/ad_script_01.jpg"><img class="alignnone size-thumbnail wp-image-216" title="ad_script_01" src="http://markswinkels.nl/wp-content/uploads/2008/10/ad_script_01-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/ad_script_02.jpg"><img class="alignnone size-thumbnail wp-image-217" title="ad_script_02" src="http://markswinkels.nl/wp-content/uploads/2008/10/ad_script_02-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><strong><em>addmailadres.txt:<br />
</em></strong>markswinkels, admin@e2k3.nl<br />
markswinkels, info@e2k3.nl<br />
markswinkels, helpdesk@exchange2003.nl</p>
<p><em><strong>addmailadres.vbs:<br />
</strong>**Don&#8217;t forget to change the NETBIOS name in the script from <strong>e2k3 </strong>to your own domain name.<br />
</em>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216;De input van de tekstfile is comma separated<br />
ON ERROR RESUME NEXT</p>
<p>Const ForReading = 1<br />
Const ADS_PROPERTY_APPEND = 3<br />
Set objFSO = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
Set objTextFile = objFSO.OpenTextFile (&#8220;.\addmailadres.txt&#8221;, ForReading)<br />
Do Until objTextFile.AtEndOfStream<br />
 &#8217;lees een regel uit de tekstfile<br />
 strNextLine = objTextFile.Readline<br />
   &#8217;zet de variabale weer op nul<br />
 sADSPath=&#8221;"<br />
     &#8217;de separator is een comma<br />
 arr = Split(strNextLine , &#8220;,&#8221;)<br />
 arr(0)=TRIM(arr(0))<br />
 arr(1)=TRIM(arr(1))<br />
 &#8217;msgbox arr(0) &amp; &#8221; en &#8221; &amp; arr(1)<br />
        call Writelogfile (&#8220;.\log.txt&#8221;, &#8220;TOEVOEGEN : gebruiker: &#8221; &amp; arr(0) &amp; &#8221; email: &#8221; &amp; arr(1) )<br />
 &#8217;Zet de samaccountname om naar de Distinguishedname, dit is nodig om het mailadres te zetten<br />
 Set WshNetwork = WScript.CreateObject(&#8220;WScript.Network&#8221;)<br />
 sName = arr(0)<br />
 Set oTrans = CreateObject(&#8220;NameTranslate&#8221;)<br />
 oTrans.Init 1, &#8220;e2k3&#8243;<br />
 oTrans.Set 3, &#8220;e2k3&#8243; &amp; &#8220;\&#8221; &amp; sName</p>
<p> sAdsPath = oTrans.Get(1)<br />
        &#8216;Voeg het mail adres toe in de AD<br />
 msgbox &#8220;LDAP://&#8221; &amp; sAdsPath<br />
 Set objUser = GetObject (&#8220;LDAP://&#8221; &amp; sAdsPath)<br />
 objUser.PutEx ADS_PROPERTY_APPEND, &#8220;proxyAddresses&#8221;, Array(&#8220;smtp:&#8221;&amp;Arr(1))<br />
 &#8217;commit de wijziging in de AD<br />
 objUser.SetInfo<br />
 set objuser=nothing<br />
        call Writelogfile (&#8220;.\log.txt&#8221;, &#8220;TOEVOEGEN : gebruiker: &#8221; &amp; arr(0) &amp; &#8221; gereed met errorcode &#8221; &amp; err.number &amp; &#8221; &#8221; &amp; err.description)<br />
Loop<br />
msgbox &#8220;klaar&#8221;</p>
<p>Function WriteLogFile (strLogName, strText)<br />
&#8216; Deze functie probeert een entry in een logfile te schrijven. Deze logfile is door<br />
&#8216; meerdere scripts te schrijven. Daartoe wordt de logfile steeds geopend en<br />
&#8216; gesloten. De functie controleert of de file te openen is, zo nee dan wacht het<br />
&#8216; script 500 miliseconden, waarna opnieuw geprobeert wordt het logbestand te openen.<br />
&#8216; Enable error handling<br />
On Error Resume Next<br />
&#8216; Locale variabelen<br />
 CONST ForAppending=8<br />
  Dim objFSLog, objLogFile, strLogText, intDelayed<br />
&#8216; Initialiseer het filesystemobject en de variabelen<br />
 Set objFSLog = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br />
        intDelayed = -1<br />
&#8216; Open de log file<br />
    Do<br />
        Err.Clear<br />
        intDelayed = intDelayed + 1<br />
            Set objLogFile = objFSLog.OpenTextFile(strLogName, ForAppending, True)<br />
            If Err.Number &lt;&gt; 0 Then &#8216; fout bij openen log file<br />
                &#8216; MsgBox Err.Number &amp; &#8221; &#8221; &amp; Err.Description, , &#8220;Test log B&#8221;<br />
                WScript.Sleep (500) &#8216; wacht 500 miliseconden en probeer opnieuw<br />
            Set objLogFile = Nothing<br />
            End If<br />
        Loop Until Err.number = 0<br />
&#8216; Heeft het script moeten wachten op de log file?<br />
    If intDelayed &lt;&gt; 0 Then<br />
        strText = strText &amp; &#8220;, (Write to log delayed for &#8221; &amp; intDelayed * 500 _<br />
                &amp; &#8221; milliseconds)&#8221;<br />
    End If</p>
<p>&#8216; Maak en schrijf het log record.<br />
        strLogText = FormatDateTime(Now(), vbShortDate) &amp; &#8220;, &#8221; _<br />
                        &amp; FormatDateTime(Now(), vbLongTime) &amp; &#8220;, &#8221; _<br />
                        &amp; WScript.ScriptName  &amp; &#8220;, &#8221; &amp; strText<br />
        objLogFile.WriteLine strLogText<br />
&#8216; Sluit het logbestand<br />
        objLogFile.Close<br />
        Set objLogFile = Nothing<br />
End Function<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2008/10/15/add-custom-e-mail-addresses-with-vbs-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Exchange 2003 on Windows 2003 server</title>
		<link>http://markswinkels.nl/2008/10/15/installing-exchange-2003-on-windows-2003-server/</link>
		<comments>http://markswinkels.nl/2008/10/15/installing-exchange-2003-on-windows-2003-server/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 13:18:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microsoft Exchange 2003 Server]]></category>

		<guid isPermaLink="false">http://markswinkels.nl/?p=169</guid>
		<description><![CDATA[In this article we are going to install an new Exchange 2003 server. Take the following steps to perform the installation. First off all the following pre-requisites must be installed.         Next step is to prepair the Forest with the commando: D:\setup /forestprep Next step is to prepair the Domain with the commando: D:\setup [...]]]></description>
			<content:encoded><![CDATA[<p>In this article we are going to install an new Exchange 2003 server. Take the following steps to perform the installation.</p>
<p>First off all the following pre-requisites must be installed.</p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_01.jpg"><img class="alignnone size-thumbnail wp-image-170" title="exchange_2003_01" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_01-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_02.jpg"><img class="alignnone size-thumbnail wp-image-171" title="exchange_2003_02" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_02-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_03.jpg"><img class="alignnone size-thumbnail wp-image-172" title="exchange_2003_03" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_03-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Next step is to prepair the Forest with the commando: <strong><em>D:\setup /forestprep</em></strong></p>
<p>Next step is to prepair the Domain with the commando: <strong><em>D:\setup /domainprep</em></strong></p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_04.jpg"><img class="alignnone size-thumbnail wp-image-173" title="exchange_2003_04" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_04-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_05.jpg"><img class="alignnone size-thumbnail wp-image-174" title="exchange_2003_05" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_05-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_06.jpg"><img class="alignnone size-thumbnail wp-image-175" title="exchange_2003_06" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_06-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_07.jpg"><img class="alignnone size-thumbnail wp-image-176" title="exchange_2003_07" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_07-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_08.jpg"><img class="alignnone size-thumbnail wp-image-177" title="exchange_2003_08" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_08-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Now we can start out installation of Exchange 2003 with the commando: <strong><em>D:\setup</em></strong></p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_09.jpg"><img class="alignnone size-thumbnail wp-image-178" title="exchange_2003_09" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_09-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_10.jpg"><img class="alignnone size-thumbnail wp-image-179" title="exchange_2003_10" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_10-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_11.jpg"><img class="alignnone size-thumbnail wp-image-180" title="exchange_2003_11" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_11-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_12.jpg"><img class="alignnone size-thumbnail wp-image-181" title="exchange_2003_12" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_12-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_13.jpg"><img class="alignnone size-thumbnail wp-image-182" title="exchange_2003_13" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_13-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_15.jpg"><img class="alignnone size-thumbnail wp-image-183" title="exchange_2003_15" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_15-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>We finshed the installation as you can see. Now we can install Service Pack 2 for Exchange 2003.</p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_01.jpg"><img class="alignnone size-thumbnail wp-image-205" title="exchange_2003_sp2_01" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_01-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_02.jpg"><img class="alignnone size-thumbnail wp-image-206" title="exchange_2003_sp2_02" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_02-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_03.jpg"><img class="alignnone size-thumbnail wp-image-207" title="exchange_2003_sp2_03" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_03-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_04.jpg"><img class="alignnone size-thumbnail wp-image-208" title="exchange_2003_sp2_04" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_04-150x150.jpg" alt="" width="150" height="150" /></a>    <a href="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_05.jpg"><img class="alignnone size-thumbnail wp-image-209" title="exchange_2003_sp2_05" src="http://markswinkels.nl/wp-content/uploads/2008/10/exchange_2003_sp2_05-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://markswinkels.nl/2008/10/15/installing-exchange-2003-on-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
