Configuring Outlook for the signatures within the users registry

This post will outline some of the data that Outlook stores in the users registry to control the configuration of email signatures. All of the configuration for a users Outlook account(s) can be found in the registry. The root path to this configuration data is:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

For each Outlook profile there will be a sub key, the default name is Outlook but this may be different depending on how the users Outlook profile was originally set-up.
Below this Outlook key there will be a large number of further registry keys with pretty meaningless looking names.
The registry sub key we are interested in at this point is:


Within this sub key is REG_BINARY value {ED475418-B0D6-11D2-8C3B-00104B2A6676} that contains the current Outlook profile. This value points to a further sub key that actually hold the Outlook account information.

So in this example  {ED475418-B0D6-11D2-8C3B-00104B2A6676} contains a value of “03 00 00 00” which indicates the sub key 00000003 is the one we are interested in.

If by this point the script has found all the matching information it will attemp to add or update two REG_BINARY values:

  • New Signature
  • Reply-Forward Signature

As you may have noticed from the screenshot above these are not stored as string values, I suspect this is to allow for unicode text. So the script will also have to do a string to byte array conversion to enable the registry provider to write the values into the registry.

There is a function within the script (String2ByteArray) that takes care of this string to byte array conversion. At this point Outlook will use the newly created signature files when  sending emails.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s