Lync Server 2013 Management Shell Hangs on Windows Server 2012 R2

August 11, 2014

in Lync, Microsoft, Script

ShellHangYou have just finished installing Lync Server 2013 onto Windows 2012 R2 and you start the Lync Server Management Shell only to spend the next few minutes (or hours) staring at a little back box. If you are lucky it will finish loading in a few seconds, however for you unlucky few you can end up staring at the black box forever. Now a quick workaround for this is to just use the default PowerShell shortcut as the Lync Server cmdlets are automatically loaded in Windows Server 2012 R2. However, if you are like me you want to know just what is wrong and it’s eating away at you from the inside.

The answer is very simple. There is a problem with the way the Lync Server Management Shell shortcut is generated and all that you will need to do is add the missing double quotes (“) to the end of the Target field in the shortcut.

  1. Click the Start button
  2. Start typing “Lync Shell” to display the Lync Server Management Shell shortcut
  3. Right click the shortcut and select “Open File Location
  4. Right click the Lync Server Management Shell shortcut and select Properties
  5. Edit the Target field and add the missing double quotes (“) to the end of the command
  6. Click OK
  7. Done

Since we are editing the root shortcut the change will affect all administrators that login to the system. Translation, you will only have to make the change one time.

Special thanks to Korneel Bullens for pointing out this fix to me.

4,806 views
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...
Niels June 22, 2015 at 12:43 am

Omg… fixed it for me as well…

Martin December 31, 2015 at 4:02 am

Thanks for this !!! It fixed me….. but please note the single quote AND the double quote need to exist at the end of that line in the shortcut, as in ‘”