Posted by: Andy Grogan | July 26, 2007

Getting ADUC to see the Exchange 2003 Attributes on Windows Vista…

Hiya Folks, most of us know that the Exchange Management Extensions for Exchange 2003 are not supported – or do not work on Windows Vista, however – there is a way that you can get the Active Directory Users and Computers Snap-in to work with Windows Vista which will allow you to manage Exchange attributes.

In this post I would like to take you through getting ADUC with the Exchange extensions to work under Windows Vista.

Firstly in order for this to work you will need;

  • A download of the Windows 2003 SP1 Adminpak.msi file, which can be obtained from: http://www.microsoft.com/downloads/details.aspx?FamilyID=c16ae515-c8f4-47ef-a1e4-a8dcbacff8e3&displaylang=en
  • Your Windows Vista computer to be a member of the domain that contains the Exchange Server that you wish to manage using ADUC
  • Be logged onto the Vista machine with an account that has permissions to administer the local machine and the domain (or modify accounts in AD)
  • You will need the following files from your Exchange Server (these may be located in the Windows\system32 folder or in the program files\exchsrvr\bin folder);
    • exchmem.dll
    • glblname.dll
    • Address.dll
    • maildsmx.dll
    • netui0.dll
    • netui1.dll
    • netui2.dll
    • pttrace.dll

Addtionally I would suggest that you copy over the “Active Directory Users and Computers.msc” file from the c:\program files\exchsrvr\bin directory on your Exchange server to a location on your machine (this will ensure that you have the latest version of the msc)

Follow the guidance from for installing the Adminpak.msi on Vista from Daniel Petri’s site, which is located here: http://www.petri.co.il/running_win_2003_adminpak_on_vista_rtm.htm

Copy all of the DLL’s mentioned above to the c:\windows\system32 folder then run the following command line regsvr32 c:\windows\system32\maildsmx.dll

You should now be able to open up the ADUC and manage users accounts as you normally would from you Windows Vista Session.


Responses

  1. [...] Getting ADUC to see the Exchange 2003 Attributes on Windows Vista… [...]

  2. Got an error message:

    “The Module “c:\windows\system32\maildsmx.dll” failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependant .DLL files.
    The specified module could not be found.

  3. Your steps are missing one DLL – escprint.dll. I found that it was needed via the MS Technet Forums…but these instructions are the first ones to come up, so it might be good to update them.

  4. Great job!! And thanks to SeanRinVA, after adding that last dll everything worked perfectly!

  5. Fantastic – thank you very much.

  6. Remember to copy those files into the SysWOW64 directory if running x64 Vista. Run the regsvr32 command in admin mode from there.

    Unfortunately it breaks when you install the new management tools (RSAT) on Vista SP1. Even reregistering the files again doesn’t bring back the exchange attributes…not that I’ve found anyways. :(

  7. Thanks a bunch for this…and thanks for the update SeanRinVA!

  8. I just did this on my Vista SP1 32bit workstation with the RSAT tools for server 2008 (never had the 2003 adminpak installed) and it works great.

    Thanks

  9. any idea how to make this work in Windows 7? i tried following all the steps, including the comments for Vista x64, and am having no luck.

  10. I am also trying to get Windows 7 to work. It all seems to go well until the last “regsvr32″. I get the following popup errors:

    regsvr32.exe – Entry Point Not Found
    The procedure entry point I_NetNameCanonicalize could not be located in the dynamic link library NETAPI32.dll.

    regsvr32.exe – Entry Point Not Found
    The procedure entry point I_NetNameCanonicalize could not be located in the dynamic link library NETAPI32.dll.

    Microsoft Active Directory – Exchange Extension
    The specified procedure could not be found.
    Facility: Win32
    ID no: c007007f
    Microsoft Active Directory – Exchange Extension

    RegSvr32
    DllRegisterServer in C:\Windows\syswow64\maildsmx.dll succeeded.

    Of course, the last popup was an incorrect success message. When I try to open AD Users and Computers, it says MMC could not create the snap-in. It probably said the same thing before applying the exchange hack, but I’m not sure. I’ll have to test this on a fresh install.

  11. I have also been trying to get this to work on Windows 7, no luck. I’ve tried every way to Sunday and always get an error opening ADUC account properties after the dll registration.

    Side Note – If you unregister the maildsmx.dll (with the -u on the end of the regsvr32.exe command) you will get the ADUC to open account properties, but no Exchange Extensions.

    (sigh)

    Is this Microsoft forcing us admins to upgrade to Exchange 2007 or 2010 coming out soon?


Leave a response

Your response:

Categories