Automating email account creation with usernames

P

PSYcho

How do I go about creating a script or registry key,
that automatically sets up an Outlook Express / Outlook 2007 email account
for any user that logs on the computer;
with their username as the email address?
Eg. User A logs on, and so will have an email account set up for them
automatically,
with the details:

Email address: (e-mail address removed)
SMTP/POP Server: (e-mail address removed)

I have tried creating a registry key that is run by AUTOEXEC.bat in WinXP,
the key details seem to not work.
Registry key details:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Account
Manager\Accounts\00000001]
"IMAP User Name"="%*USERNAME%"
"POP3 User Name"="%*USERNAME%"
"SMTP Display Name"="%*USERNAME%"
"SMTP Email Address"="%*USERNAME%@mydomain.com"
"SMTP User Name"="%*USERNAME%"

Thanking you in advance for any information regarding this issue.
 
R

Roady [MVP]

You'll need to deploy a prf-file for that. You can do that by starting the
setup of your Enterprise version of Office/Outlook with the /admin switch.
See the Office Resource Kit for more details.

You can execute your script at logon but make sure you check first if there
are indeed no profiles configured yet. You really should not touch the
autoexec.bat file.

Outlook Express is a completely different program. Ask in an OE newsgroup on
how to autoconfigure that.
http://www.microsoft.com/communitie...px?dg=microsoft.public.outlookexpress.general

Good Luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top