How to set custom presence states in Skype for Business on your Windows machine

This works on Windows 10, Windows 8, Windows 7, Lync and Skype for Business desktop clients. Requires administrative rights to your computer

Wouldn’t it be cool if you could change your presence state in Skype for Business to match you current task such as busy in a Workshop, Do Not Disturb in a Pomodoro Sprint or Away Getting Coffee?

Turns out, you can by creating an XML file and adding a setting in your local registry. How? The easy way is to download my script, change the custom presences that is predefined in the script and run it.

  1. Download the script from TechNet Gallery
  2. The default custom presence states are shown below
  3. To change the names you need to open the script and write your own presence states
    • Away does not work as a custom presence state, if you put that in no custom states will show up in the client
    • The presence states that works are: Online, Busy, and Do-Not-Disturb
  4. To run the script, just type the following in PowerShell in elevated mode from the location you saved it
    • .\Set-CsCustomPresence.ps1
    • It works for Lync and Skype for Business
    • It works for 64-bit and 32-bit office
    • It works for MSI installed Office and Click-to-Run Office
    • The xml file will get stored under c:\_CustomPresence\CustomPresence.xml if that is your systemdrive
  5. You need to sign out of the client and back in for the changes to take effect
  6. The presence states works in the following scenarios
    • On English Skype for Business clients for you and your colleagues
    • On Skype for Business clients in your local location retrieved using (Get-Culture).LCID
    • For everyone in your Colleagues relationship level as long as they are running a client language version specified above
    • If you want external contacts to see your custom presence state you need to elevate them as colleagues in the relationship pane
      • Understand that they will also see you as in a meeting, in a call, your note and your location as well
    • If you are in an environment with more than two languages for you Office deployment, make sure you add an LCID per language in the script

Download the script here and use PowerShell to control your presence using the Lync 2013 Client SDK described here

You can now control you custom presence states using PowerShell, if you have installed the SDK, using the Publish-SfBContactInformation.ps1 found on GitHub here with this syntax

Publish-SfBContactInformation -CustomActivityId 1 -PersonalNote "Getting Stuff Done" -Location "@HomeOffice"

You are now ready to use this in a Pomodoro context, read how to get started with the open source PowerShell based Pomodoro timer here: https://msunified.net/2013/11/25/lock-down-your-lync-status-and-pc-notifications-using-powershell/

Ppt and video is now available from my talk at Microsoft Ignite

May 2015 I had the honor to talk at Microsoft Ignite in Chicago. That was great fun and 300 showed up at my session about how to save time by automating phone number management in Skype for Business Server. Before this talk I released a new scritp called Get-SfBNumbers.ps1 which you can download and find more information about at http://SfBNumbers.net. Look for more Enterprise Voice tips and scripts at that site, and I will in time blog about examples for how to use the script.

I had a great time attending Microsoft Ignite, lots of networking and I got to attend some great sessions with interesting content. We also did a live recording of The UC Architects podcast with Jamie Stark joining us. Check out some images at the bottom of this blogpost

Download the ppt here: http://video.ch9.ms/sessions/ignite/2015/decks/BRK4112_Hansen.pptx

Download or view the session at Channel 9

video

Some images from the conference

11169650_1653921358175650_6147155063571111256_oCEL-pm0UsAA1cOOCEQyeT8W8AEkxXr

CEaZCgrXIAAp-paCEadrU9WYAAz_3ZCEXoV98UEAAglXH

Five years of blogging and 1,000,000 hits!

ThankYou!First off, thanks to all who have visited msunified.net and given feedback to the blogposts. I am stoked that my blog msunified.net now has more than 1,000,000 hits. Since I started blogging in 2009 it has been the place where I post my notes from the field, collections of links and Thoughts on UC.

Some of the most popular blogposts of all time

  1. Installing Exchange 2010 Prerequisites on Server 2008 R2
  2. Enabling Lync Server 2010 for Lync Mobile Clients
  3. Installing Lync Server 2010 Prerequisites on Windows Server 2008 R2
  4. Configure Exchange 2010 InternalUrl PowerShell script
  5. Lync Server 2010 features and how to configure them
  6. Lync Server Mobility Troubleshooting Tips
  7. Lync Server 2010 Troubleshooting Tips
  8. Installing OCS 2007 R2 Prerequisites on Windows Server 2008 R2
  9. Script for Configuring Exchange 2010 Internal and External URLs
  10. Lync Server Front End: Lost connection to the Web Conferencing Edge Server
  11. Lync client sign-in and DNS records recommendations

Some of the most popular blogposts the year of 2014

  1. Installing Exchange 2010 Prerequisites on Server 2008 R2
  2. Lync client sign-in and DNS records recommendations
  3. Enabling Lync Server 2010 for Lync Mobile Clients
  4. Lync 2013 Downloads
  5. Configure Exchange 2010 InternalUrl PowerShell script
  6. Lync Server Mobility Troubleshooting Tips
  7. Troubleshooting Office Web Apps Server for Lync
  8. You see only a white screen when viewing Lync 2013 desktop sharing
  9. Installing Lync Server 2010 Prerequisites on Windows Server 2008 R2
  10. TEL, SIP, mailto, and Lync meeting links association

Where do the all time visitors come from

  1. Search engines
  2. TechNet Forums
  3. Twitter

Some thoughts on the activity

  • People are still installing Exchange on Server 2008 R2 :)
  • The old blogposts from 2010 are still relevant
  • Twitter is a relevant platform to reach out to my audience as it is number three all time source for visitors
  • The type of article that drives recurring hits are
    • the ones that solves a specific problem
    • troubleshooting guides
    • link repositories
    • articles explaining how stuff works
  • I also use this blog as a landing page for all my content, but articles like this one will not drive much recurring users, but helps me communicate my thoughts in a better format than the 140 characters on Twitter :)
  • I always try to remember to blog solutions I find to strange problems, typically the solution was tips from multiple sources and by collecting them and describing how I solved the problem is a good blogpost, and will help others having the same problem.

Afterthought

The amount of hits really motivates me to continue share my experiences as an IT-PRO with solutions to problems, but also highlighting not so mainstream knowledge like I do in my LyncPro Tips series and Thoughts on UC YouTube series. Thank you for your continued support :)

OneMillHits1

On December 23 2014 msunified.net reached 1,000,000 views!

Lync HA/DR Deep Dive Class in Norway

January 19-22 I am running a 4 day Lync High Availability and Disaster Recovery Deep Dive class in Oslo, Norway. The focus of the class is to get a deep understanding of the concepts and features of how a highly available Lync deployment works. I am running the class together with my colleague at Knowledge Factory, Morten Enger, to ensure that the hands on labs run smoothly and that the content have hight quality.

SLA

Here is an overview of the content we are focusing on. Each day starts with a deep dive in to how stuff works and then the rest of they day will be spent in the custom made lab setup.

  • Day 1 – SLA, Disaster recovery and high availability concepts deep dive and initial lab setup
  • Day 2 – Configure and experience the effects of Disaster Recovery hands-on labs
  • Day 3 – Configure High Availability using KEMP load balancers, SQL Server mirroring and redundant SIP Trunks hands-on labs
  • Day 4 – Experience the effects of High Availability during production and maintenance hands-on labs

The goal of the class is that attendees will experience how failover and disaster scenarios behave on server level and for end-users. After completing this class the students will be able to tune their own environment and decide how to best implement DR or HA for Lync environments.

All the content will be created in english and if we have english speaking students, the class will be delivered in english.

Sounds interesting? Sign up at Global Knowledge http://www.globalknowledge.no/kurs/microsoft/voice/gklyncic.html

 

Succeed with Lync, BYOD and WiFi

This fall I had the honour of talking at TechEd Barcelona and TechDays Sweden about how to Succeed with Lync, BYOD and WiFi. This is a topic I am quite passionate about since it affects end-user experience. I believe that this is THE key focus areas for a successful Lync deployment. There is a saying that we as consultant, technicians and System Integrators always succeed with implementing the technology, but that does not mean the business are succeeding. Continue reading

Thoughts on UC: Skype for Business

Microsoft rebrands Lync to Skype for Business in its 2015 release. I think it is a good opportunity to implement the technology right with the end user and processes in focus. Continue reading

Lync 2013 Basic with gallery view and recording

The Lync 2013 Basic client just got epic with the October 2014 update it can do gallery view and recording. These where major features for not running the Basic client in production.

Basic

Gallery view and recording

If you are using advanced Enterprise Voice features like Response Groups, Manage Delegates, Call Pickup or Call Park then you need the full rich client that is part of Office 2013 Pro plus.

  • If you deploy Lync from Lync Online from the Business SKU you wont get the Lync client because it includes Office 2013 Business.
  • Basic is now feature rich enough to be a valid client for those types of users, since Lync Online does not have Enterprise Voice features.
  • This also applies to those customers that have an Open License of the Office suite and needs to roll out Lync
    • You can not combine Lync click to run provided by Office 365 with locally installed office from media
  • This means you can easily combine Office 2010, if you for some reason need it, with a Lync 2013 client without needing the Office 2013 License

Lync 2013 Basic features

Taking a closer look at the Client comparison tables for Lync 2013 clients is seems like it is quite outdated.

Notable features the Lync Basic client now can do is

  • Click to call (not new)
  • Transfer Calls (not new)
  • Manage call forwarding
  • Client-side recording of audio, video, application sharing, desktop sharing, and uploaded content
    • In conferences, tested ok
    • Could not verify in peer to peer call
  • Select preferred recording resolution
  • Users can use the gallery view to see all users’ video instead of only the active speaker’s in a video conversation that has more than two people.
  • Users can switch mode between gallery and speaker.
Call Forwarding setings

Call Forwarding setings

Download the clients

Remember to apply the October update
Microsoft Lync Basic 2013 (64 Bit)
Microsoft Lync Basic 2013 (32 Bit)

 

Thoughts on UC: Productivity

As an Information Worker I am passionate about productivity and finding techniques, equipment and devices that may make me more productive.

In this YouTube video I touch upon productivity from a personal perspective and business perspective

About Thoughts on UC YouTube series

I want to share mye ideas on what I  considers to be the defining elements to a successful UC rollout.The goal is to get people thinking by hightlighting important topics in and around UC deployment and adoption phases.

References

“Productivity, Chance Favors the Connected Mind”
-Steven Johnson

Speaking at TechEd Europe 2014

I am proud to announce that I am speaking at TechEd Europe 2014 in Barcelona! This is the third international talk I am doing this year and my previous talks where in Las Vegas at the Lync Conference 2014 and in Houston at TechEd North America.

This time I am talking about a very interesting topic around how to succeed with mobile devices and enterprise voice. As more and more organizations move to Lync and voice and adopting BYOD and mobile devices call quality may get a hit. I will talk about what you need to focus on and how to actually implement it. See you in one of Europe’s finest cities :)

teeu


Title:
Five Best Practices to Consider When Deploying Microsoft Lync 2013 for Mobile Clients with Enterprise Voice
Level: 300
Url (public): http://teeu2014.eventpoint.com/topic/list?keyword=hansen
Url (login): http://teeu2014.eventpoint.com/topic/details/OFC-B344
Session Code: OFC-B344
Time Slot: Thursday, October 30. 5:00 PM-6:15 PM
Room: Hall 8.0 Room F7
Abstract: When deploying Lync Mobile with Enterprise Voice, users expect to be able to complete calls as expected, roam around the building as they do when using cellular roaming, and have pristine quality to their calls as they do from their wired computer. Anything below those expectations would be a letdown, a failure, and Lync is always to blame, right? This session touches upon five best practices to consider when you want to reach those expectations and have a successful Enterprise Voice rollout with mobile Lync users in mind.

HashTags: #Lync #LyncMobile #BYOD #Productivity #GenMobile #GoodTimes #QoS #SDN