Opening Outlook Express for certain identities?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1417
Joined: Sun Nov 03, 2002 3:19 am

Opening Outlook Express for certain identities?

Post by Dorian (MJT support) » Mon May 01, 2006 6:20 pm

Does anyone know if it's possible to open Outlook Express with certain identities already selected, as opposed to opening with the default identity and selecting >file >switch identity?

I want to collect mail for about 10 different identities overnight and am not too sure where to start.

MS. 7.4.009

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1417
Joined: Sun Nov 03, 2002 3:19 am

Post by Dorian (MJT support) » Sat May 06, 2006 5:36 pm

Any ideas anyone?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat May 06, 2006 5:52 pm

You can modify the registry prior to running OE. Run OE and switch identities and then in Regedit check HKEY_CURRENT_USER\Identities

Make a note of (copy and paste) the following registry values

HKCU\Identities\Last Username
HKCU\Identities\Last User ID
HKCU\Identities\Default User ID
HKCU\Identities\Start As

The last three are GUIDs so you'll need to copy and paste these. So you can use RegistryWriteKey to write the specific values for the identity you want OE to open up in, prior to running OE.

Or just set the above values to nothing and OE will prompt for the identity on startup.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1417
Joined: Sun Nov 03, 2002 3:19 am

Post by Dorian (MJT support) » Sat May 06, 2006 6:40 pm

Thanks Marcus.

You are a large part of the reason why MS is the best $ I have ever spent on software!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts