VB Script to Change Display Names in Outlook Contacts

I'm having some issues with the name display in Contacts within Outlook within my user community. My Exchange server is 2010 and my clients run Outlook 2003.

I would like to allow each user to run a script that would change the Default "Full Name" order to First Last, as well as the Default "File As" order to Last, First in Tools, Options, Preferences, Contact Options.

Any ideas?
DougInOttawaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David LeeCommented:
Hi, DougInOttawa.

I think you'd be better off using group policy to set this.
0
TheGorbyCommented:
As BlueDevilFan mentioned Group policy does have this exact setting for Outlook, you'd need to download the Office ADM files to use it though.

If you do want to use a script, the 2 registry settigns you need to change are:

Within "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Contact\"

(REG_DWORD) FileAsOrder = 0x00008017 (32791)
(REG_SZ) NameParserStyle = E
0
DougInOttawaAuthor Commented:
And this will change both the FileAsOrder and the DisplayAsOrder?
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

TheGorbyCommented:
Correct, the DisplayAsOrder is the 'NameParserStyle' registry value. A value of 'E' will be "First (Middle) Last". In fact here's a batch script that will change it for you:
REG ADD HKCU\Software\Microsoft\Office\11.0\Outlook\Contact /v NameParserStyle /d E /f

REG ADD HKCU\Software\Microsoft\Office\11.0\Outlook\Contact /v FileAsOrder /t REG_DWORD /d 00008017 /f

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheGorbyCommented:
Oh and one thing I forgot to mention, for the line with the 'FileAsOrder' info, the number after the "/d" may need to be 32791 instead of 00008017.
0
DougInOttawaAuthor Commented:
Thanks for the help, TheGorby. This is great for new contacts.

Is there any way to automate this same change to existing contacts?
0
TheGorbyCommented:
That will be much tougher, since as far as I can tell it's not saved in the registry or to any editable file.

My guess is that this would only be possible using VBA (which I'm not very good with) or maybe AutoIT (which I'm very good with). I'll see if I can't figure something out with one or the other.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.