Link to home
Start Free TrialLog in
Avatar of mpdctech
mpdctechFlag for New Zealand

asked on

Configure a General Format for Outlook Signature and then Lock it Down

We  want to setup a general outlook signature for all our users.  At the moment users will have to manually configure through Outlook, but the problem is some users do their own style.  We want to be able to set a format lik for e.g. Name Last Name, Position, Company Name, Contact Details; then lock it down so no body can change it.
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There are some products which may server your need. My preference would be the OfficeAddon (first link). Cheers....

http://www.officeaddon.com/
http://www.symprex.com/products/email-signature-disclaimer-manager/
Avatar of mpdctech

ASKER

Found a way to do this without third party software using vbscript and then including it to the login script.
' It fetches information such as Staff name, title, and mobile number from AD
' then generates a template and saved to the users Outlook profile via login script
' Created by Mike David 
' 18-Jul-2008
 
On Error Resume Next
 
Set objSysInfo = CreateObject("ADSystemInfo")
 
strUser = objSysInfo.UserName
Set objUser = GetObject("LDAP://" & strUser)
 
strName = objUser.FullName
strTitle = objUser.Title
strDepartment = objUser.Department
strCompany = objUser.Company
strPhone = objUser.telephoneNumber
 
Set objWord = CreateObject("Word.Application")
 
Set objDoc = objWord.Documents.Add()
Set objSelection = objWord.Selection
 
Set objEmailOptions = objWord.EmailOptions
Set objSignatureObject = objEmailOptions.EmailSignature
 
Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
 
Set colParagraphs = objDoc.Paragraphs
colParagraphs.LineUnitAfter = 1
 
objSelection.Font.Name = "Arial"
objSelection.Font.Size = "9"
objSelection.Font.ColorIndex = 15
objSelection.Font.Bold = true
objSelection.TypeText strName
objSelection.Font.Bold = false
objSelection.TypeText " | "
'objSelection.Font.Bold = true
objSelection.TypeText strTitle & Chr(11)
'objSelection.Font.Bold = false
objSelection.Font.ColorIndex = 2
objSelection.Font.Bold = true
objSelection.TypeText strPhone & Chr(11)
objSelection.TypeText "Phone "
objSelection.Font.Bold = false
objSelection.Font.ColorIndex = 15
objSelection.TypeText strPhone
 
Set objSelection = objDoc.Range()
 
if objUser.Company = "" then ' exclude non MPDC staff
	objSignatureEntries.Add "MPDC Signature", objSelection
	objSignatureObject.NewMessageSignature = "MPDC Signature"
	objSignatureObject.ReplyMessageSignature = "MPDC Signature"
	objDoc.Saved = True
end if
objWord.Quit

Open in new window

Sorry, but I'm going to object.  That code creates a signature, but that's not what you asked for.  You said, "We want to be able to set a format ... then lock it down so no body can change it."  This code does nothing to lock the signature.  
Yeah your right sorry about.  Although my point is the login script will keep bringing it back to standard if they do change it.  I had look at Office Resource Kit and tried to incorporate in the Group Policy the closes thing you can get is to disable the feature.  

I think you do deserve the points as your suggestion can be possible way of locking down.

solution for locking down was close enough but the way to implement/deploy standard signature was not met
Finally found a way to totally lock down Outllook Email Signature, but at the moment I have only implemented it for Outlook 2003 SP2.  You will need to use an Office Resources Kit particularly the outlook11.ADM file.  Edit the ADM file by adding some scripts below (signature category) ... add the ADM file to your GPO.  After that you will have an additional option for mail signature that will allow you to specifiy the standard signature you created from the vbscript posted earlier.
CATEGORY Signature
POLICY Disable signatures for new messages
KEYNAME Software\Policies\Microsoft\Office\11.0\Common\MailSettings
    PART Disable signatures for new messages CHECKBOX
                VALUENAME NewSignature
                VALUEON 
    END PART
    END POLICY
POLICY Disable signatures for replies and forwards
KEYNAME Software\Policies\Microsoft\Office\11.0\Common\MailSettings
    PART Disable signatures for replies and forwards CHECKBOX
                VALUENAME ReplySignature
                VALUEON 
    END PART
    END POLICY
POLICY Signature for new messages
KEYNAME Software\Policies\Microsoft\Office\11.0\Common\MailSettings
    PART Signature for new messages EDITTEXT
                VALUENAME NewSignature
                
    END PART
    END POLICY
POLICY Signature for replies and forwards
KEYNAME Software\Policies\Microsoft\Office\11.0\Common\MailSettings
    PART Signature for replies and forwards EDITTEXT
                VALUENAME ReplySignature     END PART
    END POLICY
END CATEGORY
END CATEGORY

Open in new window

Can you advise how to implement this adm change as when i have tried to do it i keep getting an error advising unexpected content found at line 1218 which is the last line of the above script onces it is added to the outlook adm template.

Thanks
The exact error i get is:

Administrative Templates

The following error occured in c:\windows\system32\grouppolicy\adm\outlk11.adm on line 1218: Error 51 Unexpected keyword

Found: Category
Expected Keyname, Valuename, Default, Required, Maxlen, Oemconvert, soft, end, expandabletext, clientext

The file can not be loaded.

I have already double checked this with colleagues to ensure we are inputting the details correctly and everything is there as above. Any guidence on this would be much appreciated.
As far as ADM files go this should is what I found in my research you can create a custom ADM file to disable stationary here is the website to do this for outlook 2007.  

Use this for step by steps ;)
http://blogs.pointbridge.com/Blogs/nielsen_travis/Pages/Post.aspx?_ID=6

also for outlook 2003

http://forums.windowsitpro.com/web/forum/messageview.aspx?catid=40&threadid=86907&enterthread=y