<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30618769</id><updated>2012-01-23T03:34:31.005-08:00</updated><title type='text'>MS Exchange Tips</title><subtitle type='html'>Dedicated to supporting the Microsoft Exchange community</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default?start-index=101&amp;max-results=100'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>114</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30618769.post-2984704785506982723</id><published>2011-11-14T08:13:00.000-08:00</published><updated>2011-11-14T08:17:18.404-08:00</updated><title type='text'>Backup Exec attempted to back up an Exchange database according to the job settings. The database was not found in the Database Availability Group DAG</title><content type='html'>When attempting to backup an Exchange 2010 DAG you recieve the following error:&lt;br /&gt;&lt;br /&gt;V-79-57344-896 - Backup Exec attempted to back up an Exchange database according to the job settings. The database was not found in the Database Availability Group (DAG), however. Update the selection list and run the job again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You have verified that the backup exec agent service is running with the LSA account and is in the Exchange org admin group. In this instance the issue was caused by renaming the database display name for example “MDB01 Tier1” to “MDB01 Tier 1 500GB”. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong &lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+ &lt;br /&gt;Security+, Project+, ITIL &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2984704785506982723?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2984704785506982723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2984704785506982723' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2984704785506982723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2984704785506982723'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/11/backup-exec-attempted-to-back-up.html' title='Backup Exec attempted to back up an Exchange database according to the job settings. The database was not found in the Database Availability Group DAG'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3256522240966301283</id><published>2011-10-27T08:42:00.000-07:00</published><updated>2011-10-27T08:43:24.048-07:00</updated><title type='text'>Calendar sharing is not available with the following entries because of permission settings on your network</title><content type='html'>When attempting to share a calendar to another internal user using outlook 2010 you receive the error &lt;br /&gt;&lt;br /&gt;Calendar sharing is not available with the following entries because of permission settings on your network&lt;br /&gt;&lt;br /&gt;After deleting the nickname cache and choosing the name from the GAL you still receive this error. In this instance it was resolved using:&lt;br /&gt;&lt;br /&gt;set-mailbox user1 -applymandatoryproperties&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong &lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+ &lt;br /&gt;Security+, Project+, ITIL &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3256522240966301283?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3256522240966301283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3256522240966301283' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3256522240966301283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3256522240966301283'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/10/calendar-sharing-is-not-available-with.html' title='Calendar sharing is not available with the following entries because of permission settings on your network'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7785296954763968228</id><published>2011-09-02T08:24:00.000-07:00</published><updated>2011-09-02T08:30:29.418-07:00</updated><title type='text'>UAG Exchange 2010 OWA Error_Code=51 has resulted in too many redirects</title><content type='html'>Summary: After rebooting UAG servers, you receive the following error in your browser when attemping to access owa.company.com&lt;br /&gt;&lt;br /&gt;https://outlook.company.com/internalsite/internalerror.asp?site_name=trunk1&amp;secure=1&amp;error_code=51 has resulted in too many redirects.&lt;br /&gt;&lt;br /&gt;Root cause: In this instance every time the UAG is rebooted (in our case montly windows patch) one UAG box failed to start the internal site in IIS. If you start the site or run "activate" in the UAG console, OWA will work. &lt;br /&gt;&lt;br /&gt;What is happening is that UAG accepts the Outlook anywhere request, and does an internal redirect to its own “internal site”. This is normal, as the InternalSite, listening on port 6001, is UAG’s administrative engine (handles login, authentication, errors etc). &lt;br /&gt;&lt;br /&gt;Root fix: There is an error event that comes up after we patch on UAG2 that doesn’t occur on UAG1 even though they are configured and patched exactly the same.&lt;br /&gt;&lt;br /&gt;Event id 107&lt;br /&gt;Report Server Windows Service (ISARS) cannot connect to the report server database.&lt;br /&gt;&lt;br /&gt;Two services were stopped on UAG2 below. It appears one service is starting before the other “SQL Server Reporting Services (ISARS)” before “SQL Server (ISARS)”.&lt;br /&gt;&lt;br /&gt;Set the dependency in the registry. &lt;br /&gt;&lt;br /&gt;“SQL Server Reporting Services (ISARS)” Depend on service “SQL Server (ISARS)”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7785296954763968228?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7785296954763968228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7785296954763968228' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7785296954763968228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7785296954763968228'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/09/uag-exchange-2010-owa-errorcode51-has.html' title='UAG Exchange 2010 OWA Error_Code=51 has resulted in too many redirects'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1249281082890025280</id><published>2011-07-20T17:03:00.001-07:00</published><updated>2011-07-20T17:03:41.220-07:00</updated><title type='text'>Exchange 2010: Bulk Provision and Move Mailbox Import-csv</title><content type='html'>Import-CSV "C:\ADMT\users.txt" | foreach {.\Prepare-MoveRequest.Ps1 -Identity $_.users -RemoteForestDomainController "dcfcdc03.ipcfcdom.inphonic.com" -RemoteForestCredential $Remote -LocalForestDomainController "eqdcp01.corp.dom" -LocalForestCredential $Local -TargetMailUserOU "OU=FromILM,OU=GALSync,DC=corp,DC=dom" -UseLocalObject -overwritelocalobject}&lt;br /&gt;&lt;br /&gt;Import-CSV "C:\ADMT\users.txt" | foreach {New-MoveRequest -Identity $_.users -RemoteLegacy -TargetDatabase "mdb06 tier3" -baditemlimit 100 -acceptlargedataloss -RemoteGlobalCatalog "dcfcdc03.ipcfcdom.inphonic.com" -RemoteCredential $Remote -TargetDeliveryDomain "corp.dom" -SuspendWhenReadyToComplete}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1249281082890025280?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1249281082890025280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1249281082890025280' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1249281082890025280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1249281082890025280'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/07/exchange-2010-bulk-provision-and-move.html' title='Exchange 2010: Bulk Provision and Move Mailbox Import-csv'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-989974568680665713</id><published>2011-06-09T13:50:00.000-07:00</published><updated>2011-06-09T13:51:12.980-07:00</updated><title type='text'>Roadsync Sync Error: (-1002)</title><content type='html'>When attemping to synch with corporate Exchange server 2010, the roadsync is unsucessful and produces error Sync Error: (-1002). &lt;br /&gt;&lt;br /&gt;Sony Ericsson Xperia X8 Model E15A Firmway 2.1 update 1 build 2.1.1.A.0.6.&lt;br /&gt;&lt;br /&gt;Resolution: Use the upn as the login name jsmith@domain.com. The upn you can find in the account tab of Active Directory Users and computer.&lt;br /&gt;&lt;br /&gt;username: jsmith@domain.com&lt;br /&gt;server: mail.company.com (didn't need to specify the https in the url)&lt;br /&gt;company: domain (didn't need the FQDN)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-989974568680665713?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/989974568680665713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=989974568680665713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/989974568680665713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/989974568680665713'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/06/roadsync-sync-error-1002.html' title='Roadsync Sync Error: (-1002)'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-4276515430489683837</id><published>2011-03-10T12:06:00.000-08:00</published><updated>2011-03-10T12:09:33.351-08:00</updated><title type='text'>Bulk Modify Targetaddress Attribute</title><content type='html'>Although there are multiple methods to bulk modify AD attributes the sample below shows how to use the the command line version of admodify to update the targetaddress.&lt;br /&gt;&lt;br /&gt;C:\Admin\Tools\ADModify_2.1&gt;admodcmd -dn OU=FromILM,OU=Galsync,DC=Corp,DC=dom -f&lt;br /&gt; targetaddress=*@domain.local -custom targetaddress "%'mailNickName'%@domain.local&lt;br /&gt;&lt;br /&gt;In this example AD modify will get all contacts in the specified OU with targetaddress of @domain.local and replace it with their alias@domain.local. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-4276515430489683837?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/4276515430489683837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=4276515430489683837' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4276515430489683837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4276515430489683837'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/03/bulk-modify-targetaddress-attribute.html' title='Bulk Modify Targetaddress Attribute'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2860286059660267815</id><published>2011-02-18T09:28:00.000-08:00</published><updated>2011-02-18T09:33:23.196-08:00</updated><title type='text'>Exchange 2010 Outlook OAB 0x8004010f Not Found</title><content type='html'>When downloading the OAB from Outlook you recieve not found 0x8004010f. Although there are many issues that can cause this error mentioned in article below&lt;br /&gt;&lt;br /&gt;Outlook clients receive error 0x8004010f when downloading the Offline Book Addresshttp://msexchangeteam.com/archive/2007/04/19/437902.aspx&lt;br /&gt; &lt;br /&gt;Ensure that the DB has been configured to use the OAB.&lt;br /&gt;&lt;br /&gt;Open EMC, Org Config, Mailbox, Database Management Tab.&lt;br /&gt;&lt;br /&gt;Right click properties of each Database, Client Settings Tab. Offline Address Book, Browse and select your \Default Offline Address Book.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2860286059660267815?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2860286059660267815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2860286059660267815' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2860286059660267815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2860286059660267815'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/02/exchange-2010-outlook-oab-0x8004010f.html' title='Exchange 2010 Outlook OAB 0x8004010f Not Found'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7127292826989939979</id><published>2011-02-18T09:24:00.001-08:00</published><updated>2011-02-19T17:37:17.216-08:00</updated><title type='text'>Microsoft Exchange RPC Client Access Service Fails to Start</title><content type='html'>When starting the Microsoft Exchange RPC Client Access Service you receive the following error:&lt;br /&gt;&lt;br /&gt;The Microsoft Exchange RPC Client Access Service on the local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs. &lt;br /&gt;&lt;br /&gt;Verify if you have statically configured the RPC port and that it is a valid port in decimal and not hex format.&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\&lt;br /&gt;MSExchangeRpc\ParametersSystem&lt;br /&gt;&lt;br /&gt;TCP/IP Port&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7127292826989939979?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7127292826989939979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7127292826989939979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7127292826989939979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7127292826989939979'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/02/microsoft-exchange-rpc-client-access.html' title='Microsoft Exchange RPC Client Access Service Fails to Start'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3402448141425674018</id><published>2011-02-18T09:19:00.000-08:00</published><updated>2011-02-18T09:23:55.454-08:00</updated><title type='text'>Exchange 2010 Public Folder Cannot expand the folder. Microsoft Exchange is not available</title><content type='html'>When launching Outlook, you receive a login prompt. Email flow continues to work whether you login or not. However when you expand the public folder, you receive the error after you enter your credentials.&lt;br /&gt;&lt;br /&gt;Cannot expand the folder. Microsoft Exchange is not available. Either there are network problems or the Exchange server is down for maintenance. (/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Servername&lt;br /&gt;&lt;br /&gt;From OWA public folder access works. &lt;br /&gt;&lt;br /&gt;Ensure that the Microsoft Exchange RPC Client Access Service is running on your mailbox server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3402448141425674018?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3402448141425674018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3402448141425674018' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3402448141425674018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3402448141425674018'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/02/exchange-2010-public-folder-cannot.html' title='Exchange 2010 Public Folder Cannot expand the folder. Microsoft Exchange is not available'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-602284426439546909</id><published>2011-02-07T07:13:00.000-08:00</published><updated>2011-02-07T07:14:10.510-08:00</updated><title type='text'>Migrating BES 5.0 to new Forest Using Transporter Suite</title><content type='html'>Coming soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-602284426439546909?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/602284426439546909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=602284426439546909' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/602284426439546909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/602284426439546909'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/02/migrating-bes-50-to-new-forest-using.html' title='Migrating BES 5.0 to new Forest Using Transporter Suite'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5588632649227073640</id><published>2011-02-07T07:07:00.000-08:00</published><updated>2011-02-07T07:13:06.917-08:00</updated><title type='text'>The critical property 'LegacyExchangeDN' is missing in the MailUser object</title><content type='html'>When performing a new-moverequest you receive the following error:&lt;br /&gt;&lt;br /&gt;The critical property 'LegacyExchangeDN' is missing in the MailUser object 'migrateme3'.&lt;br /&gt;    + CategoryInfo          : InvalidArgument: (corp.dom/GALSync/FromILM/migrateme3:MailboxOrMailUser&lt;br /&gt;IdParameter) [New&lt;br /&gt;   -MoveRequest], RecipientTaskException&lt;br /&gt;    + FullyQualifiedErrorId : 9DC9C0BA,Microsoft.Exchange.Management.RecipientTasks&lt;br /&gt;.NewMoveRequest&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The issue is you used ADMT to migrate the user first then ran prepare-moverequest. The issue is that prepare-moverquest although says it is sucessful did not properly convert it into a mail enabled user. The script failed to stamp the legacyexchangeDN as well as the target address. If you manually add the legacyexchagneDN you then run into the error below:&lt;br /&gt;&lt;br /&gt;Cannot find a recipient that has mailbox GUID 'f41a2905-8ea2-4ff3-a56f-4ed8739a2622'.&lt;br /&gt;    + CategoryInfo          : NotSpecified: (0:Int32) [New-MoveRequest], RemotePermanentException&lt;br /&gt;    + FullyQualifiedErrorId : B5053E67,Microsoft.Exchange.Management.RecipientTasks.&lt;br /&gt;NewMoveRequest&lt;br /&gt;&lt;br /&gt;I'm still investigating this as prepare-moverequest is supposedly supported after Exchange 2010 SP1 with the overwritelocalobject parameter. The workaround in the meantime that I have if you want to use ADMT first:&lt;br /&gt;&lt;br /&gt;1.Use ADMT to migrate all user accounts&lt;br /&gt;2.Prepare-moverequest on all accounts (legacyexchangedn or targetaddress is still missing)&lt;br /&gt;3.Use script to add targetaddress of mailnickname@company.com on all migrated accounts, I use admodify, but you can use powershell etc.&lt;br /&gt;4.Update-recipient on all migrated accounts. This will stamp the legacyexchangedn&lt;br /&gt;5.New-moverequest succeeds&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5588632649227073640?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5588632649227073640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5588632649227073640' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5588632649227073640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5588632649227073640'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/02/critical-property-legacyexchangedn-is.html' title='The critical property &apos;LegacyExchangeDN&apos; is missing in the MailUser object'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3829814387216302143</id><published>2011-01-31T14:44:00.000-08:00</published><updated>2011-01-31T14:51:36.239-08:00</updated><title type='text'>Exchange 2010 Mailbox Move An error occurred while updating a user object after the move operation. --&gt; The value 'HTTP§1§1§§§§§§' is already present</title><content type='html'>When performing a cross forest mailbox move using the new-moverequest, the mailbox move fails at the completing stage when viewing in the move request in the EMC. When you open the move request for the user in the details tab you see the following error.&lt;br /&gt;&lt;br /&gt;Error details: An error occurred while updating a user object after the move operation. --&gt; The value 'HTTP§1§1§§§§§§' is already present in the collection.&lt;br /&gt;&lt;br /&gt;Resolution: Delete the protocolsettings using adsiedit for both the source and target user.&lt;br /&gt;&lt;br /&gt;1. Open adsiedit.msc from run command on source DC&lt;br /&gt;2. Locate your user in the domain partition&lt;br /&gt;3. Locate attribute protolsettings and delete all values&lt;br /&gt;4. Repeat steps for target user in target domain&lt;br /&gt;5. Resume the failed mailbox move&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3829814387216302143?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3829814387216302143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3829814387216302143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3829814387216302143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3829814387216302143'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/exchange-2010-mailbox-move-error.html' title='Exchange 2010 Mailbox Move An error occurred while updating a user object after the move operation. --&gt; The value &apos;HTTP§1§1§§§§§§&apos; is already present'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1562105488327279675</id><published>2011-01-26T18:43:00.000-08:00</published><updated>2011-01-26T18:45:36.696-08:00</updated><title type='text'>ActiveX component can't create object: 'ADMT.Migration'</title><content type='html'>When attempting to set exclusions or add exclusions on ADMT you receive the following error:&lt;br /&gt;&lt;br /&gt;C:\Admin\scripts\ADMTExclusion.vbs(1, 1) Microsoft VBScript runtime error: Activ&lt;br /&gt;eX component can't create object: 'ADMT.Migration'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Run the command from the C:\Windows\SysWOW64&gt; directory.&lt;br /&gt;&lt;br /&gt;C:\Windows\SysWOW64&gt;cscript c:\admin\scripts\admtexclusion.vbs&lt;br /&gt;Microsoft (R) Windows Script Host Version 5.8&lt;br /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1562105488327279675?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1562105488327279675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1562105488327279675' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1562105488327279675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1562105488327279675'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/activex-component-cant-create-object.html' title='ActiveX component can&apos;t create object: &apos;ADMT.Migration&apos;'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-692765535784180941</id><published>2011-01-26T18:34:00.001-08:00</published><updated>2011-02-02T19:57:47.604-08:00</updated><title type='text'>Exchange 2010 New Forest Migration Provisioning Distribution Lists</title><content type='html'>Exchange 2007 and Exchange 2010 have the ability to provision mailbox enabled users. What about Exchange Distribution Lists? Previous options were to use a third party migration suite or powershell or even LDIFDE. As you noticed ADMT 3.2 by default does provision or create Exchange Distribution Lists. If you use ADMT 3.2 to migrate a Distribution List, it will get migrated to the target forest but as a flat AD group only. Exchange is unware of this group being a Distribution Group. In order for ADMT 3.2 to provision this as an AD group you have to prevent ADMT 3.2 from exluding Exchange attributes during the migration.&lt;br /&gt;&lt;br /&gt;Create a new notepad file and name it ADMTexclusion.vbs and enter the lines below.&lt;br /&gt;Set objMig = CreateObject("ADMT.Migration")&lt;br /&gt;objMig.SystemPropertiesToExclude = ""&lt;br /&gt;&lt;br /&gt;Then run the file on your ADMT server:&lt;br /&gt;&lt;br /&gt;C:\Windows\SysWOW64&gt;cscript c:\admin\scripts\admtexclusion.vbs&lt;br /&gt;&lt;br /&gt;Caveats: ADMT excludes Exchange attributes by default to prevent issues with provisioning mailbox users prior to Exchange 2010 SP1. So ensure that you're on SP1. To get additional details read article below. Also note that even though you provision the DL with ADMT it will not bring over all the attributes such as send restrictions, hide from GAL etc. &lt;br /&gt;&lt;br /&gt;Exchange 2010 Cross-Forest Mailbox Moves &lt;br /&gt;http://msexchangeteam.com/archive/2010/08/10/455779.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-692765535784180941?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/692765535784180941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=692765535784180941' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/692765535784180941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/692765535784180941'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/exchange-2010-new-forest-migration.html' title='Exchange 2010 New Forest Migration Provisioning Distribution Lists'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2940461900361273012</id><published>2011-01-26T14:49:00.000-08:00</published><updated>2011-02-02T19:59:31.336-08:00</updated><title type='text'>IIS7 Application Request Routing and Outlook Anywhere 2010?</title><content type='html'>Is it possible to use IIS7 ARR as an alternative reverse proxy in lieu of UAG\TMG? From testing, I was able to get it to work but had to pan out some key issues.&lt;br /&gt;&lt;br /&gt;After setting ARR up to point to my CAS servers, OA did not connect.&lt;br /&gt;&lt;br /&gt;The issue was with IIS7 default 30MB HTTP request limit. The IIS trace logs show that Outlook is trying to send 1GB (1073741824 bytes) of data and getting 404.13 Content length too large. Note this is an empty mailbox. Once we up this to this value it works. The request is always sending exactly this much data which MS thinks it could actually an error code in the bytes field and not actually the bytes. 1073741824 also represents “unknown error condition” code. Highly unlikely it’s sending 1GB since the IIS logs on the Exchange server do not show this. Theory is that ARR is running into some error condition trying to process rpc over http requests. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2940461900361273012?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2940461900361273012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2940461900361273012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2940461900361273012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2940461900361273012'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/iis7-application-request-routing-and.html' title='IIS7 Application Request Routing and Outlook Anywhere 2010?'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1911637178000602923</id><published>2011-01-25T20:19:00.001-08:00</published><updated>2011-01-25T20:26:17.355-08:00</updated><title type='text'>Exchange Powershell "Cannot save changes made to an item to store"</title><content type='html'>When running the following powershell command you receive the "Cannot save changes made to an item to store"&lt;br /&gt;&lt;br /&gt;[PS] C:\Windows\system32&gt;Get-Mailbox -Server "dcexmailp02" | &lt;br /&gt;Set-CalendarProcessing -ProcessExternalMeetingMessages $true&lt;br /&gt;Cannot save changes made to an item to store.&lt;br /&gt;    + CategoryInfo          : NotSpecified: (14:Int32) [&lt;br /&gt;Set-CalendarProcessing], QuotaExceededException&lt;br /&gt;    + FullyQualifiedErrorId : DF365789,Microsoft.Exchange.Management.StoreTasks.&lt;br /&gt;SetCalendarProcessing&lt;br /&gt;&lt;br /&gt;In additional if you run:&lt;br /&gt;&lt;br /&gt;[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts&gt;Get-Mailbox &lt;br /&gt;| Set-CalendarProcessing -ProcessExternalMeetingMessages $true&lt;br /&gt;Cannot save changes made to an item to store.&lt;br /&gt;    + CategoryInfo          : NotSpecified: (21:Int32) &lt;br /&gt;[Set-CalendarProcessing], QuotaExceededException&lt;br /&gt;    + FullyQualifiedErrorId : DEBD37F4,Microsoft.Exchange.Management.StoreTasks.&lt;br /&gt;SetCalendarProcessing&lt;br /&gt;&lt;br /&gt;Resolution: You have a mailbox that has a quota of 0 set. In this case, I had configured a mailbox with a 0 send\receive limit for users to use to check Freebusy times during migration coexistence and prohibited the account from sending\receiving email.&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1911637178000602923?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1911637178000602923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1911637178000602923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1911637178000602923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1911637178000602923'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/exchange-powershell-cannot-save-changes.html' title='Exchange Powershell &quot;Cannot save changes made to an item to store&quot;'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-6556976566877958433</id><published>2011-01-24T13:57:00.000-08:00</published><updated>2011-01-24T14:00:00.245-08:00</updated><title type='text'>5.4.6 Hop count exceeded - possible mail loop - Forest Migration</title><content type='html'>After you perform a cross forest mailbox move, the user is able to send emails, but cannot receive. You receive the following NDR.&lt;br /&gt;&lt;br /&gt;Delivery has failed to these recipients or groups:&lt;br /&gt;Bob Smith (bsmith@company.com)&lt;br /&gt;A problem occurred during the delivery of this message. Please try to resend the message later. If the problem continues, contact your helpdesk.&lt;br /&gt;The following organization rejected your message: mail.company.com.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Diagnostic information for administrators:&lt;br /&gt;Generating server: exchangeserver.corp.dom&lt;br /&gt;bsmith@company&lt;br /&gt;mail.company.com #554 5.4.6 Hop count exceeded - possible mail loop ##&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: Disable the mailbox and reconnect. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-6556976566877958433?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/6556976566877958433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=6556976566877958433' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6556976566877958433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6556976566877958433'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/546-hop-count-exceeded-possible-mail.html' title='5.4.6 Hop count exceeded - possible mail loop - Forest Migration'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-4629738364668103720</id><published>2011-01-18T13:40:00.000-08:00</published><updated>2011-02-07T07:07:22.646-08:00</updated><title type='text'>Cannot create mail enabled user because an existing object with type  already has the same proxy addresses/MasterAccountSid.</title><content type='html'>When provisioning an MEU using the Prepare-MoveRequest.Ps1 script you receive the following error:&lt;br /&gt;&lt;br /&gt;[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts&gt;.\Prepare-MoveRequest.Ps1 -Identity "CN=mbperm1,OU=office,D&lt;br /&gt;=ipcfcdom,DC=inphonic,DC=com" -RemoteForestDomainController "dcfcdc03.ipcfcdom.inphonic.com" -RemoteForestCredential $R&lt;br /&gt;mote -LocalForestDomainController "eqdcp01.corp.dom" -LocalForestCredential $Local -TargetMailUserOU "OU=office,DC=corp&lt;br /&gt;DC=dom" -uselocalobject -overwritelocalobject&lt;br /&gt;The operation couldn't be performed because object 'corp.dom/Office/mbperm1' couldn't be found on 'EQDCP01.corp.dom'.&lt;br /&gt;    + CategoryInfo          : NotSpecified: (:) [Get-Recipient], ManagementObjectNotFoundException&lt;br /&gt;    + FullyQualifiedErrorId : 4A3D86A8,Microsoft.Exchange.Management.RecipientTasks.GetRecipient&lt;br /&gt;&lt;br /&gt;C:\Program Files\Microsoft\Exchange Server\V14\Scripts\Prepare-MoveRequest.ps1 : Cannot create mail enabled user becaus&lt;br /&gt;e an existing object with type  already has the same proxy addresses/MasterAccountSid.&lt;br /&gt;At line:1 char:26&lt;br /&gt;+ .\Prepare-MoveRequest.Ps1 &lt;&lt;&lt;&lt;  -Identity "CN=mbperm1,OU=office,DC=ipcfcdom,DC=inphonic,DC=com" -RemoteForestDomainCo&lt;br /&gt;ntroller "dcfcdc03.ipcfcdom.inphonic.com" -RemoteForestCredential $Remote -LocalForestDomainController "eqdcp01.corp.do&lt;br /&gt;m" -LocalForestCredential $Local -TargetMailUserOU "OU=office,DC=corp,DC=dom" -uselocalobject -overwritelocalobject&lt;br /&gt;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException&lt;br /&gt;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Prepare-MoveRequest.ps1&lt;br /&gt;&lt;br /&gt;The reason is you used ADMT and didn't exclude the necessary exchange attributes. Therefore prepare-moverequest fails to merge to the existing object brought over by ADMT. The provisioning script must match 3 attributes: Proxyaddresses, mail and mailnickname. You must have all 3 attributes set in order for the script to match and merge the MEU then excluse all other Exchange attributes. &lt;br /&gt;&lt;br /&gt;You must script the move to stop the exclusion of some core exchange attributes. The link below shows a sample script. You would then need to append the following lines.&lt;br /&gt;&lt;br /&gt;Create a new notepad file and name it ADMTexclusion.vbs and enter the lines below.&lt;br /&gt;Set objMig = CreateObject("ADMT.Migration")&lt;br /&gt;&lt;br /&gt;objMig.SystemPropertiesToExclude = "homeMDB, homeMTA, showInAddressBook, msExchHomeServerName, msExchRecipientTypeDetails, msexchrecipientdisplaytype msExchMailboxSecurityDescriptor, msExchMDBRulesQuota, msExchPoliciesIncluded, msExchUserAccountControl, msExchVersion, mdbusedefaults"&lt;br /&gt;&lt;br /&gt;Then run the file on your ADMT server:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Windows\SysWOW64&gt;cscript c:\admin\scripts\admtexclusion.vbs&lt;br /&gt;&lt;br /&gt;Migrating All User Accounts&lt;br /&gt;http://technet.microsoft.com/en-us/library/cc974368(WS.10).aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another option is to use ADMT to bulk move\seed them without any attributes, then use either powershell or old friend ADModify to bulk update the proxyaddresses, mail and mailnickname. Typically you would use %'samaccount'% as the variable to fill in these attributes. &lt;br /&gt;&lt;br /&gt;Finally you can just provision the account using Prepare-MoveRequest.ps1 first then use ADMT. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-4629738364668103720?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/4629738364668103720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=4629738364668103720' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4629738364668103720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4629738364668103720'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2011/01/cannot-create-mail-enabled-user-because.html' title='Cannot create mail enabled user because an existing object with type  already has the same proxy addresses/MasterAccountSid.'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1073963724332240065</id><published>2010-12-23T10:29:00.000-08:00</published><updated>2010-12-23T10:31:46.343-08:00</updated><title type='text'>420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address</title><content type='html'>Error is caused by duplicate SMTP proxy addresses. In this instance Galsync created a contact during a sync to the target forest even though the user was already migrated to the target forest. Since the contact and user had the same SMTP address, messages to this user was queued.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1073963724332240065?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1073963724332240065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1073963724332240065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1073963724332240065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1073963724332240065'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/12/420-420-resolveradrambiguous-ambiguous.html' title='420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1857752491624652613</id><published>2010-12-22T07:50:00.000-08:00</published><updated>2011-02-07T06:47:45.588-08:00</updated><title type='text'>Preserve Cross Forest Free Busy When Migrating to New Forest Feasible?</title><content type='html'>FreeBusy requires that both old and new Forest needs two unique SMTP domains @newdomain.com and @legacydomain.com. The issue is that since both orgs are also sharing @company.com with @company.com being the primary SMTP domain for both orgs we run into problems with Galsync.&lt;br /&gt;&lt;br /&gt;Scenario: For newdomain.dom users to see legacydomian.com user’s FreeBusy&lt;br /&gt;&lt;br /&gt;1. Add @legacydomain.com as another SMTP email address to userA in ipcfcdom forest&lt;br /&gt;2. Galsync will create a contact in corp.dom for userA with @company.com being the primary email and @legacydomain.com being secondary&lt;br /&gt;3. User in newdomain.com tries to look up FreeBusy for userA and fails. Although @legacydomain.com is in userA’s contact, userA’s primary email is still @company.com&lt;br /&gt;4. To resolve; Galsync must change what’s known as the targetaddress (foreign email address) to @legacydomain.com on the contact. By default Galsync makes the targetaddress the same as the primary email address @company.com. This is the problem. According to MS you will need to do custom coding on the source code for the GALsync to change this default behavior. &lt;br /&gt;&lt;br /&gt;What I implemented:&lt;br /&gt;&lt;br /&gt;ForestA has @ADdomainA.com as authoratative accepted domain and Email address policy.&lt;br /&gt;ForestB has @ADdomainB.dom as authoratative accepted domain and Email address policy.&lt;br /&gt;&lt;br /&gt;Create respective SMTP send connectors to forward these SMTP domains to each respective HT servers shared SMTP mail flow.&lt;br /&gt;&lt;br /&gt;Now internal mail flow between both forests will be based on these internal SMTP domains. FreeBusy will also be based on these internal domains. &lt;br /&gt;&lt;br /&gt;Then follow doc&lt;br /&gt;How to Configure the Availability Service for Cross-Forest Topologies&lt;br /&gt;http://technet.microsoft.com/en-us/library/bb125182(EXCHG.80).aspx&lt;br /&gt;&lt;br /&gt;You will need to export the SCP of each respective domain and configure the availability address space.&lt;br /&gt;&lt;br /&gt;If you do still are not able to see the FreeBusy after you have configured everything, make sure that the Firewall is not blocking HTTPS between the CAS server in 2007 and CAS servers in 2010. HTTPS needs to be open for the respective CAS servers to query each others serviceBindingInformation.&lt;br /&gt;&lt;br /&gt;https://outlook.company.com/autodiscover/autodiscover.xml&lt;br /&gt;https://mail.company.com/autodiscover/autodiscover.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then my GALsync contacts in ForestB (new forest) I will need to change the targetaddress to @ADdomainA.com. GALsync created contacts for MB users from FroestA to ForestB but sets the targetaddress on the contacts as the shared primary SMTP of @company.com. &lt;br /&gt;&lt;br /&gt;What I did was use good old Admodify, and limit the scope to the OU where the GALsync contacts got created and do a cusom LDAP query for (targetaddress=*@company.com) The reason is I don't want to inadvertently modify the targetaddress for external contacts that may have actual external addresses say @yahoo.com. This query will search for all contacts that have the targetaddress of @company.com. Then I go into the custom tab and set the targetaddress to %'mailNickName'%@ADforestA.com.&lt;br /&gt;&lt;br /&gt;Now when you migrate a user's mailbox from ForestA to ForestB, the MB user gets converted to a mail enabled user. You need to ensure that the targetaddress is set to @ADforestB.com. You can append this in the new-moverequest parameter.&lt;br /&gt;&lt;br /&gt;New-MoveRequest -Identity "Distinguished name of User in Target Forest" -RemoteLegacy -TargetDatabase "E2K10 Mailbox Database Name" -RemoteGlobalCatalog "FQDN of Source DC" -RemoteCredential $Remote -TargetDeliveryDomain "ADforestB.com"&lt;br /&gt;&lt;br /&gt;Note when you run GALsync again, it will overwrite the targetaddress of the contacts back to the shared SMTP namespace @company.com. This will break FreeBusy again. So your options are, don't run Galsync again or you will need to fix again using Admodify to update the targetaddress again.&lt;br /&gt;&lt;br /&gt;Also GALsync will create a mail contact even if a matching mailbox enabled user exists on the target forest. Therefore after you migrate a mailbox user, you need to have GALsync exlude those accounts from being synced up. Two methods move the migrated users to a separate OU in the source domain and have Galsync ignore those OUs when it syncs. Or what I did was set up GALsync to ignore all accounts that have attributeextension15 with the work "migrated". You would set this on the attribute flow rule. &lt;br /&gt;&lt;br /&gt;As far as autodiscover for externally connected, non domain joined clients for users who get migrated, you have no option. FreeBusy, OOF will not work. You will need to tell your migrated users to use OWA in during the coexistence. This is because externally connected clients will have to use DNS to find the autodiscover. Unless you are willing to publish and use two unique public SMTP namespace you have no other option.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1857752491624652613?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1857752491624652613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1857752491624652613' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1857752491624652613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1857752491624652613'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/12/preserver-cross-forest-free-busy.html' title='Preserve Cross Forest Free Busy When Migrating to New Forest Feasible?'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-6059812671431925208</id><published>2010-12-06T10:25:00.000-08:00</published><updated>2011-01-24T13:56:40.123-08:00</updated><title type='text'>Exchange 2010 moving mailboxes back to source forest</title><content type='html'>The following examples show moving a mailbox from a 2007 Exchange Forest to a new 2010 Exchange Forest then moving back to the 2007 Exchange Forest. When moving mailboxes cross forest, the source mailbox is deleted. For contingency planning you can export the mailboxes to a pst prior to moving or move the mailboxes back to the source Forest.&lt;br /&gt;&lt;br /&gt;Moving the mailbox from the Exchange 2007 Forest to new Exchange 2010 Forest.&lt;br /&gt;&lt;br /&gt;1. .\Prepare-MoveRequest.Ps1 -Identity "CN=migusr5,OU=Office,DC=ipcfcdom,DC=inphonic,DC=com" -RemoteForestDomainController "dcfcdc03.ipcfcdom.inphonic.com" -RemoteForestCredential $Remote -LocalForestDomainController "eqdcp01.corp.dom" -LocalForestCredential $Local -TargetMailUserOU "OU=FromILM,OU=GALSync,DC=corp,DC=dom" -UseLocalObject&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. New-MoveRequest -Identity "CN=migusr5,OU=FromILM,OU=GALSync,DC=corp,DC=dom" -RemoteLegacy -TargetDatabase "mdb01 tier1" -RemoteGlobalCatalog "dcfcdc03.ipcfcdom.inphonic.com" -RemoteCredential $Remote -TargetDeliveryDomain "simplexity.com"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Moving the mailbox back from Exchange 2010 Forest to Exchange 2007 Forest.&lt;br /&gt;&lt;br /&gt;1. New-MoveRequest -Identity "migusr5@simplexity.com" -remotelegacy -RemoteTargetDatabase "DCEX01\Third Storage Group\Third Storage Group Mailbox Database 250MB Limit" -Remoteglobalcatalog "dcfcdc03.ipcfcdom.inphonic.com" -RemoteCredential $Remote -TargetDeliveryDomain "simplexity.com"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Make sure to clear the move request log in EMC prior to moving the mailbox back.&lt;br /&gt;&lt;br /&gt;Known issues:&lt;br /&gt;It may take 2 hours for the mail to start working in the source domain. This is because the source Exchange server's information store caches the homemdb value. You either have to restart the IS service or wait. During this time the recipient will not receive any emails and will bounce back to the sender. As a temporary workaround, you can create a transport rule to redirect all emails sent to this moved user to another mailbox to save all emails and prevent bounces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-6059812671431925208?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/6059812671431925208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=6059812671431925208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6059812671431925208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6059812671431925208'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/12/exchange-2010-moving-mailboxes-back-to.html' title='Exchange 2010 moving mailboxes back to source forest'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3123145076669074532</id><published>2010-12-06T07:35:00.001-08:00</published><updated>2010-12-06T07:37:36.815-08:00</updated><title type='text'>ILM 2007: Microsoft Identity Server has detected a Microsoft Exchange Version different from the one you have selected.</title><content type='html'>When creating the GALsync MAs you receive the error:&lt;br /&gt;&lt;br /&gt;Microsoft Identity Server has detected a Microsoft Exchange Version different from the one you have selected. Do you want to continue? If you believe this is an error, please re-enter forest credentials to run detection again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is an innocuous error and can be ignored according to MS tech. I have not seen any issues with functionality. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3123145076669074532?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3123145076669074532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3123145076669074532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3123145076669074532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3123145076669074532'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/12/ilm-2007-microsoft-identity-server-has.html' title='ILM 2007: Microsoft Identity Server has detected a Microsoft Exchange Version different from the one you have selected.'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-9124619093890039911</id><published>2010-12-06T07:29:00.000-08:00</published><updated>2010-12-06T07:34:14.407-08:00</updated><title type='text'>ILM 2007: It appears this forest is not exchange enabled</title><content type='html'>When configuring ILM 2007 for GALsync you receive the following errors when configuring the Galsyn MA for the target forest.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"It appears this forest is not exchange enabled"&lt;br /&gt;&lt;br /&gt;To resolve enter the credentials for the target MA in upn format.&lt;br /&gt;&lt;br /&gt;domain: target.com&lt;br /&gt;username: user@target.com&lt;br /&gt;pass: password&lt;br /&gt;&lt;br /&gt;If you delete the MA and recreate you do not have to use the UPN. Appears to be a bug.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-9124619093890039911?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/9124619093890039911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=9124619093890039911' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/9124619093890039911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/9124619093890039911'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/12/ilm-2007-it-appears-this-forest-is-not.html' title='ILM 2007: It appears this forest is not exchange enabled'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5635337045525479272</id><published>2010-11-30T11:47:00.000-08:00</published><updated>2011-01-26T11:20:10.056-08:00</updated><title type='text'>MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80004005, ec=2423)</title><content type='html'>When performing a new-moverequest you receive the error MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80004005, ec=2423)&lt;br /&gt;&lt;br /&gt;New-MoveRequest -Identity "CN=miguser7,OU=FromILM,OU=GALSync,DC=corp,DC=dom" -RemoteLegacy -TargetDatabase "mdb01 tier1" -RemoteGlobalCatalog "dcfcdc03.ipcfcdom.inphonic.com" -RemoteCredential $Remote -TargetDeliver&lt;br /&gt;yDomain "company.com"&lt;br /&gt;&lt;br /&gt;MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80004005, ec=2423)&lt;br /&gt;Diagnostic context:&lt;br /&gt;    ......&lt;br /&gt;    Lid: 15000   dwParam: 0x6BA      Msg: EEInfo: prm[2]: Pointer val: 0x2910810A00000000&lt;br /&gt;    Lid: 16280   dwParam: 0x6BA      Msg: EEInfo: ComputerName: n/a&lt;br /&gt;    Lid: 8600    dwParam: 0x6BA      Msg: EEInfo: ProcessID: 3260&lt;br /&gt;    Lid: 12696   dwParam: 0x6BA      Msg: EEInfo: Generation Time: 2010-11-16 19:40:52:880&lt;br /&gt;    Lid: 10648   dwParam: 0x6BA      Msg: EEInfo: Generating component: 18&lt;br /&gt;    Lid: 14744   dwParam: 0x6BA      Msg: EEInfo: Status: 10060&lt;br /&gt;    Lid: 9624    dwParam: 0x6BA      Msg: EEInfo: Detection location: 318&lt;br /&gt;    Lid: 13720   dwParam: 0x6BA      Msg: EEInfo: Flags: 0&lt;br /&gt;    Lid: 11672   dwParam: 0x6BA      Msg: EEInfo: NumberOfParameters: 0&lt;br /&gt;    Lid: 45169   StoreEc: 0x977&lt;br /&gt;    Lid: 52465   StoreEc: 0x977&lt;br /&gt;    Lid: 60065&lt;br /&gt;    Lid: 33777   StoreEc: 0x977&lt;br /&gt;    Lid: 59805&lt;br /&gt;    Lid: 52209   StoreEc: 0x977&lt;br /&gt;    Lid: 19778&lt;br /&gt;    Lid: 27970   StoreEc: 0x977&lt;br /&gt;    Lid: 17730&lt;br /&gt;    Lid: 25922   StoreEc: 0x977&lt;br /&gt;    + CategoryInfo          : NotSpecified: (0:Int32) [New-MoveRequest], RemoteTransientException&lt;br /&gt;    + FullyQualifiedErrorId : 9CEC0AD3,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this instance, the issue was that their was a firewall prevening the target forest communicating to the source forest for the required ports for mailbox move.&lt;br /&gt;&lt;br /&gt;In addition if you are getting error code:&lt;br /&gt;&lt;br /&gt;(hr=0x80040115, ec=-2147221227)&lt;br /&gt;&lt;br /&gt;This may be due to ISA installed on or between the servers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Port  Protocol&lt;br /&gt;808 (TCP) Mailbox Replication Service uses to communicate &lt;br /&gt;53 (TCP) DNS &lt;br /&gt;135 (TCP) RPC End Point &lt;br /&gt;389 (TCP) LDAP &lt;br /&gt;3268 LDAP&lt;br /&gt;1024 &gt; (65535) if mailbox store is not statically configured then 1024 higher ports need to be open. We don’t have static ports configured for 2007 only 2010 currently so we need this big port range.&lt;br /&gt;88 (TCP) Kerberos&lt;br /&gt;445 (TCP) Microsoft-DS Service &lt;br /&gt;443 (TCP) Mailbox Replication Proxy service uses port 443 to communicate with other Exchange 2010 client access server via HTTPS. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5635337045525479272?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5635337045525479272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5635337045525479272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5635337045525479272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5635337045525479272'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/11/mapiexceptionnetworkerror-unable-to.html' title='MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80004005, ec=2423)'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-8406088605942934957</id><published>2010-11-12T07:26:00.000-08:00</published><updated>2010-11-12T08:18:06.962-08:00</updated><title type='text'>Setup Wizard for Update Rollup 1 for Exchange Server 2010 (KB240702) ended prematurely because of an error. Your system has not been modified.</title><content type='html'>When installing Roll up 1 for Exchange 2010 service pack 1 KB240702 you get the following error Setup Wizard for Update Rollup 1 for Exchange Server 2010 (KB240702) ended prematurely because of an error. Your system has not been modified. &lt;br /&gt;&lt;br /&gt;Issue: you need to run with elevated priviledges. However since you do not have to right click and run as administrator as an option to run .msp files you can run them with elevated priveleges using powerhshell.&lt;br /&gt;&lt;br /&gt;PowerShell:&lt;br /&gt;&lt;br /&gt;ii Exchange2010-KB2407028-x64-en.msp &lt;br /&gt;&lt;br /&gt;Lastly you can temporarily disable UAC. Go to msconfig, Tools, change UAC settings. Drag all the way to bottom and reboot. Re-enable after finishing installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-8406088605942934957?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/8406088605942934957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=8406088605942934957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8406088605942934957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8406088605942934957'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/11/setup-wizard-for-update-rollup-1-for.html' title='Setup Wizard for Update Rollup 1 for Exchange Server 2010 (KB240702) ended prematurely because of an error. Your system has not been modified.'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2121706409436965229</id><published>2010-11-10T07:53:00.000-08:00</published><updated>2010-11-10T07:57:17.099-08:00</updated><title type='text'>Exchange 2010 The mailbox database "MDB01" cannot be deleted</title><content type='html'>Summary: After deleting all mailboxes, you attempt to remove the database. However you are presented with the following error:&lt;br /&gt;&lt;br /&gt;The mailbox database "MDB01" cannot be deleted&lt;br /&gt;&lt;br /&gt;Error: This mailbox database contains one or more mailboxes or arbitration mailboxes. To get a list of all mailboxes in this database, run&lt;br /&gt;the command Get-mailbox -&lt;DatabaseID&gt;. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database &lt;Database ID&gt; -Arbitration&lt;br /&gt;&lt;br /&gt;Cause: There are arbitration (System) mailboxes. To query the arbitration mailboxes:&lt;br /&gt;&lt;br /&gt;[PS] C:\Windows\system32&gt;get-mailbox -database mdb01 -arbitration&lt;br /&gt;&lt;br /&gt;Name                      Alias                ServerName       ProhibitSendQuot&lt;br /&gt;----                      -----                ----------       ----------------&lt;br /&gt;SystemMailbox{1f05a927... SystemMailbox{1f0... dcexmailp01      unlimited&lt;br /&gt;SystemMailbox{e0dc1c29... SystemMailbox{e0d... dcexmailp01      unlimited&lt;br /&gt;FederatedEmail.4c1f4d8... FederatedEmail.4c... dcexmailp01      1 MB (1,048,576&lt;br /&gt;&lt;br /&gt;To delete the arbitration mailboxes on a particular database:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;get-mailbox -arbitration -database mdb01 | remove-mailbox -arbitration&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2121706409436965229?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2121706409436965229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2121706409436965229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2121706409436965229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2121706409436965229'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/11/exchange-2010-mailbox-database-mdb01.html' title='Exchange 2010 The mailbox database &quot;MDB01&quot; cannot be deleted'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5471721685976432399</id><published>2010-10-28T10:58:00.000-07:00</published><updated>2010-10-28T11:05:52.745-07:00</updated><title type='text'>Setup failed to install ADAM.\r\n</title><content type='html'>When installing TMG\UAG you receive error Setup failed to install ADAM.\r\n. When you view the ISAADAM_INSTALL_XXX setup log file you see the error "The trust relationship between this workstation and the primary domain failed." In this case the issue was that the dynamic RPC port range was not allowed from the DMZ where TMG was installed to the DC's in the internal back office network. &lt;br /&gt;&lt;br /&gt;Ensure you have the following ports open from UAG to the DC's in the internal network.&lt;br /&gt;&lt;br /&gt;LDAP ports: 389, 636 (TCP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Global catalog ports: 3268, 3269 (TCP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RPC services: 1025-5000 (TCP) (I restricted the range on the DCs to range 49152 - 49407)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RPC portmapper listener: 135 (TCP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RPC in NT 4.0: 139 (TCP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Kerberos exchanges: 88 (TCP, UDP)&lt;br /&gt;&lt;br /&gt;If firewall isn't an issue, it could be related to domain policy restrictions. &lt;br /&gt;&lt;br /&gt;Troubleshooting ERROR: Setup failed to install ADAM.\r\n (0x80074e46) and 0x80070643 while trying to install TMG 2010&lt;br /&gt;&lt;br /&gt;http://blogs.technet.com/b/isablog/archive/2010/07/07/troubleshooting-error-setup-failed-to-install-adam-r-n-0x80074e46-and-0x80070643-while-trying-to-install-tmg-2010.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5471721685976432399?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5471721685976432399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5471721685976432399' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5471721685976432399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5471721685976432399'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/10/setup-failed-to-install-adamrn.html' title='Setup failed to install ADAM.\r\n'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2980645640797780562</id><published>2010-10-25T07:27:00.000-07:00</published><updated>2010-10-25T07:32:28.129-07:00</updated><title type='text'>RDP Remote Desktop Configuring Remote Session UAG</title><content type='html'>When remoting to a Windows 2008 box you get a login prompt but after supplying credentials you get stuck at Configuring Remote Session. You notice that logging in using a local account on the server works fine but Domain Accounts do not. &lt;br /&gt;&lt;br /&gt;The issue was caused by two DNS records. If the server has multiple NICS such as proxy or UAG\TMG servers and all NICS register in DNS, RDP does not work. Ensure that you uncheck "Register this connection's addresses in DNS" in the NIC properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2980645640797780562?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2980645640797780562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2980645640797780562' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2980645640797780562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2980645640797780562'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/10/rdp-remote-desktop-configuring-remote.html' title='RDP Remote Desktop Configuring Remote Session UAG'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-4161190754173123658</id><published>2010-10-18T07:48:00.001-07:00</published><updated>2010-10-18T07:54:20.754-07:00</updated><title type='text'>Exchange 2007: 501 5.1.3 Invalid address  Short Name Rcpt SMTP address</title><content type='html'>Summary: Application servers relaying through Exchange get NDR 501 5.1.3 Invalid address &lt;br /&gt;&lt;br /&gt;When viewing the SMTP logs on the Exchange server or packet captures you see the short name being used instead of the fually qualified SMTP address. &lt;br /&gt;&lt;br /&gt;mail from: applicationserver@company.com&lt;br /&gt;rcpt to: user&lt;br /&gt;invalid&lt;br /&gt;&lt;br /&gt;Should be rcpt to: user@company.com&lt;br /&gt;&lt;br /&gt;Servers should be specifying the fully qualified SMTP address, however it may not. Some applications such as scanners, listservs communigate pro. &lt;br /&gt;&lt;br /&gt;Resolution: Set the defaultdomain parameter on the receive connector.&lt;br /&gt;&lt;br /&gt;set-receiveconnector "nameofconnector) -defaultdomain company.com&lt;br /&gt;&lt;br /&gt;This will append the domain when applications use the shortname rather than the fully qualified SMTP address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-4161190754173123658?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/4161190754173123658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=4161190754173123658' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4161190754173123658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4161190754173123658'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/10/exchange-2007-501-513-invalid-address.html' title='Exchange 2007: 501 5.1.3 Invalid address  Short Name Rcpt SMTP address'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2842113916797388499</id><published>2010-08-31T08:59:00.001-07:00</published><updated>2010-08-31T09:05:16.775-07:00</updated><title type='text'>ADMT 3.2 ERR2:7674 Unable to determine the local path for ADMIN share on the machine 'Computer1'.  rc=-2147024891</title><content type='html'>Summary: When attempting to translate security for profile on a client computer you receive the error ERR2:7674 Unable to determine the local path for ADMIN share on the machine 'Computer1'.  rc=-2147024891&lt;br /&gt;&lt;br /&gt;Resolution: The target (new domain) domain admins do not have administrator rights on the client machine. To add the target domain admins to the local administrator:&lt;br /&gt;&lt;br /&gt;1. Log into computer1, open command prompt and type:&lt;br /&gt;&lt;br /&gt;net localgroup "Administrators" "corp\domain admins" /ADD&lt;br /&gt;&lt;br /&gt;To make a global push across all computers you can either use a startup script or GPO. I prefer using a the "Restricted Groups" GPO. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2842113916797388499?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2842113916797388499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2842113916797388499' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2842113916797388499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2842113916797388499'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/08/admt-32-err27674-unable-to-determine.html' title='ADMT 3.2 ERR2:7674 Unable to determine the local path for ADMIN share on the machine &apos;Computer1&apos;.  rc=-2147024891'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-8280097112130112286</id><published>2010-07-26T13:03:00.000-07:00</published><updated>2010-07-26T13:07:53.391-07:00</updated><title type='text'>IIS7 Cannot read configuration file due to insufficient permissions web.config</title><content type='html'>Summary: When launching website you receive error "Cannot read configuration file due to insufficient permissions" on web.config file. The web.config file may or may not actually reside in the path for example C:\inetpub\wwwroot\web.config. Placing the file in the directory has no effect nor does granting the IIS_IUSER read permissions to the web.config file or the applicationhost.config file. &lt;br /&gt;&lt;br /&gt;Resolution: Ensure that the local group servername\users has read access to the inetpub directory or the entire drive. This is a default inherited setting. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-8280097112130112286?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/8280097112130112286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=8280097112130112286' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8280097112130112286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8280097112130112286'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/07/iis7-cannot-read-configuration-file-due.html' title='IIS7 Cannot read configuration file due to insufficient permissions web.config'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5022564928017984117</id><published>2010-02-07T09:21:00.000-08:00</published><updated>2010-02-07T09:28:15.524-08:00</updated><title type='text'>TechNet Subscription Promotion Update!</title><content type='html'>There has been an update to the TechNet Subscription Promotion code from TMSAM04 to TNITE01 valid from January 18, 2010 and March 31, 2010. For details go to Harold Wong's [MSFT] blog for details!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TechNet Subscription Promotion Update – 12 Months for $251.28 (28% Off) &lt;br /&gt;http://blogs.technet.com/haroldwong/archive/2010/01/15/technet-subscription-promotion-update-12-months-for-251-28-28-off.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5022564928017984117?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5022564928017984117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5022564928017984117' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5022564928017984117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5022564928017984117'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2010/02/technet-subscription-promotion-update.html' title='TechNet Subscription Promotion Update!'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-8084842260271601890</id><published>2009-06-16T12:06:00.000-07:00</published><updated>2011-06-10T07:25:30.477-07:00</updated><title type='text'>Exchange 2007: One or more users cannot be added to the folder access list. Non-local users cannot be given rights on this server</title><content type='html'>Summary: When attempting to add a user to a public folder permssion you receive the following error. &lt;br /&gt;&lt;br /&gt;One or more users cannot be added to the folder access list. Non-local users cannot be given rights on this server&lt;br /&gt;&lt;br /&gt;In addition when you look in the GAL the user has a red circle. &lt;br /&gt;&lt;br /&gt;Cause: It appears to be because the user is a mailbox of type "Shared"&lt;br /&gt;&lt;br /&gt;Solution: Convert the mailbox type to regular.&lt;br /&gt;&lt;br /&gt;Set-mailbox user1 -type regular&lt;br /&gt;&lt;br /&gt;If the mailbox is already set as type regular then you need to verify that the following properties are set correctly in adsiedit.&lt;br /&gt;&lt;br /&gt;RecipientDisplayType = 1073741824&lt;br /&gt;RecipientTypeDetails = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exchange 2007 and Recipient Type Details&lt;br /&gt;http://blogs.technet.com/b/benw/archive/2007/04/05/exchange-2007-and-recipient-type-details.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EA | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-8084842260271601890?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/8084842260271601890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=8084842260271601890' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8084842260271601890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8084842260271601890'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2009/06/exchange-2007-one-or-more-users-cannot.html' title='Exchange 2007: One or more users cannot be added to the folder access list. Non-local users cannot be given rights on this server'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2988357950569596532</id><published>2009-04-30T08:45:00.000-07:00</published><updated>2009-04-30T10:58:29.055-07:00</updated><title type='text'>Exchange 2007: Outlook Web Access did not initialize. An event has been logged so that the system administrator can resolve the issue.</title><content type='html'>Summary: After the default 15 minute forms based authentication timeout, it does not default to FBA login page. Instead you get an HTTP error page:&lt;br /&gt;&lt;br /&gt;Outlook Web Access did not initialize. An event has been logged so that the system administrator can resolve the issue. Please contact technical support for your organization&lt;br /&gt;&lt;br /&gt;In addition you may also get Event ID 30&lt;br /&gt;&lt;br /&gt;Event ID 30&lt;br /&gt;There is an error in your Outlook Web Access configuration.&lt;br /&gt;The authentication type specified on the OWA virtual directory is set to Anonymous. This check box must be cleared for Outlook Web Access to function properly.&lt;br /&gt;&lt;br /&gt;Solution: In this instance, the permissions of the OWA virtual directory were not corrrect. The parent OWA was set correctly but the control subfolder\files were not. &lt;br /&gt;&lt;br /&gt;OWA virtual directory permissions&lt;br /&gt;&lt;br /&gt;OWA - Basic&lt;br /&gt;8.1.240.5 - Enable anonymous access&lt;br /&gt;8.1.263.0 - Enable anonymous access&lt;br /&gt;8.1.291.1 - Enable anonymous access&lt;br /&gt;8.1.311.2 - Enable anonymous access&lt;br /&gt;auth - Enable anonymous access&lt;br /&gt;Bin - Enable anonymous access&lt;br /&gt;Current - Basic&lt;br /&gt;forms - Basic&lt;br /&gt;Help - Basic&lt;br /&gt;smime - Basic&lt;br /&gt;spell - Basic&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2988357950569596532?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2988357950569596532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2988357950569596532' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2988357950569596532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2988357950569596532'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2009/04/exchange-2007-outlook-web-access-did.html' title='Exchange 2007: Outlook Web Access did not initialize. An event has been logged so that the system administrator can resolve the issue.'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7123681452209251981</id><published>2009-04-21T08:12:00.000-07:00</published><updated>2009-04-30T10:58:42.312-07:00</updated><title type='text'>Exchange 2007: The sequence of predicates is invalid</title><content type='html'>Summary: When creating a transport rule I got the following error: "The sequence of predicates is invalid" In this case it appears that the order or predicate rules mattered. &lt;br /&gt;&lt;br /&gt;In this example, I was creating a rule to silently drop all messsages coming in from an external address to an internal address. &lt;br /&gt;&lt;br /&gt;$Condition = Get-TransportRulePredicate FromAddressContains&lt;br /&gt;$Condition1 = Get-TransportRulePredicate SentTo&lt;br /&gt;$Condition.words = @("externaluser1@gmail.com","externaluser2@gmail.com")&lt;br /&gt;$Condition1.addresses = @(get-mailbox user1)&lt;br /&gt;$Action = Get-TransportRuleAction DeleteMessage&lt;br /&gt;New-TransportRule -Name "Deny Senders to Cellulardeals" -Condition @($Condition,$condition1) -Actions @($Action)&lt;br /&gt;&lt;br /&gt;This would yield "The sequence of predicates is invalid" However after swapping the condition to put SentTo before FromAddressContains it works fine.&lt;br /&gt;&lt;br /&gt;$Condition = Get-TransportRulePredicate SentTo&lt;br /&gt;$Condition.addresses = @(get-mailbox user1)&lt;br /&gt;$Condition1 = Get-TransportRulePredicate FromAddressContains&lt;br /&gt;$Condition1.words = @("externaluser1@gmail.com","externaluser2@gmail.com")&lt;br /&gt;$Action = Get-TransportRuleAction DeleteMessage&lt;br /&gt;New-TransportRule -Name "Deny Senders to Cellulardeals" -Condition @($Condition,$condition1) -Actions @($Action)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7123681452209251981?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7123681452209251981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7123681452209251981' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7123681452209251981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7123681452209251981'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2009/04/exchange-2007-sequence-of-predicates-is.html' title='Exchange 2007: The sequence of predicates is invalid'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-901929752082375703</id><published>2009-01-19T12:39:00.000-08:00</published><updated>2010-04-19T08:11:04.193-07:00</updated><title type='text'>Exchange: Find Disabled Accounts with Mailboxes Via PowerShell</title><content type='html'>Summary: This article will go over how to search for disabled users with mailboxes. This is part 2. In part 1; this was done using ADUC. &lt;br /&gt;&lt;br /&gt;Exchange: Find Disabled Accounts with Mailboxes &lt;br /&gt;http://msexchangetips.blogspot.com/2007/06/exchange-find-disabled-accounts-with.html&lt;br /&gt;&lt;br /&gt;This part will go over how to use powershell. &lt;br /&gt;&lt;br /&gt;1. Download Quest powershell. http://www.quest.com/activeroles-server/arms.aspx&lt;br /&gt;&lt;br /&gt;Run the following query. I like to export just the name, description and altrecipient to find out if the mailbox is doing any forwarding as well. &lt;br /&gt;&lt;br /&gt;[PS] H:\&gt;get-qaduser -includedproperties altrecipient, homeMDB -disabled | select-object -property "name", "description" , "altrecipient", "homeMDB" &gt; c:\mailboxes.csv&lt;br /&gt;&lt;br /&gt;Then sort by HomeMDB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-901929752082375703?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/901929752082375703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=901929752082375703' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/901929752082375703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/901929752082375703'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2009/01/exchange-find-disabled-accounts-with.html' title='Exchange: Find Disabled Accounts with Mailboxes Via PowerShell'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7289224586730231684</id><published>2008-04-25T06:37:00.000-07:00</published><updated>2009-03-10T11:23:21.407-07:00</updated><title type='text'>Exchange: "One or more users currently use a mailbox store on this server"</title><content type='html'>Summary: When uninstalling Exchange; you receive the following error message: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"One or more users currently use a mailbox store on this server"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This can occur for multiple reasons:&lt;br /&gt;&lt;br /&gt;1. There was a user in which the mailbox was never created because it was not activated ie. user never logged in or no mail was sent to it.&lt;br /&gt;&lt;br /&gt;2. There is a user who has Exchange attributes but no mailbox referencing this server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;1. Start ADUC; click find.&lt;br /&gt;&lt;br /&gt;2. Click custom search in drop down&lt;br /&gt;&lt;br /&gt;3. Click Advanced tab&lt;br /&gt;&lt;br /&gt;4. In LDAP field type:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(msExchHomeServerName=/O=myexchangeorgname/&lt;br /&gt;OU=myorgname/cn=Configuration/cn=Servers/cn=myexchangeserver)&lt;br /&gt;(objectClass=User)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Substitue o=myexchangeorgname and OU=myorgname and cn=myexchangeserver with your values. To find these values you can open adsiedit and go to the properties of a user and find the msexchhomeservername property.&lt;br /&gt;&lt;br /&gt;One thing to note; if the query comes back with no results; copy the query into notepad. Close out the ADUC search and re-open it and paste the search query. I've noticed that the query does not work when pasting even though you remove all spaces unless you restart ADUC search.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7289224586730231684?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7289224586730231684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7289224586730231684' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7289224586730231684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7289224586730231684'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/04/exchange-one-or-more-users-currently.html' title='Exchange: &quot;One or more users currently use a mailbox store on this server&quot;'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3702512415358496393</id><published>2008-04-24T07:16:00.000-07:00</published><updated>2009-07-20T08:32:39.588-07:00</updated><title type='text'>Exchange 2007: Exception message: Property Languages cannot be set on this object because it requires the object to have version 0.1 (8.0.535.0) later</title><content type='html'>Summary: When accessing OWA you receive error:&lt;br /&gt;&lt;br /&gt;A problem occurred while trying to use your mailbox. Please contact technical support for your organization. &lt;br /&gt;&lt;br /&gt;The Stack Trace shows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Request&lt;br /&gt;Url: https://mail.simplexity.com:443/owa/lang.owa&lt;br /&gt;User host address: X.X.X.X&lt;br /&gt;&lt;br /&gt;Exception&lt;br /&gt;Exception type: Microsoft.Exchange.Data.Storage.StoragePermanentException&lt;br /&gt;Exception message: There was a problem accessing Active Directory.&lt;br /&gt;&lt;br /&gt;Call stack&lt;br /&gt;&lt;br /&gt;Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save() &lt;br /&gt;Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.&lt;br /&gt;DispatchLanguagePostLocally(OwaContext owaContext, OwaIdentity logonIdentity, CultureInfo culture, String timeZoneKeyName, Boolean isOptimized) &lt;br /&gt;Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.&lt;br /&gt;DispatchLanguagePostRequest(OwaContext owaContext) &lt;br /&gt;Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.&lt;br /&gt;PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie) &lt;br /&gt;Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.&lt;br /&gt;InternalDispatchRequest(OwaContext owaContext) &lt;br /&gt;Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.&lt;br /&gt;DispatchRequest(OwaContext owaContext) &lt;br /&gt;System.Web.HttpApplication.SyncEventExecutionStep.System.Web.&lt;br /&gt;HttpApplication.IExecutionStep.Execute() &lt;br /&gt;System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)&lt;br /&gt;&lt;br /&gt;Inner Exception&lt;br /&gt;Exception type: Microsoft.Exchange.Data.Directory.&lt;br /&gt;InvalidADObjectOperationException&lt;br /&gt;Exception message: Property Languages cannot be set on &lt;br /&gt;this object because it requires the object to have &lt;br /&gt;version 0.1 (8.0.535.0) or later. Current version of &lt;br /&gt;the object is 0.0 (6.5.6500.0).&lt;br /&gt;&lt;br /&gt;Call stack&lt;br /&gt;&lt;br /&gt;Microsoft.Exchange.Data.Directory.PropertyBag.set_Item&lt;br /&gt;(PropertyDefinition key, Object value) &lt;br /&gt;Microsoft.Exchange.Data.Directory.ADObject.set_Item&lt;br /&gt;(PropertyDefinition propertyDefinition, Object value) &lt;br /&gt;Microsoft.Exchange.Data.Directory.ADObject.&lt;br /&gt;StampCachedCaculatedProperties(Boolean retireCachedValue) &lt;br /&gt;Microsoft.Exchange.Data.Directory.ADObject.ValidateWrite(List`1 errors) &lt;br /&gt;Microsoft.Exchange.Data.Directory.Recipient.ADRecipient.&lt;br /&gt;ValidateWrite(List`1 errors) &lt;br /&gt;Microsoft.Exchange.Data.Directory.Recipient.ADUser.&lt;br /&gt;ValidateWrite(List`1 errors) &lt;br /&gt;Microsoft.Exchange.Data.Directory.ADSession.Save&lt;br /&gt;(ADObject instanceToSave, IEnumerable`1 properties) &lt;br /&gt;Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this instance the issue is caused because the 2007 mailbox was created using the Exchange 2003 tools. Therefore the mailbox shows as a legacy mailbox in Exchange 2007EMC. You will need to convert this to "user mailbox" by applying mandatory properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Open Exchange 2007 Shell&lt;br /&gt;&lt;br /&gt;[PS] C:\Documents and Settings\jchong\Desktop&gt;set-mailbox Alias -applymandatoryproperties&lt;br /&gt;&lt;br /&gt;You may also get other similar stack errors if so try the following:&lt;br /&gt;&lt;br /&gt;1. Move the mailbox&lt;br /&gt;&lt;br /&gt;2. Verify that inheritance is checked for the user in the security tab, advanced in Active Directory Users and Computers.&lt;br /&gt;&lt;br /&gt;3. Try granting full mailbox rights for the user itself.&lt;br /&gt;&lt;br /&gt;4. Remove any delegates or send on behalf rights. (you can later add back and should still work)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3702512415358496393?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3702512415358496393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3702512415358496393' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3702512415358496393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3702512415358496393'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/04/exchange-2007-exception-message.html' title='Exchange 2007: Exception message: Property Languages cannot be set on this object because it requires the object to have version 0.1 (8.0.535.0) later'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-8823070347932795680</id><published>2008-04-09T09:00:00.000-07:00</published><updated>2008-04-09T09:13:00.862-07:00</updated><title type='text'>Exchange 2007: Transport Rule Journal Selective Domain</title><content type='html'>Summary: This article will go over how to journal a selective domain using a custom transport rule. The following example shows how to use a custom transport rule to copy all emails from hotmail.com to a journal mailbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open Exchange Shell and enter the following:&lt;br /&gt;&lt;br /&gt;$Condition = Get-TransportRulePredicate FromAddressContains&lt;br /&gt;$Condition.words = @("hotmail.com")&lt;br /&gt;$Action = Get-TransportRuleAction Copyto&lt;br /&gt;$Action.Addresses = @(get-mailbox "journal")&lt;br /&gt;New-TransportRule -Name "copy messages to journal mailbox" -Conditions @($Condition) -Actions @($Action)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This rule sends a copy to ie. CC's the message to a journal mailbox. You can also opt to BCC by changing third line to:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$Action = Get-TransportRuleAction BlindCopyto&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How to Create a New Transport Rule&lt;br /&gt;http://technet.microsoft.com/en-us/library/bb123927(EXCHG.80).aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Transport Rule Actions&lt;br /&gt;http://technet.microsoft.com/en-us/library/aa998315(EXCHG.80).aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Transport Rule Predicates&lt;br /&gt;http://technet.microsoft.com/en-us/library/aa995960(EXCHG.80).aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-8823070347932795680?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/8823070347932795680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=8823070347932795680' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8823070347932795680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/8823070347932795680'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/04/exchange-2007-transport-rule-journal.html' title='Exchange 2007: Transport Rule Journal Selective Domain'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2485921751428474521</id><published>2008-04-08T12:26:00.000-07:00</published><updated>2008-04-08T12:30:58.088-07:00</updated><title type='text'>Exchange 2003: Event ID: 9167 MSExchangeSA</title><content type='html'>Summary: Microsoft Exchange System Attendant fails to start and produces Event ID: 9167 &lt;br /&gt;&lt;br /&gt;"Microsoft Exchange System Attendant does not have sufficient rights to read Exchange configuration objects in Active Directory. Wait for replication to complete and then check to make sure the computer account is a member of the "Exchange Domain Servers" security group."&lt;br /&gt;&lt;br /&gt;Subsequently you also see Event ID: 9188&lt;br /&gt;&lt;br /&gt;"Microsoft Exchange System Attendant failed to read the membership of group 'cn=Exchange Domain Servers,cn=Users,dc=domain,dc=com'. Error code '80072030'."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You have verified that your Exchange server belongs in the Exchange Domain Servers Security Group.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: Move the Exchange Domain Servers and Exchange Enterprise Servers back to the USERS OU.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2485921751428474521?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2485921751428474521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2485921751428474521' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2485921751428474521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2485921751428474521'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/04/exchange-2003-event-id-9167.html' title='Exchange 2003: Event ID: 9167 MSExchangeSA'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-6199536326078257949</id><published>2008-02-01T05:28:00.000-08:00</published><updated>2008-03-03T08:10:40.041-08:00</updated><title type='text'>BlackBerry Internet Service: An error occurred during email account validation</title><content type='html'>Summary: User cannot provision account to corporate Exchange OWA using BlackBerry Internet Service. In this instance; the user had already been provisioned and was working correctly. However service broke after we did a domain name change. During this change we updated our OWA certificate to our new Domain name and redirected DNS to point old domain name mail.company.com to mail.newcompany.com. &lt;br /&gt;&lt;br /&gt;Any attempts to reprovision his account on the ATT BlackBerry site would yeild "An error occurred during email account validation"&lt;br /&gt;&lt;br /&gt;All URL combinations were tried: mail.newcompany.com; mail.newcompany.com\exchange; mail.newcompany.com\owa and mail.newcompany.com\owa\user@newcompany.com.&lt;br /&gt;&lt;br /&gt;After viewing the HTTP logs during provisioning; you see:&lt;br /&gt;&lt;br /&gt;W3SVC814732 X.X.X.X PROPFIND /owa/myuser/ - 443 myuser X.X.X.X Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+4.0) 501 0 0&lt;br /&gt;&lt;br /&gt;The 501 (HTTP error 501) means not implemented. PROPFIND is a webdav verb and it seems that webdav was being blocked only for this user. Other users were working ok. I ran some individual webdav tests and was unable to connect to his account; although I was able to connect to others on Exchange 2007 or Exchange 2003. Enabling WEBDAV on Exchange 2007 did not work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: This user's device was provisioned when he was on Exchange 2003. His mailbox was moved to Exchange 2007. Although his account was working for weeks on Exchange 2007; something broke. Possibly the domain name change or maybe a coincidence. After moving the user back to Exchange 2003; I was able to connect to his account using webdav test. The user was able to sucessfully provision his account. We plan on moving his account back to Exchange 2007 to see if it still works.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+,&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-6199536326078257949?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/6199536326078257949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=6199536326078257949' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6199536326078257949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/6199536326078257949'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/02/blackberry-error-occurred-during-email.html' title='BlackBerry Internet Service: An error occurred during email account validation'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5341052152879138157</id><published>2008-01-28T09:06:00.000-08:00</published><updated>2008-01-28T09:15:36.224-08:00</updated><title type='text'>BlackBerry: DB upgrade failed. Error Executing an sql statement</title><content type='html'>Summary: When upgrading BES versions in this instance applying BES 4.1 Service Pack 4, you receive the following error "DB upgrade failed. Error Executing an sql statement" during database upgrade.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: In this instance; the cause was due to the MSDE database log file having exceeded it's default 50MB limit. &lt;br /&gt;&lt;br /&gt;To verify the current size of the MSDE log file; go to C:\Program Files\Microsoft SQL Server\MSSQL\Data&lt;br /&gt;&lt;br /&gt;Locate file BESMGMT.LDF. (Your database name may not be the same) Examine the file size to see if it has approached the 50MB limit.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To increase the limit:&lt;br /&gt;&lt;br /&gt;1. Open a command prompt&lt;br /&gt;&lt;br /&gt;2. OSQL -E&lt;br /&gt;&lt;br /&gt;3. ALTER DATABASE BESMgmt MODIFY FILE(NAME=BESMgmt_log, SIZE=200MB)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re-run the service pack or upgrade.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5341052152879138157?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5341052152879138157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5341052152879138157' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5341052152879138157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5341052152879138157'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/01/blackberry-db-upgrade-failed-error.html' title='BlackBerry: DB upgrade failed. Error Executing an sql statement'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3178177298021955104</id><published>2008-01-23T12:14:00.000-08:00</published><updated>2009-04-30T10:58:51.191-07:00</updated><title type='text'>IIS: Error Writing Encrypted Data to the Web Services Configuration Database</title><content type='html'>Summary: When attempting to install or re-install IIS; you receive the following error: &lt;br /&gt;&lt;br /&gt;"Error Writing Encrypted Data to the Web Services Configuration Database" The option gives you the ability to "write unencrypted data." However if you proceed; IIS installation stalls and does not proceed. &lt;br /&gt;&lt;br /&gt;World Wide Publishing Service fails to start with &lt;br /&gt;&lt;br /&gt;"The specified handle is invalid"&lt;br /&gt;&lt;br /&gt;Resolution: Rename the MachinesKeys folder in the following directory to MachineKeysold. &lt;br /&gt;&lt;br /&gt;%Windir%\Profiles\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once this has been renamed; in the IIS installation where you were prompted to choose "write uncrypted data" close out this dialog box by clicking the X (windows close button on top right corner"&lt;br /&gt;&lt;br /&gt;IIS will complete the instllation and you will see a new MachineKeys directory. If you already closed out of the prompt box above; just uninstall and re-install IIS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3178177298021955104?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3178177298021955104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3178177298021955104' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3178177298021955104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3178177298021955104'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/01/iis-error-writing-encrypted-data-to-web.html' title='IIS: Error Writing Encrypted Data to the Web Services Configuration Database'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-9139240661319080318</id><published>2008-01-22T06:44:00.000-08:00</published><updated>2008-01-22T07:02:26.051-08:00</updated><title type='text'>Exchange: Bulk Remove X.400 Address Using Admodify</title><content type='html'>Summary: This article will go over how to remove legacy X.400 addresses in bulk using Admodify. X.400 addresses were used in Exchange 5.5 and may not be required. However; removing the recipient policy for your X.400 address will not remove the addresses from your users. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To remove X.400 addresses in bulk:&lt;br /&gt;&lt;br /&gt;1. Download Admodify&lt;br /&gt;&lt;br /&gt;http://www.computerperformance.co.uk/w2k3/utilities/admodify.htm&lt;br /&gt;&lt;br /&gt;2. Launch Admodify.exe&lt;br /&gt;&lt;br /&gt;3. Modify Attributes&lt;br /&gt;&lt;br /&gt;4. Domain List = Choose your domain; Domain Controller = Select your DC&lt;br /&gt;&lt;br /&gt;5. Click the Green Arrow&lt;br /&gt;&lt;br /&gt;6. Double click your domain in the white pane. This will expand your OU list. You can highlight just the OU you wish your query or highlight the domain to work with all objects in your domain. &lt;br /&gt;&lt;br /&gt;7. Click Add to list. This will enumerate your users in the right pane. Click Select All and next.&lt;br /&gt;&lt;br /&gt;8. Click the Custom Tab. &lt;br /&gt;&lt;br /&gt;9. Check "Make a Customized Attribute Modification"&lt;br /&gt;&lt;br /&gt;Attribute name: proxyAddresses&lt;br /&gt;Attribute value: X400:c=US;a= ;p=mycompany;o=FC;s=%'sn'%;g=%'givenName'%;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: You need to substitute p=mycompany and o=FC with your own values by checking an existing x.400 address of your user. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Check Multivalued Remove and click Go.&lt;br /&gt;&lt;br /&gt;11. Verify by checking a user or check the XML log that was produced in the same directory of your admodify.exe file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Do not forget to delete or uncheck your recipient policy for your x.400 address in ESM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-9139240661319080318?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/9139240661319080318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=9139240661319080318' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/9139240661319080318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/9139240661319080318'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/01/exchange-bulk-remove-x400-address-using.html' title='Exchange: Bulk Remove X.400 Address Using Admodify'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2698747770364890866</id><published>2008-01-21T09:13:00.000-08:00</published><updated>2008-01-21T09:17:46.914-08:00</updated><title type='text'>Exchange: The format of the e-mail address is incorrect</title><content type='html'>Summary: When sending to an internal user; you receive the following NDR:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Your message did not reach some or all of the intended recipients.&lt;br /&gt;&lt;br /&gt;      Subject: test ignore&lt;br /&gt;      Sent: 1/21/2008 11:50 AM&lt;br /&gt;&lt;br /&gt;The following recipient(s) cannot be reached:&lt;br /&gt;&lt;br /&gt;      Joe Test on 1/21/2008 11:50 AM&lt;br /&gt;            The format of the e-mail address is incorrect.  Check the address, look up the recipient in the Address Book, or contact the recipient directly to find out the correct address.&lt;br /&gt;            &lt;mail.server.com #5.1.3&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: A second SMTP proxy was added. However sending to this SMTP proxy would fail. The email address was correctly formatted without any special characters. A simple removing of the SMTP address and re-entering it in worked without issue. The cause could've have been pasting the address. Sometimes pasting can cause issues.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2698747770364890866?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2698747770364890866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2698747770364890866' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2698747770364890866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2698747770364890866'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/01/exchange-format-of-e-mail-address-is.html' title='Exchange: The format of the e-mail address is incorrect'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-4063859563790936104</id><published>2008-01-10T11:33:00.000-08:00</published><updated>2008-01-10T11:38:24.076-08:00</updated><title type='text'>Exchange 2007: Free Busy Not Available for 2003 Users</title><content type='html'>Summary: Exchange 2007 users cannot view Free Busy for users on Exchange 2003&lt;br /&gt;&lt;br /&gt;Resolution: Copy the Free Busy System from to Exchange 2007. &lt;br /&gt;&lt;br /&gt;1. Open Exchange 2003 System Manager. &lt;br /&gt;2. Scroll to Administrative Groups and Folders&lt;br /&gt;3. Right click Public Folders - View System Folders&lt;br /&gt;4. Expand Schedule + Free Busy&lt;br /&gt;5. You should see Free Busy subfolders starting with EX: Right click each one properties, replication tab. Add your Exchange 2007 server. &lt;br /&gt;&lt;br /&gt;Let it replicate and check 15-30 minutes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-4063859563790936104?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/4063859563790936104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=4063859563790936104' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4063859563790936104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4063859563790936104'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2008/01/exchange-2007-free-busy-not-available.html' title='Exchange 2007: Free Busy Not Available for 2003 Users'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5507855811996771698</id><published>2007-11-14T10:11:00.000-08:00</published><updated>2007-11-14T10:24:34.586-08:00</updated><title type='text'>Exchange 2007: This Ca Root Certificate Is Not Trusted. To enable Trust, Install This Certificate In The Trusted Root Certification Authorities Store.</title><content type='html'>Summary: Exchange 2007 CAS server uses a self signed cert. Depending on what services your CAS role plays you may get the following error:&lt;br /&gt;&lt;br /&gt;"This Ca Root Certificate Is Not Trusted. To enable Trust, Install This Certificate In The Trusted Root Certification Authorities Store"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause: In this instance, I had my CAS server using a Self Signed Cert for the Address book distributin in the Default Web Site while using a Valid third party commercial Cert for OWA. This worked fine using the article below.&lt;br /&gt;&lt;br /&gt;Exchange 2007 and SSL Certificates&lt;br /&gt;http://www.sembee.co.uk/archive/2007/01/21/34.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However when viewing FREE\Busy info, the Cert error would appear with the error:&lt;br /&gt;&lt;br /&gt;"This Ca Root Certificate Is Not Trusted. To enable Trust, Install This Certificate In The Trusted Root Certification Authorities Store"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;1. Go to the Default Web Site in IIS and remove the Self Signed Cert. Right click the Default Web Site, Directory Security, Server Certificate, Next, and Remove the cert.&lt;br /&gt;&lt;br /&gt;2. Open Certificates in MMC. Go to Run, MMC. File Add Remove Snap In, Add Certificates; Computer Account; Local Computer and Click OK.&lt;br /&gt;&lt;br /&gt;3. Once your Certificates MMC is open Go to Personal Certificates. Right Click Request New Cert, Next, Friendly Name = Hostname of your Server and Next and Finish.&lt;br /&gt;&lt;br /&gt;4. Copy the new cert to the Trusted Root Certification Authorities Certificates.&lt;br /&gt;&lt;br /&gt;5. Go back to the Default Website in IIS, Properties, Diretory Security, Server Certificate. Assign an existing certificate and choose the new cert that was created.&lt;br /&gt;&lt;br /&gt;6. Issue IISRESET from your command prompt.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5507855811996771698?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5507855811996771698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5507855811996771698' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5507855811996771698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5507855811996771698'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/11/exchange-2007-this-ca-root-certificate.html' title='Exchange 2007: This Ca Root Certificate Is Not Trusted. To enable Trust, Install This Certificate In The Trusted Root Certification Authorities Store.'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-459391024453185455</id><published>2007-11-14T08:20:00.000-08:00</published><updated>2009-04-30T11:05:11.111-07:00</updated><title type='text'>Active Directory: Convert Global Groups to Universal Groups Bulk</title><content type='html'>Summary: There may come a time when you need to convert your Global Groups into Universal Groups such as if you're in a multi-domain Forest. This is because the Global Catalog server does not have a copy of Global Groups in other domains. This can cause a problem with Distribution list expansion. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tip: To bulk change your Global Security or Distribution Groups into Universal Groups; you can use Admodify using the custom attribute tab of "groupType"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download Admodify:&lt;br /&gt;&lt;br /&gt;ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Launch ADMODIFY.EXE&lt;br /&gt;2. Click Modify Attributes&lt;br /&gt;3. Domain List=Choose your Domain; Domain Controller=Choose your DC&lt;br /&gt;4. Check only Groups; Check Advanced Features; Click Traverse Subcontainers&lt;br /&gt;5. Click the Green Arrow and now highlight your Domain&lt;br /&gt;6. Click Custom LDAP query. &lt;br /&gt;&lt;br /&gt;Global Security Groups&lt;br /&gt;&lt;br /&gt;(&amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.803:=-2147483646))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Click Add to list and click OK&lt;br /&gt;8. Select All and click next.&lt;br /&gt;9. Click Custom Tab. Click Make a customized attribute modification&lt;br /&gt;&lt;br /&gt;Attribute Name: groupType&lt;br /&gt;Attribute Value: -2147483640&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click Ok. This will convert your Global Security Groups to Global Universal Groups. &lt;br /&gt;&lt;br /&gt;Use the following Chart to convert your Global Distribution Groups.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Group Scope]  [Group Type]  [groupType value]  [sAMAccountType attribute]&lt;br /&gt;&lt;br /&gt;[Universal]       [Distribution]    [8]                 [268435457]&lt;br /&gt;[Universal]       [Security]        [-2147483640]       [268435456]&lt;br /&gt;[Global]          [Distribution]    [2]                 [268435457]&lt;br /&gt;[Global]          [Security]        [-2147483646]       [268435456]&lt;br /&gt;[Domain Local]    [Distribution]    [4]                 [536870913]&lt;br /&gt;[Domain Local]    [Security]        [-2147483644]       [536870912]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-459391024453185455?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/459391024453185455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=459391024453185455' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/459391024453185455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/459391024453185455'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/11/active-directory-convert-global-groups.html' title='Active Directory: Convert Global Groups to Universal Groups Bulk'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-2109974090350360312</id><published>2007-11-08T07:31:00.000-08:00</published><updated>2009-04-30T10:59:01.436-07:00</updated><title type='text'>Exchange 2007: Messages Not Received to Distribution Group</title><content type='html'>Summary: After installing a CAS server; sending to particular distribution groups do not work. Adding yourself to the group; you do not received messages. No NDR messages are received as well. &lt;br /&gt;&lt;br /&gt;When Telnetting and sending the message&lt;br /&gt;&lt;br /&gt;Telnet: CASServer 25&lt;br /&gt;Mail from:youraccount@yourdomain.com&lt;br /&gt;Rcpt to:DLGroup&lt;br /&gt;Data&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;Message Sucessfully Queued&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Users do not receive messages that belong to the Distribution Group&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution: Verify that the group is a Universal Group if you're in a multi-domain forest. There were no issues sending to the DL prior to the introduction of a 2007 CAS. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-2109974090350360312?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/2109974090350360312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=2109974090350360312' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2109974090350360312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/2109974090350360312'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/11/exchange-2007-messages-not-received-to.html' title='Exchange 2007: Messages Not Received to Distribution Group'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3023957395638725846</id><published>2007-11-07T16:28:00.000-08:00</published><updated>2009-04-30T11:05:21.730-07:00</updated><title type='text'>Exchange 2007: POP3 ERR Command is not valid in this state</title><content type='html'>Summary: POP applications report ERR "Command is not valid in this state" after supplying credentials. To verify you try telnetting to POP port 110 of your CAS server:&lt;br /&gt;&lt;br /&gt;Telnet CASServer 110&lt;br /&gt;User Myaccount&lt;br /&gt;Pass Mypass&lt;br /&gt;ERR Command is not valid in this state&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: Open your Exchange Shell and enter:&lt;br /&gt;&lt;br /&gt;Set-PopSettings -LoginType PlainTextLogin&lt;br /&gt;&lt;br /&gt;Restart your POP3 service&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3023957395638725846?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3023957395638725846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3023957395638725846' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3023957395638725846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3023957395638725846'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/11/exchange-2007-pop3-err-command-is-not.html' title='Exchange 2007: POP3 ERR Command is not valid in this state'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-3385332362989186594</id><published>2007-11-07T07:41:00.000-08:00</published><updated>2009-04-30T11:05:41.103-07:00</updated><title type='text'>Exchange 2007: ActiveSynch Does Not Work With Exchange 2003 Mailboxes</title><content type='html'>Summary: Exchange 2007 ActiveSync does not with with mailboxes on Exchange 2003. When entering username and password; password keeps prompting.&lt;br /&gt;&lt;br /&gt;To verify Activesync; go to &lt;br /&gt;https://hostname/Microsoft-Server-ActiveSync on your CAS server. If you receive HTTP 501/HTTP 505 Activesync is working.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution: Enable Integrated authentication on your Microsoft-Server-Activesync&lt;br /&gt;Virtual Directory on all your BackEnd 2003 Servers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-3385332362989186594?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/3385332362989186594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=3385332362989186594' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3385332362989186594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/3385332362989186594'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/11/exchange-2007-activesynch-does-not-work.html' title='Exchange 2007: ActiveSynch Does Not Work With Exchange 2003 Mailboxes'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-367367422928382990</id><published>2007-10-30T11:33:00.000-07:00</published><updated>2007-10-30T11:39:23.045-07:00</updated><title type='text'>Exchange 2007: Event ID 9589 Exceeded the max number of 6 Storage Groups on this server</title><content type='html'>Summary: Exchange 2007 fails to mount additional databases after you've created 5 Storage Groups. In additional, you get Event ID:9589 "Exceeded the max number of 6 Storage Groups on this server."&lt;br /&gt;&lt;br /&gt;You have verified that your Exchange 2007 Edition is Enterprise in the EMC GUI.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Re-enter your product key in the Shell and restart your information store.&lt;br /&gt;&lt;br /&gt;[PS] H:\&gt;set-exchangeserver -identity dcex01 -productkey XXXX-XXXX-XXXX-XXXX-XXXX&lt;br /&gt;&lt;br /&gt;WARNING: The Exchange server "DCEX01" is already licensed.&lt;br /&gt;WARNING: The product key has been validated and the product id has been&lt;br /&gt;successfully created. Note: This change will not be complete until the store&lt;br /&gt;has been restarted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause: Unknown&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-367367422928382990?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/367367422928382990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=367367422928382990' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/367367422928382990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/367367422928382990'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/10/exchange-2007-event-id-9589-exceeded.html' title='Exchange 2007: Event ID 9589 Exceeded the max number of 6 Storage Groups on this server'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-1469400655114731397</id><published>2007-08-22T11:51:00.000-07:00</published><updated>2007-08-22T11:56:41.239-07:00</updated><title type='text'>SMTP: No DATA command sent-rset</title><content type='html'>Summary: Messages sent to a relay server (Surgemail) would often have messages not get delivered. Messages were being delivered through an ASP application. However some messages would go through. Performing a telnet session works fine. When checking the SMTP logs the client would issue a rset command after the RCPT TO: command. The SMTP server (surgemail) would reply with an recipient ok and would be received by the client. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;The cause was Symantec AntiVirus 10.0.0.359 running the Internet E-mail Auto Protect. Disable the feature.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP) &lt;br /&gt;MCSE | M+, S+, MCTS, Security+ &lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-1469400655114731397?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/1469400655114731397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=1469400655114731397' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1469400655114731397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/1469400655114731397'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/08/smtp-no-data-command-sent-rset.html' title='SMTP: No DATA command sent-rset'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-5320973074869695856</id><published>2007-08-07T11:20:00.000-07:00</published><updated>2007-08-17T05:13:18.526-07:00</updated><title type='text'>Active Directory: Copy Distribution List Members to Another Distribution List</title><content type='html'>Summary: In this example, we will copy all members from one Distribution Group to another Distribution Group.&lt;br /&gt;&lt;br /&gt;Copy the contents below and save as copymembers.vbs to C: drive&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Const ADS_GROUP_TYPE_GLOBAL_GROUP = &amp;H2&lt;br /&gt;&lt;br /&gt;Set objOU = GetObject("LDAP://OU=Security Groups, dc=company, dc=com")&lt;br /&gt;Set objOldGroup = GetObject("LDAP://CN=mysourcegroup, ou=security groups, dc=company, dc=com")&lt;br /&gt;Set objNewGroup = GetObject("LDAP://CN=mytargetgroup, ou=security groups, dc=company, dc=com")&lt;br /&gt;&lt;br /&gt;On Error Resume Next&lt;br /&gt;For Each objUser in objOldGroup.Member&lt;br /&gt;    objNewGroup.Add "LDAP://" &amp; objUser&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open Command prompt:&lt;br /&gt;&lt;br /&gt;C:\&gt;cscript copymembers.vbs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The script will copy all members in the "mysourcegroup" Distribution List to your "mytargetgroup" Distribution List.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Some organizations like to use # in front of their Distribution List names so they appear together in the GAL. Because this is a special character it will need to be in double quotes to treat # as a literal.  &lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;("LDAP://""CN=mysourcegroup""&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-5320973074869695856?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/5320973074869695856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=5320973074869695856' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5320973074869695856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/5320973074869695856'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/08/active-directory-copy-distribution-list.html' title='Active Directory: Copy Distribution List Members to Another Distribution List'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-4746170115367550463</id><published>2007-06-22T12:35:00.000-07:00</published><updated>2008-01-22T14:11:53.705-08:00</updated><title type='text'>Exchange: Find Disabled Accounts with Mailboxes</title><content type='html'>Summary: In this example we will use a customer AD query to search for disabled accounts with mailboxes. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this example we will perform a custome AD search using Active Directory Users and Computers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Open Active Directory Users and Computers and click the find icon&lt;br /&gt;&lt;br /&gt;2. In the "Find" drop down menu, select custom search and click the advanced tab&lt;br /&gt;&lt;br /&gt;3. Paste the following in the white pane:&lt;br /&gt;&lt;br /&gt;(&amp;(UserAccountControl:1.2.840.113556.1.4.803:=2)(msExchHomeServerName=*)(objectClass=User))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will enumerate all disabled accounts with mailboxes. From here you can delete all the mailboxes by selecting the first user and scolling down to the bottom of the list and selecting the last user by shift + left click. Then right click the list, Exchange tasks and delete mailbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To perform a search of a single server:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(&amp;(UserAccountControl:1.2.840.113556.1.4.803:=2)(msExchHomeServerName=/O=Domain/OU=MyOU/cn=Configuration&lt;br /&gt;/cn=Servers/cn=Exservername)(objectClass=User))&lt;br /&gt;&lt;br /&gt;Click find.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To obtain the full dn of your msExchHomeServerName attribute, you can find this in ADSIEdit.&lt;br /&gt;&lt;br /&gt;1. Go to start run, type adsiedit.msc (part of windows server support tools)&lt;br /&gt;&lt;br /&gt;2. Expand Domain, this should resemble your OU structure. Locate a user, right click a user cn=my user and select properties. &lt;br /&gt;&lt;br /&gt;3. Look for attribute msExchHomeServerName and double click. Copy this string and paste it in the above Ldap query.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other tricks:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Find disabled accounts with mailboxes that are not hidden in the GAL.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(&amp;(UserAccountControl:1.2.840.113556.1.4.803:=2)(msExchHomeServerName=*)(!msExchHideFromAddressLists=TRUE)(objectClass=User))&lt;br /&gt;&lt;br /&gt;To export to txt file using LDIFDE from command prompt:&lt;br /&gt;&lt;br /&gt;C:\&gt;ldifde -f c:\exportlist.txt -r "(&amp;(UserAccountControl:1.2.840.113556.1.4.803&lt;br /&gt;:=2)(msExchHomeServerName=*)(!msExchHideFromAddressLists=TRUE)(objectClass=User)&lt;br /&gt;)" -l "dn"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best practices:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ensure that you have deleted Mailbox retention configured to ensure that these mailboxes can be recovered in a swift manner. To configure mailbox retention, open Exchange System Manger, locate your mailbox store, properties limits tab.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-4746170115367550463?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/4746170115367550463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=4746170115367550463' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4746170115367550463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/4746170115367550463'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/06/exchange-find-disabled-accounts-with.html' title='Exchange: Find Disabled Accounts with Mailboxes'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7909838541387751780</id><published>2007-05-09T11:11:00.000-07:00</published><updated>2007-05-09T11:17:42.679-07:00</updated><title type='text'>Exchange: DSQUERY Is Your Friend</title><content type='html'>Summary: Dsquery is a powerful search command tool that can help you find users, or users with certain attributes. Below are some sample searches to give you an idea of how to use dsquery and it's syntax.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 1.&lt;br /&gt;&lt;br /&gt;In this example, I want to find to export objects and who has ownership. For example, I want to find the owners of distribution lists that they can manage.&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\JamesMVP&gt;dsquery * -limit 200000 dc=corp,dc=mycompany,dc=com -filter "(&amp;(objectclass=*)(objectcategory=*))" -attr displayname managedby &gt; c:\managedby.txt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example 2.&lt;br /&gt;&lt;br /&gt;In this example, I want to list all users that are in a certain mailbox store using the homemdb attribute.&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\JamesMVP&gt;dsquery * dc=corp,dc=mycompany,dc=com -filter "(&amp;amp;(objectclass=user) (object category=person)(homemdb=CN=Mailbox Store (EX3),CN=First Storage Group,CN= InformationStore,CN=EX3,CN=Servers,CN=First Administrative Group,CN=Admini strative Groups,CN=DSTTEST,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC =corp,DC=company,DC=local))" -attr displayname &gt; c:\mailboxes.txt&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;a href="ftp://ftp://ftp.smtp25.org//"&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp://ftp.smtp25.org/&lt;/a&gt;/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7909838541387751780?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7909838541387751780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7909838541387751780' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7909838541387751780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7909838541387751780'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/05/exchange-dsquery-is-your-friend.html' title='Exchange: DSQUERY Is Your Friend'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-7198061786939850470</id><published>2007-05-07T07:22:00.000-07:00</published><updated>2008-08-08T11:44:34.607-07:00</updated><title type='text'>Exchange: BCP Planning Exchange 2003</title><content type='html'>Summary: Business continuity planning for Exchange 2003 using standby server. Many users ask how to have a standby server in the event that their Exchange server fails. Other than using third party application replication software, the only method is to perform the empty mailbox method (dial tone) on your standby server. This basically involves moving your mailboxes to the standby server by changing serveral Exchange related attributes. Because your primary server is down, you cannot move the mailboxes using Exchange System Manager, therefore you will have to manually update the attributes which a move mailbox would perform. With Exchange 2007, this is easier with Log Shipping technology.&lt;br /&gt;&lt;br /&gt;MS has an article "How to Re-Home Exchange Mailbox Account"&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb124766.aspx"&gt;http://technet.microsoft.com/en-us/library/bb124766.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;While testing the steps in this article there were several issues that were noted. This article will go over these steps to test the re-homing of your mailboxes. This article will also go over using ADmodify to re-home mailboxes as well.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: After users have been re-homed to a test server, they must create a new profile. This is because their existing profile will continue to point to the down server and will not re-direct them to their new server. Users also have the option to work via OWA.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method 1 Using LDIFDE&lt;br /&gt;&lt;br /&gt;1. Open command prompt and export the following Exchange attributes from the users in the failed Exchange server. Replace homeMDB with the DN of the server that failed. You can retrieve the DN by going into adsiedit.msc&lt;br /&gt;&lt;br /&gt;2. This must be performed for every database on the Exchange server that failed. If there are 8 databases, this will need to be run 8 times changing the homeMDB attribute to each individual database.&lt;br /&gt;&lt;br /&gt;C:\&gt;ldifde -f export.txt -d "dc=corp,dc=etradegrp,dc=com" -l msexchhomeservern&lt;br /&gt;ame,homemdb,homemta -r "(&amp;(objectclass=user)(homeMDB=CN=Mailbox Store 08 (ATL1EX11),CN=Third Storage Group,CN=InformationStore,&lt;br /&gt;CN=ATL1EX11,CN=Servers,CN=UnitedStates,&lt;br /&gt;CN=Administrative Groups,CN=MyOrgInc,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,&lt;br /&gt;DC=Mydomain,DC=com))"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Open the export.txt file and copy contents into MS word. Replace the following on the left column with the right column.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dn: [replacewith] -^pdn:&lt;br /&gt;changetype: add [replacewith] changetype: add&lt;br /&gt;homeMTA [replacwith] replace: homeMTA^phomeMTA&lt;br /&gt;homeMDB [replacewith] -^preplace: homeMDB^phomeMDB&lt;br /&gt;msExchHomeServerName [replacewith]&lt;br /&gt;-^preplace: msExchHomeServerName^pmsExchHomeServerName&lt;br /&gt;&lt;br /&gt;[name of original database] replacewith [name of new database]&lt;br /&gt;[name of original storage group] replacewith [name of new storage group]&lt;br /&gt;[name of original server] replacewith [name of new server]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sample Input LDF File after replacing 8 objects above should resemble formatting below. (Ensure there is a line space from ending of one user object to beginning of new user object. Remove mailboxes for SMTP connector, System Attendant and System Mailbox prior to importing file in step 3. Replace the name of original db, storage group and original server with new names.&lt;br /&gt;&lt;br /&gt;dn: CN=Chong\,MVP,OU=HQ,DC=Corp,DC=lab,DC=local&lt;br /&gt;changetype: modify&lt;br /&gt;replace: homeMTA&lt;br /&gt;homeMTA:&lt;br /&gt;CN=Microsoft MTA,CN=DEVEX2,CN=Servers,CN=First Administrative Group,CN=Admi&lt;br /&gt;&lt;br /&gt;nistrative Groups,CN=DSTTest,CN=Microsoft Exchange,CN=Services,CN=Configuratio&lt;br /&gt;n,DC=dsttest,DC=etrade,DC=local&lt;br /&gt;-&lt;br /&gt;replace: homeMDB&lt;br /&gt;homeMDB:&lt;br /&gt;CN=Mailbox Store (DEVEX2),CN=First Storage Group,CN=InformationStore,CN= DEVEX2,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=DS&lt;br /&gt;TTest,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=lab,&lt;br /&gt;DC=local&lt;br /&gt;-&lt;br /&gt;replace: msExchHomeServerName&lt;br /&gt;msExchHomeServerName:&lt;br /&gt;/o=DSTTest/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=DEV&lt;br /&gt;EX2&lt;br /&gt;-&lt;br /&gt;&lt;br /&gt;dn: CN=adm-Chong\, James,OU=EnterpriseServices,DC=corp,DC=lab,DC=local&lt;br /&gt;changetype: modify&lt;br /&gt;replace: homeMTA&lt;br /&gt;homeMTA:&lt;br /&gt;CN=Microsoft MTA,CN=DEVEX2,CN=Servers,CN=First Administrative Group,&lt;br /&gt;CN=Administrative Groups,CN=corp,CN=Microsoft Exchange,CN=Services,&lt;br /&gt;N=Configuration,DC=corp,DC=lab,DC=local&lt;br /&gt;-&lt;br /&gt;replace: homeMDB&lt;br /&gt;homeMDB:&lt;br /&gt;CN=Mailbox Store (DEVEX2),CN=First Storage Group,CN=InformationStore,CN= DEVEX2,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=DS&lt;br /&gt;TTest,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=lab,&lt;br /&gt;DC=local&lt;br /&gt;-&lt;br /&gt;replace: msExchHomeServerName&lt;br /&gt;msExchHomeServerName:&lt;br /&gt;/o=DSTTest/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=DEV&lt;br /&gt;EX2&lt;br /&gt;-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Import File LDIFDE –I – F&lt;br /&gt;&lt;br /&gt;5. Open ADUC, open an account for a user that resided on the down Exchange server. Click the Exchange General tab. Verify that the mailbox location now points to the new location.&lt;br /&gt;&lt;br /&gt;6. Open user mailbox. Must create a new Outlook profile or choose to use OWA. Mailbox will not show in ESM until user has opened Mailbox in Outlook.&lt;br /&gt;&lt;br /&gt;7. Once the original database has been restored to the original server, re-rerun the script to re-home the user’s mailboxes back to the original server.&lt;br /&gt;&lt;br /&gt;8. Perform Exmerge on the temporary Exchange server to extract the .PST files. Re-run exmerge in merge mode to merge the new e-mails with the old mailbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method 2 ADMODIFY Utility&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Execute admodify. You can download this from MS. Ensure that the application is run with admin privileges&lt;br /&gt;&lt;br /&gt;Proceed with the following instructions:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Modify Attributes&lt;br /&gt;&lt;br /&gt;Domain List = DC=corp,DC=lab,DC=com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Domain Controller List = dc.corp.lab.com&lt;br /&gt;&lt;br /&gt;Show Only = Users&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Domain Tree List = Advanced Features, Show Containers Only&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click Custom Ldap Query&lt;br /&gt;&lt;br /&gt;Click green arrow. You should now see corp in the white page, highlight this&lt;br /&gt;&lt;br /&gt;LDAP Filter = (&amp;amp;(objectclass=user)(homeMDB=CN=Mailbox Store 08 (EXCH1),&lt;br /&gt;CN=Third Storage Group,CN=InformationStore,CN=EXCH1,CN=Servers,&lt;br /&gt;CN=UnitedStates, CN=Administrative Groups,CN=MyorgInc,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=lab,DC=com))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click Add to List. Will take about 3-5 minutes to generate query&lt;br /&gt;&lt;br /&gt;Once items have been enumerated. Highlight all items while removing any system mailboxes, ie. SMTP mailbox. Click next&lt;br /&gt;&lt;br /&gt;Click Exchange General Tab, check, set homeMDB drop down box. (Note select this option before Set homeMTA. There appears to be a bug in which the list will not enumerate if this option is chosen second) Choose the temporary Exchange server. No set homeMTA and choose the same temporary Exchange server and click Go button.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;a href="ftp://ftp://ftp.smtp25.org//"&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp://ftp.smtp25.org/&lt;/a&gt;/&lt;/a&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-7198061786939850470?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/7198061786939850470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=7198061786939850470' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7198061786939850470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/7198061786939850470'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/05/exchange-bcp-planning.html' title='Exchange: BCP Planning Exchange 2003'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-117249957781987031</id><published>2007-02-26T06:19:00.000-08:00</published><updated>2007-02-26T07:06:45.110-08:00</updated><title type='text'>Exchange: DST Patching Uncovered</title><content type='html'>zSummary:&lt;br /&gt;&lt;br /&gt;In order to minimize the impact the 2007 Daylight Savings Time changes, Microsoft has released several KB articles to address patching and best practices. Through extensive testing, I hope to shed some light on some best practices, issues uncovered, and the proper procedures. In order to adhere to the Daylight Savings Time changes for 2007, the following must be performed and considered.&lt;br /&gt;&lt;br /&gt;1. Install all operatating system DST patches. Install the DST patch for all your Windows servers and XP clients. This includes patching your Exchange server's operating system.&lt;br /&gt;http://support.microsoft.com/kb/931836/en-us&lt;br /&gt;&lt;br /&gt;2. Install Exchange DST Patch. Microsoft has released two distinct patches for Exchange 2003. One for Exchange 2003 service pack 1 and one for Exchange 2003 service patch 2. Microsoft has not released Exchange 2000 DST patches. This is only available to customers with extended hotfix support. You can obtain this patch by calling MS. (approx $4,000 usd) The following links provide patches to Exchange 2003.&lt;br /&gt;&lt;br /&gt;Exchange Service Pack 2&lt;br /&gt;http://support.microsoft.com/kb/926666/en-us&lt;br /&gt;Exchange Service Pack 1&lt;br /&gt;http://support.microsoft.com/kb/931978/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Both Exchange 2003 patches will update your store version greater than [store. exe 6.5.7233.51] Any store version greater than this will change the behavior of "Send As" functionality. What this means is that, prior to these versions, if you granted Bob full rights to Jim's mailbox, Bob can implicity "Send As" Jim even though Bob does not have "Send As" permission checked. Since Bob has full rights to Jim's mailbox this right is implicit. However, after patching, the implicit "Send As" rights are revoked and you will need to be cognizant as this can break services such as Blackberry. What I recommend is running Microsoft's script that will export all user's that have full mailbox rights on another user but does not have the "Send As" right. The script is pretty straight forward to run and can be obtained in this article.&lt;br /&gt;&lt;br /&gt;Note: Be aware of article 932599 Information Store may not start after Exchange DST patching. This is due to duplicate SIDS for well known users or groups (ie. built in) or duplicate attribute values for objects. It is recommended to patch one server first to test since ACL are usually propagated at the Exchange Org\Admin Group level. If one is ok after patching it should be safe to patch others. If you want to be extra safe, you can use this same principal to install a new Exchange server in your org, mount a DB and patch it to see if breaks.&lt;br /&gt;&lt;br /&gt;Information Store database does not mount with Event ID 9519 and 9518&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/932599"&gt;http://support.microsoft.com/kb/932599&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/912918/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Run Calendar Update Utility. You must run the calendar update utility after patching your Exchange DST patching. This is separate from your Exchange DST patching in step 2. The utility must be run in order to fix any calendar appointments made during the extended DST time. There are two versions of the calendar update tool, an Outlook Client Tool and an Exchange Server Tool. I have tested both. Here are some considerations.&lt;br /&gt;&lt;br /&gt;Exchange Calendar Update Tool&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=A9336886-4B28-4010-9416-36D38429438D&amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=A9336886-4B28-4010-9416-36D38429438D&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Timezone Update Tool (Outlook)&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e343a233-b9c8-4652-9dd8-ae0f1af62568&amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=e343a233-b9c8-4652-9dd8-ae0f1af62568&amp;amp;DisplayLang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exchange Calendar Update Tool (Server Side) - This utility first extracts the timezone information from all user's mailboxes into a text file. Once the text file is exported with this info, it actually uses the client side Timezone Update Tool to update the mailboxes using this file. Here are some considerations when running the Exchange Calendar Update Tool.&lt;br /&gt;&lt;br /&gt;- Cannot run on an Exchange server&lt;br /&gt;&lt;br /&gt;- You will need to install .Net Framework 2.0, Exchange Calendar Update Tool and the Outlook Timezone Update Tool. The reason you need the client Outlook Timezone Update Tool is because the Exchange Calendar Update Tool calls the executable for the Outlook Update Tool.&lt;br /&gt;&lt;br /&gt;- Need to run with a mailbox that has full rights to other's mailboxes. Profile cannot be in cached mode. Also set profile to automatically start in that profile and not select from list.&lt;br /&gt;&lt;br /&gt;- If you run utility more than once, any appointments made after you patched your Exchange server with Exchange DST patch will get messed up. This is because the utility will assume that the appointment was made prior to patching. It is recommended to run the utility soon after Exchange DST patching.&lt;br /&gt;&lt;br /&gt;- Exchange Calendar Tool processes 6.13 mailboxes a minute and only one thread can be run at a time on one machine. However, you can run on multiple machines.&lt;br /&gt;&lt;br /&gt;- If the Exchange DST patch was installed prior to running the Calendar Update Tool (Server or Client) recurring meetings created by OWA will not be updated. To correct, uninstall the DST patch, run the tool, re-install patch.&lt;br /&gt;&lt;br /&gt;- Only calendar items in which you were the organizer will get times updated (moved 1hr back)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In large enterprise environments, running the Exchange Calendare Update Tool can take hours\days since it can only process 6.13\mailboxes a minute and only one instance can be running per machine. However, one option you can have is to push the client side Timezone Update Tool to all machines using something like SMS and then having it run the executable with the /q or/quiet switch. This will update the calendar items without user intervention. Works with Outlook open or closed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mobile Devices&lt;br /&gt;&lt;br /&gt;If you are using mobile devices such as Blackberry consider the following:&lt;br /&gt;&lt;br /&gt;1. Remember to update your CDO.dll from your Exchange server to your Blackberry Server&lt;br /&gt;2. Blackberry Handhelds need to be patched. Refer to the following article.&lt;br /&gt;&lt;a title="http://www.blackberry.com/DST2007/patch/index2.shtml" href="http://www.blackberry.com/DST2007/patch/index2.shtml"&gt;http://www.blackberry.com/DST2007/patch/index2.shtml&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Prepare Outlook calendar items for daylight saving time changes in 2007&lt;br /&gt;http://office.microsoft.com/en-us/outlook/HA102086071033.aspx?pid=CH100776851033#9&lt;br /&gt;&lt;br /&gt;How to address daylight saving time by using the Exchange Calendar Update Tool&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/930879"&gt;http://support.microsoft.com/kb/930879&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;MsexchangeTeam Step by Step run of Exchange Calendar Update Configuration Tool&lt;br /&gt;&lt;a href="http://msexchangeteam.com/archive/2007/02/14/435267.aspx"&gt;http://msexchangeteam.com/archive/2007/02/14/435267.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp://ftp.smtp25.org/&lt;/a&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-117249957781987031?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/117249957781987031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=117249957781987031' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/117249957781987031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/117249957781987031'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2007/02/exchange-dst-patching-uncovered.html' title='Exchange: DST Patching Uncovered'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115843324996730637</id><published>2006-09-16T11:41:00.000-07:00</published><updated>2006-11-17T19:00:52.133-08:00</updated><title type='text'>Exchange: Identifying File Level Antivirus Exclusions For Exchange Server Installations</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Protecting Exchange against malicious viruses is critical to ensure the health and availability of your messaging environment. However, it is also critical that some folders\files must be excluded from file level scanning. Scanning these critical folders\files can cause serious damage such as corruption, database not being able to mount, restore problems among other issues. According to Microsoft's recommendation, it is critical that you exclude the following directories.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Exclude all directories that include your Exchange database files (EDB STM) For example in a default installation, the Exchange database is placed in your \Exchsrvr\Mdbdata folder. Exclude this entire directory.&lt;br /&gt;&lt;br /&gt;2. Exclude your Exchsrvr\Mtadata folder&lt;br /&gt;&lt;br /&gt;3. Exclude all logs such as message tracking, SMTP. Exclude the directory Exchsrvr\server_name.log&lt;br /&gt;&lt;br /&gt;4. Exclude your Exchange queue directory. Exchsrvr\Mailroot&lt;br /&gt;&lt;br /&gt;5. Exclude your directory where your IFS creates the streaming .tmp files. The IFS creates these .tmp files when a large object is streamed into the store and the .stm file is too fragmented to have the entire object written in it. For example, a large object can be a message or a file. During normal operation, when the Microsoft Exchange services are stopped, these files are removed from the Temp folder. By defualt, this folder is in the Exchsrvr\Mdbdata directory. However, they can also be in your %SYSTEMROOT%\TEMP directory.&lt;br /&gt;&lt;br /&gt;6. Exclude your Exchsrvr\Bin directory&lt;br /&gt;&lt;br /&gt;7. Exclude your IIS system files directory %SYSTEMROOT%\System32\Inetsrv&lt;br /&gt;&lt;br /&gt;8. Exclude your Gather logs if running search indexing services. These log files contain log information or catalog for the indexing service.&lt;br /&gt;&lt;br /&gt;You may elect to just exclude the entire Exchsrvr directory, however the above configuration will give you the best protection.&lt;br /&gt;&lt;br /&gt;If you have ever scanned your Exchange directory where your database or logs were stored, your database may be corrupted. The level of corruption cannot be directly quantified. For example the longer your AV was scanning these directories may lead to more corruption but may not be necessarily true. It may also depend on the AV application as well. However, symptoms of corruption may not be immediately visible and may arise further down the road. Therefore, it is best practice to create a fresh database and move your users to the new database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Lb*.tmp Files Are Created in the TEMP Folder and Are Not Deleted&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;328583&lt;br /&gt;&lt;br /&gt;Exchange lb*.tmp files in the Windows Temp folder cause ESE -2237 error&lt;br /&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;294462&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp://ftp.smtp25.org/&lt;/a&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115843324996730637?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115843324996730637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115843324996730637' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115843324996730637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115843324996730637'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-identifying-file-level.html' title='Exchange: Identifying File Level Antivirus Exclusions For Exchange Server Installations'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115834327837141029</id><published>2006-09-15T10:48:00.000-07:00</published><updated>2006-11-17T19:01:26.836-08:00</updated><title type='text'>Exchange: Invalid Window Handle ID no: 80040102 Exchange System Manager</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;When clicking on the Client Permissions button of a Public folder in Exchange System Manager, you immediately receive Invalid Window Handle ID no: 80040102 Exchange System Manager. Therefore, you are unable to set client permissions for any of your Public Folders.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;In this instance, the issue was caused by the Public Folder Hierarchy not having the msExchPFTreeType set. This attribute defines whether your Public Folder Hiearchy is MAPI based or a General Purpose Tree. In an Exchange Org, there can only be one MAPI based Public Folder Hiearchy. However, you can have multiple General Purpose Public Folder Hiearchies. General Purpose Public Folder Hiearchies cannot be accessed via MAPI but via OWA.&lt;br /&gt;&lt;br /&gt;To define a MAPI Public Folder Hiearchy, set the msExchPFTreeType to 1.&lt;br /&gt;To define a General Purpose Public Folder Hiearchy, set the msExchPFTreeType to 0.&lt;br /&gt;&lt;br /&gt;To verify if your Public Folder Hiearchy is set to 1 follow the procedures below.&lt;br /&gt;&lt;br /&gt;1. From your Exchange server or Domain Controller, go to Start, Run, ADSIEDIT.MSC Click Ok. (ADSIEDIT is part of your Windows 2000\2003 Support Tools found on the CD)&lt;br /&gt;&lt;br /&gt;2. Expand the Configuration Container.&lt;br /&gt;&lt;br /&gt;CN=Services&lt;br /&gt;CN=Microsoft Exchange&lt;br /&gt;CN=Your Exchange Org&lt;br /&gt;CN=Administrative Group&lt;br /&gt;CN=First Administrative Group&lt;br /&gt;&lt;br /&gt;Highlight CN=Folder Hierarchies.&lt;br /&gt;&lt;br /&gt;On the right pane, highlight CN=Public Folders and select properties. Scroll down to find the attribute, msExchPFTreeType. For the value, check if it is set. If not set, set to 1.&lt;br /&gt;&lt;br /&gt;3. Go to services and restart your Microsoft Information store. When service has restarted, open Exchange System Manager, and verify that you can set the Client Permission.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Description of public folder tree types in Exchange 2000 Server and in Exchange Server 2003&lt;br /&gt;http://support.microsoft.com/kb/258509/en-us&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE  M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115834327837141029?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115834327837141029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115834327837141029' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115834327837141029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115834327837141029'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-invalid-window-handle-id-no.html' title='Exchange: Invalid Window Handle ID no: 80040102 Exchange System Manager'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115833842609545026</id><published>2006-09-15T09:05:00.000-07:00</published><updated>2006-09-15T11:03:11.743-07:00</updated><title type='text'>Exchange: Search Network For PST Files</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;In this article, I will provide a script to search your network for .PST files. Microsoft provides a script to search your local computer for a .PST file which you can find here.&lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/technet/scriptcenter/resources&lt;br /&gt;/qanda/apr05/hey0408.mspx&lt;br /&gt;&lt;br /&gt;I have modified it to also include the computer name since it will be intended to search multiple computers and to write the output to a csv file. &lt;br /&gt;&lt;br /&gt;Copy the contents below and save to notepad. Rename this file to searchpst.vbs and save to C: drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;strComputer = "."&lt;br /&gt;Set objWMIService = GetObject("winmgmts:\\" &amp; strComputer &amp; "\root\cimv2") &lt;br /&gt;&lt;br /&gt;Set colFiles = objWMIService.ExecQuery _&lt;br /&gt;&lt;br /&gt;    ("Select * from CIM_DataFile Where Extension = 'pst'")&lt;br /&gt;&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;&lt;br /&gt;set wfile = fso.opentextfile("c:\test.csv",2,true)&lt;br /&gt;&lt;br /&gt;For Each objFile in colFiles &lt;br /&gt;&lt;br /&gt;Wfile.writeline(strComputer &amp; " " &amp; objFile.Drive &amp; " " &amp; objFile.Path &amp; " " &amp; objFile.FileName &amp; "." &amp; objFile.Extension &amp; " " &amp; objFile.FileSize)&lt;br /&gt;&lt;br /&gt;Next &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open your command prompt. Start, Run, CMD Ok. Ensure that you are at your your C:\&gt;&lt;br /&gt;&lt;br /&gt;Type the following &lt;br /&gt;&lt;br /&gt;C:\&gt;cscript searchpst.vbs&lt;br /&gt;&lt;br /&gt;Once complete, go to your C: drive and locate text.csv. This csv file should include your computername, drive letter and path of your pst file, name of pst file and size.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now if you wish to run this on multiple computers on the network you have couple options.&lt;br /&gt;&lt;br /&gt;C:\&gt;cscript searchpst.vbs computer1 computer2 computer3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another option is to have this script read in the computer names from your computers OU in AD.&lt;br /&gt;&lt;br /&gt;Copy the contents below to notepad. Save the file as searchpst1.vbs. Open your command prompt and type:&lt;br /&gt;&lt;br /&gt;C:\&gt;cscript searchpst1.vbs&lt;br /&gt;&lt;br /&gt;Set colComputers = GetObject("LDAP://CN=Computers, DC=msexchange911, DC=net")&lt;br /&gt;For Each objComputer in colComputers&lt;br /&gt;      strComputer = objComputer.CN&lt;br /&gt; on error Resume next&lt;br /&gt;      Set objWMIService = GetObject("winmgmts:" _&lt;br /&gt;       &amp; "{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\cimv2")&lt;br /&gt;Set colFiles = objWMIService.ExecQuery _&lt;br /&gt;    ("Select * from CIM_DataFile Where Extension = 'pst'")&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;set wfile = fso.opentextfile("c:\test.csv",2,true)&lt;br /&gt;For Each objFile in colFiles &lt;br /&gt;Wfile.writeline(strComputer &amp; " " &amp; objFile.Drive &amp; " " &amp; objFile.Path &amp; " " &amp; objFile.FileName &amp; "." &amp; objFile.Extension &amp; " " &amp; objFile.FileSize)&lt;br /&gt;next&lt;br /&gt;next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Running WMI Scripts on Multiple Computers&lt;br /&gt;http://www.microsoft.com/technet/scriptcenter/resources&lt;br /&gt;/tales/sg1102.mspx&lt;br /&gt;&lt;br /&gt;How Do I Get a List of All PST Files on a Computer&lt;br /&gt;http://www.microsoft.com/technet/scriptcenter/resources&lt;br /&gt;/qanda/apr05/hey0408.mspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE | M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115833842609545026?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115833842609545026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115833842609545026' title='26 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115833842609545026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115833842609545026'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-search-network-for-pst-files.html' title='Exchange: Search Network For PST Files'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>26</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115810918180047068</id><published>2006-09-12T17:42:00.000-07:00</published><updated>2006-09-12T17:59:42.340-07:00</updated><title type='text'>Exchange: Public Folder Fails To Mount c1041724</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Public Folder fails to mount. Attempting to mount a Public Folder in Exchange System Manager produces error c1041724. &lt;br /&gt;&lt;br /&gt;Cause: &lt;br /&gt;&lt;br /&gt;Although there are multiple causes such as lack of permissions, disk space issues or corruption, in this instance the Public Folder database did not mount and produced c1041725 because the store did not point to a valid Public Folder Tree in Adsiedit. &lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;To verify if your Public Folder Store is pointing to a valid Public Folder Heirarchy, perform the following steps.&lt;br /&gt;&lt;br /&gt;Note: Use ADSIEDIT with caution, changes can be irreversible. Ensure you have good backups of your Exchange and System State for your Domain Controllers. &lt;br /&gt;&lt;br /&gt;1. From your Exchange server or Domain controller, go to start, run, type adsiedit.msc click ok. (Adsiedit is part of your Windows 2000\2003 support tools)&lt;br /&gt;&lt;br /&gt;2. Expand Configuration Container (DC hostname)&lt;br /&gt;&lt;br /&gt;3. Expand to &lt;br /&gt;&lt;br /&gt;CN=Services&lt;br /&gt;CN=Microsoft Exchange&lt;br /&gt;CN=Your Exchange Organization Name&lt;br /&gt;CN=Administrative Groups&lt;br /&gt;CN=First Administrative Groups&lt;br /&gt;CN=Folder Hierarchies (Highlight this)&lt;br /&gt;&lt;br /&gt;4. On the right pane, right click CN=Public Folders and select properties&lt;br /&gt;&lt;br /&gt;5. You should see a list of attributes. Find the attribute "distinguishedName" The value should resemble similar to:&lt;br /&gt;&lt;br /&gt;CN=Public Folders,CN=Folder Hierarchies,CN=First Administrative Group,CN=Administrative Groups,CN=MSexchange911,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Msexchange911,DC=net&lt;br /&gt;&lt;br /&gt;Copy this to a notepad we will need to reference this value later.&lt;br /&gt;&lt;br /&gt;6. Cancel out that windows. Back in Adsiedit on left pane, expand&lt;br /&gt;&lt;br /&gt;CN=Servers&lt;br /&gt;CN=YourExchangeServername&lt;br /&gt;CN=Information Store&lt;br /&gt;CN=YourStorageGroupName&lt;br /&gt;&lt;br /&gt;Ensure you select the storage group that is hosting your public folder database.&lt;br /&gt;&lt;br /&gt;7. On the right pane, select CN=YourPublicFolderStoreName, right click properties. Locate the attribute "msExchOwningPFTree" For the value, it should equal the value in step 5. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE | M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115810918180047068?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115810918180047068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115810918180047068' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115810918180047068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115810918180047068'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-public-folder-fails-to-mount.html' title='Exchange: Public Folder Fails To Mount c1041724'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115782482007733747</id><published>2006-09-09T09:21:00.000-07:00</published><updated>2006-09-09T16:19:36.186-07:00</updated><title type='text'>ADMODIFY: You Receive Failed Changes When Using a Valid Attributte In the Custom Tab</title><content type='html'>Summary: Admodify is a great utility to make bulk changes for Active Directory objects such as if you wanted to remove an email address for multiple people instead of having to go to each individual account to make the changes. With the latest version of Admodify you can create custom modifications if you know the LDAP attribute. However, when you enter this custom attribute and value into the custom tab you receive a dialog box "Operation Completed" but you receive "Failed Changes" You verify that the attribute name and value are correct.&lt;br /&gt;&lt;br /&gt;Case Study:s&lt;br /&gt;&lt;br /&gt;In this instance, I was trying to modify the "deliverAndRedirect" attribute. To see what this attribute does:&lt;br /&gt;&lt;br /&gt;1. Open Active Directory Users and Computers.&lt;br /&gt;&lt;br /&gt;2. Go to the properties of any user account. &lt;br /&gt;&lt;br /&gt;3. Go to the Exchange General Tab,Delivery Options. &lt;br /&gt;&lt;br /&gt;4. Locate the check box "Delivery Messages to Both Forwarding Address and Mailbox"&lt;br /&gt;&lt;br /&gt;This checkbox corresponds to the following LDAP attribute "deliverAndRedirect"&lt;br /&gt;&lt;br /&gt;5. I launch ADMODIFY, Modify Attributes. In the Domain List drop down box, select your domain. In your domain controllers list select you domain controller. If ytour Domain Controller does not appear, skip it, it will resume.&lt;br /&gt;&lt;br /&gt;6. Uncheck Groups, Contacts and Public Folders and click the Green Arrow.&lt;br /&gt;&lt;br /&gt;7. Highlight your Domain and click Add to List at the bottom. Click Ok at the dialog box to enumerate your list of users. &lt;br /&gt;&lt;br /&gt;8. In the right pane, highlight a user or multple users and click next. Click the custom tab. &lt;br /&gt;&lt;br /&gt;9. Click "Make a customized attribute modification"&lt;br /&gt;&lt;br /&gt;Attribute Name: deliverAndRedirect&lt;br /&gt;AttributeValue: True&lt;br /&gt;&lt;br /&gt;You click OK. However you get failed changes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause: The attributes Values are case sensitive. In this case True should be set to  TRUE. &lt;br /&gt;&lt;br /&gt;Attribute Name: deliverAndRedirect&lt;br /&gt;AttributeValue: TRUE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE | M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115782482007733747?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115782482007733747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115782482007733747' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115782482007733747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115782482007733747'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/admodify-you-receive-failed-changes.html' title='ADMODIFY: You Receive Failed Changes When Using a Valid Attributte In the Custom Tab'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115751349343441649</id><published>2006-09-05T20:23:00.000-07:00</published><updated>2009-04-30T11:05:32.217-07:00</updated><title type='text'>Exchange: Default Permissions on Exchange Organization</title><content type='html'>Summary: &lt;br /&gt;&lt;br /&gt;The following lists the default permissions on the Exchange Organization on the root of ESM. For Exchange to perform correctly the following permissions are required. Not having the correct permissions can cause issues with Recipient Update Service not running, security vulnerabilities in which unauthorized users have access to mailboxes other than their own and a variety of other issues.&lt;br /&gt;&lt;br /&gt;1. Open ESM, right click your Exchange Org name at the root, and select properties. Select the security tab. If you do not see the security tab. Close ESM. Go to Start, Run, type Regedit. Navigate to:&lt;br /&gt;&lt;br /&gt;HKEY_Current_User\Software\Microsoft\Exchange\Exadmin. &lt;br /&gt;&lt;br /&gt;Create a new DWORD. Name this ShowSecurityPage and give it a value of 1 (Decimal) Close Registry. &lt;br /&gt;&lt;br /&gt;2. In ESM, right click your Exchange Org name at the root and select properties and click security tab.&lt;br /&gt;&lt;br /&gt;- You should see Exchange Domain Servers for each domain that you host. This group contains Exchange servers from each domain and gives access to the Exchange Configuration container in AD. The Exchange Domain Servers should also be a member of the Exchange Enterprise Servers Domain local security group.&lt;br /&gt;&lt;br /&gt;- Authenticated Users should have special permissions (Read Properties and List Object)&lt;br /&gt;&lt;br /&gt;- Everyone should have Create Named Properties in Information Store, Create Public Folder, Read, Execute, Read Permissions, List Contents, Read Properties, List Object&lt;br /&gt;&lt;br /&gt;Note: By default all Users and Groups listed should have deny set for Send As and Receive as rights except for Exchange Domain Servers. &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115751349343441649?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115751349343441649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115751349343441649' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115751349343441649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115751349343441649'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-default-permissions-on.html' title='Exchange: Default Permissions on Exchange Organization'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115751292447159212</id><published>2006-09-05T20:07:00.000-07:00</published><updated>2006-09-05T20:22:04.623-07:00</updated><title type='text'>Outlook: Demystifying Outlook Cached Mode</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Outlook 2003 provides a neat feature called Cached Mode. When running Outlook 2003 in Cached Mode, you have the option to download all messages to a local .OST file (similar to a .PST). Thus most of your Outlook tasks is performed locally rather than from your MB that's stored on the server side. This reduces server load and network bandwidth. The following provides list provides an overall picture of running Outlook in Cached Mode.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Reduce server load and network bandwidth since tasks/operations are performed locally.&lt;br /&gt;&lt;br /&gt;2. You have the option to download all messages when starting Cached Mode or to download only headers such as in IMAP&lt;br /&gt;&lt;br /&gt;3. If network connectivity is lost, you still have access to existing content.&lt;br /&gt;&lt;br /&gt;4. Some features are still performed on the server side such as Out of Office messages and processing of Outlook rules&lt;br /&gt;&lt;br /&gt;5. A common issue user's experience is not getting a real time Global Address List. For example, if a new user is created, a user in Cached Mode may not see this new user in the Global Address Book. This is because when in Cached Mode, you download a copy of the GAL once a day which is by default. You can force to re-download the GAL through Outlook Send\Receive settings. Another option is to use a registry hack &lt;br /&gt;&lt;br /&gt;HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\Cached Mode&lt;br /&gt;&lt;br /&gt;Value name: ANR Include Online GAL&lt;br /&gt;Value type: REG_DWORD&lt;br /&gt;Value: 1 (1=enabled, 0=disabled)&lt;br /&gt;&lt;br /&gt;Additional Resources with GAL and OAB&lt;br /&gt;&lt;br /&gt;How to configure how the Offline Address Book is downloaded when you use Outlook 2003 in Cached Exchange Mode&lt;br /&gt;http://support.microsoft.com/kb/823580&lt;br /&gt;&lt;br /&gt;Administering the Offline Address Book in Outlook 2003&lt;br /&gt;http://support.microsoft.com/kb/823580&lt;br /&gt;&lt;br /&gt;6. Outlook Cached Mode works best with MB's less than 1GB in size.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115751292447159212?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115751292447159212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115751292447159212' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115751292447159212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115751292447159212'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/outlook-demystifying-outlook-cached.html' title='Outlook: Demystifying Outlook Cached Mode'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115732352607022305</id><published>2006-09-03T14:25:00.000-07:00</published><updated>2008-01-22T13:44:49.131-08:00</updated><title type='text'>Exchange: Exporting and Querying Message Tracking Logs Using Log Parser</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Exchange Message Tracking utility is a great feature which enables administrators to track message flow for troubleshooting or verification. To enable message tracking, you must go into the properties of the server in Exchange System Manager. In ESM (Exchange System Manager) expand your administrative group, servers, highlight your server, right click properties. Here, you see the option to enable message tracking. In Exchange 2003 you can specify the directory on this pane as to where you want to store these message tracking log files. For 2000 these logs are stored in your Program Files\Exchsrvr\ExServer1.log directory. If you wish to change the location, follow the KB article at the end of this article. When using this tool from ESM, the information is gathered from these message tracking logs. If you were to open these log files, you can see that it is very difficult to read and the message tracking tool in ESM does not give you the option to pipe the results in a file. This article will go over how to export the contents of the message tracking log file to a more friendly text file using Log Parser utility. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Export Exchange Message Tracking Log to a CSV File using Log Parser&lt;br /&gt;&lt;br /&gt;1. Download LogParser 2.2 &lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en&lt;br /&gt;&lt;br /&gt;Note: You can also use the Log Parser GUI but is very limited. You can download the GUI version from: http://www.logparser.com/simpleLPview00.zip&lt;br /&gt;&lt;br /&gt;If you wish to use the GUI version, copy all DLLs and EXE files to the your system32 folder and run the LPview00.exe from the system32 folder. (The following steps below assume that you are working with the CLI version.&lt;br /&gt;&lt;br /&gt;2. Once you have download Logparser 2.2, go to Start Menu, Programs, Log Parser 2.2, Log Parser 2.2. This will launch a command prompt. &lt;br /&gt;&lt;br /&gt;3. Now you can run SQL statements against the message tracking log file. The example below will query any entry where the recipient address is user1@company.com and export it to a text file called export.txt&lt;br /&gt;&lt;br /&gt;C:\Program Files\Log Parser 2.2&gt;logparser -q -i:w3c "SELECT* FROM c:\temp2\log.log&lt;br /&gt;WHERE Recipient-Address like `user1@company'" &gt; c:\export.txt&lt;br /&gt;&lt;br /&gt;I will have more sample SQL queries soon so check back! If you wish to request a specific SQL query, you can email from.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;LogParser References&lt;br /&gt;www.logparser.com&lt;br /&gt;http://www.securityfocus.com/infocus/1712.&lt;br /&gt;&lt;br /&gt;How to change the location of the message tracking logs in Exchange 2000 Server&lt;br /&gt;http://support.microsoft.com/kb/317700/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115732352607022305?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115732352607022305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115732352607022305' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115732352607022305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115732352607022305'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-exporting-and-querying.html' title='Exchange: Exporting and Querying Message Tracking Logs Using Log Parser'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115724613709305191</id><published>2006-09-02T17:50:00.000-07:00</published><updated>2006-09-02T18:15:37.913-07:00</updated><title type='text'>Exchange: Perfmon Exchange Counters Missing</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;When launching Windows Performance Monitor and scrolling through the Performance Object list, no MS Exchange counters are present. In this instance there are two common issues. One, the Exchange performance counter respository has been disabled and is just not viewable. Second, the performance counter may be corrupted, missing and just needs to be re-built. The Exchange performance counters are in the .ini files within the Exchange Bin directory. To correct the issue start with resolution 1. If this does not correct the issue, rebuild the repository in resolution 2.&lt;br /&gt;&lt;br /&gt;Resolution 1.&lt;br /&gt;&lt;br /&gt;In some instances, performance counters are just disabled from view. In order to check the status to see if the counter is enabled or disabled, you can use EXCtrlst from the Windows 2000 Resource Kit. &lt;br /&gt;&lt;br /&gt;Download Resource Kit&lt;br /&gt;http://www.dynawell.com/support/ResKit/winnt.asp&lt;br /&gt;&lt;br /&gt;ExCtrLst - Extensible Performance Counter List &lt;br /&gt;This tool provides information on the Extensible Performance Counter DLLs that have been installed on a computer running Windows 2000\2003, listing the services and applications that provide performance information via the Windows 2000 registry. &lt;br /&gt;&lt;br /&gt;1. Save the ExCtrlst to your C:\ drive. Double click the file Exctrlst.exe&lt;br /&gt;&lt;br /&gt;2. This will launch the Extensible Counter List Window&lt;br /&gt;&lt;br /&gt;3. Scroll through the list until you see your Program Files\Exchsrvr\Bin directory. This will list all the Exchange counters. Highlight it and towards the bottom, see if the performance counter enabled is checked. &lt;br /&gt;&lt;br /&gt;4. If the counters are already enabled, then procedure to resolution 2. &lt;br /&gt;&lt;br /&gt;Resolution 2&lt;br /&gt;&lt;br /&gt;This procedure will go over rebuilding the Exchange performance counter libraries.&lt;br /&gt;&lt;br /&gt;1. Go to your command prompt, Start Run, CMD, Ok.&lt;br /&gt;&lt;br /&gt;2. C:\&gt;lodctr.exe /r (This will rebuild all performance counters. Wait a few mins for it to rebuild and close and re-open Performance Monitor. If the Exchange counters do not appear go to step 3.&lt;br /&gt;&lt;br /&gt;3. Try to rebuild each Exchange counter manually. For example, if you want to rebuild the imap counters&lt;br /&gt;&lt;br /&gt;C:\&gt;lodctr.exe imap4ctrs.ini&lt;br /&gt;&lt;br /&gt;You can view all the counter ini file names by going to your Program Files\Exchsrvr\Bin directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115724613709305191?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115724613709305191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115724613709305191' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115724613709305191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115724613709305191'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-perfmon-exchange-counters.html' title='Exchange: Perfmon Exchange Counters Missing'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115715542159939007</id><published>2006-09-01T16:46:00.000-07:00</published><updated>2006-11-17T19:02:13.636-08:00</updated><title type='text'>Exchange: Export SMTP Relay List</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;There may come a time where you wish to export your allowed relay list in your SMTP virtual server. There is nothing in the SMTP Virtual server that can export the list. This can become encumbersome if your organization maintains a long list of relay hosts. I first approached this by trying to perform an LDIFDE query for the SMTP VS object in ADSIEDIT.&lt;br /&gt;&lt;br /&gt;CN=1,CN=SMTP,CN=Protocols,CN=EXC03,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=MSexchange911,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Msexchange911,DC=net&lt;br /&gt;&lt;br /&gt;However after reviewing the output and viewing the msExchSMTPRelayIPList I noticed that the output was in octet format.&lt;br /&gt;&lt;br /&gt;msExchSmtpRelayIpList::&lt;br /&gt;GAAAgCAAAIA8AACARAAAgAEAAABMAAAAAAAAAAAAAAAB&lt;br /&gt;AAAAAQAAAAIAAAACAAAABAAAAAAAAABMAA&lt;br /&gt;CAAAAAAAAAAAAAAAAAAAAAAP////8CAgIC&lt;br /&gt;&lt;br /&gt;After doing some research, I came across the following KB article which converts different string formats.&lt;br /&gt;&lt;br /&gt;SAMPLE: ARRAYCONVERT.EXE Variant Conversion Functions&lt;br /&gt;http://support.microsoft.com/kb/q250344/&lt;br /&gt;&lt;br /&gt;After some testing, I could not get this to work. I came across another utility from the Exchange 2000 resource kit called IPSec.vbs. This script has a wide variety of functions to manage your IP Security settings including exporting your relay list. To export the relay list using IPSec.vbs:&lt;br /&gt;&lt;br /&gt;1. Download IPSec.vbs&lt;br /&gt;&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;/[ James Chong Scripts ]&lt;br /&gt;&lt;br /&gt;Download the entire folder ExIPSecurity and save it to your C:&lt;br /&gt;2. Open command prompt and go to your ExIPSecurity directory.&lt;br /&gt;&lt;br /&gt;3. C:\ExIPSecurity&gt;regsvr32 exipsec.dll&lt;br /&gt;&lt;br /&gt;4. C:\ExIPSecurity&gt;cscript ipsec.vbs -s Exchangeserver -o e -r relay -d DCServername &gt; c:\ExIPSecurity\relaylist.txt&lt;br /&gt;&lt;br /&gt;This will export the relay list to a relaylist.txt file.&lt;br /&gt;&lt;br /&gt;Other useful tips using IPsec.vbs&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;Ipsec.vbs -d dc1 -o e -r connection&lt;br /&gt;Ipsec.vbs -d dc1 -o a -r relay -v 127.0.0.1&lt;br /&gt;Ipsec.vbs -d dc1 -o a -r accept -v 123.123.123.0 -m 255.255.255.0&lt;br /&gt;Ipsec.vbs -d dc1 -s server1 -o d -r connection -t domain -v domain1&lt;br /&gt;Ipsec.vbs -d dc1 -s server1 -o c -r deny&lt;br /&gt;Ipsec.vbs -d dc1 -i 2 -o s -r relay -g grant&lt;br /&gt;&lt;br /&gt;Note that options '-o s' and '-t domain' are not allowed in global accept/deny lists.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115715542159939007?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115715542159939007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115715542159939007' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115715542159939007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115715542159939007'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-export-smtp-relay-list.html' title='Exchange: Export SMTP Relay List'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115713008087805349</id><published>2006-09-01T09:47:00.000-07:00</published><updated>2008-01-09T12:50:18.733-08:00</updated><title type='text'>Exchange: Event Monitoring Via WMI (Backup Report)</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;In this article, I will provide a sample script to monitor event IDs and email the event to the specified email address. This sample code implements the use of WMI quering the Win32_NTLogEvent class for event ID 213. Event ID Source ESE 213 indicates the completion of Exchange Backups. If you do not see Event ID 213, you may be using a third party backup application that does not use the Exchange backup API. If this is the case, you will need to identify the event ID that your third party application uses.&lt;br /&gt;&lt;br /&gt;The script will email out so you will need to specify your SMTP server in this script. &lt;br /&gt;&lt;br /&gt;Note: You can use built in Windows command eventcreate.exe to simulate event to test.&lt;br /&gt;&lt;br /&gt;Event ID 213&lt;br /&gt;Information Store (4168) TEST.NET: The backup procedure has been successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Modify the portion of the script to specify the source and destination email addresses to send from and to.&lt;br /&gt;&lt;br /&gt;2. Copy the contents below and name the file eventmon.vbs&lt;br /&gt;&lt;br /&gt;3. Double Click the file. It will continously monitor for the event 213. Therefore you will see wscript process running in task manager process tab. To terminate the job, click end task.&lt;br /&gt;&lt;br /&gt;Note: You can download this file from ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;/[ James Chong Scripts ]&lt;br /&gt;&lt;br /&gt;set objEmail = CreateObject("CDO.Message")&lt;br /&gt;&lt;br /&gt;'strComputer=Inputbox("Enter the computer name you want to monitor")&lt;br /&gt;'if strcomputer="" then&lt;br /&gt;strComputer = "."&lt;br /&gt;'end if&lt;br /&gt;&lt;br /&gt;set objwmiservice=getobject("winmgmts://" &amp;strcomputer &amp;"/root/cimv2")&lt;br /&gt;&lt;br /&gt;strwql="select * " &amp; _&lt;br /&gt;"from __instancecreationevent " &amp; _&lt;br /&gt;"where targetinstance isa 'Win32_NTLogEvent' " &amp; _&lt;br /&gt;"and targetinstance.eventcode = '213' "&lt;br /&gt;&lt;br /&gt;set objeventsource=objwmiservice.execnotificationquery(strwql)&lt;br /&gt;&lt;br /&gt;wscript.echo "waiting for an event to happen on " &amp;strcomputer&lt;br /&gt;&lt;br /&gt;While True&lt;br /&gt;set objeventobject=objeventsource.nextevent()&lt;br /&gt;objEmail.Subject = objEventobject.TargetInstance.ComputerName &amp; _&lt;br /&gt;objEventobject.TargetInstance.logfile &amp; "\" &amp; _&lt;br /&gt;objEventobject.TargetInstance.sourcename&lt;br /&gt;objEmail.From = "admin@mydomain.com"&lt;br /&gt;objEmail.To = "admins@mydomain.com"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;objEmail.Textbody = "Computer Name: " &amp; _&lt;br /&gt;objEventobject.TargetInstance.ComputerName &amp; _&lt;br /&gt;"Notification E-Mail from Automated windows event monitoring script." &amp; vbcrlf _&lt;br /&gt;&amp; " Event Type: " &amp; objEventobject.TargetInstance.type &amp; vbcrlf _&lt;br /&gt;&amp; " Event ID: " &amp; objEventobject.TargetInstance.eventcode &amp;vbcrlf _&lt;br /&gt;&amp; " Event source: " &amp; objEventobject.TargetInstance.sourcename &amp; vbcrlf _&lt;br /&gt;&amp; " Event Log: " &amp; objEventobject.TargetInstance.logfile &amp; vbcrlf _&lt;br /&gt;&amp; " Event Time: " &amp; objEventobject.TargetInstance.timewritten &amp; vbcrlf _&lt;br /&gt;&amp; "The Event Err details are :- " &amp; vbcrlf _&lt;br /&gt;&amp; objEventobject.TargetInstance.Message&lt;br /&gt;&lt;br /&gt;'==This section provides the configuration information for the remote SMTP server.&lt;br /&gt;'==Normally you will only change the server name or IP.&lt;br /&gt;objemail.Configuration.Fields.Item _&lt;br /&gt;("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 &lt;br /&gt;&lt;br /&gt;'Name or IP of Remote SMTP Server&lt;br /&gt;objemail.Configuration.Fields.Item _&lt;br /&gt;("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.mydomain.com"&lt;br /&gt;&lt;br /&gt;'Server port (typically 25)&lt;br /&gt;objemail.Configuration.Fields.Item _&lt;br /&gt;("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 &lt;br /&gt;&lt;br /&gt;objemail.Configuration.Fields.Update&lt;br /&gt;&lt;br /&gt;'==End remote SMTP server configuration section==&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;objEmail.Send&lt;br /&gt;&lt;br /&gt;Wend&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115713008087805349?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115713008087805349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115713008087805349' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115713008087805349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115713008087805349'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/09/exchange-event-monitoring-via-wmi.html' title='Exchange: Event Monitoring Via WMI (Backup Report)'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115708153210661030</id><published>2006-08-31T20:16:00.000-07:00</published><updated>2006-08-31T20:32:12.316-07:00</updated><title type='text'>Blackberry: Optimizing Blackberry For Enterprise Class Environments</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Blackberry has become a very popular application providing mobile messaging services. In this article, I will go over how to design and optimize your Blackberry environment in conjunction with Exchange.&lt;br /&gt;&lt;br /&gt;Blackberry is a very time sensitive application. Each second of latency from your BES (Blackberry Enterprise Server) to your Exchange server has an exponential affect in delivery times for messages. Therefore it is critical that your BES server and Exchange server are in close proximity (LAN) with ping response times of less than 35ms. In BES environments, the following holds true, "One bad apple ruins the bunch." What this means is that if your BES server communicates with multiple Exchange servers and one of those Exchange servers is on a high latency link above 35ms, then everyone suffers the latency affect. Therefore; follow the best practices below.&lt;br /&gt;&lt;br /&gt;1. Configure your BES servers to communicate with the fewest number of Exchange servers as possible. For example, if you have 3 BES servers and 3 Exchange servers, configure BES1 to only host users on EX1, BES2 to EX2 and BES3 to EX3, rather than a full mesh environment.&lt;br /&gt;&lt;br /&gt;2. What about if you hosts many Exchange servers which are geographically dispersed? Ideally you want to host your BES server in the same LAN as the Exchange server it hosts. However, if your organization hosts all it's BES servers in one location say HQ, and has Exchange servers geographically dispersed, design your BES according to the following:&lt;br /&gt;&lt;br /&gt;Classify your Exchange servers in 3 tiers based on ping times from the BES servers. Classify your low latency Exchange servers &lt;35ms in tier1, &gt;35 to &lt;60ms tier2, &gt;60ms tier3. Now you want to follow the "One bad apple ruins the bunch" approach. Therefore, have one of your BES only hosts tier1 Exchange servers, another BES only host tier2 Exchange servers and another BES host tier3 users. &lt;br /&gt;&lt;br /&gt;Depending on the size of your environment, number of BES servers and Exchange servers, you can classify the tiers anyway that suits your environment as long as you follow the "One bad apple ruins the bunch" approach.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115708153210661030?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115708153210661030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115708153210661030' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115708153210661030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115708153210661030'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/blackberry-optimizing-blackberry-for.html' title='Blackberry: Optimizing Blackberry For Enterprise Class Environments'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115707313325920279</id><published>2006-08-31T18:02:00.000-07:00</published><updated>2006-11-17T19:03:17.526-08:00</updated><title type='text'>Exchange: How To View All Registered Event Sinks</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;In this article, I will go over how to view all registered event sinks within Exchange. Event sinks are basically a sub-routine that is fired at specific points in the message flow such as during transport. Most event sinks fire just before the message categorizer and right after. However, there are also sinks that run during message transfer. Many Exchange aware AV products register event sinks within Exchange. For example, before a message is sent to the categorizer, it is sent to the pre-submission queue where it is scanned for viruses or verified against the GAL. Other types of event sinks could be email disclaimers that are attached to say all outbound e-email or custom sinks that are fired based on rules you specify.&lt;br /&gt;&lt;br /&gt;There may come a time where you need to view all registered event sinks. For example, you may have inherited an Exchange Server and which a previous admin may have registered custom event sinks that you are unaware of. In other circumstances, I've seen where products specifically AV software, in which the application was removed but the event sink was still registered and caused mail flow issues in which messages were stuck in the pre-submission queued.&lt;br /&gt;&lt;br /&gt;To view all registered event sinks, follow the procedure below:&lt;br /&gt;&lt;br /&gt;1. You need to download the smtpreg.vbs which you can get from the link below. I have heard that this file is also included in the Exchange SDK, but did not appear to be when I installed the SDK. You can also download the smtpreg.vbs from:&lt;br /&gt;&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;/Scripts/&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/6b7a017e-981e-45a1-8690-17ff26682bc7.asp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Once you have the smtpreg.vbs file, copy it to the root of your C:&lt;br /&gt;2. Open command prompt, start run, cmd.&lt;br /&gt;&lt;br /&gt;3. Type the following: C:\cscript smtpreg.vbs /enum&lt;br /&gt;&lt;br /&gt;To pipe to a text file to easy viewing type:&lt;br /&gt;&lt;br /&gt;C:\cscript smtpreg.vbs /enum &gt; c:\file.txt&lt;br /&gt;&lt;br /&gt;4. To remove the event sink. Go to your command prompt.&lt;br /&gt;&lt;br /&gt;C:\cscript smtpreg.vbs /remove 1 sinkclass sinkname&lt;br /&gt;&lt;br /&gt;1 = SMTP Virtual Service&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Sometimes duplicate sinks are registered. In this event, you will need to run this more than once. Re-run step 3 and verify the sink has been removed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Another Method to view all event sinks is to download the Exchange SDK and launch Exchange Explorer.&lt;br /&gt;&lt;br /&gt;Exchange SDK&lt;br /&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=4AFE3504-C209-4A73-AC5D-FF2A4A3B48B7&amp;amp;displaylang=en&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115707313325920279?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115707313325920279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115707313325920279' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115707313325920279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115707313325920279'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-how-to-view-all-registered.html' title='Exchange: How To View All Registered Event Sinks'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115695754444783536</id><published>2006-08-30T09:45:00.000-07:00</published><updated>2006-08-30T19:32:18.183-07:00</updated><title type='text'>Exchange: Export GAL Using CSVDE</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;One common request is "How do I export the contents of the GAL?" Unfortunately there are no native tools that simply export the contents without some work. There are some third party tools such as IMI GAL Exporter ver.3 which you can purchase for a few bucks. I have tested their trial version is appears to be a very neat utility. The other option is to use LDIFDE and CSVDE. Unfortunately, you have to know all the attributes listed in the GAL so you can export them out. I have provided the following CSVDE command to export most if not all the attributes in the GAL.&lt;br /&gt;&lt;br /&gt;From a command prompt type the following command.Substitute the following string&lt;br /&gt;&lt;br /&gt;"dc=corp,dc=company,dc=net" with your Fully Qualified Domain Name. Use Excel to open the file when complete.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\&gt;csvde -r "(objectClass=user)" -d "dc=corp,dc=company,dc=net" -l disp&lt;br /&gt;layname,title,description,company,department,assistant,&lt;br /&gt;physicaldeliveryofficename,telephoneNumber,othertelephone,&lt;br /&gt;mail,streetaddress,postofficebox,l,st,postalcode,co,homephone,&lt;br /&gt;otherhomephone,pager,otherpager,mobile,othermobile,&lt;br /&gt;facsimileTelephoneNumber,info,manager,memberOf -f c:\gal.csv&lt;br /&gt;&lt;br /&gt;Connecting to "DC1.corp.company.net"&lt;br /&gt;Logging in as current user using SSPI&lt;br /&gt;Exporting directory to file c:\gal.csv&lt;br /&gt;Searching for entries...&lt;br /&gt;Writing out entries.............................................................&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115695754444783536?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115695754444783536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115695754444783536' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115695754444783536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115695754444783536'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-export-gal-using-csvde.html' title='Exchange: Export GAL Using CSVDE'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115689592741809072</id><published>2006-08-29T16:24:00.000-07:00</published><updated>2006-08-29T17:12:01.506-07:00</updated><title type='text'>Exchange: Blackberry + Large MBs = Recipe for Latency</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Blackberry is a very resource intensive application and is known to be a very "chatty" application. I've heard BES (Blackberry Enterprise Server) is known to produce 5-6 times as much MAPI traffic as an average client, but never came across any documentation as to how this was figure was formulated. However, I have seen BES in conjunction with large mailboxes (1GB+) cause an exponential affect as far as performance degradation. Take the following case scenario below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case Scenario:&lt;br /&gt;&lt;br /&gt;In this scenario, users were reporting "Outlook is requesting data" pop ups frequently. This would occur for BES users as well as non BES users. Now to give you the specifics of the hardware platform:&lt;br /&gt;&lt;br /&gt;Hardware:&lt;br /&gt;Proliant BL20P G2 (Backended to a SAN)&lt;br /&gt;2 Quad Proc 2Ghz &lt;br /&gt;4GB RAM&lt;br /&gt;&lt;br /&gt;OS:&lt;br /&gt;Windows 2003 Ent&lt;br /&gt;Exchange 2003 Ent&lt;br /&gt;&lt;br /&gt;This server hosted approximately 350 users and was originally sized to support 3,000 users. However, users were already complaining about Outlook latency. &lt;br /&gt;&lt;br /&gt;Exchange Performance Analyzer, reported high RPC activity which was the source of the latency. No other bottlenecks were reported. We investigated disk I\O, memory, CPU and everything reported normal. &lt;br /&gt;&lt;br /&gt;We consulted with our Microsoft ASE. The culprit was our BES users in which this server hosted approximately 186 with about half of them having mailboxes at 1GB and over. However, the size of the mailbox is not what causes the latency but specifically the number of items in your Outlook folders. This is because the more items you have, the more likelyhood that these items are stored in mutiple tables and pages within the database. Therefore, Exchange has to traverse this tree in order to link and process operations such as categorized views. Now large mailboxes in conjunction with BES, which is a very resource intensive application was a perfect "RECIPE FOR LATENCY" I've also seen desktop search engines also cause a similar affect in which 20 users running Google Desktop Search Engine caused the Exchange Store.exe process jump from a 2%cpu baseline to 17%cpu baseline. &lt;br /&gt;&lt;br /&gt;What we ended up doing was to export the item count for all users on this server user PFDavadmin, (I have a blog on this referenced at bottom) and then filtered for users who had more than 10000 items. (Choose the figure that you want to work with) We then had users clean out their mailboxes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Outlook users experience poor performance when they work with a folder that contains many items on a server that is running Exchange Server 2003 or Exchange 2000 Server&lt;br /&gt;http://support.microsoft.com/?id=905803&lt;br /&gt;&lt;br /&gt;Exchange: Exporting Mailbox Properties Using PfdavAdmin &lt;br /&gt;http://msexchangetips.blogspot.com/2006_08_01_msexchangetips&lt;br /&gt;_archive.html&lt;br /&gt;&lt;br /&gt;Microsoft Exchange Analyzers&lt;br /&gt;http://www.microsoft.com/technet/prodtechnol/exchange&lt;br /&gt;/downloads/2003/analyzers/default.mspx&lt;br /&gt;&lt;br /&gt;Exchange 2000 Server and Exchange Server 2003 performance may be affected when desktop search engine software is running on Outlook or other MAPI client computers&lt;br /&gt;http://support.microsoft.com/?id=905184&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115689592741809072?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115689592741809072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115689592741809072' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115689592741809072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115689592741809072'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-blackberry-large-mbs-recipe.html' title='Exchange: Blackberry + Large MBs = Recipe for Latency'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115680667305399569</id><published>2006-08-28T16:05:00.000-07:00</published><updated>2006-11-17T19:04:00.056-08:00</updated><title type='text'>Exchange: Exporting SMTP Proxies Part 2</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;The following script will export SMTP proxies from the specific OU's that you designate rather than exporting the entire domain.&lt;br /&gt;&lt;br /&gt;You can also download this file from our ftp site at:&lt;br /&gt;&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;/[ James Chong Scripts ]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim x, zz&lt;br /&gt;Set objRoot = GetObject("LDAP://RootDSE")&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;Set txtstream = fso.CreateTextFile("c:\testfile.txt", True)&lt;br /&gt;strDNC = objRoot.Get("DefaultNamingContext")&lt;br /&gt;Set objOU = GetObject("LDAP://cn=users,dc=corp,dc=company,dc=net")&lt;br /&gt;Call enummembers(objOU)&lt;br /&gt;Set objOU = GetObject("LDAP://cn=builtin,dc=corp,dc=company,dc=net")&lt;br /&gt;Call enummembers(objOU)&lt;br /&gt;&lt;br /&gt;Call enummembers(objOU)&lt;br /&gt;Sub enumMembers(objOU)&lt;br /&gt;On Error Resume Next&lt;br /&gt;Dim Secondary(20) ' Variable to store the Array of 2ndary email alias's&lt;br /&gt;For Each objMember In objOU ' go through the collection&lt;br /&gt;&lt;br /&gt;If ObjMember.Class = "user" Then ' if not User object, move on.&lt;br /&gt;&lt;br /&gt;' I set AD properties to variables so if needed you could do Null checks or add if/then's to this code&lt;br /&gt;' this was done so the script could be modified easier.&lt;br /&gt;&lt;br /&gt;EmailAddr = objMember.mail&lt;br /&gt;&lt;br /&gt;zz = 1 ' Counter for array of 2ndary email addresses&lt;br /&gt;For each email in ObjMember.proxyAddresses&lt;br /&gt;If Left (email,5) = "SMTP:" Then&lt;br /&gt;Primary = Mid (email,6) ' if SMTP is all caps, then it's the Primary&lt;br /&gt;ElseIf Left (email,5) = "smtp:" Then&lt;br /&gt;Secondary(zz) = Mid (email,6) ' load the list of 2ndary SMTP emails into Array.&lt;br /&gt;zz = zz + 1&lt;br /&gt;End If&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;txtstream.write Primary &amp; vbcrlf&lt;br /&gt;&lt;br /&gt;' Write out the Array for the 2ndary email addresses.&lt;br /&gt;For ll = 1 To 20&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;txtstream.write Secondary(ll) &amp;amp; vbcrlf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;' Blank out Variables in case the next object doesn't have a value for the property&lt;br /&gt;&lt;br /&gt;Primary = "-"&lt;br /&gt;For ll = 1 To 20&lt;br /&gt;Secondary(ll) = ""&lt;br /&gt;Next&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;' If the AD enumeration runs into an OU object, call the Sub again to itinerate&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If objMember.Class = "organizationalUnit" or OBjMember.Class = "container" Then&lt;br /&gt;enumMembers (objMember)&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;txtstream.close&lt;br /&gt;&lt;br /&gt;Const ForReading = 1&lt;br /&gt;Const ForWriting = 2&lt;br /&gt;&lt;br /&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;Set objFile = objFSO.OpenTextFile("C:\Testfile.txt", ForReading)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do Until objFile.AtEndOfStream&lt;br /&gt;strLine = objFile.Readline&lt;br /&gt;strLine = Trim(strLine)&lt;br /&gt;If Len(strLine) &gt; 0 Then&lt;br /&gt;strNewContents = strNewContents &amp; strLine &amp;amp; vbCrLf&lt;br /&gt;End If&lt;br /&gt;Loop&lt;br /&gt;&lt;br /&gt;objFile.Close&lt;br /&gt;&lt;br /&gt;Set objFile = objFSO.OpenTextFile("C:\Testfile.txt", ForWriting)&lt;br /&gt;objFile.Write strNewContents&lt;br /&gt;objFile.Close&lt;br /&gt;&lt;br /&gt;MsgBox "Done" ' show that script is complete&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115680667305399569?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115680667305399569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115680667305399569' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115680667305399569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115680667305399569'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-exporting-smtp-proxies-part-2.html' title='Exchange: Exporting SMTP Proxies Part 2'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115680486511586717</id><published>2006-08-28T15:25:00.000-07:00</published><updated>2006-08-28T15:45:11.426-07:00</updated><title type='text'>Exchange: LDIFDE Export Members of Distribution List</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;This article will go over how to export members of a distribution list using LDIFDE.&lt;br /&gt;&lt;br /&gt;There is MS KB article: http://support.microsoft.com/?kbid=555365&lt;br /&gt;How to export the members of a distribution group in Exchange 2000/2003 using LDIFDE&lt;br /&gt;which provides a sample of an LDIFDE command to export the properties. &lt;br /&gt;&lt;br /&gt;ldifde -f export.ldf -d "cn=\Partners,ou=users,dc=microsoft,dc=com" -l member -s DC01&lt;br /&gt;&lt;br /&gt;However, when you run the command, you receive no entries found:&lt;br /&gt;&lt;br /&gt;Connecting to "DC01"&lt;br /&gt;Logging in as current user using SSPI&lt;br /&gt;Exporting directory to file export.ldf&lt;br /&gt;Searching for entries...&lt;br /&gt;Writing out entries&lt;br /&gt;No Entries found&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;Remove the slash in "cn=\" &lt;br /&gt;&lt;br /&gt;In order to exporting any property for this user, you need to get the full DN. In order to get the full DN. Perform the following steps.&lt;br /&gt;&lt;br /&gt;1. Start, Run, Adsiedit.msc (Part of Windows Server Support Tools)&lt;br /&gt;2. Expand your Domain. This should mimic your OU structure. &lt;br /&gt;3. Expand through your OU tree until you locate your group.&lt;br /&gt;4. Once you have located your group CN=Group Name, right click properties.&lt;br /&gt;5. Locate the attribute DistinguisedName and double click.&lt;br /&gt;6. Copy the entire string which should be in the following format:&lt;br /&gt;   CN=My Group Name,CN=Users,DC=corp,DC=domain,DC=net&lt;br /&gt;7. Enter in the following LDIFDE command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\user&gt;ldifde -f exportgroup.ldf -s MYDC -d &lt;br /&gt;"cn=my group,cn=users,dc=corp,dc=redcross,dc=net" -l "member"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: if you would like to get more information other than group membership here is an example command:&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\user&gt;ldifde -f exportgroup.ldf -s MYDC -d &lt;br /&gt;"cn=my group,cn=users,dc=corp,dc=redcross,dc=net" -l "dn, givenname, department, member"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115680486511586717?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115680486511586717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115680486511586717' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115680486511586717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115680486511586717'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-ldifde-export-members-of.html' title='Exchange: LDIFDE Export Members of Distribution List'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115638890629132385</id><published>2006-08-23T20:00:00.000-07:00</published><updated>2006-08-23T20:08:26.430-07:00</updated><title type='text'>Exchange: Attachments Gets Converted to ATT###.txt</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;A user in your organization reports that attachments sent to him from an external party, is coming in as ATT###.txt&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;In this scenario, a user called in stating that an attachment that was sent from an external party Excite.com is coming in as ATT###.txt. What we found out in this scenario is that the external contact was not composing a new message in Excite, but he was actually fowarding a message that he received in his Excite account to our internal user. When the external user composed a new message from his Excite account with an attachment, the internal user was able to receive the message. However, if the Excite user was to foward a message with an attachment to our internal user it would come in the format as ATT###.txt.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The way an existing mail with attachment is encoded by the messaging Server at Excite, causes the attachment to lose format. This may be caused by several other domains other than Excite.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115638890629132385?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115638890629132385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115638890629132385' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115638890629132385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115638890629132385'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-attachments-gets-converted-to.html' title='Exchange: Attachments Gets Converted to ATT###.txt'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115638742091548836</id><published>2006-08-23T19:35:00.000-07:00</published><updated>2006-08-23T19:43:48.873-07:00</updated><title type='text'>Exchange: Exmon Tracelog -stop "Exchange Event Trace" Produces Invalid option given: Event</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;When launching Exmon you receive "Unknown StartTrace error (183) This occurs because Exmon continues to collect data in an .ETL file although Exmon is not running. This file caps at 512MB. Once this is capped, Exmon cannot start because it cannot log any more data. &lt;br /&gt;&lt;br /&gt;You perfmon the following task to stop the trace&lt;br /&gt;&lt;br /&gt;From your resourcekit directory you type in the following command:&lt;br /&gt;&lt;br /&gt;C:\Programfiles\resourcekit&gt; Tracelog -stop “Exchange Event Trace”&lt;br /&gt;&lt;br /&gt;You immediately receive:&lt;br /&gt;&lt;br /&gt;Invalid option given: Event&lt;br /&gt;&lt;br /&gt;You then enter the following command:&lt;br /&gt;&lt;br /&gt;C:\Programfiles\resourcekit&gt; Tracelog -l&lt;br /&gt;&lt;br /&gt;The output shows that the "Exchange Event Trace" is running&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;This occurs because you pasted Tracelog -stop “Exchange Event Trace” into your command prompt. Re-type the command and it should terminate the trace.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115638742091548836?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115638742091548836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115638742091548836' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115638742091548836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115638742091548836'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-exmon-tracelog-stop-exchange.html' title='Exchange: Exmon Tracelog -stop &quot;Exchange Event Trace&quot; Produces Invalid option given: Event'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115635299321635921</id><published>2006-08-23T10:05:00.000-07:00</published><updated>2006-11-17T19:04:34.166-08:00</updated><title type='text'>Exchange: Query Mailbox Creation Timestamp</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Unlike user creation timestamp which could be queried in ADSIEDIT, mailbox creation time is not stored in AD. To query mailbox creation time you need to query the MAPI properties of the Mailbox. In the MAPI property of the Mailbox, you will see a property "PR_Creation_Time" This property shows the date the mailbox was created. However, if the mailbox was moved, this time will not reflect the original creation time but rather the last mailbox move. This is because a mailbox move essentially creates a new mailbox. There is a method to get the original mailbox timestamp by looking at PR_NTSDModificationTime property the root of the IPM_Subtree in your mailbox. This property is the last modification time of the security descriptor. This timestamp does not change because it is at the root and the user will not see this folder. However, if you were able to view this property say for your inbox, the time may not be the same depending on whether or not you chagned permissions on your inbox such as giving another user rights or delegation to that folder.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This information can be useful in instances where you need to restore a mailbox from backup to determine if the user resided in the server where you need to restore the tape to. This article will go over how to manually view these properties using MFCMAPI and secondly how using a script to query this out for all users on an Exchange server. I would like to thanks Glen Scales (Exchange MVP Developer) for helping to creating this script.&lt;br /&gt;&lt;br /&gt;Download all scritps from:&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp.smtp25.org&lt;/a&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Manually Checking the Mailbox Creation Date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Download MFCMAPI, also known as MAPI Editor. http://www.microsoft.com/downloads/details.aspx?FamilyID=55FDFFD7-1878-4637-9808-1E21ABB3AE37&amp;displaylang=en&lt;br /&gt;&lt;br /&gt;2. Launch MFCMAPI application. Click OK at the Microsoft Exchange Server MAPI Editor window. Click Session, and select Logon and Display Store Table.&lt;br /&gt;&lt;br /&gt;3. You will now be prompted to create a profile. Note, you must be logged in with an account and mailbox profile that has full rights to your Exchange server, otherwise you will receive the following error message below when we open the temp table.&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Code: MAPI_E_FAILONEPROVIDER === 0x8004011D&lt;br /&gt;Function&lt;br /&gt;File f:\df7830\extest\src\mfmapi\mapistorefunctions.cpp&lt;br /&gt;&lt;br /&gt;4. Once logged in, go to MDB menu, Open Other User's Mailbox. Select the Mailbox you wish to open from the GAL and click ok and click ok at the prompt.&lt;br /&gt;&lt;br /&gt;5. You will see a new dialog box with your mailbox name at the top. Highlight the root container. On the right pane, look for the following property&lt;br /&gt;&lt;br /&gt;Property: 0x3FD60040&lt;br /&gt;&lt;br /&gt;This is your orginal mailbox creation date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now to get last mailbox creation time such as when the mailbox was last moved to another store.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Highlight TOP of Information Store. On the right pane locate the following property:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PR_Creation_Time&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Now to script the original mailbox creation time by querying the PR_NTSDModificationTime at the root of the IPM_Subtree copy and paste the contents below into a text file and name that text file mborigtime.vbs. Save to C: drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;servername = wscript.arguments(0)&lt;br /&gt;PR_NTSDModificationTime = &amp;amp;H3FD60040&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;set wfile = fso.opentextfile("c:\admin\mbCreationTime.csv",2,true)&lt;br /&gt;wfile.writeline("Mailbox,CreationTime")&lt;br /&gt;set conn = createobject("ADODB.Connection")&lt;br /&gt;set com = createobject("ADODB.Command")&lt;br /&gt;Set iAdRootDSE = GetObject("LDAP://RootDSE")&lt;br /&gt;strNameingContext = iAdRootDSE.Get("configurationNamingContext")&lt;br /&gt;strDefaultNamingContext = iAdRootDSE.Get("defaultNamingContext")&lt;br /&gt;Conn.Provider = "ADsDSOObject"&lt;br /&gt;Conn.Open "ADs Provider"&lt;br /&gt;svcQuery = "&lt;ldap:&gt;Com.ActiveConnection = Conn&lt;br /&gt;Com.CommandText = svcQuery&lt;br /&gt;Set Rs = Com.Execute&lt;br /&gt;while not rs.eof&lt;br /&gt;GALQueryFilter = "(&amp;(&amp;amp;(&amp;(&amp;amp; (mailnickname=*)(!msExchHideFromAddressLists=TRUE)( (&amp;(objectCategory=person)(objectClass=user)(msExchHomeServerName=" &amp;amp; rs.fields("legacyExchangeDN") &amp; ")) )))))"&lt;br /&gt;strQuery = "&lt;ldap:&gt; com.Properties("Page Size") = 100&lt;br /&gt;Com.CommandText = strQuery&lt;br /&gt;Set Rs1 = Com.Execute&lt;br /&gt;while not Rs1.eof&lt;br /&gt;call procmailboxes(servername,rs1.fields("mail"))&lt;br /&gt;wscript.echo rs1.fields("mail")&lt;br /&gt;rs1.movenext&lt;br /&gt;wend&lt;br /&gt;rs.movenext&lt;br /&gt;wend&lt;br /&gt;rs.close&lt;br /&gt;wfile.close&lt;br /&gt;set fso = nothing&lt;br /&gt;set conn = nothing&lt;br /&gt;set com = nothing&lt;br /&gt;wscript.echo "Done"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub procmailboxes(servername,MailboxAlias)&lt;br /&gt;&lt;br /&gt;Set msMapiSession = CreateObject("MAPI.Session")&lt;br /&gt;on error Resume next&lt;br /&gt;msMapiSession.Logon "","",False,True,True,True,Servername &amp;amp; vbLF &amp; MailboxAlias&lt;br /&gt;if err.number = 0 then&lt;br /&gt;on error goto 0&lt;br /&gt;Set objInbox = msMapiSession.Inbox&lt;br /&gt;Set objInfostore = msMapiSession.GetInfoStore(objInbox.StoreID)&lt;br /&gt;Set objRootFolder = objInfostore.Rootfolder&lt;br /&gt;Set Non_IPM_rootFolder = msMapiSession.GetFolder(objRootfolder.fields.item(&amp;amp;h0E090102),objInfoStore.ID)&lt;br /&gt;&lt;br /&gt;Wscript.echo Non_IPM_rootFolder.fields.item(PR_NTSDModificationTime)&lt;br /&gt;wfile.writeline(mailboxAlias &amp; "," &amp;amp; Non_IPM_rootFolder.fields.item(PR_NTSDModificationTime))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;wscript.echo = "Error Opening Mailbox"&lt;br /&gt;wfile.writeline(mailboxAlias &amp; "," &amp;amp; "Error Opening Mailbox")&lt;br /&gt;end if&lt;br /&gt;Set msMapiSession = Nothing&lt;br /&gt;Set mrMailboxRules = Nothing&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Now open a command prompt. Go to:&lt;br /&gt;&lt;br /&gt;C:\&gt;mborigtime.vbs exservername&lt;br /&gt;&lt;br /&gt;This will query all the orginal mailbox creation time for your exchange server and put the results to&lt;br /&gt;&lt;br /&gt;C:\admin\mbCreationTime.csv&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Now to script the last time the mailbox was moved to another store by querying the PR_Creation_Time at the root of the IPM_Subtree copy and paste the contents below into a text file and name that text file lastmborigtime.vbs. Save to C: drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;servername = wscript.arguments(0)&lt;br /&gt;PR_Creation_Time = &amp;H30070040&lt;br /&gt;Set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;set wfile = fso.opentextfile("c:\admin\lastmbCreationTime.csv",2,true)&lt;br /&gt;wfile.writeline("Mailbox,CreationTime")&lt;br /&gt;set conn = createobject("ADODB.Connection")&lt;br /&gt;set com = createobject("ADODB.Command")&lt;br /&gt;Set iAdRootDSE = GetObject("LDAP://RootDSE")&lt;br /&gt;strNameingContext = iAdRootDSE.Get("configurationNamingContext")&lt;br /&gt;strDefaultNamingContext = iAdRootDSE.Get("defaultNamingContext")&lt;br /&gt;Conn.Provider = "ADsDSOObject"&lt;br /&gt;Conn.Open "ADs Provider"&lt;br /&gt;svcQuery = "&lt;ldap:&gt;Com.ActiveConnection = Conn&lt;br /&gt;Com.CommandText = svcQuery&lt;br /&gt;Set Rs = Com.Execute&lt;br /&gt;while not rs.eof&lt;br /&gt;GALQueryFilter = "(&amp;amp;(&amp;(&amp;amp;(&amp; (mailnickname=*)(!msExchHideFromAddressLists=TRUE)( (&amp;amp;(objectCategory=person)(objectClass=user)(msExchHomeServerName=" &amp; rs.fields("legacyExchangeDN") &amp;amp; ")) )))))"&lt;br /&gt;strQuery = "&lt;ldap:&gt; com.Properties("Page Size") = 100&lt;br /&gt;Com.CommandText = strQuery&lt;br /&gt;Set Rs1 = Com.Execute&lt;br /&gt;while not Rs1.eof&lt;br /&gt;call procmailboxes(servername,rs1.fields("mail"))&lt;br /&gt;wscript.echo rs1.fields("mail")&lt;br /&gt;rs1.movenext&lt;br /&gt;wend&lt;br /&gt;rs.movenext&lt;br /&gt;wend&lt;br /&gt;rs.close&lt;br /&gt;wfile.close&lt;br /&gt;set fso = nothing&lt;br /&gt;set conn = nothing&lt;br /&gt;set com = nothing&lt;br /&gt;wscript.echo "Done"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub procmailboxes(servername,MailboxAlias)&lt;br /&gt;&lt;br /&gt;Set msMapiSession = CreateObject("MAPI.Session")&lt;br /&gt;on error Resume next&lt;br /&gt;msMapiSession.Logon "","",False,True,True,True,Servername &amp; vbLF &amp;amp; MailboxAlias&lt;br /&gt;if err.number = 0 then&lt;br /&gt;on error goto 0&lt;br /&gt;Set objInbox = msMapiSession.Inbox&lt;br /&gt;Set objInfostore = msMapiSession.GetInfoStore(objInbox.StoreID)&lt;br /&gt;Set objRootFolder = objInfostore.Rootfolder&lt;br /&gt;Set Non_IPM_rootFolder = msMapiSession.GetFolder(objRootfolder.fields.item(&amp;h0E090102),objInfoStore.ID)&lt;br /&gt;&lt;br /&gt;Wscript.echo Non_IPM_rootFolder.fields.item(PR_Creation_Time)&lt;br /&gt;wfile.writeline(mailboxAlias &amp;amp; "," &amp; Non_IPM_rootFolder.fields.item(PR_Creation_Time))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;wscript.echo = "Error Opening Mailbox"&lt;br /&gt;wfile.writeline(mailboxAlias &amp;amp; "," &amp;amp; "Error Opening Mailbox")&lt;br /&gt;end if&lt;br /&gt;Set msMapiSession = Nothing&lt;br /&gt;Set mrMailboxRules = Nothing&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now open a command prompt. Go to:&lt;br /&gt;&lt;br /&gt;C:\&gt;lastmbcreationtime.vbs exservername&lt;br /&gt;&lt;br /&gt;This will query all the orginal mailbox creation time for your exchange server and put the results to&lt;br /&gt;&lt;br /&gt;C:\admin\lastmbCreationTime.csv&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115635299321635921?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115635299321635921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115635299321635921' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115635299321635921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115635299321635921'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-query-mailbox-creation.html' title='Exchange: Query Mailbox Creation Timestamp'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115630207409060779</id><published>2006-08-22T20:01:00.000-07:00</published><updated>2006-08-22T20:29:56.163-07:00</updated><title type='text'>Exchange: Block Host IP From Sending E-Mail</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;You identify a malicious host IP and wish to block all messages orginating from this host. For example Host A is sending a large volume of emails to your Exchange server. You want to block A's email IP address. If A resides in your Exchange&lt;br /&gt;Organization, A and your recipients will be MAPI clients. If A is a remote host from Internet, your recipients will be POP3 or IMAP4 clients.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Circumstance One&lt;br /&gt;===============&lt;br /&gt;If A is an internal client which resides in the same LAN, and you set&lt;br /&gt;Routing Group Connector to allow mail flow between two different sites,&lt;br /&gt;A will send email via the corresponding RGC. At this circumstance, you&lt;br /&gt;need to restrict the RGC to prevent A from sending email. If you set a&lt;br /&gt;SMTP Connector but not RGC, A will send email via the corresponding SMTP&lt;br /&gt;Virtual Server. At this circumstance, you need to restrict the SMTPVS to&lt;br /&gt;prevent A from sending email.&lt;br /&gt;&lt;br /&gt;Circumstance Two&lt;br /&gt;===============&lt;br /&gt;If A is an external client which comes from Internet, and you set SMTP&lt;br /&gt;Virtual Server to allow mail flow between your Exchange Organization and&lt;br /&gt;Internet, A will establish a SMTP session to your SMTPVS in order to&lt;br /&gt;send emails to your Exchange Server. At this circumstance, you need to&lt;br /&gt;set the connection control on your SMTPVS to prevent A from sending&lt;br /&gt;email.&lt;br /&gt;&lt;br /&gt;Note: You should disable the opening relay first.&lt;br /&gt;&lt;br /&gt;Understanding the above information, we can perform the following steps&lt;br /&gt;to block A's email IP address:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Circumstance with RGC, let's set the connection restriction on&lt;br /&gt;RGC:&lt;br /&gt;------------------------------------------------------------------------&lt;br /&gt;1. Open ESM, locate to Administrative Group\First Administrative&lt;br /&gt;Group\Routing Groups\First Routing Group\Connectors.&lt;br /&gt;&lt;br /&gt;2. In the right pane, right-click on a RGC, and open the "Properties"&lt;br /&gt;page.&lt;br /&gt;&lt;br /&gt;3. Click the "General" tab, and then choose "These servers can send&lt;br /&gt;mail over this connector".&lt;br /&gt;&lt;br /&gt;4. Click Add button, and then select your Exchange server with&lt;br /&gt;"Default SMTP Virtual Server".&lt;br /&gt;&lt;br /&gt;5. Click OK to add the server into the list.&lt;br /&gt;&lt;br /&gt;6. Click OK to save the changes.&lt;br /&gt;&lt;br /&gt;7. Configure the Connection Control on your SMTP Virtual Server to block User "A"&lt;br /&gt;&lt;br /&gt;8. Restart the SMTP service and Exchange Routing Engine service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Circumstance with SMTP Connector, let's set the connection&lt;br /&gt;restriction on SMTP Connector:&lt;br /&gt;------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;1. Open ESM, locate to Administrative Group\First Administrative&lt;br /&gt;Group\Routing Groups\First Routing Group\Connectors.&lt;br /&gt;&lt;br /&gt;2. In the right pane, right-click on a SMTPC, and open the&lt;br /&gt;"Properties" page.&lt;br /&gt;&lt;br /&gt;3. On the "General" page, click "Add" button to add your Exchange&lt;br /&gt;server with "Default SMTP Virtual Server" as a Local Bridgehead.&lt;br /&gt;&lt;br /&gt;4. Click OK to save the changes.&lt;br /&gt;&lt;br /&gt;5. Configure the Connection Control on your SMTP Virtual Server as I&lt;br /&gt;mentioned in my previous email.&lt;br /&gt;&lt;br /&gt;6. Restart the SMTP service and Exchange Routing Engine service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To Circumstance with SMTP Virtual Server, let's just set the&lt;br /&gt;connection restriction on SMTPVS:&lt;br /&gt;------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;1. Open ESM, locate to Administrative Group\First Administrative&lt;br /&gt;Group\Servers\Protocols\SMTP.&lt;br /&gt;&lt;br /&gt;2. Right-click "Default SMTP Virtual Server", and open the&lt;br /&gt;"Properties" page.&lt;br /&gt;&lt;br /&gt;3. Choose the "Access" tab, and then click "Connection" button of the&lt;br /&gt;"Connection control" box.&lt;br /&gt;&lt;br /&gt;4. Select "All except the list below", click Add button.&lt;br /&gt;&lt;br /&gt;5. Select "Single computer", and then put the host IP address in the&lt;br /&gt;"IP address" blank.&lt;br /&gt;&lt;br /&gt;6. Click OK to save the changes.&lt;br /&gt;&lt;br /&gt;7. Restart the SMTP service and Exchange Routing Engine service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115630207409060779?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115630207409060779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115630207409060779' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630207409060779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630207409060779'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-block-host-ip-from-sending-e.html' title='Exchange: Block Host IP From Sending E-Mail'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115630145639040538</id><published>2006-08-22T19:44:00.000-07:00</published><updated>2006-08-22T19:50:56.490-07:00</updated><title type='text'>Outlook: Calendar Overlay</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Calendaring has become an integral feature for many organizations. One request that I hear often is "Can Outlook create an overlay view of multiple calendars rather than side by side view?"   &lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt; &lt;br /&gt;Unfortunately, Outlook (all versions, including Professional, Standar and Premier) does not provide the customized view based on different folder, but only single folder view. For this reason, two calendar, originates from two calendar folders, can not be overlayed. To obtain the overlayed effect, the only way is to manually export one calendar to a .pst and then merge it into another calendar. Otherwise, to acquire this feature, we must modifiy the source forms on which the calendar is based. For example, we must supplement the attributes that distinguish the items from different calendar. This feature is by design in Outlook. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115630145639040538?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115630145639040538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115630145639040538' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630145639040538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630145639040538'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/outlook-calendar-overlay.html' title='Outlook: Calendar Overlay'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115630077409902477</id><published>2006-08-22T18:35:00.000-07:00</published><updated>2006-09-05T18:52:06.313-07:00</updated><title type='text'>Exchange: Transaction Log Files Growing Rapidly; Case Scenarios</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;An Exchange admins worst nightmare is to come into work one morning to find out your partition housing your transaction log files has been filled up with an abundant amount of log files. You continue to monitor your disk space which is filling up at a rapid pace. What to do? In this article I will share my experience in dealing with these situations. &lt;br /&gt;&lt;br /&gt;Note: If you are currently experiencing rapid log file growth and your partition housing your log files is running low on disk space, enable circular logging immediately. This will flush all log files as they are committed to your database. This will prevent your partition housing your log files from filling up and causing your store to dismount.&lt;br /&gt;&lt;br /&gt;XADM: How to Modify the Circular Logging Setting&lt;br /&gt;http://support.microsoft.com/kb/258470/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case Scenario #1 Script Gone Haywire&lt;br /&gt;&lt;br /&gt;In this scenario, I came into work to find out that the log files have grown tremendously and eating up disk space at rate of almost 1-2GB an hour. Because of the rate at which the logs being generated, users were complaining about messages being delayed. This is because the rate at which the log files were being committed to the database could not keep up with the rate that they were being generated in additional to a high store.exe process.&lt;br /&gt;&lt;br /&gt;The root cause analyses was a script that an employee wrote which was part of our ticketing system. I ran MS Netmon which is a packet sniffer to determine if I could find the source of where the traffic was being generated from, which helped me to pinpoint it to our ticketing system. &lt;br /&gt;&lt;br /&gt;You can download Netmon from ftp://ftp.microsoft.com/PSS/Tools/ The file is zipped and contains a password. The unzip password is "trace"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case Scenario #1 Routing Loop (Migration)&lt;br /&gt;&lt;br /&gt;In this scenario, I also experienced rapid log file growth. This scenario occured during a migration from 5.5 to 2003. The root cause analyses for this situation was more of how the organization's mail topology was configured. &lt;br /&gt;&lt;br /&gt;This organization used a Sendmail server as it's frontend and thus hosted the MX record for the organization say abc.com. It then forwarded to the Exchange backend using an alias table. The Exchange backend environment thus hosted an internal MX record say xyz.local. The recipient policy of the Exchange org was configured as:&lt;br /&gt;&lt;br /&gt;Primary: abc.com&lt;br /&gt;Secondary: xyz.local&lt;br /&gt;&lt;br /&gt;Internet mail would arrive to user@abc.com, the Sendmail server would lookup the alias table and forward to user@xyz.local which would deliver to the Exchange Org. Now because our Exchange Org did not host all users for for the recipient policy of abc.com, the SMTP Virtual Server was configured to "Send all unknown recipients to" another Sendmail smarthost. &lt;br /&gt;&lt;br /&gt;The loop was caused because the alias table on the Sendmail server was not maintained. Therefore, when an email arrived at the frontend Sendmail server destined to user@abc.com, it would look up the alias table and see it mapped to user@xyz.local and forward it to the Exchange Org. The Exchange Org did not have this recipient and would foward it out to a Smarthost because "Send all unknown recipients to" was configured. This Smarthost would then send it back to the frontend Smarthost causing a loop. &lt;br /&gt;&lt;br /&gt;Resolution was to enable "Filter Recipients who are not in the directory" in the Global Settings in Exchange System Manager in addition to having a procedure to maintain a current alias table. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115630077409902477?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115630077409902477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115630077409902477' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630077409902477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115630077409902477'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-transaction-log-files-growing.html' title='Exchange: Transaction Log Files Growing Rapidly; Case Scenarios'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115621932373935533</id><published>2006-08-21T21:00:00.000-07:00</published><updated>2006-11-27T14:32:35.010-08:00</updated><title type='text'>Exchange: Forwarding Copy of User's Email or Public Folder to Another Account Via Event Sink</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Exchange offers Journaling which allows you to designate a mailbox to receive all emails sent and received from a particular store that you designate. However, Exchange does not give you the granularity to journal only one mailbox. In order to achieve this you will need to install a custom event sink provided below. Before I delve into the implementation of the event sink. I'll go over what event sinks are what they do.&lt;br /&gt;&lt;br /&gt;Event sinks are basically a sub-routine that is fired at specific points in the message flow such as during transport. Most event sinks fire just before the message categorizer and right after. However, there are also sinks that run during message transfer. Many Exchange aware AV products register event sinks within Exchange. For example, before a message is sent to the categorizer, it is sent to the pre-submission queue where it is scanned for viruses or verified against the GAL.&lt;br /&gt;&lt;br /&gt;Registering The Per User Journaling Event Sink. This event sink provided will forward a copy of all messages sent to your designated recipient to another mailbox such as your admin.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All files are available for download with instructions by going to homepage msexchangetips.blogspot.com go to "Chong Man's Resources" under links which will take you to my ftp site. Go to James Chong Scripts directory and you will find the 2 files included to run this process.&lt;br /&gt;&lt;br /&gt;ftp://&lt;a href="ftp://ftp.smtp25.org/" target="_blank"&gt;ftp://ftp.smtp25.org/&lt;/a&gt;/[ James Chong Scripts ]&lt;br /&gt;&lt;br /&gt;1. SMTPReg.vbs&lt;br /&gt;2. smtpjrnl.vbs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Create a directory on your C: drive called Journal. (Or anywhere you wish)&lt;br /&gt;&lt;br /&gt;2. You will need the SMTPReg.vbs. Although I downloaded the Exchange SDK, this file was not included. However, I was able to locate it here. In the link, you will need to copy all the code in the [smtpreg.vbs Event Management Script] and paste it into notepad. Name this file as smtpreg.vbs and paste it into your C:\Journal directory.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/6b7a017e-981e-45a1-8690-17ff26682bc7.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/6b7a017e-981e-45a1-8690-17ff26682bc7.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Open notepad and copy the entire contents below and name this file smtpjrnl.vbs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;script language="VBScript"&lt;br /&gt;&lt;br /&gt;Sub ISMTPOnArrival_OnArrival(ByVal Msg, EventStatus ) on error resume next Dim RecpList recplist = LCase(Msg.EnvelopeFields("&lt;a href="http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist"&gt;http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist&lt;/a&gt;")) recplist = recplist &amp; "SMTP:admin@yourdomain.com;" Msg.EnvelopeFields("&lt;a href="http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist"&gt;http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist&lt;/a&gt;") = recplist Msg.EnvelopeFields.update&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;/script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. In the recplist = recplist &amp; "SMTP:admin@yourdomain.com;"&lt;br /&gt;Enter the SMTP address in which you would like all of the forwarded emails to go to. (Include the quotes)&lt;br /&gt;&lt;br /&gt;5. Open command prompt. Go to Start --&gt; Run, type cmd, ok&lt;br /&gt;CD CD journal&lt;br /&gt;&lt;br /&gt;cscript smtpreg.vbs /add 1 onarrival smtpjrnl CDO.SS_SMTPOnArrivalSink "Rcpt to=internaluser@yourdomain.com"&lt;br /&gt;&lt;br /&gt;(Note: This will forward any emails sent to your internal user or public folder SMTP address here to the SMTP address you specified in step 4)&lt;br /&gt;&lt;br /&gt;6. If you wish to customize it so that mail from a particular domain say anything from hotmail sent to &lt;a href="mailto:internaluser@yourdomain"&gt;internaluser@yourdomain&lt;/a&gt; gets forwarded to &lt;a href="mailto:admin@yourdomain.com"&gt;admin@yourdomain.com&lt;/a&gt;, change the code in step 5 to: "Rcpt &lt;a href="mailto:internaluser@t"&gt;to:internaluser@&lt;/a&gt;yourdomain mail from:user@hotmail.com")&lt;br /&gt;&lt;br /&gt;Now you will need to associate smtpreg.vbs to your smtpjrnl.vbs sinkcscript. Type the following command below in your command prompt.&lt;br /&gt;&lt;br /&gt;smtpreg.vbs /setprop 1 onarrival smtpjrnl Sink ScriptName c:\journal\smtpjrnl.vbs&lt;br /&gt;&lt;br /&gt;Note: If you receive Binding Dispaly Name Specified: smtpjrnlFailed to find binding with dispaly name: smtpjrnl, re-enter the command below. Note the smtpjrnl.vbs in the first line. It appears that there is a bug, sometimes it registers with out the .vbs other times it doesn't.&lt;br /&gt;&lt;br /&gt;cscript smtpreg.vbs /setprop 1 onarrival smtpjrnl.vbs Sink ScriptName c:\journal\smtpjrnl.vbs&lt;br /&gt;&lt;br /&gt;7. Test by emailing to &lt;a href="mailto:internaluser@domain.com"&gt;internaluser@domain.com&lt;/a&gt; from an outside account. It should be forwarded to &lt;a href="mailto:admin@yourdomain.com"&gt;admin@yourdomain.com&lt;/a&gt;. There is a limitation to this. When sending internally, if the &lt;a href="mailto:internaluser@domain.com"&gt;internaluser@domain.com&lt;/a&gt; and &lt;a href="mailto:admin@yourdomain.com"&gt;admin@yourdomain.com&lt;/a&gt; exists on the same Exchange server, it will not work even with public folders. This is by design. You can circumvent this if you use a frontend server that handles all your inbound mail and forwards to your backend Exchange servers.&lt;br /&gt;&lt;br /&gt;8. To remove the event sink. Go to your command prompt. From your C:\Journal directory type the following command:&lt;br /&gt;&lt;br /&gt;cscript smtpreg.vbs /remove 1 onarrival smtpjrnl&lt;br /&gt;&lt;br /&gt;1 = SMTP Virtual Service&lt;br /&gt;onarrival = sink class&lt;br /&gt;smtpjrnl = sink name&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115621932373935533?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115621932373935533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115621932373935533' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115621932373935533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115621932373935533'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-forwarding-copy-of-users_21.html' title='Exchange: Forwarding Copy of User&apos;s Email or Public Folder to Another Account Via Event Sink'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115611451168346981</id><published>2006-08-20T15:51:00.000-07:00</published><updated>2006-08-29T14:24:35.996-07:00</updated><title type='text'>Exchange: Is a Windows Disk Level Defrag Required?</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;In some instances, I've seen a partition in which Windows reported the partition as severely fragmented. The partition only contained the Exchange database and no other files. So the question is, do we and can we perform a Windows file level defrag?&lt;br /&gt;&lt;br /&gt;Answer:&lt;br /&gt;&lt;br /&gt;This answer is directly from Microsoft PSS. &lt;br /&gt;&lt;br /&gt;"Based on your inquiry, I understand that you need to know if it is recommended to do a disk level defrag on an Exchange server. If I have misunderstood your concerns, please let me know.&lt;br /&gt;&lt;br /&gt;According to your question, I'd like to point out that you can perform a disk level defrag on an Exchange server. However, if the disk holds only Exchange Server databases, it is not necessary to do disk-defragment because Exchange can do it internally. You may want to defrag the disk in order to improve the performance, but you may not see the result that you expected. Exchange uses and releases pages inside the database directly regardless the disk fragmentation. Exchange defragment is a file level defrag. Exchange online defragment will rearrange the data but not release the fragmentation space. Exchange offline defragment will rearrange the data and then release the free space. Therefore, the Exchange offline defragment is recommended. Anyway, you can do a disk level defrag after Exchange defragment if you want to do."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;&lt;br /&gt;Support Professional&lt;br /&gt;Microsoft Professional Technical Support &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is another article on MSExchangeteam blog that goes over this as well. I would consider reading this article as well, as it goes over some caveats when performing disk level defrags. &lt;br /&gt;&lt;br /&gt;http://msexchangeteam.com/archive/2004/10/25/247342.aspx &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115611451168346981?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115611451168346981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115611451168346981' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611451168346981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611451168346981'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-is-windows-disk-level-defrag.html' title='Exchange: Is a Windows Disk Level Defrag Required?'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115611401084774019</id><published>2006-08-20T15:42:00.000-07:00</published><updated>2006-08-20T15:46:50.970-07:00</updated><title type='text'>Windows: Audit Changes Made to File Folders or Registry</title><content type='html'>Summary: This article will delve into auditing changes such as: Changing attributes, writing to, deleting, moving so it can be traced back to a process or user...&lt;br /&gt;&lt;br /&gt;To track a Process or User that may be making modifications to a File Folders and Registry, perform the task below. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Caution: This degree of auditing will put a performance hit on the box. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To set up the local policy to Audit Process Tracking:&lt;br /&gt;=====================================&lt;br /&gt;1) Click Start then Run then type&lt;br /&gt;"gpedit.msc" (without the quotes) &lt;br /&gt;2) This will execute the Group Policy Object&lt;br /&gt;3) Expand the following:&lt;br /&gt;+Computer Configuration&lt;br /&gt;+Windows Settings &lt;br /&gt;+Security Settings&lt;br /&gt;+Local Policies&lt;br /&gt;+Audit Process Tracking&lt;br /&gt;4) Under 'Audit these attempts' place a check on &lt;br /&gt;- Failure&lt;br /&gt;- Success&lt;br /&gt;5) Once the policy has been set, run the following command to apply the policy&lt;br /&gt;For Windows 2000: Secedit /refreshpolicy&lt;br /&gt;For Windows XP or 2003: Gpupdate.exe&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To set up the local policy to Audit Object access:&lt;br /&gt;=====================================&lt;br /&gt;1) Click Start then Run then type&lt;br /&gt;"gpedit.msc" (without the quotes) &lt;br /&gt;2) This will execute the Group Policy Object&lt;br /&gt;3) Expand the following:&lt;br /&gt;+Computer Configuration&lt;br /&gt;+Windows Settings &lt;br /&gt;+Security Settings&lt;br /&gt;+Local Policies&lt;br /&gt;+Audit Policy&lt;br /&gt;4) Under 'Audit Policy' doubleclick 'Audit Object Access'&lt;br /&gt;5) Under 'Audit these attempts" place a check on &lt;br /&gt;- Failure&lt;br /&gt;- Success&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Auditing the registry&lt;br /&gt;=====================================&lt;br /&gt;1) Call up Regedt32 and browse to the key you want to audit&lt;br /&gt;2) Windows 2000: Click the 'Security' menu and select 'Permissions'&lt;br /&gt;Windows 2003/XP Click the 'Edit' menu and select 'Permissions'&lt;br /&gt;3) Click the 'Advanced' button&lt;br /&gt;4) Select the 'Auditing' tab and click the 'Add' button&lt;br /&gt;5) Add the 'Everyone' group and click 'OK'&lt;br /&gt;6) The resulting "Auditing Entry for &lt;Reg key name&gt;" dialog box appears&lt;br /&gt;7) In the "Apply onto" drop menu, select "This key and subkeys"&lt;br /&gt;8) Choose the actions you want to audit for... commonly we want to track&lt;br /&gt;changes to the registry... so we'll want to place a check on the following:&lt;br /&gt;'Set Value' Successful and Failed&lt;br /&gt;'Create Subkey' Successful and Failed&lt;br /&gt;'Delete' Successful and Failed&lt;br /&gt;9) Click OK&lt;br /&gt;10) Clear the checkbox on "Allow inheritable auditing entries from parent to propagate to this object"&lt;br /&gt;11) Click OK then OK again to exit&lt;br /&gt;Auditing files or folders&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=====================================&lt;br /&gt;1) In Explorer.exe browse to the file or folder you want to audit&lt;br /&gt;2) Click the 'Security' menu&lt;br /&gt;3) Click the 'Advanced' button&lt;br /&gt;4) Select the 'Auditing' tab and click the 'Add' button&lt;br /&gt;5) Add the 'Everyone' group and click 'OK'&lt;br /&gt;6) The resulting "Auditing Entry for &lt;Reg key name&gt;" dialog box appears&lt;br /&gt;7) In the "Apply onto" drop menu, select "This folder, subfolders and files"&lt;br /&gt;8) Choose the actions you want to audit for...&lt;br /&gt;For example, if attributes are being changed or files are being deleted &lt;br /&gt;Place check marks under the following:&lt;br /&gt;'Write Attributes' Successful&lt;br /&gt;'Write Extended Attributes' Successful&lt;br /&gt;'Delete Subfolders and Files' Successful&lt;br /&gt;'Delete' Successful&lt;br /&gt;'Change Permissions' Successful&lt;br /&gt;9) Click OK&lt;br /&gt;10) Clear the checkbox on "Allow inheritable auditing entries from parent to propagate to this object"&lt;br /&gt;11) Click OK then OK again to exit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Security Event log will reflect the following:&lt;br /&gt;=====================================&lt;br /&gt;Event ID of 560 and 562 detailing User audits &lt;br /&gt;Event ID of 592 and 593 detailing Process audits&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115611401084774019?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115611401084774019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115611401084774019' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611401084774019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611401084774019'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/windows-audit-changes-made-to-file.html' title='Windows: Audit Changes Made to File Folders or Registry'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115611298589341062</id><published>2006-08-20T15:17:00.000-07:00</published><updated>2006-08-20T15:29:46.373-07:00</updated><title type='text'>Exchange: NDR 571 - MAIL REFUSED - Reverse DNS failed; cannot resolve the domain in the HELO command</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;You receive the following NDR when sending to a third party domain:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Your message has encountered delivery problems &lt;br /&gt;to the following recipient(s): &lt;br /&gt;&lt;br /&gt;user@externaldomain.com &lt;br /&gt;Delivery failed &lt;br /&gt;571 - MAIL REFUSED - Reverse DNS failed; cannot resolve the (yourmailserverhostname.domain.com) domain in the HELO command.&lt;br /&gt;&lt;br /&gt;You verify that your domain does indeed have a Reverse DNS Record.&lt;br /&gt;&lt;br /&gt;Cause: &lt;br /&gt;&lt;br /&gt;The third party domain is performing HELO lookups, also known as forward DNS lookup. When initiating a SMTP session with a third party domain, the domain validates your domain name by performing a forward check, Domain to IP rather than IP to Domain in reverse DNS lookups. If you designed your DNS namespace for Active Directory and chose a namespace different than your public domain name ie. company.local, your Exchange server by default will advertise as HELO I'm hostname.company.local. The third party domain will attempt to lookup company.local in DNS and will fail and thus reject your E-Mail.&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;1. Open Exchagne System Manager. Navigate to Administrative Groups, Site, Servers, Servername, Protocols, SMTP, Default SMTP Virtual Server, &lt;br /&gt;&lt;br /&gt;2. Highlight Default SMTP Virtual Server, right click properties. &lt;br /&gt;&lt;br /&gt;3. Go to the Delivery Tab, and click Advanced Button.&lt;br /&gt;&lt;br /&gt;4. In the "Fully-qualified domain name: field, enter your fully qualified external domain name. Click Check DNS to verify that it resolves. &lt;br /&gt;&lt;br /&gt;5. Restart SMTP service. &lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115611298589341062?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115611298589341062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115611298589341062' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611298589341062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611298589341062'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-ndr-571-mail-refused-reverse.html' title='Exchange: NDR 571 - MAIL REFUSED - Reverse DNS failed; cannot resolve the domain in the HELO command'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115611222486751016</id><published>2006-08-20T15:09:00.000-07:00</published><updated>2006-08-20T15:17:05.283-07:00</updated><title type='text'>Exchange: Your message has been delayed I/O error encountered</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Users are receiving the following Non Deliverable Message (NDR)when sending to third party domains:&lt;br /&gt;&lt;br /&gt;Your message has been delayed and is still awaiting delivery to the following recipient(s):&lt;br /&gt;&lt;br /&gt;Users@externaldomain.com&lt;br /&gt;Message delayed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I/O error encountered&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;In this instance, users were reporting that messages sent to Gmail were being delayed anywhere from hours to days. When telneting to Gmail's mail servers, sometimes it would accept the connection and would allow our server to send mail. However, other times I would receive "Connection lost" immediately. The issue at hand was that this organization sends bulk email to many third party domains.(Not SPAM) Gmail has a specific policy on bulk E-mailing. Therefore, Gmail will temporarily block your domain from sending too much bulk E-mail. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115611222486751016?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115611222486751016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115611222486751016' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611222486751016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115611222486751016'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-your-message-has-been-delayed.html' title='Exchange: Your message has been delayed I/O error encountered'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115604628955686233</id><published>2006-08-19T20:37:00.000-07:00</published><updated>2006-08-20T12:46:25.273-07:00</updated><title type='text'>Exchange: Understanding the Checkpoint File</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Before I delve into the importance of the Exchange checkpoint file, I'll begin with a real life scenario that will elaborate the importance of the checkpoint file within Exchange. Company ABC implemented a new Exchange server and was put into production. However the database was lost for reasons beyond the scope of this article. Since this was just put into production and backups had not been performed yet, there was no way to restore the database. &lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;This is where the Exchange log files and checkpoint file come into play. Exchange log files records all transactions before they are written to the Exchange database. Transactions could be new messages, mailbox moves or any other type of data manipulation. So how can we restore the database? This is where the checkpoint file comes in. The checkpoint file keeps track of what how much data from the logs have been written to the database. These files are in the format E01.chk. Therefore to restore the database, you want delete the checkpoint files. When you mount a new database, the database will replay all the log files. Since there is no checkpoint, the Exchange database has no way of knowing where it last left off so it is forced to replay all the log files again. &lt;br /&gt;&lt;br /&gt;For more information about Exchange logfiles and checkpoint file refer to KB article: &lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/technet/prodtechnol/exchange/guides&lt;br /&gt;/UseE2k3RecStorGrps/d42ef860-170b-44fe-94c3-ec68e3b0e0ff.mspx?mfr=true &lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115604628955686233?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115604628955686233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115604628955686233' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115604628955686233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115604628955686233'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-understanding-checkpoint-file.html' title='Exchange: Understanding the Checkpoint File'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115603485335293389</id><published>2006-08-19T17:46:00.000-07:00</published><updated>2006-09-01T06:04:49.266-07:00</updated><title type='text'>Exchange: How to Configure Bulk Message Restrictions on DL's Using Admodify</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Restricting who has access to send to distribution lists or a particular user is a neat feature. For example, this comes in handy where you need to restrict who can send to a large distribution list or who can send to say a VP. However there is no native tools if you wish to configure restrictions on multiple Distribution lists or users at once. This can be accomplished by using ADMODIFY.&lt;br /&gt;&lt;br /&gt;1. Download ADMODIFY&lt;br /&gt;&lt;br /&gt;&lt;a href="ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify/"&gt;ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Run Admodify and select all your DL's that you wish to perform restrictions on.&lt;br /&gt;&lt;br /&gt;3. Once you have selected your DL's go to the custom tab. Select "Make a&lt;br /&gt;Customized Attribute Modification" Attribute Name = Authorig,&lt;br /&gt;Value= DN of user (Example:&lt;br /&gt;CN=last\, first(Consultant),OU=Contractors,OU=Contractors,DC=HQ,&lt;br /&gt;DC=Company,DC=net)&lt;br /&gt;&lt;br /&gt;4. Open your DL's in ADUC and verify that the restrictions have been set.&lt;br /&gt;&lt;br /&gt;The attribute for "From Authenticated Users Only" is msExchRequireAuthtoSendTo. If you would like to use this, enter this attribute in step 3 instead of Authorig.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115603485335293389?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115603485335293389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115603485335293389' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115603485335293389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115603485335293389'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-how-to-configure-bulk-message.html' title='Exchange: How to Configure Bulk Message Restrictions on DL&apos;s Using Admodify'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115603456803452943</id><published>2006-08-19T17:36:00.000-07:00</published><updated>2006-09-05T19:53:46.750-07:00</updated><title type='text'>Exchange: Semaphore Timeout Period Has Expired</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Messages are queued and in retry state to another Exchange server. When highlighting the queue in ESM, the queue information area reports Semaphore timeout period has expired. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case 1:&lt;br /&gt;&lt;br /&gt;Although there are multiple reasons that can cause this issue. My experience with this was that Mailguard was enabled on the PIX firewall between these Exchange servers. Enabling Mailguard on PIX will cause the remote Exchange server to not produce a valid SMTP banner. When telneting to the remote Exchange server, it produces something similar to the output below:&lt;br /&gt;&lt;br /&gt;220******************************************************&lt;br /&gt;*0*2******0***********************2002*******2***0*00 &lt;br /&gt;&lt;br /&gt;To correct this issue, consult the KB Article:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cannot send or receive e-mail messages behind a Cisco PIX firewall&lt;br /&gt;http://support.microsoft.com/?kbid=919091&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Case 2:&lt;br /&gt;&lt;br /&gt;I've also seen experienced this when on a system running Norton AV 9.X. Messages sent to another Exchange server running AV 9.X gets queued. When you perform a telnet session to the destination Exchange server running Norton AV 9.X, the message does not arrive at the destination Exchange server. To fix this issue, disable the  Internet E-mail Auto-Protect scanner feature.&lt;br /&gt;&lt;br /&gt;Outgoing e-mail to other internal Exchange servers is queued, and you receive an error message in Exchange Server 2003&lt;br /&gt;http://support.microsoft.com/?kbid=919091&lt;br /&gt;&lt;br /&gt;Case 3:&lt;br /&gt;&lt;br /&gt;This may also be caused by black hole routers. On a TCP/IP-based wide area network (WAN), communication over some routes may fail if an intermediate network segment has a maximum packet size that is smaller than the maximum packet size of the communicating hosts--and if the router does not send an appropriate Internet Control Message Protocol (ICMP) response to this condition or if a firewall on the path drops such a response. Such a router is sometimes known as a "black hole" router.  &lt;br /&gt;&lt;br /&gt;How to Troubleshoot Black Hole Router Issues&lt;br /&gt;http://support.microsoft.com/kb/314825/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115603456803452943?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115603456803452943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115603456803452943' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115603456803452943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115603456803452943'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-semaphore-timeout-period-has.html' title='Exchange: Semaphore Timeout Period Has Expired'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115602619943049168</id><published>2006-08-19T15:15:00.000-07:00</published><updated>2006-08-19T15:23:19.776-07:00</updated><title type='text'>BlackBerry: Users Cannot Send or Reply From Handheld</title><content type='html'>Summary: &lt;br /&gt;&lt;br /&gt;Blackberry users are able to receive messages to handheld but are not able to send or reply. When sending or replying to a message from the device, it produces an "X"&lt;br /&gt;&lt;br /&gt;Cause: &lt;br /&gt;&lt;br /&gt;In order to send or reply to messages using a Blackberry device, the BlackBerry service account must have "Send As" rights to the objects. If the user is unable to send or reply to messages, verify in ADUC that the BlackBerry service account has this right. In ADUC, find the user in question, and go to the security tab of this object. Verify that the BlackBerry service account has "Send As" right. In addition, if you recently applied Hotfix: 327825, this hotfix revokes any object that has "Send As" rights to objects that belong to any of the protected security groups. &lt;br /&gt;&lt;br /&gt;• Administrators &lt;br /&gt;• Account Operators &lt;br /&gt;• Server Operators &lt;br /&gt;• Print Operators &lt;br /&gt;• Backup Operators &lt;br /&gt;• Domain Admins &lt;br /&gt;• Schema Admins &lt;br /&gt;• Enterprise Admins &lt;br /&gt;• Cert Publishers &lt;br /&gt;&lt;br /&gt;Therefore, if your BlackBerry user is a member of any of these protected groups, your user will not be able to send or reply to messages using the device. To cirumvent this, it is recommended that you create separate accounts for your admins when performing administrative tasks. For example, use a convention such as ZZ-jdoe for their administrative account. For more information, consult the following KB article: http://support.microsoft.com/kb/907434/en-us&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115602619943049168?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115602619943049168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115602619943049168' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115602619943049168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115602619943049168'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/blackberry-users-cannot-send-or-reply.html' title='BlackBerry: Users Cannot Send or Reply From Handheld'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115600077535796509</id><published>2006-08-19T07:55:00.000-07:00</published><updated>2008-07-07T10:28:45.400-07:00</updated><title type='text'>Exchange: Managing SMTP and IIS Log Files via Script</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Exchange can can log a number of transactions such as SMTP, IIS, or Message Tracking. These logs play an important role in troubleshooting, trending as well as a number of other things. However, Exchange or IIS does not provide an option to automatically purge SMTP or IIS logs. In this article, I will provide an example to manage these log files.&lt;br /&gt;&lt;br /&gt;Procedure:&lt;br /&gt;&lt;br /&gt;Since you want to always keep a copy of your log files, for example 30 days worth before purging them, what this script will do is first move all log files from the directory you specify to another partition E:\logs that are older than 30 days, then delete any log files older than 60 days from E:\logs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Create a folder in C:\scripts (Or anywhere you want to designate)&lt;br /&gt;&lt;br /&gt;2. Download WaRmZip from SoureForge. http://sourceforge.net/project/showfiles.php?group_id=88417&amp;amp;package_id=99571 Download file to C:\scripts&lt;br /&gt;&lt;br /&gt;3. Open notepad and enter the following:&lt;br /&gt;&lt;br /&gt;:: movelogs.bat&lt;br /&gt;:: moves log files from the directory you specify below&lt;br /&gt;::&lt;br /&gt;@ECHO OFF&lt;br /&gt;&lt;br /&gt;C:&lt;br /&gt;CD\scripts\waRmZip16&lt;br /&gt;&lt;br /&gt;waRmZip.wsf /r /q "C:\logs" /ma:30 /md:E:\Logs_Old&lt;br /&gt;&lt;br /&gt;This script will move any log files older than 30 days from C:\logs to E:\logs_old folder. You will need to modify this line to point to where your SMTP or IIS logs are and your destination path. Save this file as movelogs.bat&lt;br /&gt;&lt;br /&gt;4. Open notepad and copy the following:&lt;br /&gt;&lt;br /&gt;:: deletelogs.bat&lt;br /&gt;:: Delete logs older than 60 days to run every 60 days.&lt;br /&gt;::&lt;br /&gt;@ECHO OFF&lt;br /&gt;&lt;br /&gt;C:&lt;br /&gt;CD\scripts&lt;br /&gt;&lt;br /&gt;waRmZip.wsf /r "E:\Logs_Old" /da:60 /df /q&lt;br /&gt;&lt;br /&gt;Save this file as deletelogs.bat&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Now go to scheduled tasks and schedule movelogs.bat to run monthly and deletelogs.bat to run every 60 days.&lt;br /&gt;&lt;br /&gt;Note: Ensure you test this using test directories before implementing them into production. I have also provided these files on "Chong Man"s Exchange Resources" under links.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE  M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115600077535796509?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115600077535796509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115600077535796509' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115600077535796509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115600077535796509'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-managing-smtp-and-iis-log.html' title='Exchange: Managing SMTP and IIS Log Files via Script'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115567023437324648</id><published>2006-08-15T12:30:00.000-07:00</published><updated>2006-08-19T14:11:05.133-07:00</updated><title type='text'>PFDAVAdmin: Using Custom Bulk Operation</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;PDAVAdmin 2.6 introduces a new feature which allows you perform bulk customizations on Public Folders using LDAP filters. I ran into a scenario in which an environment had created a Public Folder infrastructure in which all folders were created at the root level. This makes it difficult to choose a top level folder to propagate permissions. For example, if you wanted to add a user to have rights to all folders, you would have to perform this individually because there there no root folder to propagate down from. In this scenario, I was able to use PFDAVAdmin 2.6 to perform a bulk operation on the virtual Public Folder tree to add this user and propagate the permissions to all Public Folders. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To be safe, I would recommend exporting your permissions so that you will have a backup. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Download PFDavAdmin utility.&lt;br /&gt;&lt;br /&gt;&lt;http://www.microsoft.com/downloads/details.aspx?FamilyID=635be792-d8ad-&lt;br /&gt;49e3-ada4-e2422c0ab424&amp;DisplayLang=en&gt;&lt;br /&gt;&lt;br /&gt;2. Launch PFDAVAdmin by double clicking on the file; PFDavAdmin.exe&lt;br /&gt;&lt;br /&gt;3. On the File menu, select Connect.&lt;br /&gt;&lt;br /&gt;The "Connect" dialog will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            a. In the Connect dialog box, enter the name of the Exchange&lt;br /&gt;               server the mailboxes reside on. &lt;br /&gt;&lt;br /&gt;            b. Check the "Authenticate as currently logged on user"&lt;br /&gt;               checkbox.&lt;br /&gt;&lt;br /&gt;            c. Select "Public Folders" under Connection and click OK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Make sure Public Folders is highlighted at the root. On the Tools menu, select Options. Check the "Enable logging to file" checkbox and click OK.&lt;br /&gt;&lt;br /&gt;The "Options" dialog box will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            Make sure that the box labeled; "Enable logging to file", is&lt;br /&gt;            checked.&lt;br /&gt;&lt;br /&gt;            Make sure that the box labeled; "Enable extended logging",&lt;br /&gt;            is unchecked.&lt;br /&gt;&lt;br /&gt;If you wish to backup your permissions first, go to Tools, menu, select export permissions, select all Public Folders, and choose XML as your format. You can use this file to import back in, in the event that your permissions get corrupted. &lt;br /&gt;&lt;br /&gt;5. On the Tools menu, select Custom Bulk Operation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            a. Base Folder: Public Folder&lt;br /&gt;&lt;br /&gt;            b. Overall Filter: (&amp;)(This default settings selects everything)&lt;br /&gt;&lt;br /&gt;            c. Operations: Click Add. Select Folder Permissions and click Ok. &lt;br /&gt;               Action set to merge. Select Permissions now, click Select button. &lt;br /&gt;               You will be prompted with a dialog "You will be presented will a &lt;br /&gt;               permissions diaglog you can use to configure permissions" Click Ok.&lt;br /&gt;&lt;br /&gt;            d. Click Add. Enter user name in the field and click search. Click Ok. &lt;br /&gt;               Give the user the appropriate permissions. Click Ok. You will be  &lt;br /&gt;               presented with with a dialog "You will not be presented with a    &lt;br /&gt;               permissions dialog to selecte entities that will be removed" If you &lt;br /&gt;               wish to remove users, you can from this procedure. Click Ok. If you &lt;br /&gt;               do not wish to remove anyone, Click ok. Click Ok once more. This user &lt;br /&gt;               that you added will now be propaged to all Public Folders. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE | M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115567023437324648?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115567023437324648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115567023437324648' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115567023437324648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115567023437324648'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/pfdavadmin-using-custom-bulk-operation.html' title='PFDAVAdmin: Using Custom Bulk Operation'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115526303064174734</id><published>2006-08-10T19:12:00.000-07:00</published><updated>2006-08-19T19:27:12.993-07:00</updated><title type='text'>Exchange: Free/Busy Not Available After Mailbox Move</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;After migrating mailboxes to another Exchange server, Free/Busy information may not be available. Viewing this user's Free/Busy, produces slashes with no information.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;Try running Outlook.exe /cleanfreebusy first. If you moved the mailbox across administrative groups, you will need to use the Exchange Profile Update Tool which you can download here http://support.microsoft.com/?kbid=873214. If you are also trying to query free/busy information from users across sites, try putting a local replica of that site's free/busy. If all fails, try deleting the PR_FREEBUSY_ENTRYIDS for the affected users MB using MFCMAPI.&lt;br /&gt;&lt;br /&gt;Download MFCMAPI &lt;br /&gt; &lt;br /&gt;1. Download MFCMAPI, also known as MAPI Editor. http://www.microsoft.com/downloa&lt;br /&gt;ds/details.aspx?FamilyID=55FDFFD7-1878-4637-9808-1E21ABB3AE37&amp;displaylang=en &lt;br /&gt; &lt;br /&gt;2. Launch MFCMAPI application. Click OK at the Microsoft Exchange Server MAPI &lt;br /&gt;Editor window. Click Session, and select Logon and Display Store Table. &lt;br /&gt; &lt;br /&gt;3. You will now be prompted to create a profile. Note, you must be logged in &lt;br /&gt;with an account that has full rights to your Exchange server, otherwise you will &lt;br /&gt;receive the following error message below when we open the temp table. &lt;br /&gt; &lt;br /&gt;Error: &lt;br /&gt;Code: MAPI_E_FAILONEPROVIDER === 0x8004011D &lt;br /&gt;Function &lt;br /&gt;File f:df7830extestsrcmfmapimapistorefunctions.cpp &lt;br /&gt; &lt;br /&gt;4. Once logged in, click MDB, and select Get Mailbox Table. A new window display &lt;br /&gt;opens "Server Mailbox Table" From here, you can select the server name you wish &lt;br /&gt;to work with. Select default settings and click OK. &lt;br /&gt;&lt;br /&gt;5. You will now see all mailboxes enumerated. You will need to locate the user    &lt;br /&gt;   that whos Free/Busy is not available. &lt;br /&gt;&lt;br /&gt;6. Once you have double clicked the mailbox, highlight Root Container.&lt;br /&gt;&lt;br /&gt;7. In the right pane, locate PR_FREEBUSY_ENTRYIDS, right click and select &lt;br /&gt;   Delete Property. &lt;br /&gt; &lt;br /&gt;8.  Expand Top of Information and highlight Inbox.&lt;br /&gt;&lt;br /&gt;9.  In the right window, if there is a property name of PR_FREEBUSY_ENTRYIDS, &lt;br /&gt;    right click on it and choose Delete Property &lt;br /&gt;&lt;br /&gt;10. Exit out of MAPI Editor. &lt;br /&gt;&lt;br /&gt;11. Go to start run, Outlook.exe /cleanfreebusy on the mailbox&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE |M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115526303064174734?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115526303064174734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115526303064174734' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115526303064174734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115526303064174734'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-freebusy-not-available-after.html' title='Exchange: Free/Busy Not Available After Mailbox Move'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115526216021045865</id><published>2006-08-10T18:50:00.000-07:00</published><updated>2006-08-19T14:12:05.310-07:00</updated><title type='text'>Exchange: Exporting Mailbox Properties Using PfdavAdmin</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Microsoft's Pfdavadmin utility is a popular utility used to facilitate migrating public folder replicas or saving permissions. However, Pfdavadmin offers several other features. For example, Pfadavadmin can be used to export mailbox attributes and properties. One useful scenario I came across was to export total item counts for user's mailbox. It is well known that MAPI client experience is dictated by the total number of items within a mailbox rather than the mailbox size. A large item count can cause user's to receive, "Outlook is requesting data." Although this utility can be used to export many attributes or properties, this article will show an example of export user's total item count. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To get a listing of the number of mail items for each folder within each&lt;br /&gt;mailbox, follow the steps below:&lt;br /&gt;&lt;br /&gt;1. Download PFDavAdmin utility.&lt;br /&gt;&lt;br /&gt;&lt;http://www.microsoft.com/downloads/details.aspx?FamilyID=635be792-d8ad-&lt;br /&gt;49e3-ada4-e2422c0ab424&amp;DisplayLang=en&gt;&lt;br /&gt;&lt;br /&gt;2. Launch PFDAVAdmin by double clicking on the file; PFDavAdmin.exe&lt;br /&gt;&lt;br /&gt;3. On the File menu, select Connect.&lt;br /&gt;&lt;br /&gt;The "Connect" dialog will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            a. In the Connect dialog box, enter the name of the Exchange&lt;br /&gt;               server the mailboxes reside on. You do not have to specify GC.&lt;br /&gt;&lt;br /&gt;            b. Check the "Authenticate as currently logged on user"&lt;br /&gt;               checkbox.&lt;br /&gt;&lt;br /&gt;            c. Select "All mailboxes" under Connection and click OK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. On the Tools menu, select Options. Check the "Enable logging to file"&lt;br /&gt;checkbox and click OK.&lt;br /&gt;&lt;br /&gt;The "Options" dialog box will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            Make sure that the box labeled; "Enable logging to file", is&lt;br /&gt;            checked.&lt;br /&gt;&lt;br /&gt;            Make sure that the box labeled; "Enable extended logging",&lt;br /&gt;            is unchecked.&lt;br /&gt;&lt;br /&gt;5. On the Tools menu, select Export Properties.&lt;br /&gt;&lt;br /&gt;The "PropertyExportForm" will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            a. Select "All folders".&lt;br /&gt;&lt;br /&gt;            b. Create an Output File such as c:\ItemCount.txt by&lt;br /&gt;               clicking on the Ellipse button, "..."&lt;br /&gt;&lt;br /&gt;The "Save As" dialog box will now appear as shown below.&lt;br /&gt;&lt;br /&gt;            Browse to the folder where you want to save the file.&lt;br /&gt;&lt;br /&gt;            Enter the file name, "itemcount" and select "Text file&lt;br /&gt;           (*.csv)" as the "Save as type".&lt;br /&gt;&lt;br /&gt;            Finally click on the Save button to create the export file.&lt;br /&gt;&lt;br /&gt;            c. Check the following Properties to export:&lt;br /&gt;&lt;br /&gt;                        PR_CONTENT_COUNT : 0x36020003&lt;br /&gt;&lt;br /&gt;                        PR_DISPLAY_NAME : 0x3001001E&lt;br /&gt;&lt;br /&gt;                        PR_FOLDER_PATHNAME : 0x66B5001E&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Click on the button labeled, "OK".&lt;br /&gt;&lt;br /&gt;PFDavAdmin will start to process all of the folders within the mailbox&lt;br /&gt;and will display a progress bar.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When the Export Properties process completes you will see the screen&lt;br /&gt;below;&lt;br /&gt;&lt;br /&gt;Simply close this dialog box and exit out of the PFDavAdmin utility.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong&lt;br /&gt;MCSE | M+, S+, MCTS, Security+&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115526216021045865?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115526216021045865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115526216021045865' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115526216021045865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115526216021045865'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-exporting-mailbox-properties.html' title='Exchange: Exporting Mailbox Properties Using PfdavAdmin'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115517837011534722</id><published>2006-08-09T19:52:00.000-07:00</published><updated>2009-04-30T11:04:46.418-07:00</updated><title type='text'>Using MFCMAPI To Delete Exchange Temp Table</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Duplicate messages are not only a nuisance but can be difficult to troubleshoot. Although there are several reasons why duplicate messages can occur, one known issue is caused by messages that are stuck within the temp table within the Exchange store. Temp tables are temporarily holding places within the Exchange store where messages are constructed. This can be caused by several reasons such as your AV application. This article will discuss how to delete the temp table so that duplicate messages are not re-generated. The process below will delete the temp table and create a new one. &lt;br /&gt;&lt;br /&gt;Evan Dodds (Exchange MVP) does a great job explaining in depth about the temp table.&lt;br /&gt;http://blogs.technet.com/evand/archive/2004/12/27/332752.aspx&lt;br /&gt;&lt;br /&gt;You can also find additional info from MS Technet. http://www.microsoft.com/technet/prodtechnol/exchange/2003&lt;br /&gt;/insider/Special_Mailboxes.mspx&lt;br /&gt;&lt;br /&gt;When troubleshooting duplicate messages, note the message ID. This is critical in determining whether the original message is duplicating itself or if a client is possibly re-sending messages possibly due to a virus infection. Therefore, examine the headers at least two duplicate messages to examine the message ID. This article is assuming the message ID is the same and is stuck within the Exchange temp table. Note that deleting the temp table will delete any messages yet to be processed or queued. Therefore, perform this during non production hours. &lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;1. Download MFCMAPI, also known as MAPI Editor. http://www.microsoft.com/downloads/details.aspx?&lt;br /&gt;FamilyID=55FDFFD7-1878-4637-9808-1E21ABB3AE37&amp;displaylang=en&lt;br /&gt;&lt;br /&gt;2. Launch MFCMAPI application. Click OK at the Microsoft Exchange Server MAPI Editor window. Click Session, and select Logon and Display Store Table. &lt;br /&gt;&lt;br /&gt;3. You will now be prompted to create a profile. Note, you must be logged in with an account that has full rights to your Exchange server, otherwise you will receive the following error message below when we open the temp table.&lt;br /&gt;&lt;br /&gt;Error:&lt;br /&gt;Code: MAPI_E_FAILONEPROVIDER === 0x8004011D&lt;br /&gt;Function&lt;br /&gt;File f:\df7830\extest\src\mfmapi\mapistorefunctions.cpp&lt;br /&gt;&lt;br /&gt;4. Once logged in, click MDB, and select Get Mailbox Table. A new window display opens "Server Mailbox Table" From here, you can select the server name you wish to work with. Select default settings and click OK. &lt;br /&gt;&lt;br /&gt;5. You will now see all mailboxes enumerated. You will need to locate the SMTP(Servername --GUID) mailbox. Note there can be more than one depending on how many stores you have. Therefore you will need to perform step 6 on the remainding SMTP (Servernam --GUID) mailboxes.&lt;br /&gt;&lt;br /&gt;6. Once you have double clicked the mailbox, expand Root Container. You will see TempTable#. Highlight this, go to Actions menu and select delete folder. In the Deleted Selected Folder Window, check "Hard Deletion" and click OK. Right click your Root Container and select Refresh View. Your TempTable# should not appear. Repeat this step for all SMTP (Servername --Guid) mailboxes you have. Once complete, restart your IIS server. This will re-create your TempTable#. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115517837011534722?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115517837011534722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115517837011534722' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115517837011534722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115517837011534722'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/using-mfcmapi-to-delete-exchange-temp.html' title='Using MFCMAPI To Delete Exchange Temp Table'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115497647345913526</id><published>2006-08-07T11:47:00.000-07:00</published><updated>2009-04-30T11:04:26.792-07:00</updated><title type='text'>BlackBerry Enterprise Server: Users Not Receiving Messages to Handheld After Mailbox Moves</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;BlackBerry server maps user mailboxes by using a process called worker treads. Each worker tread is cable of handling multiple mailboxes. Each BES server is capable of handling 100 worker treads and up to 2000 users. Blackberry version  [4.0.4.5], is capable of mapping worker treads back to a user mailboxes when a mailbox gets moved to a different store by scanning the GAL for changes in the Server DN.BES users may not receive messages to their handheld device after a mailbox move if the MAPI32.DLL version is not consistent on your BES servers and Exchange servers. &lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;&lt;br /&gt;Mailbox moves within the same server are not updated by BES and thus messages will not be received by handheld until BES services are restarted. This is because BES scans users mailboxes for changes in the Server DN. Since mailboxes are moved within the same server, BES is unware of the mailbox move. This is by design.&lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;BES servers must have the same DLL versions for the following files as your Exchange server otherwise BES will not be able to reflect the mailbox move and users will not receive messages to their handheld device. In addition, your Exchange server will also experience a memory leak if your Emsmdb32.dll version is also not consistent with your BES and Exchange server. &lt;br /&gt;&lt;br /&gt;MAPI32.DLL &lt;br /&gt;Emsmdb32.DLL&lt;br /&gt;CDO.DLL&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Update the following files on all your BES servers to match that of your Exchange server. Do not copy and paste these files, you must apply the entire service pack.&lt;br /&gt;&lt;br /&gt;MAPI32.DLL &lt;br /&gt;Emsmdb32.DLL&lt;br /&gt;CDO.DLL&lt;br /&gt;&lt;br /&gt;Additional References:&lt;br /&gt;&lt;br /&gt;Support - Memory leak causes ERR_RESOURCE_ALLOC error and truncated device message&lt;br /&gt;&lt;br /&gt;Last Updated: 10 April 2006 &lt;br /&gt;Article Number: KB-03665 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115497647345913526?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115497647345913526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115497647345913526' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115497647345913526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115497647345913526'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/blackberry-enterprise-server-users-not.html' title='BlackBerry Enterprise Server: Users Not Receiving Messages to Handheld After Mailbox Moves'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115497461026048033</id><published>2006-08-07T11:05:00.000-07:00</published><updated>2009-04-30T11:04:10.256-07:00</updated><title type='text'>Active Directory: Scavenging Best Practices</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;I recently came across an environment in which an Exchange Bridgehead were queueing Email to remote sites. ESM queue would report, "Could not connecto to destination server in DNS." When performing nslookup on the remote servername name it would fail to produce the record. After manually adding the record, mail flow would resume. &lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;In this instance, records were being scavenged. This was caused by multiple servers in the Domain having scavenging configured and replication delays and possibly unreliable links possibly causing the record to purged. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;Scavenging best practices includes only setting scavenging on one server in the domain, otherwise, you can end up with many underlying issues including Active Directory replication problems. In addition, set your servers to be static hosts so that they are not eligible to be scavenged. &lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115497461026048033?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115497461026048033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115497461026048033' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115497461026048033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115497461026048033'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/active-directory-scavenging-best.html' title='Active Directory: Scavenging Best Practices'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115492095349287165</id><published>2006-08-06T20:13:00.000-07:00</published><updated>2009-04-30T11:03:55.030-07:00</updated><title type='text'>Exchange: ESM Missing Public Folder Tree</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;When expanding ESM, your public folder tree is missing, however users can navigate through the public folder tree in Outlook. &lt;br /&gt;&lt;br /&gt;Cause:&lt;br /&gt;&lt;br /&gt;You are missing your "msexchpftree" attribute in your configuration partition in Active Directory. Verify that CN=Public Folders exists in the following path:&lt;br /&gt;&lt;br /&gt;From ADSI edit,&lt;br /&gt;CN=Services,CN=Microsoft Exchange,CN=ORGANIZATION,CN=Administrative&lt;br /&gt;Groups,CN=administrative_group,CN=Folder Hierarchies, (CN=Public Folders should exist)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;&lt;br /&gt;From ADSI edit, navigate to CN=Services,CN=Microsoft Exchange,CN=ORGANIZATION,CN=Administrative&lt;br /&gt;Groups,CN=administrative_group,CN=Folder Hierarchies. What you need to do is right click your CN=Folder Heirarchies and click new object and select msexchpftree. Enter Public Folders as the CN name, click next and click more attributes. Enter the Distinguished name CN=Public Folders,CN=Folder Hierarchies,CN=First Administrative&lt;br /&gt;Group,CN=Administrative Groups,CN=MSexchange911,CN=Microsoft&lt;br /&gt;Exchange,CN=Services,CN=Configuration,DC=Domain,DC=net&lt;br /&gt;Copy this distinguished name as you will need to paste it into another attribute. Click OK. Now you will need to locate your public folder store in ADSIEDIT.&lt;br /&gt;&lt;br /&gt;Microsoft Exchange -&gt; Org name -&gt; Administrative Groups -&gt;&lt;br /&gt;                  First Administrative Group -&gt; Servers -&gt;&lt;br /&gt;                  Server&lt;br /&gt;                  name -&gt; Information Store -&gt; First Storage Group&lt;br /&gt;On the right pane, go to the properties of the "public folder store". Select the property to view: "msExchOwningPFTree" and paste that DN from earlier, click OK. Verify that the public folder tree is now visible in ESM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115492095349287165?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115492095349287165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115492095349287165' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115492095349287165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115492095349287165'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/exchange-esm-missing-public-folder.html' title='Exchange: ESM Missing Public Folder Tree'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115449079035417725</id><published>2006-08-01T19:54:00.000-07:00</published><updated>2009-04-30T11:03:40.586-07:00</updated><title type='text'>Using Outlook Redemption to By Pass "A Program is trying to automatically send e-mail on your behalf"</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;In Outlook SP2 and later versions, any application that tries to send e-mail is blocked to prevent the malicious propagation of viruses and worms. This article will provide a sample code using Outlook Redemption to bypass this security warning. This article will use Glen Scales "Message Tracking Logs Reports Script" as a sample in which mailbox reports is emailed using an Access Macro. First and foremost, I would like to thank and credit Glen Scales for this terrific script as it has come to be useful in my instances.&lt;br /&gt;&lt;br /&gt;The first portion of this script is using Glen's Message Tracking Log Reports, which imports Exchange's Message Tracking logs into an Access Database. From here, I will use one of the custom Access queries included to email the report out while bypassing the "A Program is trying to automatically send e-mail on your behalf" warning message produced by Outlook. &lt;br /&gt;&lt;br /&gt;Download Glen's Message Tracking Log Reports from:&lt;br /&gt;&lt;br /&gt;http://www.outlookexchange.com/articles/glenscales/mtrackrs.asp&lt;br /&gt;&lt;br /&gt;In this instance I have modified his script to only pull two user accounts from the message tracking log rather than the entire log file. Therefore I have edited this portion of the script:&lt;br /&gt;&lt;br /&gt;size1 = objExchange_MessageTrackingEntry.size&lt;br /&gt;     If  (RecipientAddress1 = "User1@mydomain.com") Or (RecipientAddress1 = "user2@mydomain.com") Then&lt;br /&gt;     &lt;br /&gt;wtowrite = "('" &amp; condate(odate) &amp; "','" &amp; formatdatetime(odate,4) &amp; "','"  &amp; ClientIP &amp; "','"  &amp; EntryType &amp; "','" &amp; RecipientCount &amp; "','" &amp; replace(SenderAddress,"'","") &amp; "','" &amp; replace(RecipientAddress1,"'","") &amp; "','" &amp; left(replace(subject,"'"," "),254) &amp; "','" &amp; size1 &amp; "')"&lt;br /&gt; sqlstate1 = "INSERT INTO TrackingLogRaw ( [Date], [Time], [client-ip], [Event-ID], NoRecipients, [Sender-Address], [Recipient-Address], [Message-Subject], [total-bytes] ) values " &amp; wtowrite&lt;br /&gt; Cnxn1.Execute(sqlstate1)&lt;br /&gt; End If&lt;br /&gt; next&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cnxn1.close&lt;br /&gt;&lt;br /&gt;If you wish to pull all records use his orginal script in the link provided above. &lt;br /&gt;&lt;br /&gt;1. Follow the instruction on Glen's site to implement the script. &lt;br /&gt;2. Once you have implemented the script and is running,(verify that your trackinglograw has been populated) download Outlook Redemption. &lt;br /&gt;http://www.dimastr.com/redemption/ Outlook Redemption provides extended objects to bypass the Outlook security warning.&lt;br /&gt;3. Once you have installed Outlook Redemption, we will create a new module in Access. Click Module and select new. Paste the following code:&lt;br /&gt;&lt;br /&gt;Option Compare Database&lt;br /&gt;&lt;br /&gt;'------------------------------------------------------------&lt;br /&gt;' Macro24&lt;br /&gt;'&lt;br /&gt;'------------------------------------------------------------&lt;br /&gt;Function Command400_Click()&lt;br /&gt;    DoCmd.OutputTo acQuery, "Display-time-use", "HTML(*.html)", "C:\track" &amp; Format(Date, "yymmdd") &amp; ".html", False, "", 0&lt;br /&gt;    Set SafeItem = CreateObject("Redemption.SafeMailItem")&lt;br /&gt;    ' create the Outlook session&lt;br /&gt;    Set objOutlook = CreateObject("Outlook.Application")&lt;br /&gt;    Set objNS = objOutlook.GetNamespace("MAPI")&lt;br /&gt;    objNS.Logon&lt;br /&gt;    ' create the Message&lt;br /&gt;    Set objOutlookMsg = objOutlook.CreateItem(olMailItem)&lt;br /&gt;    SafeItem.Item = objOutlookMsg&lt;br /&gt;    With SafeItem&lt;br /&gt;        .to = "emailadmin@mydomain.com"&lt;br /&gt;        .Subject = "track"&lt;br /&gt;        .Body = "trackbody"&lt;br /&gt;        .Attachments.Add "C:\track" &amp; Format(Date, "yymmdd") &amp; ".html"&lt;br /&gt;        .Importance = 2 'High =2 low = 1&lt;br /&gt;        '.Display&lt;br /&gt;        .Save&lt;br /&gt;        .Send&lt;br /&gt;    End With&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Set objOutlookMsg = Nothing&lt;br /&gt;    Set objNS = Nothing&lt;br /&gt;    Set objOutlook = Nothing&lt;br /&gt;    Set SafeItem = Nothing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;4. This module runs the "Display-time-use" query in Access and saves it to C:\Track directory while appending current date, then emails the this file as an HTML attachment to the recipint specified in the .to field. Click the save icon and close. &lt;br /&gt;5. In Access, go to Macros and click new. In the action drop down, select run code. In the Function Name towards the bottom, enter Command400_Click()  File Save as Macro1. This Macro calls the Module created in step 4, so that the Macro can be scheduled as a task. Modules cannot be schedule and thus requires a Macro.&lt;br /&gt;6. Now you can schedule a batch file to call this Macro. Create a batch file and enter the following:&lt;br /&gt;&lt;br /&gt;CD C:\Program Files\Microsoft Office\OFFICE11msaccess.exe c:\Trackinglog.mdb /x macro1&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;7. Run this batch file to test. &lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How useful was this article? Want to see a tip not listed? Please leave a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115449079035417725?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115449079035417725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115449079035417725' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115449079035417725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115449079035417725'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/08/using-outlook-redemption-to-by-pass.html' title='Using Outlook Redemption to By Pass &quot;A Program is trying to automatically send e-mail on your behalf&quot;'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30618769.post-115237947974703388</id><published>2006-07-08T10:20:00.000-07:00</published><updated>2009-04-30T11:03:25.039-07:00</updated><title type='text'>Exchange: Event ID 508 "Information Store A request to write took an abnormally long time"</title><content type='html'>Summary:&lt;br /&gt;&lt;br /&gt;Event ID: 503 Application ESE. Information Store (8260) EX3-SG4: A request to write to the file "P:\EX3-SG4-MB1\EX3-SG4-MB1.edb" at offset 336986112 (0x0000000014160000) for 4096 (0x00001000) bytes succeeded, but took an abnormally long time (66 seconds) to be serviced by the OS. This problem is likely due to faulty hardware. Please contact your hardware vendor for further assistance diagnosing the problem. For more information, click http://www.microsoft.com/contentredirect.asp&lt;br /&gt;&lt;br /&gt;Cause #1 &lt;br /&gt;&lt;br /&gt;This is likely due to excessive disk checking on a hard drive. &lt;br /&gt;&lt;br /&gt;Resolution: Examine your hardware vendor's Event log to check for excessive disk checking and replace disk according to vendor's specification. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cause #2&lt;br /&gt;&lt;br /&gt;In some instances this is due to eseutil running during backup process to verify integrity of the backup. I've seen this on an Exchange server that was running Veritas to snapshot the Exchange database and this would occur when Veritas would perform eseutil to verify the integity of the database which is a very disk I\O intensive.&lt;br /&gt;&lt;br /&gt;Resolution: Run performance baseline to check out disk I\O&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;James Chong (MVP)&lt;br /&gt;MCITP | EMA; MCSE | M+, S+&lt;br /&gt;Security+, Project+, ITIL&lt;br /&gt;msexchangetips.blogspot.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30618769-115237947974703388?l=msexchangetips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://msexchangetips.blogspot.com/feeds/115237947974703388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30618769&amp;postID=115237947974703388' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115237947974703388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30618769/posts/default/115237947974703388'/><link rel='alternate' type='text/html' href='http://msexchangetips.blogspot.com/2006/07/exchange-event-id-508-information.html' title='Exchange: Event ID 508 &quot;Information Store A request to write took an abnormally long time&quot;'/><author><name>jamestechman</name><uri>http://www.blogger.com/profile/08857443563583021254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry></feed>
