I recently rebuilt my PC and was annoyed by Skype for Business popping all of the newbie nag messages that I’d previously suppressed. “There has to be a way to suppress these en-masse” I say to myself.
Whilst trawling through the Registry to find them it also occurred to me that when I’m delivering end-user training I actually *want* to see these nag messages.
And thus, Set-SfBClientWarnings.ps1 was born.
This script takes an option of “default” or “expert” on the commandline (with some aliases for the hell of it) and sets the values appropriately.
PS W:\> .\Set-SfBClientWarnings.ps1 guru PS W:\> .\Set-SfBClientWarnings.ps1 default
Thankfully it wasn’t too hard to do in PowerShell: any time you check “Don’t show this again” one of these messages pops, SfB just adds a new DWord Property to the \DS\ container in the Registry. A vanilla install of SfB doesn’t even *have* this DS container, so deleting it is a quick and easy way to return the client to the default warning levels.
Setting expert-mode is simply a matter of creating the container (if it’s not there already – like in Gilligan’s profile above), and adding the properties set to a “1”.
“Expert mode” will suppress all these:
There are two I’ve catered for with special handling. I decided that including the E.911 message by default probably isn’t such a wise move, and some users (like moi!) might want to be prompted if they’re accidentally about to close all conversation windows and not just one.
To include these, run the script with the ‘expert’ flag and add the extra switches as noted:
- v2.0 12th March 2017. Renamed from “Set-Lync2013ClientWarnings.ps1” to “Set-SfBClientWarnings.ps1”, added “DSFTAndOthersClose”. Updated blog imagery to all SfB captures.
- v1.5 9th January 2017. Added the “DSEditOofNote” & “DsCloseRGSCall” keys & updated the code-signing certificate
- v1.4 4th October 2015. Added some more registry keys & support for the Office 2016 SfB client.
- v1.3 14th February 2015. Added some new registry keys, added optional switches for the ‘special ones’ and reformatted the blog post.
- v1.2 10th May2014. Added new registry keys for Blocking, Unblocking, Tagging a contact, and for when you close a parked call window. (I’ve added these images to the blog post).
- v1.1 29th Apr2014. Ståle Hansen kindly found a flaw in my logic: sometimes the key is created and set to 0, which v1.0 did not cater for. All sorted. Thanks Ståle!
- v1.0 18th April 2014. Initial release.
You can download the whole shebang (with its code-signing certificate) from here: https://gallery.technet.microsoft.com/Set-Lync2013ClientWarningsp-0f8d026e
Are there Any More?
If you find any more keys in your DS container, please capture the “don’t show” box for me and send the key name, and in return I’ll add them to the script.