Compliance in the enterprise is a funny thing. Some companies take the approach that they have to save everything forever. Some take the opposite approach that they only keep limited backups, control what the user can save, and purge everything else. This post will describe how to control and prohibit users from saving IM’s to Outlook or their local folder structure.
There are three major ways to archive/save IM conversations for Lync:
- Install and configure the Lync Archiving Role
- Allow client side “Conversation History” through the Outlook client
- Allow users to save an IM to a file
We will not go into #1 since if you do not install or configure the Archiving role, then IM’s will not be centrally saved within a SQL database.
Disable Conversation History in Outlook
By default when Lync is installed, Lync integrates with Exchange/Outlook and creates a Conversation History folder to save all conversations including IMs, audio, video, and web conferences. Also by default, all conversation logs are set to save in this folder.
These options can be set in the client by the user:
The administrator can disable these settings from user control by setting a Lync client policy which gets applied to the client through in-band provisioning. There are two parameters that can be set here, one for IM conversations and one for call logs. The following command disables the automatic saving of both options:
Set-CsClientPolicy –Identity Test –EnableIMAutoArchiving $false –EnableCallLogAutoArchiving $false
Note that I am setting a specific policy which is already granted to my users. You could easily set these parameters on the Global Client Policy to apply to everyone.
After applying the policy, the options are now unchecked and disabled from user control:
With these policies configured, a user still has the option of saving IM conversation manually.
Disable the Ability to Save IM Conversations Manually
When in an IM conversation, a user has the option to save an IM to Outlook or as a separate file:
The administrator can disable this option by setting a Lync client policy which gets applied to the client through in-band provisioning. The following command disables the ability to manually save IM conversations:
Set-CsClientPolicy –Identity Test –DisableSavingIM $true
Note that I am setting a specific policy which is already granted to my users. You could easily set these parameters on the Global Client Policy to apply to everyone.
Now the option is no longer available within the IM conversation:
This post described how to disable IM conversation logging and saving. Hope this helps.






Dear Alex, Had you any problem with this settings?
ReplyDeleteI have problem with this, in my case, lync 2010 saves conversation randomly.
Piter, can you describe you problem more clearly? Do you have multiple Exchange accounts configured in your Outlook profile? Do the settings above no block IM archiving for you?
ReplyDeleteTim
Hi Tim, I set a client policy with "–EnableIMAutoArchiving $false" but I saw a randomly IM conversation on my conversation History folder. I check my Lync 2010 option, and have "Save instant mesage conversations in my email Conversations History folder" disable.
ReplyDeleteI dont know way save some conversation.
Good work Tim, keep up the good work :)
ReplyDeleteHow do we implement these changes when the Lync 2010 server is Cloud Hosted?
ReplyDeleteIf you are referring to Office 365, there is no way to enforce these settings since you cannot create/apply client policies through in-band provisioning. If you are talking about a private cloud solution, then this should be possible.
ReplyDeleteif i want to save my IM details in conversation history folder only for last 15 days and older things should get deleted..how can i do this from Lync server?
ReplyDelete@Anonymous Once the IM is in the Conversation History folder it is then controlled by Exchange, not Lync. So if you wanted to control retention on those messages, then you would need to create retention policies on Exchange or use some other mechanism to delete the messages.
ReplyDeleteTim:
ReplyDeleteYou can use ocs.adm (R2 edition) for Office 365 lync policy handling. Do you have additional information on saving IM conversations manually?
Regards to Azaleos!
Bob Krangle
Hi,
ReplyDeleteIs there any option to enable "instant message conversations in my email conversation history folder" from client side.....
Regards
Vimal
Hi, My adminstrators did this on communicator and I was able to override it from the registry but now they moved to lync and it doesn't work any more ;(
ReplyDeleteHow can I enable these features from the client side please?
Thanks a lot
These options are now controlled by Lync's in-band provisioning instead of OCS GPO/registry. You cannot override these if set with in-band provisioning as it takes precedence over registry settings. You will need to create multiple Lync client policies and set the options appropriately.
DeleteHi Instead of using the $false option that greys out the box. Is there an option that will remove the tick and will allow users to put in the tick by themselves
ReplyDeleteAt this time, there is no way to set preferences, only policies.
DeleteIs there any way in Lync to stop sending IMs converstion to outlook, instead of disable/enabling the option in outlook.
ReplyDeleteIs there a way to delete the "Conversation History" folder from Lync users' mailboxes in Exchange 2010 once these features are disabled? It acts like a system folder (Inbox, Sent Items, etc) in certain respects - user cannot delete it themselves from OWA or when in Online Mode in Outlook 2010. User can delete it Outlook when in cached mode, however it is restored the next time the client is restarted.
ReplyDeleteAny thoughts on this? I've got a exec that has 'opted out' of using Lync in our environment and is stuck with this Conversation History folder, much to frustration. My only option is to create a new mail file and migrate the old contents to the new one, not a task I am looking forward to.
DeleteAre you by chance accessing this outlook profile from another machine that also has lync installed? Also, check in Outlook Options - Add-ins, there is a Conversation History add-in listed, make sure it is disabled.
DeleteIs there a way to have the employer/supervisor monitor the IM conversations that other users have? If a supervisor wants to see the conversation history between employee a and b, would it be possible to have some lync configuration done to see the conversations or would this need to be configured in exchange in some way?
ReplyDeleteYou can achieve this by deploying the Lync Archiving role (centralized archiving). Then you can utilize SSRS to run reports. See this link: http://dusk1911.wordpress.com/2011/03/02/lync-2010-im-archive-report/
Deletehi tim,
ReplyDeletehow do you go about creating client policies so that i can override the grayed out portion by the administrators. previously i was able to edit the registry and enable auto archiving but now it doesnt seem to work
You are wanting to override the policies configured by your administrators? This is not possible. The Lync client policies will take precendence over registry settings.
DeleteHi Tim,
ReplyDeletewhich type of Lync software this setting to take effect? We use both the Lync 2010 client as well as the Attendee software. In addition, we communicate with people that do not use our company's computers.
We want to turn off the chat archiving for all users.
Matthias
Microsoft Lync Console you can find 3 icons 1st Contacts, 2nd Activity Feesds , 3rd Conversations.
ReplyDeleteClick on 3rd icon Conversations.
At bottom of the console you can find "View More in Outlook" Click on it and find all the conversation history folder in outlook.
How configure send messager offline in Lync Server 2013??Pls
ReplyDelete