Thursday, October 06, 2011

Part I – Using VBA to create an Active Directory/Exch Email Account

This pre-install process is for Server/RDP (Windows Server 2003/2008 x64 bit) based
access where the IS/IT component is a generic Domain Admin account (“Admin”) for a
2003 Exchange Server connection. This is a necessity when creating the "bridge" to talk to an Exchange Server that also hosts Active Directory.

  • Requires the CDOEXM for Microsoft Exchange Server. If you are running Exchange 2003, download file from this website (it’s OK that it says for Vista – we can get around that)

Exchange 2010 users – there is a new download available here:

  • Unzip and move the ESMVISTA.EXE and ESMVISTA.MSI files to your
C:\Documents and Settings\Login_Name\My Documents folder

  • At a command line on the server, type the following to get past the Vista detection warning which comes with this .MSI package:
msiexec /i esmvista.msi /q

  • The files will install in the C:\Program Files(x86)\exchsrvr\bin folder. If running a 32-bit server – you are done.

  • For 64-bit server – Copy all DLLs from C:\Program Files(x86)\exchsrvr\bin to C:\Windows\syswow64\ DO NOT overwrite existing libraries!


  • Hand register your libraries at a command line
  • Regsvr32 c:\windows\syswow64\cdoexm.dll
  • Regsvr32 c:\windows\syswow64\exadmin.dl

No comments: