Client Registry Keys (Part One)


Client Registry Keys – Part One (General & Personal Tab)

Client Registry Keys – Part Two (Contacts List & Status Tab)

Client Registry Keys – Part Three (My Picture & Phones Tab)

Client Registry Keys – Part Four (Alerts, Persistent Chat & Ringtones and Sounds)

Client Registry Keys – Part Five (Audio Device, Video Device, Call Forwarding, File Saving, Recording & Lync Meetings)

Client Registry Keys – Part Six (IM Tab)


[UPDATED 10/14/2014 – October CU added IM tab.  See Part Six for additional information]

[UPDATED 7/7/2014 – Additional information about saving IM history and automatic saving of IM’s]

[UPDATED 9/21/2013 – With new client features that include spell check]


So I’ve been working on a client where we needed to push out some settings via registry key as there was no corresponding in-band provisioning.  So I decided to take to the Bing’s and see if I could find them all.  I found Tom’s blog:

Which gave me the list of possible values.  What I wasn’t sure about was what the values would need to be and then found a few keys that Tom didn’t have in his blog post.  So I decided, why not go through the client page by page and see if I could find each registry key, what values would be supported and of course find the corresponding set-csclientpolicy value.  Why would I do this you might ask?  Because I’m a nerd and find this pretty neat.  So this will take a few posts to get through it all.

A few basics to be aware of.

All of the registry keys will be found in the HKCU:SoftwareMicrosoftOffice15.0Lync

Almost all of the values are DWORD values.  Unless otherwise noted that is what they are.

The values are 0 = unchecked/disabled and 1 = checked/enabled.  Unless otherwise noted.

Description Reg Key Values Client Policy
 Reopen my conversations when I sign in to Lync  IsConversationStatePreservationEnabled  0/1  N/A
 Sign up for customer experience improvement …  EnableSQMData (ONLY FOR LYNC 2010)
 Automatically send lync error info to Microsoft
 Logging in Lync  EnableTracing  0/1  EnableTracing
 Also turn on Windows Event Logging  EnableEventLogging  0/1  EnableEventLogging
 Minimize to the notification area instead of task bar  MinimizeWindowToNotificationArea  0/1  N/A


Personal Tab

Description Reg Key Values Client Policy
 Sign-in address  ServerSipUri  REG_SZ  N/A
 Automatically start Lync when I log on to Windows  SEE BELOW #1  —  N/A
 Show Lync in the foreground when it starts  AutoOpenMainWindowWhenStartup  0/1  N/A
 Personal Information Manager  N/A
 Update my presence based on my …  DisableCalendarPresence
 Show meeting subject and location …  DisableMeetingSubjectAndLocation
 Show my Out of Office info …  DisablePresenceNote
 Save IM conversations in my email Conversation …  SEE BELOW #2  —  EnableIMAutoArchiving
 Save call logs in my email conversation history folder  SEE BELOW #2  —  EnableCallLogAutoArchiving
 Share my location info with other programs I use  N/A  —  N/A
 Show pictures of contacts  ShowPhoto  0/1  DisplayPhoto


#1 Automatically start Lync Client

Registry Location HKCUSoftwareMicrosoftWindowsCurrentVersionRun
Registry Key Name Lync
Registry Key Type REG_SZ
Registry Key Value “C:Program FilesMicrosoft Office 15rootoffice15lync.exe” /fromrunkey


#2 – Saving Conversation History

This one gets asked all the time and I’ve confirmed, this data cannot be set via the registry.  This information, if not set by your administrator, is actually stored in the back-end database.  As a test, try the following: Go to client #1 and uncheck Save IM conversations … go to client #2, log out of Lync and log back in (with same user of course) and you will see it’s unchecked.  This can only happen because when you clear the setting it goes into the database.  I’ll scrub the database and see if I can find it.

One item to remember is that EnableIMAutoArchiving just stops the automatic saving of IM’s to conversation history.  A user could still use the CTRL+S to save it themselves.  You would need to also enable the DisableSavingIM client policy tag to completely stop saving of all IM’s.

You can learn all about this field here:

I’m in the process of finishing up this table.  I’ve found some old references for OCS 2007/R2/2010 but they don’t apply to the 2013 client.  So I’m going to continue to fish through the registry for them.  Once I’ve finished those I’ll move onto the next screen.

Post Directory