In Lync 2010 when enabling users for “Enterprise Voice” you would get the Audio Selection Menu which helped you select your primary device at any time. This was an important menu since it would let you know what was your active device at any given time and was a huge improvement over the Communicator 2007 R2 clients. Originally it was intended that this menu was going to be enabled for users enabled for “PC-to-PC only” as well, but it ended up being a bug that became a feature. Continue reading
Author: Ståle Hansen
Windows 8 will change the way you use a PC
For the past six months I have used a Samsung Series 7 slate with Windows 8 installed. I have to say, a Windows 8 slate like this Samsung or the Microsoft Surface will change how you use and relate to your PC. I will try in this article to share what I have experienced using this form factor actively in my daily life. Continue reading
Recommendation: Profiles for Lync v2 for Lync 2010 and 2013
A feature not present in the Lync client is the ability to sign in with different accounts. In the native Lync client you can only be signed in with only one identity and there is no easy way to switch identities. As a consultant I implement Lync for a lot of different customers and I need to sing in as them to test features. You probably experience that scenario if you are a Lync administrator as well, testing different settings for different types of users. For Lync 2010 there was a tool developed by Greig Continue reading
Speaking at Atea Community this fall
Atea Community Norway is the premiere seminar that will visit 12 cities from Tromsø in the north to Kristiansand in the south. Here you can meet Atea employees, hear the biggest trends within IT and mingle with 49 of Atea’s biggest partners at their stands. This year I will speak about Lync 2013 in Hamar, Fredrikstad and Oslo together with Karin Løkke. In the other cities Joakim Erdal and Tom-Inge Larsen will do the Lync talks. I will also speak in Tromsø and Trondheim about Windows 8 and Office 2013. Atea has recorded teasers for a lot of the talks given and I was featured in two of them. See them below. I also recommend attending the talk about the future of telephony which is the third video. Hope to see you at Atea Community in a city near you! Continue reading
Gartner Magic Quadrant for Unified Communications 2012
Is that time of the year again when Gartner releases their yearly analysis of the Unified Communications vendors and their offerings called Magic Quadrant for Unified Communications. The vendors evaluated must meet certain criteria which is a product portfolio that supports
- voice and telephony
- conferencing
- messaging
- presence and IM
- support for different client platforms
- support communications-enabled Applications
It is a tradition to comment on the Gartner UC MQ’s here at the msunified.net, and I have done so since 2009. See the previous articles here:
Lync Server 2013 Preview features and how to configure them
Now as the Lync Server 2013 preview is here the community is exploding with information on features and how to configure them. In this blog post I will try to collect the posts and information I come accross. Keep in mind that all of these posts are based on the preview version so the information may be subject to change.
Last updated: 20.08.12
The UCArchitechts podcast
Lync Server 2013 Preview Special Episode: http://www.theucarchitects.com/929 Continue reading
Lync Server 2010 Monitoring reports and why you always should deploy them
There is actually a lot of good documentation on Lync Server Monitoring and Monitoring reports. If you got the time you could really drill down in to understanding and getting the most out the reports from the different sources. I want this post to highlight some of the main features with the monitoring reports and give a quick introduction and a overveiw of what to expect. Continue reading
Lync Features and how to configure them moving to TechNet Wiki
The Lync Community has produced a lot of great articles about Lync Server 2010 features and how to configure them. Since the Lync Server went RTM I have noted down good blog posts that explains the Lync technology or tell us how to configure it in this post: https://msunified.net/2010/11/22/lync-server-2010-features-and-how-to-configure-them/ Continue reading
What is CSContactImporter and how can it be used
CSContactImporter was released 12.04.2012 and can be downloaded here: http://www.microsoft.com/download/en/details.aspx?id=29558
At first i thought it was a PowerShell script to add contacts to a users contact list since the name starts with CS. After downloading and installing it I found out it was a program that enables you to do this from a GUI.
What does it do?
- It lets you import contacts into Lync\OCS from
- AOL Instant Messenger (blt export, version 2)
- Windows Live (csv export)
- Cannot import groups
- Because some WLM contacts may not have msn domain the contacts may be imported wrong and not working
- Example: sh@msunified.net needs to be in the format sh(msunified.net)@msn.com in Lync, when its not imported like this it will fail so beware
- YAHOO Messenger (Yahoo csv export)
- Cannot import groups
- Plain Text
- One line per contact, optionally add comma and group name
- Example: sh@msunified.net,Sales
- For distribution groups, enter the group email and then _dg_ as the group name
- Example: accounting@contoso.com,_dg_
- The contacts can be imported to a single user or a group of users using the batch option
- You need to use dbimpexp.exe to export all contacts or indivdual contacts from the Lync SQL contact store
- The tool is a Lync native tool found under C:\Program Files\Common Files\Microsoft Lync Server 2010\Support
- After you have exported your users you can use the CSContactImporter to append the contacts to the users list
- Then you need to use dbimpexp.exe to import the users contacts to the Lync SQL contact store again
What does it look like?


Using it in a scenario
To me the batch import is the most interesting scenario. Being able to prepopulate a Lync users contact list with its closest peers in the office or his og her virtual coworkers. The ability to add a default group to all contact lists with telepresence rooms or IT support seems like a usable scenario. Espcially when its the first time users start using Lync, I bet the new users spends their first time in Lync trying to find their coworkers.
To populate a few users with their closest coworkers in a group
- You need to export all users contact list from the Lync contact database, even though the contact lists is empty
- For Standard Edition run the command: dbimpexp.exe /hrxmlfile:”c:\TempCSCI\users.xml”
- For Enterprise Edition run the command: dbimpexp.exe /hrxmlfile:”c:\TempCSCI\users.xml” /sqldatabase:”sql server hostname”\”instance name”
- It is not possbile to export groups of users using this tool, only one or all
- Create the contacts you want imported into the users contact lists in a txt
- sh@msunified.net,Sales
- vf@msunified.net,Sales
- me@msunified.net,Sales
- Where sales is the group name, if a group exists from before it will update this group if you check “Carry over groups”
- If you just want to add a distribution group instead use the following syntax
- sales@msunified.net,_dg_
- Personally I don’t like using distribution groups because sometimes the group expansion is not always that snappy and not all clients support them
- You need to create one file per user with the content above and the filename must match the SIP address of the user they will be imported into
- sh@msunified.net.txt
- Make sure all the files are stored in the same folder
- Populate CSContactImporter as shown below and hit Generate
- The importer will only alter the users specified in the txt files and no other users

- A log file will be written to the same folder and you can open it to see if any users failed to import
- Now you need to use dbimpexp.exe to import the new contact lists
- For Standard Edition run the command: dbimpexp.exe /import /hrxmlfile:”c:\TempCSCI\users_merged.xml” /restype:all
- For Enterprise Edition run the command: dbimpexp.exe /import /hrxmlfile:”c:\TempCSCI\users_merged.xml” /sqldatabase:”sql server hostname”\”instance name” /restype:all
- After the import is finished, the users need to log out of Lync and then in again to see the new groups and contacts
- Remember that all changes users have done to their contact lists between you export and import will be lost, make sure to do this in low traffic periods

Conclusion
The tool works and it is now possible to import contacts form other IM solutions or predefening contacts based on AD groups or office location before users log on using this tool. If you have lots of users a lot of these steps may be automated using PowerShell, like finding the users you want to have in your group, creating the txt files and dbimpexp export\import. The only manual thing here is the tool itself. I am sure a cool script to handle this will be written as the community will get more hands-on.
You may also want to try out LyncAddContacts.vbs – VBS Script to add Groups to multiple contacts created by MVP Jeff Guillet. The main difference between CSImportContact and LyncAddContacts:
- CSImportContacts can new users and groups based on text files or import from another IM program and is a GUI
- LyncAddContacts needs to have a defined dummy user with only the groups or users you want to import and is a VBS script
Todays Lesson Learned – Lync and Exchange UM integration when the UM server is in another subdomain
This is a follow-up post in a series called Todays Lesson Learned started by fellow Lync MVP Tommy Clarke with this post: Todays lesson learned–Exchange 2010 upgrade with Active Sync and MobileIron and my follow up post on: Todays Lesson Learned – Lync Server 2010 and ST node for OpsMgr 2007 R2 It is a blog series noting down “learn from my mistakes” and “gotchas that can stop an entire project” type of problems with learning by doing and learning the hard way.
I was doing an Exchange UM integration with Lync. Everything worked fine and I was following fellow MVP blog article by Jeff Schertz: http://blog.schertz.name/2010/11/lync-and-exchange-um-integration/
The Problem
- When I got to the point where I was going to run the Exchange script exchucutil.ps1 on the Exchange UM server I got the following error
Using Global Catalog: GC://”Different subdomain”
The UM server wasn’t able to read the Communications Server pool objects. Verify that Communications Server is deployed in this Active Directory forest and you’re a member of the RTCUniversalServerReadOnlyGroup group or have sufficient rights to read this Active Directory container object.Additional information:Group RTCUniversalServerAdmins couldn’t be found.
- Checking the web for possible solutions I came over this blog post for UM integration with OCS back in the days: http://etcuc.blogspot.com/2009/02/exchucutil.html
Probable Cause
- The cause of this was that Exchange Schema extension was done in another subdomain.
- When the Get-Ucpools.ps1 script triggered it could not find the Lync security groups to access the Lync pool configuration.
The Solution
- As the blog depicts the solution was to edit the Get-Ucpools.ps1 script that is used by the ExchUcUtil.ps1 script
- Make a copy of the original script before editing
- Remember to open NotePad “as administrator”, else you can not save the script
- Comment out the original global catalog discovery line
- #$entry.psbase.Path = “GC://” + $globalCatalog
- $entry.psbase.Path = “GC://MYGCin.Domain.com”
- Add a local domain controller that is also a global catalog
- To determine what domain controller is global catalog check this TechNet article: http://technet.microsoft.com/en-us/library/cc786686(v=ws.10).aspx
- Save the script
- Rerun ExchUcUtil.ps1