Changing back to Lync 2013 Icon after the April 2015 update

Some of us were surprised by the Lync 2013/Skype for Business Client update, since this security update also included the Skype4B User Interface. Lync/Skype4B administrators could still use the recently added EnableSkypeUI setting to the Client Policy in order to manage which UI they want the user to see.

In our Lync Lab, we have it configured to False and the user is able to see the Lync 2013 UI. The icon, however, is still Skype for Business:

lyncicon01

As this can cause confusion in some users, the purpose of this article is to show a workaround to this. Keep in mind that future client updates will change the icon again.

In the Start Menu, we had this:

lyncicon02

The folder location is “%ProgramData%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2013”.

lyncicon03

Note: In our lab, the folder is C:\Windows\Installer\{90150000-0011-0000-0000-0000000FF1CE}, and we can check were the file is with this:

Get-ChildItem -Path C:\Windows\Installer -Filter lyncicon.exe -Recurse

lyncicon04

We need to get the icon before the update and copy it with the name lyncoldicon.exe to the same folder. Although we can copy it to another folder, it’s preferable to keep all icons in the same location:

lyncicon05

It’s a good practice to keep both icons because we may want to change back to Skype for Business icon.

In a PowerShell window with elevated permissions, we run the following cmdlets:

$shortcutLocation = “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2013\”
$newShortcut = “Lync 2013.lnk”
$oldShortcut = “Skype for Business 2015.lnk”
$iconLocation = “C:\Windows\Installer\{90150000-0011-0000-0000-0000000FF1CE}\”
$iconComment = “Connect with people everywhere through voice and video calls, Lync Meetings, and IM.”

#Change the icon:
Rename-Item $iconLocation”lyncicon.exe” $iconLocation”skypeicon.exe”
Rename-Item  $iconLocation”lyncoldicon.exe” $iconLocation”lyncicon.exe” -force

# Create a copy of the Shortcut:
Rename-Item $shortcutLocation$oldShortcut $newShortcut

# Change the new shortcut settings
$shell = New-Object -COM WScript.Shell
$shortcut = $shell.CreateShortcut($shortcutLocation+$newShortcut)
$shortcut.Description = $iconcomment
$shortcut.Save()

lyncicon06a

Note: All scripts should be extensively tested before being applied in a production environment.

After running the cmdlets, the Start Menu should change to this:

lyncicon07

And after a reboot the icon will also change in the TaskBar:

lyncicon08

To rollback the changes:

$shortcutLocation = “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2013\”
$oldShortcut = “Lync 2013.lnk”
$newShortcut = “Skype for Business 2015.lnk”
$iconLocation = “C:\Windows\Installer\{90150000-0011-0000-0000-0000000FF1CE}\”
$iconComment = “Connect with people everywhere through voice and video calls, Skype Meetings, and IM.”

#Change the icon:
Rename-Item $iconLocation”lyncicon.exe” $iconLocation”lyncoldicon.exe”
Rename-Item  $iconLocation”skypeicon.exe” $iconLocation”lyncicon.exe” -force

# Create a copy of the Shortcut:
Rename-Item $shortcutLocation$oldShortcut $newShortcut

# Change the new shortcut settings
$shell = New-Object -COM WScript.Shell
$shortcut = $shell.CreateShortcut($shortcutLocation+$newShortcut)
$shortcut.Description = $iconcomment
$shortcut.Save()

lyncicon09a

Advertisements
Tagged with: , ,
Posted in Lync Server, Skype4B

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: