Re: Outlook Express and Registry Settings

From: Dany (Dany_at_discussions.microsoft.com)
Date: 08/10/04


Date: Mon, 9 Aug 2004 23:41:02 -0700

Thanks.

Could you please point me towards the specific script in the page?

-Dany

"mayayana" wrote:

> You should find the default key name under:
> HKCU\Software\Microsoft\Internet Account Manager
> value name:
> Default Mail Account
>
> You could enumerate the keys but at least on my system they
> do follow a pattern: Instead of using account names Microsoft
> has used "faux-binary" names. They're actually a text rendition
> of a 4-byte hexadecimal value. Although mine does not list
> 00000001, 00000000, or 0000000C (I assume that's because
> of cancelled accounts), it does generally go in
> order from 00000002 to 0000000F, so you should be able to
> check it that way.
>
> If you want to enumerate the keys:
>
> A component that can do it:
>
> http://www.jsware.net/jsware/scripts.html#jssys
>
>
> A Registry class script that enumerates by exporting
> the parent key and reading it as text:
>
> http://www.jsware.net/jsware/scripts.html#classpk
>
>
> > I'm trying to alter the SMTP settings on a number of computers, therefore
> > I've written a vbs script which does just that.
> >
> > The problem is that under the value of
> > "HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts"
> > exist a number of accounts (i.e. "00000001", "00000002" and so on).
> >
> > How can I able my script to determine the number of accounts and their
> names?
> >
> > I've tried running a "For... Next" loop, but since the account's names
> > aren't restricted to numbers or letters alone.
> >
> > I'd appreciate any assistance possible.
> >
> > Thanks,
> >
> > -Dany
> >
> >
>
>
>