Category Archives: Lync

Lync Phone Remote logs.

What does the “Enable Remote Logs” on a Lync Phone edition meen?

This is a feature for you to get logfiles from a phone that is not signed into. If someone are logged into the phone – Remote log Access will not work.

If you enable this feature on the phone it is possible to ftp to the phone and download log files. Remember  that you will need a Microsoft support tool to be able to read them properly.

Step1: Enable “Remote Log Access”

Step2: Find the phone’s IP address in the system information menu.

Step3: FTP to the IP address and log in as anonymous to download log files.

Replacement for TMG reverse proxy.

Are you looking for a replacement for TMG now that its end is nearing. You could buy a thirdparty reverseproxy from Sophos og some appliance. The simplest solution is probably to install a Windows server 2012(R2) and add ARR module to IIS.

To install this module you would use the
Microsoft Web Platform Installer

All information you will need are at the IIS web site : http://www.iis.net/downloads/microsoft/application-request-Routing

Lync client will not get past “Contacting server….”

When you start the Lync Client and won’t get past “Contacting server..” ,and it never time’s out. It can be worth checking time on client and servers. Other users can sign in to Lync, even on the same PC. It will not help removing Lync client certificate, or reset password. Solution here is to check date and time on Lync server and Client – if it is Office365 it is your Client that has wrong time. 

Are my Lync server 2013 database the correct version?

You installed a update to your Lync 2013 server and wonder if the database has to be updataed (install-csdatabase….).

Run :

Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn sqlserver.fq.dn | Select DatabaseName, ExpectedVersion, InstalledVersion

Result:
DatabaseName               ExpectedVersion            InstalledVersion
————               —————            —————-
rtcxds                     15.13.1                    15.13.1
rtcshared                  5.0.1                      5.0.1
rtcab                      62.42.2                    62.42.2
rgsconfig                  5.5.1                      5.5.1
rgsdyn                     2.2.1                      2.2.1
cpsdyn                     1.1.2                      1.1.2
xds                        10.13.2                    10.13.1
lis                        3.1.1                      3.1.1
As you can see there are a version conflict. You should update the database.

In this example the Central Management Database is not up to date. Check Microsoft TechNet KB 2809243 for the correct procedure: 

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn CMS.FQDN -SqlInstanceName DBInstanceName -Verbose

User are unable to dial out as a responsgroup in Lync 2013

We defined a responsegroup workflow for anonymity. One user are a member of the Group (His Lync Client stated that for us.) When he select to call out as this queue he immediatly get the messeage that he is removed from the group.  On the monitoring server we get the message that he do not have permission – even when we are sure that he has.

We found out that this user has had his sip address changed some time. When we check the Lync sql instance “Rtc”, Database rgsconfig and table ado.Agents we found one entry with his old SIP address. Deleted this row from the table and ran a update-csuserdatabase. The new SIP address is imported into the database and now it works.

Lync 2013 will not replicate CMS

After you installed Lync 2013 on a Windows 2012 / Windows 2013 R2 Configuration management store will not replicate.

You think that it has something to do with the certificates but they seem ok. You will probably try to genereate new certificates to be sure, no… did’t help.

 The reason is the new way Windows 2012 handles the certificate store. For a technical description have a look at Technet article : http://technet.microsoft.com/en-us/library/hh831771.aspx .

If you just want things to start working add this registry key :

REG_DWORD “ClientAuthTrustMode” under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel and set it to value = 2 .

Or run this PowerShell command from an elevated PowerShell prompt:

New-ItemProperty -Path HKLM:\system\CurrentControlSet\Control\SecurityProviders\SCHANNEL

-Name ClientAuthTrustMode -Value 2 -PropertyType DWORD

 

The trust mode controls how validation of the client’s certificate chain is performed .

Contributed by Jan Helge Austbø

Several external url’s missing from Exchange autodiscover.

Had a issue where “externalewsurl” and “externaloaburl” was missing from Exchange autodiscover. All urls was configured on the Exchange server and all other information was available through autodiscover. In the end I found out that the Outlook provider for Outlook anywhere was missing. Create New EXPR provider and set external wildcard certificate as CertPrincipalName.

Lync server 2013 Error: Prerequisite installation failed: SqlInstanceRtc

When installing Lync server 2013  this error bugged me.

What could be wrong. with SqlExpress? Tried installing “sqlexpr_64.exe” from the DVD and here is my problem.

Something went wrong when I downloaded the ISO image. Deleted the downloaded imaged and did a new download. After mounting the image I ran setup.exe and the same error appeared. I then remembered that Lync setup copies setup files to the cache. Deleted Lync setup cache directory from “C:\ProgramData\Microsoft\Lync Server\Deployment”. After this the install ran perfectly.

Export users contacts from Lync 2010 and import into Lync 2013

You can do a dbimpexp from Lync 2010 to a xml file. Lync 2013 does not use dbimpexp more, but have a native import-csuserdata.

These two commands does not use the same fileformat – this is where convert-csuserdata can help. This command convert from dbimpexp xml format to the zip(xml) format used by import-csuserdata.

convert-csuserdata -PoolFqdn Lyncpool.test.local -InputFile FromLync2010.xml -OutFile ToLync2013.zip -TargetVersion Current

 

TargetVersion can be “Current” or “Lync2010” so this command can be used to convert between the two Versions.

 

ABServer.exe crashes every 4 minutes.

Issue:

Abserver.exe in Lync crashes every 4 minutes.

Event ID 12330:Failed starting a worker process. Process: ‘C:\Program Files\Microsoft Lync Server 2010\Server\Core\ABServer.exe’ Exit Code: C3E8302D!_HRX! (The worker process failed to initialize itself in the maximum allowable time.!_HRM!). Cause: This could happen due to low resource conditions or insufficient privileges.

Resolution: Try restarting the server. If the problem persists contact Product Support Services.

Event ID12331: Worker process exited prematurely. The process will be automatically restarted. Process: ‘C:\Program Files\Microsoft Lync Server 2010\Server\Core\ABServer.exe’ Exit Code: 0!_HRX! (The operation completed successfully. !_HRM!).

This can happen after a Lync server update (done via Windows updates). I had to run the Lync setup and update roles. After doing so these events disappeard from the server.