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:

http://lyncdup.com/2012/11/what-lync-2013-client-setting-are-held-in-the-registry/

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.

pic2

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

pic3

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: http://masteringlync.com/2013/11/11/the-imautoarchiving-flag/

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.

36 comments on “Client Registry Keys (Part One)”

  1. Tom Arbuthnot Reply

    Great additional info. Thanks for the link back to my post. will add a link to this detail.

    I’ve found in practice some of the keys can be set but don’t apply. There is a lot of testing to understand what works.

    cheers

    Tom

    • Richard Brynteson Reply

      Thanks Tom! Yeah, this could take a while to find them all but should be interesting.

  2. Pingback: Lync logging and troubleshooting | Lyn-Exchange

  3. Pingback: Lync logging – Client | Lyn-Exchange

      • Jameel Reply

        Please post when you do. I have had a number of implementations where they wanted to have this as a default. I have seen something for the Lync 2010 client but not 2013.

  4. Pingback: Client Registry Keys (Part Two)

  5. Pingback: Client Registry Keys (Part 3)

  6. Pingback: Client Registry Keys (Part 4)

  7. Markus Reply

    Hi, thx for this very useful info – just a addition “Show OOF…” is DisablePresenceNote Policy… br, Markus

  8. Ian Reply

    Nice, but you left out the manual server setting screen after clicking advanced button on the ‘Personal’ screen..

  9. Lync 2010 on Outlook 2013 Reply

    Hi Team,

    I am unable to save Lync 2010 conversation history on Outlook 2013?
    Could you advise any workaround solution

  10. Pingback: Client Registry Keys (Part 5)

  11. Pingback: Client Registry Keys (Part Six)

  12. Ozgur Reply

    Hello,

    We want to change Lync 2013 clients Name ” Lync ” to custom name. Is it possible to change logos and Lync names with Regedit from Lync 2013 Client.

    Thanks.

  13. mb Reply

    Anyone know how I can remove the conversation history folder from mail? We are turning this feature off, but I want the folder gone as well…

  14. Pingback: Client Registry Keys (Part Two) | Mastering Lync

  15. Marl Reply

    Hi guys,

    Is there a way to hide or disable from users the following option in Personal:
    “Automatically start Lync when I logon to Windows”

    We want all or users always to stay connected via Lync, they must not have the ability to turn it off.

    Your sincerely,

    Marl

    • Richard Brynteson Reply

      Nothing that I’ve even seen can accomplish this. Maybe a client side GPO to automatically relaunch the lync.exe in the event it’s stopped?

  16. Marl Reply

    Hi Richard,

    Indeed if you create a GPO with the Action Replace on the Lync.exe registry setting Lync will always start up during logon.
    Even if you unselect Personal > Automatically start Lync when I logon to Windows, Lync will start again after logon.

    Tx for you help

    Regards,

    Marl

  17. John Reply

    Hi,

    We have a requirement to force everyone to save IM in conversation history folder in Outlook. The user should not be able to uncheck it. What’s the best way to go about it ? GPO to set the registry keys or will that not work ? Thank you.

  18. Gabe Geise Reply

    Is there a way to disable the client notification area which is located in the bottom right in the system tray which is represented by an cation sighn with an “I” in it? I have a customs that doesn’t want to be informed with notifications. An example of a notification is “help make LYNC better” or “Save your conversations”. I don’t see an option in Set-CsClientPolicy or in the registry settings above.

  19. Samir Reply

    Hi guys,

    There is a way to prevent a user disconnection from Lync 2013?
    I’ve set Lync account on some meeting rooms, and I want to disable this option, to avoid connection with personnal accounts on meeting rooms!

    Thx a lot!

  20. Dan Ala Reply

    All users use Windows 7 and Skype for Business – I have a particular user that brought this issue to my attention. When he makes changes (any type of change) in the Skype settings and logs off the PC, the settings remain checked after logging back into the PC. But when the user reboots the PC, the settings he made in Skype are lost. I had user try on 2 other PCs one at a time, on one PC after reboot the settings were lost and on the other PC the settings remained.

    I had 5 other users make different changes in Skype settings and reboot their PCs, 3 of the users had their settings and the other 2 lost the settings after reboot.

    Any idea why the Skype settings for some users are not staying after reboot of the PCs? To make sure it was not a profile issue, I had tested on these PCs not keeping the settings and I was able to replicate the issue.

    Thanks.

  21. Nicolas A. Reply

    Hi !

    Do you know how can I Save Lync password in the registry ?
    I’ve tried a key : SavePassword but it doesn’t work…

  22. daniel Reply

    the blue pin in the toolbar is greyed, is there a registry key that can be modified to enable/disable this option?

  23. Pingback: Skype setting customization – SCCM, Windows 10 and Skype For Business Blog

  24. Pingback: Skype setting customization |

  25. Jyoti Prakash Reply

    Hi, it’s a great post and a wonderful help.!

    did you get the reg keys for Advanced tab under personal?

    I am stuck with a problem where the “Advanced Connection Settings” are greyed out and i wanted to change the settings from Manual configuration to automatic configuration but can’t seem to find it anywhere.

    It would be great if you could point me to right path.

Leave a Reply to Richard Brynteson Cancel reply

Your email address will not be published. Required fields are marked *