Monday, December 29, 2014

Creating Forest Trust between different forest

Hello Readers,

Currently working on Active Directory Consolidation project with below details:

There are total of 16 different forest with different locations.

All 16 forests running on Windows 2003 Server Standard with SP2 &
Windows 2003 Server Enterprise with SP2 with the

Domain Functional Level : WIndows 2000 mixed

Forest Functional Level : WIndows 2000 Native

We can directly migrate from Windows 2003 to Windows 2012 R2 in the same forest as well as different forest.

When we install AD on Windows 2012 R2 by default it shows DFL & FFL as Windows Server 2008 minimum level.

But still we can create the forest trusts between Windows 2003 mixed DFL/FFL to Windows 2012 R2 with DFL/FFL as Windows Server 2008

All the locations are inter-connected through MPLS & Leased Lines.

Project Scope : Consolidate 16 AD forests into the Single Forest with new name.

Created New Forest with new domain.

Added DNS IPs into the Forwarders tab into all the old AD forest DNS forwarders list to communicate with cross forests.

Even added existing domain name into the new domain DNS forwarders tab & vice-versa.

Created External Forest Trust with New Forest and with the existing 16 different forests.

Now using Profile Wizard in order to migrate the User Profile data from Old Domain to the New Domain.

This completes the cross forest migration from one AD forest to another AD Forest.

Follow the similar steps on other 15 forests.


Regards
Anand

Wednesday, October 22, 2014

Lync 2010 User Contacts backup before we migrate to Lync 2013 pool

Hello All Readers,

This post is about to take backup of individual users Contacts List in Lync 2010 pool. The main purpose of this post is that I was tried moving few of the users to Lync 2013 pool by selecting "Force" option under moving users from one pool to other pool.

Unfortunately one of my users contacts list got deleted or not moved successfully.

To prevent such issues it's better we take backup of Lync 2010 users in Lync 2010 Shell console as shown below:

NOTE : Backup shown below is individual user contact list backup


Start the Lync Shell with elevated rights & go to this path :
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support>

Run this command:


PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support> .\DBImpExp.exe /user:anand@domain.com /hrxmlfile:"D:\Lync2010_User_Contacts_Bkp\20_Oct_2014\anand.xml"

Below is the screenshot:


Above shell command has taken the backup successfully.

Go to the above path, it will create the .xml file with above name.



Regards
Anand S

Tuesday, September 30, 2014

Lync 2013 & Lync 2010 Address Book Download Issues & Find contacts issues

Hello Readers,

We normally face address book download issues and not able to find contacts in Lync 2010 client as well Lync 2013 clients.

So in that case only option is to force download the address book by using below steps:




To force the Lync Server 2013 to update the address book, execute the following cmdlet in Lync Shell on Front End :

Update-CsAddressBook

Wait for the LS Address Book Server event to report event ID 21056 listing the:



Lync 2013 :

Log off of the Lync client and delete the profile from:

%userprofile%\appdata\Local\Microsoft\Office\15.0\Lync

… then execute the following command in the command prompt to add the registry that forces the Lync client to immediately download the address book:

reg add HKLM\Software\Policies\Microsoft\Office\15.0\Lync /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f


Now Log in to the Lync client & check the above path, its should create some of the files & 3 folders.

Also 2 files are created as GalContacts.db & GalContacts.db.idx which used to search for contacts under find

Now it should search for the users.







Lync 2010 :

Log off of the Lync client and delete the profile from:

%userprofile%\AppData\Local\Microsoft\Communicator

… then execute the following command in the command prompt to add the registry that forces the Lync client to immediately download the address book:

reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f


Now Log in to the Lync client & check the above path, its should create some of the files & 3 folders.

Also 2 files are created as GalContacts.db & GalContacts.db.idx which used to search for contacts under find


Now it should search for the users.



it should resolve the address book issues.


Regards
Anand S


NOTE : If this posts helpful to resolve your issue, please comment.

Thursday, September 18, 2014

Lync 2013 WAC Issue "Sorry, PowerPoint Web App Ran into a problem opening this presentation."

Hello Readers,
Currently we are facing Powerpoint presentation issues for Lync 2013 users internal as well as external.
IM, A/V , Polling working fine
Tried scenarios are :

Lync 2010 users to Lync 2013 users: showing presentation at both sides (internal & external)

Lync 2013 users to Lync 2010 users: not showing presentation on Lync 2013 client but showing at Lync 2010 client (internal & external)

Lync 2013 users to Lync 2013 users: not showing presentation at both sides (internal & external)

Below is the error we get

NOTE : This issue occurs due to several errors as I mentioned in below link. Every time whenever you get above error, you simply need to delete the cache from below path shown in the red box.
http://social.technet.microsoft.com/Forums/lync/en-US/0bbf35a5-6518-47d4-a3ee-e756a7e87487/lync-2013-users-not-able-to-share-powerpoint-presentation-internal-as-well-as-external?forum=lyncprofile
After I made several changes in Farm & IISARR rules everything was working fine like Powerpoint presentation sharing internal as well as external.
But after 2 days I was again started getting above error while I was testing sharing Powerpoint presentation between external Lync 13 users.
This issue occurs due to Caching of powerpoint files on Office Web Apps server below path as shown:

Followed this link : http://lynclounge.blogspot.in/2014/07/lync-2013-wac-issue-sorry-powerpoint.html
Special Thanks to Anthony who helped me to resolve this issue.
First stop the Office Web Apps Service on Web apps server & Simply go to the above path & delete or move the data to other path if you need.
Now start the Office Web Apps Service & try to share the PowerPoint presentation files which we get errors.
Now it should work fine without any issues.
Mine Powerpoint presentation sharing is working fine.

Regards
Anand S

NOTE : If this posts helpful to resolve your issue, please comment.

Tuesday, September 16, 2014

Lync 2013 Your server configuration has changed Please restart Lync

Hi All Readers,

Once we move the user from Lync 2010 pool to Lync 2013 pool. Eveything was working fine from the Desktop/Laptop internal as well as external networks.

From Smart Phone devices also working fine but from iPad when a user tried to use Lync 2013 client from external network it was showing "Your server configuration has changed Please restart Lync"

Below is the screen shot


I had increased the ProxyPass timeout from 200 to 960 for dialin, Lyncdiscover, Lyncweb, meet, webcontent except owebappe. I haven't seen the "configuration has changed" message for the past 18 hours.

Below is the settings changed screen shot.




This resolved my issue. I hope it will help you out.

Regards
Anand S


NOTE : If this posts helpful to resolve your issue, please comment.

Wednesday, September 3, 2014

Lync 2013 Archiving and Monitoring SQL database version mismatch issues

Hello All,


When we try to create Lync 2013 Archiving database & Monitoring database while publishing of the topology.

It creates the Archiving & Monitoring databases but it throws error of Creating database failed with below errors :

Resolution : By default it uses SA account even though if you specified other account. We must need the SA account with default permissions on SQL server where we create the databases. It will successfully create the databases.
------------------------------------------------------------------------------------------------------------------------------------
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value sqlserver.domain.com.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Serveracct Value SETINDIA\RTCComponentUniversalServices.
Found Parameter: DbPath Value E:\CsData\ArchivingStore\(default)\DbPath.
Found Parameter: LogPath Value F:\CsData\ArchivingStore\(default)\LogPath.
Found Parameter: LogSize Value 1024.
Found Parameter: LogSize Value 1024.
Trying to connect to Sql Server sqlserver.domain.com. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 3000.
Sql version is acceptable.
Validating parameters...
DbName LcsLog validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase LcsLog validated.
DbPath E:\CsData\ArchivingStore\(default)\DbPath validated.
Effective database Path: \\sqlserver.domain.com\E$\CsData\ArchivingStore\(default)\DbPath.
LogPath F:\CsData\ArchivingStore\(default)\LogPath validated.
Effective Log Path: \\sqlserver.domain.com\F$\CsData\ArchivingStore\(default)\LogPath.
Checking state for database LcsLog.
Checking state for database LcsLog.
Checking state for database LcsLog.
State of database LcsLog is detached.
Attaching database LcsLog from Data Path \\sqlserver.domain.com\E$\CsData\ArchivingStore\(default)\DbPath, Log Path \\sqlserver.domain.com\F$\CsData\ArchivingStore\(default)\LogPath.
The operation failed because of missing file '\\sqlserver.domain.com\E$\CsData\ArchivingStore\(default)\DbPath\LcsLog.mdf'
Attaching database failed because one of the files not found. The database will be created.
State of database LcsLog is DbState_DoesNotExist.
Creating database LcsLog from scratch. Data File Path = E:\CsData\ArchivingStore\(default)\DbPath, Log File Path= F:\CsData\ArchivingStore\(default)\LogPath.
Clean installing database LcsLog.
Setting the database LcsLog to restricted mode.
Database LcsLog set to mode Restricted.
Setting database options.
Creating objects from dbcommon.sql.
Creating database objects.
Executing ArchDb.sql...
Updating database roles.
Setting owner for database LcsLog to sa.
Exception Stack:
Type: Microsoft.SqlServer.Management.Smo.FailedOperationException, Message: Set owner failed for Database 'LcsLog'.
Type: Microsoft.SqlServer.Management.Smo.SmoException, Message: An exception occurred in SMO.
Type: System.ArgumentException, Message: The login 'sa' does not exist on this server.
--------------------------------------------------------------------------------------------------------------

I hope it will resolve the issues.

Regards
Anand S


NOTE : If this posts helpful to resolve your issue, please comment.