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.

Friday, August 1, 2014

Domain Join Error "Changing the Primary Domain DNS name of this computer tofailed error"

Hi All Readers,
I am working on a Active Directory migration project from Windows 2003 R2 Active Directory to 2008 R2 Active Directory fir multiple sites.
After I completed my migration project I was noticed that below error whenever I was trying to add a PC/laptop/Server to the domain, but it successfully adds to the domain.

But this error is very critical because when we add a duplicate name it won't give us the duplicate name errors simply it over-writes the existing host name which makes lot of issues.
I faced this critical error which makes over-writes the host names in the domain when you join.
For example: Already you had a host name called as PC.domain.com in the domain.com Domain.
When you try to add the another host name called as PC in the domain.com Domain, it doesn't give you the duplicate name error on the network it does over-write the existing host name called as PC.domain.com & it will add the new host name into the domain.

Host name which got over-written will get removed from the domain. I faced this issue in my project. My DPM host name got removed from the Domain & new host name got joined into the domain which halted my backups for one day.

Final Resolution is as follows:
You need to start the dns console on the DC & drop down the domain name.
Select the _msdcs when you click on _msdcs it will show the Name Server's list on the right hand side.
You need to add the Domain Naming Master under the _msdcs or add all the domain controllers which you had.

After you add the Name server's try joining the PC OR Laptop OR Server to the domain which is successfully joins it.
I hope this will resolve your issue.
Regards
Anand S


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

Sunday, June 22, 2014

Combined Exchange 2010 Hub Transport/CAS Role installation failed due to IP v6 is not enabled

Hello Readers

When I was installing combined Exchange 2010 HUB Transport and Client Access roles on Windows 2008 R2 SP1 got failed & given below error



Reason for Failed : IP v6 is not checked in the Lan connection.

Resolution : Simply check IP v6 in Lan connection and re-run the setup it should install successfully.



Regards
Anand S


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