Running the Outlook Mail control panel from the command line

Not sure why the internets failed me again, but I had to resort to registry searching to find this one. For Outlook 2007, to run the “Mail” control panel applet from the command line, use the following:

rundll32.exe shell32.dll,Control_RunDLL “C:\Program Files\Microsoft Office\Office12\MLCFG32.CPL”

I needed this so I could run the applet as a different user. Worked like a charm!

2 thoughts on “Running the Outlook Mail control panel from the command line

  1. The Internets didn’t fail me now, thanks to you! Saved me a lot of hassle trying to export some mailboxes on a 64-bit box. (Microsoft’s tools for exporting to PST don’t support 64-bit OS. WTF?) Anyway, had Outlook installed and got one exported… then couldn’t do the other because I couldn’t add another Exchange account while Outlook was running, AND there is no Mail option in the Control Panel. Figured a command line existed to fix all that. I knew someone else already had this problem, and likely solved it. =)

    Peace. ~G

  2. Thanks for this. I just want to add the two different variants for someone in need:

    rundll32.exe shell32.dll,Control_RunDLL “C:\Program Files\Microsoft Office\root\Office16\MLCFG32.CPL”

    rundll32.exe shell32.dll,Control_RunDLL “c:\Program Files (x86)\Microsoft Office\root\Office16\MLCFG32.CPL”

Leave a Reply

Your email address will not be published. Required fields are marked *