Sync Outlook2002 Signatures with Profile

Posted in Windows XP by Community Submission

For some reason, Outlook 2002 maintains signature properties accross profiles. For example, two people in the household share the same computer and have different Outlook Profiles, it would be nice to have the automatic signatures applied consistent with which profile is utilized.

The following script will launch outlook in the designated profile and assign the correct signatures. Create one for each profile. The quotation marks remain around the variables.

BACK UP YOUR REGISTRY FIRST.

Change the two instances of signatureREPLACE (new and reply signatures) with the signature name and change the ProfileNameREPLACE with the profile name. Again, the quotation marks are required.

REM ***********************************************

Dim objShell, RegKey, Q

Set objShell = CreateObject("WScript.Shell")

            strQuote = chr(34)      

RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\MailSettings"

RegKey = RegKey & "\NewSignature"

objShell.RegWrite RegKey, "SignatureREPLACE"

RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\MailSettings"

RegKey = RegKey & "\ReplySignature"

objShell.RegWrite RegKey, "SignatureREPLACE"

objShell.Run "outlook /profile " & strQuote & "ProfileNameREPLACE" & strQuote

REM ***********************************************

Free Computer Magazines and eBooks
Comments