Force Lync 2013 Clients to immediate download address book

 

Hello My friends,

today’s port we will see how to force Lync 2013 clients to immediate download address book.

thanks for Jeff Guillet Lync MVP for writing script.

 

The script below sets the GALDownloadInitialDelay key in the registry to force the Lync client to download the address book immediately after signing in.  It then enumerates all the SIP_* sub-folders in the C:\Users\%username%\AppData\Local\Microsoft\Office\15.0\Lync folder and deletes theABS__sipdomain.cache file which makes up the local Lync 2013 address book and the GAL*.* files that make up the local Lync 2010 address book.

@echo off
echo.
rem Check if Lync is running, exit if it is…
tasklist /fi "IMAGENAME eq lync.exe" | find "lync.exe" >nul
If %errorlevel%==0 goto LyncIsRunningError
rem Add x86 GALDownloadInitialDelay registry entry
reg add HKCU\Software\Policies\Microsoft\Communicator /v GALDownloadInitialDelay /t REG_DWORD /d 0 /f >nul
If %errorlevel%==1 goto ElevationError
rem Add WOW64 GALDownloadInitialDelay registry entry if x64
If %PROCESSOR_ARCHITECTURE%==AMD64 reg add HKCU\Software\Wow6432Node\Policies\Microsoft\Communicator /v GALDownloadInitialDelay /t REG_DWORD /d 0 /f >nul
If "%LOCALAPPDATA%"=="" Set LOCALAPPDATA=%USERPROFILE%\Local Settings\Application Data
dir "%LOCALAPPDATA%\Microsoft\Office\15.0\Lync\sip_*" /b > list.txt
FOR /F "tokens=1" %%i in (list.txt) do (
rem Delete the Lync Server 2010 address book…
If Exist "%LOCALAPPDATA%\Microsoft\Office\15.0\Lync\%%i\gal*.*" del "%LOCALAPPDATA%\Microsoft\Office\15.0\Lync\%%i\gal*.*"
rem Delete the Lync Server 2013 address book…
If Exist "%LOCALAPPDATA%\Microsoft\Office\15.0\Lync\%%i\abs*.cache" del "%LOCALAPPDATA%\Microsoft\Office\15.0\Lync\%%i\abs*.cache"
)
del list.txt
echo Clearing Lync 2013 Address Books…  Done!
echo.
echo Sign back into Lync 2013 to download the current address book.
goto End
:ElevationError
echo ERROR: You must run this command from an elevated Command Prompt.
echo.
goto End
:LyncIsRunningError
echo ERROR: You must exit Lync 2013 before running this command. Right-click the Lync icon and choose Exit.
echo.
:End

sace this script as .bat file in somewhere for example “c:\Lync 2013 Force Client to Download Address Book.bat

image

Run cmd As Administrator

image

 

you will need to exit Lync 2013 clients first or you will get the below error.

image

 

image

 

then run the script again.

image

 

after logging back in Lync you will see User@Doman..FQDN is created

image

Regards,

#HanyMC

 

Advertisements
Posted in Lync 2013 | Leave a comment

Lync Contact Manager & Step by step GuideEnter a post title

 

 

this script is used to manage Lync contacts.if you are using Lync server 2010 – 2013, you will face an issue due managing your contact list, using this script you can manage your contact list and put user account as template, then you can export this user (template) to backup file

 

2-12-2012 5-03-17 PM

 

http://gallery.technet.microsoft.com/lync/Lync-Contact-Manager-Step-4c3efe2d

 

 

#HanyMC

Posted in Lync 2010, Lync 2013 | Leave a comment

Lync 2013 on windows server 2012 R2 Known issue | Event IDs 32402, 61045

 

Event IDs 32402, 61045 are logged in Lync Server 2013 Front End servers that are installed in Windows Server 2012 R2

Event IDs 32402, 61045 are logged in Microsoft Lync Server 2013 Front End servers that are installed on computers that are running Windows Server 2012 R2.
Additionally, you experience the following symptoms:

  • Microsoft Lync 2013, Microsoft Lync 2010, or Microsoft Office Communicator 2007 R2 clients cannot participate in conferences by using the Lync Server 2013 or Lync Server 2010 conference modalities.
  • Lync 2013, Lync 2010, or Office Communicator 2007 R2 clients that are not enabled for the Microsoft Exchange 2013 Unified Contact Store (UCS) do not display contact information.

When this problem occurs, the following events are logged in the Lync Server 2013 event log:

Event ID 32042

Log Name: Lync Server
Source: LS User Services
Date: 10/15/2013 4:02:05 AM
Event ID: 32042
Task Category: (1006)
Level: Error
Keywords: Classic
User: N/A
Computer: LyncFE01.contoso.local
Description:
Invalid incoming HTTPS certificate.
Subject Name: LyncFE01.contoso.local Issuer: Contoso-CA
Cause: This can happen if the HTTPS certificate has expired, or is untrusted. The certificate serial number is attached for reference.
Resolution: Please check the remote server and ensure that the certificate is valid. Also ensure that the full certificate chain of the Issuer is present in the local machine.

Event 61045

Log Name: Lync Server
Source: LS MCU Infrastructure
Date: 10/15/2013 4:02:20 AM
Event ID: 61045
Task Category: (1022)
Level: Error
Keywords: Classic
User: N/A
Computer: LyncFE01.contoso.local
Description: The DATAMCU was not able to stay connected to the Front End over the C3P channel (HTTPS Connection).
The Web Conferencing Server failed to send C3P notifications to the focus at https:// LyncFE01.contoso.local:444/LiveServer/Focus.
Cause: The Front End may not be running correctly or may be unreachable over the network (broken HTTPS connection) from the MCU. Unavailability of The C3P channel affects conference controls, and can also prevent users from joining, starting conferences.
Resolution: Verify that the Front End server is running correctly and that network connectivity and an HTTPS Connection can be established between the MCU and the Front End server.

 

Resolution

  1. Click Start, type regedit in the Start search box, and then click regedit.exe in the results list.
  2. Locate the following registry subkey:

    HKLM\System\CurrentControlSet\Control\SecurityProviders\Schannel

  3. Right-click Schannel, and then click New DWORD (32-bit) value.
  4. Type EnableSessionTicket, then press Enter.
  5. Right-click EnableSessionTicket, and then click Modify.
  6. Change the existing value to 2, and then press Enter.
  7. Exit Registry editor.
  8. Open the Lync Server Management Shell.
  9. Run the following Lync Server PowerShell commands in the given order:

    Stop-CsWindowService
    Start-CsWindowsService

image

 

and that’s it 🙂

Reference:

http://support.microsoft.com/kb/2901554/en-us

 

Posted in Lync 2013 | Leave a comment

Troubleshooting Lync 2013 PowerPoint sharing issue: “There was a problem verifying the certificate from the server. Please contact your support team.”

 

Today while i’m testing Lync with Ahmed Maher (My friend) he faced an error while presenting PPT. through office web app server with error

 

"There was a problem verifying the certificate from the server. Please contact your support team”.

 

image

 

simply go for disabling “Check for server certificate revocation” in Internet Explorer and conveniently the problem is resolved.

image

 

after disabling IE sec option he was happy for that 🙂

image

 

reference

#HanyMC

Posted in Lync 2010, Lync 2013 | Leave a comment

Where is Lync Client Logs !!

Today we will go for Lync troubleshoot a little bit. is where is logs as i can check any issues or so.

 

In Lync 2013, the client tracing folder in now stored in the following location:

C:\Users\<username>\AppData\Local\Microsoft\Office\15.0\Lync\Tracing

for Example:

C:\Users\Hany\AppData\Local\Microsoft\Office\15.0\Lync\Tracing

2014-07-07_10-23-09

you can use simple tool to read that log. like CCM CMtrace.

like this

2014-07-07_10-23-16

 

Previous versions of Communicator 2007 and Lync 2010, the client tracing folder was stored in:

C:\Users\<username>\Tracing

 

that’s will help you for tracking issue. and in next post ISA we will see how to read and which and the best tool we can use

#HanyMC.

Posted in Lync 2010, Lync 2013 | Leave a comment

Backup Lync Server Using DPM 2012 R2 Error ID 3106 !

Today while backing up Lync DB using DPM 2012 R2 i encountered error.

“Replica is inconsistent” – Event ID 3106

2014-07-03_9-41-34

 

Simply you should install Latest version of Visual C++ Redistributable for Visual Studio 2012 Update. and everything will be ok 🙂

2014-07-03_9-42-06 

 

#HanyMC

Posted in Exchange 2013, Lync 2013, SCDPM | 2 Comments

Infrastructure Consultant in Libya

Job Title: Infrastructure Consultant

Position Type: Full Time

City: Tripoli – Libya

Job Description:

General Function:

Consultant Should have sold knowledge in Microsoft Technologies.

Essential Duties & Responsibilities

The Consultant works on internal and customer facing consulting projects of low-to-medium complexity with significant responsibilities for completion of entire project sections. Consultants also lead “standard” projects of low complexity.

Emerges as a significant contributor and leader on project efforts, with the ability to assume responsibility/ownership for entire project components.

Grows technical capacity beyond the networking products and underlying technologies.

Able to breakdown complex problems into manageable pieces and follow a structured process to resolve them.

Minimum Knowledge, Skills And Abilities Required

Bachelor’s Degree in business, engineering or computer science, or equivalent experience

 

Ideal candidate requires a minimum of 3 years of technical experience with 1-2 years in a level role.

One or more advanced professional certifications related to chosen discipline (MCSE, etc.) are highly preferred.

Experience in large scale migration initiates such as Windows 7, Exchange Migrations, management platform migrations and server product upgrades are preferred.

Candidate should has experience enough for deploying projects, technologies and support as well.
Advanced level expertise relating to one or more (preferred) of the following:

 

Active Directory

Windows Server (versions up to 2012)
Exchange (versions up to 2013)
System Center (SCCM) (versions up to 2012)
Experience with other Microsoft products such as SharePoint, Lync, Hyper V, System Center Operations Manager, and
Excellent written and communication skills
Project Management skills a plus Lead teams, engineers.
Understand and be able to create Statements of Works
Excellent team player

Company will offer the following Benefits:
Accommodation

Company will provide suitable accommodation in company guest house with single room.

Access to internet.

Local transport if required.

Accommodation allowance will be provided.

Family Allowance & Accommodation

Company will provide Suitable family accommodation.

Company will provide yearly return Air Ticket starting from the Home country to Libya for the employee.

Company will provide yearly family return Air tickets if the employee is eligible to family benefits ( after one year of employment ).

Annual Paid Vacation.

Employee is entailed to annual paid vacation of 21 Days every total of 12 working months.

Employee is eligible to vacation after the first 6 months.

Employee is eligible to 50% of basic salary in case of sick leave approved by Medical Report for not more than 2 weeks.

 

Send CV’s to HR@SiliconLibya.Com.

#HanyMC

Posted in Jobs | Leave a comment