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 thoughts on “Client Registry Keys (Part One)

  • September 19, 2013 at 9:08 am
    Permalink

    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

    Reply
    • September 20, 2013 at 12:22 am
      Permalink

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

      Reply
  • Pingback: Lync logging and troubleshooting | Lyn-Exchange

  • Pingback: Lync logging – Client | Lyn-Exchange

  • October 23, 2013 at 7:32 pm
    Permalink

    Do you know the Reg Key in 2013 to always show the menu bar?

    Reply
    • October 23, 2013 at 8:54 pm
      Permalink

      I haven’t found a reg key for that setting yet.

      Reply
      • October 23, 2013 at 8:56 pm
        Permalink

        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.

        Reply
        • June 27, 2014 at 8:32 pm
          Permalink

          HKEY_CURRENT_USERSoftwareMicrosoftOffice15.0LyncAlwaysShowMenu: 01

          Reply
  • Pingback: Client Registry Keys (Part Two)

    • February 19, 2014 at 10:27 pm
      Permalink

      The link to this doesn’t work. Is there a Part Two?

      Reply
  • Pingback: Client Registry Keys (Part 3)

  • Pingback: Client Registry Keys (Part 4)

  • June 25, 2014 at 12:58 pm
    Permalink

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

    Reply
    • June 26, 2014 at 7:42 pm
      Permalink

      Good catch! I’ve updated the table.

      Reply
  • July 2, 2014 at 6:47 pm
    Permalink

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

    Reply
  • July 28, 2014 at 9:35 am
    Permalink

    Hi Team,

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

    Reply
  • Pingback: Client Registry Keys (Part 5)

  • Pingback: Client Registry Keys (Part Six)

  • November 11, 2014 at 9:52 am
    Permalink

    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.

    Reply
  • November 21, 2014 at 9:01 pm
    Permalink

    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…

    Reply
  • Pingback: Client Registry Keys (Part Two) | Mastering Lync

  • January 28, 2015 at 3:04 pm
    Permalink

    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

    Reply
    • January 29, 2015 at 1:49 am
      Permalink

      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?

      Reply
  • January 29, 2015 at 10:10 am
    Permalink

    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

    Reply
  • February 9, 2015 at 6:37 am
    Permalink

    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.

    Reply
  • September 27, 2015 at 12:56 pm
    Permalink

    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.

    Reply
  • November 2, 2015 at 8:56 pm
    Permalink

    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!

    Reply
  • February 12, 2016 at 9:14 pm
    Permalink

    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.

    Reply
  • March 2, 2016 at 9:04 am
    Permalink

    Hi !

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

    Reply
  • April 11, 2016 at 7:07 pm
    Permalink

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

    Reply
  • Pingback: Skype setting customization – SCCM, Windows 10 and Skype For Business Blog

  • Pingback: Skype setting customization |

  • January 6, 2017 at 9:22 am
    Permalink

    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.

    Reply
    • August 14, 2017 at 3:20 pm
      Permalink

      look for reg key for “advanced connection settings” as well.

      Reply

Leave a Reply

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