Rename lync server 2013 enterprise edition pool name

Im working in testing environment ,my domain controller fqdn name and my lync server 2013 enterprise pool name was same.i have to change my pool name .please give some suggestion 

once a Topology has been published you can not change the FQDN.
Also you can refer shah-Khan answer, it will be helpful for you
http://social.technet.microsoft.com/Forums/lync/en-US/47d4e101-4f7b-4115-8f44-897eb5410acb/need-to-change-a-published-fqdn-lync-pool-for-lync-enterprise-2010?forum=ocsplanningdeployment
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali

Similar Messages

  • How to achieve Multi-Tenant in Lync Server 2013 Enterprise Edition

    Hi,
      As LHPv2 is discontinued, is anyone has idea how to achieve Multi-Tenant in Lync Server 2013 Enterprise Edition?
    e.g users from different tenants should not be able to communicate unless it is allowed either by federation or any other form.
    J.B.Patnaik

    once a Topology has been published you can not change the FQDN.
    Also you can refer shah-Khan answer, it will be helpful for you
    http://social.technet.microsoft.com/Forums/lync/en-US/47d4e101-4f7b-4115-8f44-897eb5410acb/need-to-change-a-published-fqdn-lync-pool-for-lync-enterprise-2010?forum=ocsplanningdeployment
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • HLB for Lync Server 2013 Standard Edition

    Hi Guys,
    I am planning to add an additional new Lync Central site with paired Lync Server 2013 standard edition in Primary and DR data centers. with 1 or 2 OWAS Servers in each DCs. No Edge
    server in this new Lync central site as we already have an Edge pool in another central site for federation. Only IM & P and Conferencing, no External Access, Mobility and EV.
    My question is, for LS2013 Standard edition paired pools in the new Lync Central site. should I use HLB or DNS LB should be ok? as technically we do not have any HA here only DR.
    Any advantage using HLB over DNS LB in LS2013 Standard edition?
    Thanks for your help.
    Cheer....

    You typically wouldn't need HLB with standard edition at all.  What were you planning to accomplish?
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Lync 2013 Enterprise Edition Pool Pairing

    Hello
    I am trying to understand Lync pool pairing, my question is:
    I have two geographically dispersed locations, Site1 and Site2. If I were to do pool pairing, would I create two sites in the topology builder with a separate FE pool for each site or do you create one site with more than one FE pool (or can you only put
    one FE pool per site?)
    Another part of the question, if I have two sites would they both be active/active where user's would register to both locations and each site would act as a failover for the other, or would all users register to Site1 and if Site1 were to go down, they
    would re-register to Site2?
    Thanks,

    Hi,
    Agree with Michael, what’s more, when the failed pool is once more up and running, administrators can then run the Invoke-CsPoolFailBack cmdlet in order to "fail back" users of that pool. If a user is currently logged on to the backup pool then he or she
    will be redirected back to their home pool after service has been restored.
    You can refer to the link of “Managing Lync Server 2013 Disaster Recovery, High Availability, and Backup Service”:
    http://technet.microsoft.com/en-us/library/jj721939.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Lync Server 2013 Front End Pool Mediation Service only works on one node

    Hello, I'm currently experiencing an interesting issue with a Lync 2013 Front End Pool implementation on a customer, and I don't know if this is by design or am I missing something.
    We implemented 3 Enterprise Front End Servers in a Pool with a hardware load balancer and we have them configured also as a mediation Pool.
    We have a SIP trunk to an Avaya PBX which was perfectly working before on a Lync 2010 Implementation that we migrated to these new 2013 Front End Pools.
    Now the SIP traffic is only working when configured directly to one node of the pool. If we configure it to any other node the calls fail. We also tried configuring the HLB for port 5060 for the pool and pointed the PBX to that IP but the calls also fail.
    Searching around I read something about that the PBX has to be Lync certified in order to use DNS load balancing to send SIP traffic to the mediation pool, however, I don't think DNS load balancing will work because the other nodes doesn't connect the calls
    from the PBX, only one node appears to be listening for the SIP Trunk.
    I also restarted the mediation service on one  non-working mediation server node and the event viewer on the working mediation server node showed events that it restarted the service, Not the non-working one, it's like only one server from the pool
    is doing as mediation server. 
    So even if I get a Lync Certified PBX/Media Gateway, the mediation service doesn't appear to be load balanced, or how does it work in order to do that?
    Thanks.
    Eduardo Rojas

    Just a few things about what should be happening.  Each front-end server should be listening on the port configured in topology builder for the mediation service. So if that is port 5060, verify that you see that port listening on all front-end servers
    by running a netstat -ano.  From a local workstation, also make sure you can connect to that port via a telnet IPAddress 5060.  As you say, you should be able to send any of the three mediation servers an inbound call.
    Outbound calls will round robin out of the enterprise pool.  So you shouldn't see all of the calls coming out of a single server.
    A few other items I would look into:
    - Make sure your ports are right.  Ensure that you are matching ports on the Avaya and Lync.  It's not a hard requirement but makes life easier to troubleshoot.  So if the Avaya is 5060, just make sure TCP/5060 enabled in your mediation pools
    and that your gateways/trunks are also set to TCP/5060.
    - Look outside the Lync Event Viewer and see if anything strange (.net errors) are being tossed anywhere else during startup of the mediation service.  I once had to remove the mediation server installer (Program and Features | Remove) and rebootstrap
    the server because something went sideways during an install.
    Thanks,
    Richard
    Richard Brynteson, Lync MVP | http://masteringlync.com | http://lyncvalidator.com

  • Establishing Lync Server 2013 on a Child Domain

    Hi,
    We want to establish Lync Server 2013 Enterprise Edition on a child-domain. I finished the installation. Now, if i add to users to child domain and enable from Lync Server Control Panel for test, users can be signed in. However, we use child domain for only
    domain computers. We want to keep users on parent domain, not child domain. 
    I can enable users which are on parent domain, but users can not sign in. When i look Lync troobleshooting program, i got this error: "user is not sip enabled" 
    How can i solve this problem not adding users to child domain?

    Check whether the SIP address is enabled for the user
    Get-CSUser -Identity <Alias>
    SipAddress : sip:[email protected]
    Enable-CsUser –Identity "Raji" –RegistrarPool Pool01.Lync.com –SipAddress "sip:[email protected]" –SipDomain Lync.com
    Verify the output
    Get-CsAdUser | Select-Object DisplayName, SipAddress, UserPrincipalName
    Or
    Construct a SIP address using the user’s SamAccountName and domain name
    The SamAccountName is the user’s logon name: it’s the kenmyer portion of litwareinc\kenmyer. To use the SamAccountName as the SIP address use the –SipAddressType parameter followed by the parameter value SamAccountName:
    Enable-CsUser –Identity "Ken Myer" –RegistrarPool atl-cs-001.litwareinc.com –SipAddressType SamAccountName –SipDomain litwareinc.com
    Note that you also need to include the –SipDomain parameter followed by the appropriate SIP domain. With both FirstLastName and SamAccountName you must explicitly indicate the SIP domain; Enable-CsUser won’t try to make a “best guess” at determining the domain
    name for you.
    Use the user’s email address as his or her SIP address
    This is kind of a nice option: it simply grabs the user’s email address and uses that same value for his SIP address. (That way, users have just one address to remember.) To use this option, simply include the –SipAddressType parameter followed by the parameter
    value EmailAddress:
    Enable-CsUser –Identity "Ken Myer" –RegistrarPool atl-cs-001.litwareinc.com –SipAddressType EmailAddress
    Reference: https://blogs.technet.com/b/csps/archive/2010/06/06/howtoenableusers.aspx
    Exchange Queries

  • SCOM 2012 R2 Integration with Lync Server 2013

    Hi,
    I am trying to configure SCOM 2012 R2 to work with Lync server 2013 standard edition. I have successfully installed and tested Lync Server 2013. But the problem is, I never worked on SCOM application before and I can not find any easy documents online. So
    could you please help me and suggest any step by step guide for the same purpose!
    BR,
    Ajit

    Hi,
    Glad to hear that you have solved the issue. For the second question, what did you want to do with the Windows Server (anything to do with Lync Server)? As it is another question, you can also post another case on Technet forum and more engineers will help
    you solve the issue.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Unable to start Lync 2013 FE service on one of the pooled server, error "The evaluation period for Microsoft Lync Server 2013 has expired"

    Team,
    Unable to start FE service on one of the FE server, 2 Enterprise lync 2013 pool one FE in each pool, only following error in event vrw,
    Log Name:      Lync Server
    Source:        LS Server
    Date:          12/30/2013 12:10:55 PM
    Event ID:      12290
    Task Category: (1000)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ACS465-BH102.me.ykgw.net
    Description:
    The evaluation period has expired.
    The evaluation period for Microsoft Lync Server 2013  has expired. Please upgrade from the evaluation version to the fully licensed version of the product. Look at help for Setup.exe to learn how to upgrade from evaluation version to the licensed version.
    Cause: The evaluation period for Microsoft Lync Server 2013  has expired.
    Resolution:
    Please upgrade from the evaluation version to the licensed version of the product. Look at help for Setup.exe to learn how to upgrade from evaluation version to the licensed version.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="LS Server" />
        <EventID Qualifiers="50152">12290</EventID>
        <Level>2</Level>
        <Task>1000</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-12-30T09:10:55.000000000Z" />
        <EventRecordID>73953</EventRecordID>
        <Channel>Lync Server</Channel>
        <Computer>ACS465-BH102.me.ykgw.net</Computer>
        <Security />
      </System>
      <EventData>
      </EventData>
    </Event>
    Log Name:      System
    Source:        Schannel
    Date:          12/30/2013 12:13:36 PM
    Event ID:      36888
    Task Category: None
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      ACS465-BH102.me.ykgw.net
    Description:
    The following fatal alert was generated: 10. The internal error state is 1203.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Schannel" Guid="{1F678132-5938-4686-9FDC-C8FF68F15C85}" />
        <EventID>36888</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2013-12-30T09:13:36.779033200Z" />
        <EventRecordID>83985</EventRecordID>
        <Correlation />
        <Execution ProcessID="556" ThreadID="3668" />
        <Channel>System</Channel>
        <Computer>ACS465-BH102.me.ykgw.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="AlertDesc">10</Data>
        <Data Name="ErrorState">1203</Data>
      </EventData>
    </Event>
    Server is already on Full version, ran Reset-CsPoolRegistrarState
    for fillrest as wel as serviceret
    Followed below as well,
    http://social.technet.microsoft.com/Forums/lync/en-US/2a7e27ce-2dea-4e37-91ea-1ed42e110198/issue-updating-from-eval-to-volume-licenses?forum=ocsplanningdeployment
    Currently done failover to another pool and users can login,
    however i cant get the front end service on this server.Any pointers would be appreciated.
    Praveen | MCSE Messaging 2003

    rit, the command is not doing the trick since its already full version,
    PS C:\Users\lyncadmin> Get-CsServerVersion
    Microsoft Lync Server 2013 (5.0.8308.0): Volume license key installed.
    only one server in one pool, total two pools.
    Lync 2013 is on Win 2008 R2, and the event in system im inclining to since i have tried all,
    Log Name:      System
    Source:        Schannel
    Date:          12/30/2013 9:26:34 AM
    Event ID:      36888
    Task Category: None
    Level:         Error
    Keywords:      
    User:          SYSTEM
    Computer:      ACS465-BH102.me.ykgw.net
    Description:
    The following fatal alert was generated: 10. The internal error state is 1203.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Schannel" Guid="{1F678132-5938-4686-9FDC-C8FF68F15C85}" />
        <EventID>36888</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2013-12-30T06:26:34.877077500Z" />
        <EventRecordID>64911</EventRecordID>
        <Correlation />
        <Execution ProcessID="556" ThreadID="620" />
        <Channel>System</Channel>
        <Computer>ACS465-BH102.me.ykgw.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Data Name="AlertDesc">10</Data>
        <Data Name="ErrorState">1203</Data>
      </EventData>
    </Event>
    Praveen | MCSE Messaging 2003

  • Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.

    Dear Team,
    I have two Enterprise lync 2013 pools, abcPool and abcpool1. abcPool1 has got two servers, Server1 and server2. and abcpool has one FE server named "Server 3". and they have pool pairing.
    Replication was fine between them when i had only one FE server in each pool, one day FE service broke on one of the FE server on abcpool1 and failed to start so i had to do failover to another pool, at that time i introduced one more FE in abcPool1, that
    why now 2 FEs in abcPool2. Server1 FE service was resolved by reinstalling the binaries. However after that im unable to get the backupservice state to normal, i tried the below articles with no luck,
    http://social.technet.microsoft.com/Forums/lync/en-US/0403621e-26b6-4cd0-bbca-8534a20de665/backup-service-pool-ownership-conflict-during-import?forum=lyncdeploy 
    http://msucmenow.blogspot.in/2013/05/troubleshooting-lync-2013-pool-pairing.html
    "Event on Server 1"
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 8:02:33 AM
    Event ID:      4073
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      ABC.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.
    Items having pool ownership conflict: 
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7972, DocName: urn:hcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7973, DocName: urn:lcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7974, DocName: urn:upc:[email protected]
    PS C:\Users\lyncadmin> Get-CsBackupServiceStatus -PoolFqdn pool1.net | fl
    ActiveMachineFqdn   : abc1.net
    OverallExportStatus : SteadyState
    OverallImportStatus : ErrorState
    BackupModules       : {UserServices.PresenceFocus:[SteadyState,ErrorState],
                          ConfServices.DataConf:[FinalState,NormalState],
                          CentralMgmt.CMSMaster:[FinalState,NotInitialized]}
    Following error in "Lync Server" logs on server3 on abcPool.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:37:47 AM
    Event ID:      4069
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully when importing document batch.
    Batch file: UserServices\PresenceFocus\1-UserServices-8\Data\488bc218-9954-4caf-a5da-89efdb7b85a7_0_1562.xml.
     Exception: System.Data.SqlClient.SqlException (0x80131904): Snapshot isolation transaction aborted due to update conflict. You cannot use snapshot isolation to access table 'dbo.Batch' directly or indirectly in database 'rtcxds' to update, delete, or
    insert the row that has been modified or deleted by another transaction. Retry the transaction or change the isolation level for the update/delete statement.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:52:45 AM
    Event ID:      4064
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully during export.
    Additional Message: 
     Exception: System.IO.IOException: The process cannot access the file '\\SQl1.net\LyncShare\1-BackupService-10\BackupStore\UserServices\PresenceFocus\Cookie\Cookie.zip' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    Praveen | MCSE Messaging 2003

    When you add a new FE in pool acdpool1, please check you have run the following:
    <system drive>\Program Files\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe
    For the details, check
    http://technet.microsoft.com/en-us/library/jj204773.aspx
    Lisa Zheng
    TechNet Community Support

  • Lync Server 2013 : Export-CsArchivingData Can i get the files or name of files transferred between 2 users

    I am using LyncServer 2013 And my Question is :-
    Export-CsArchivingData -
    By using this Command-let Can i get  the files or name of files transferred between 2 users 
    Whether it is stored in "LcsLog" database ?
    If not weather Lync server saves the files (which users are sending to another users ) anywhere on file system, or not ?

    Doug Deitterick has a great blog posting that should answer your question: http://blogs.technet.com/b/dodeitte/archive/2013/04/24/archiving-options-in-lync-server-2013.aspx
    The actual File is not archived in Lync, but the file name is and will be have either _p2P or _conf at the end of the name to indicate how it was transferred.
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Backing Up and Restoring Lync Server 2013/OCS 2007 R2 Co-existence Environment

    Hello
    I am seeking tips on how to build a replica of a Lync 2013/OCS 2007 R2 production pilot Co-existence environment in a test lab.
    Lync 2013 is a standard Edition Pool
    OCS 2007 R2 is an Enterprise Pool
    Here is what I think...Is this feasible ? appreciate any other idea
    1. Get Active Directory to Test Environment
    For OCS 2007 R2 Servers
    2. Use LCScmd on OCS 2007 R2 Servers to backup Global\Pool\Computer specific settings
    3. Backup OCS 2007 R2 on Backend SQL Database
    4. Restore data from steps 2 and 3 to equivalent servers created and prepared in test environment
    For Lync 2013 SE Servers
    5. Use the Lync 2013 Backup and Restore Process to bring up Lync Server 2013 into the test environment
    http://technet.microsoft.com/en-us/library/hh202192.aspx
    David

    That should do it, as you said you'll need Active Directory as well so these accounts line up with something.
    It may be easiest to restore into your virtual environment using virtual snapshots or Windows backups and fixing any corruption that may have occurred by restoring what you've backed up.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • How do I enforce "Show My Picture" instead of "Hide My Picture" in Lync Server 2013?

    I was scouring TechNet and the web for a script that could perform the same task as one that I previously used for Lync 2010.
    In Lync 2010, we had already used Lync policy to enforce that only the Active Directory photo could be used. One thing that we couldn't set via policy however was the ability to complete remove the "Hide My Picture" option in Lync 2010 client.
    This left users with the ability to freely switch between showing the Corporate photo or no photo. I did eventually find and make use of script that constantly checked for this setting switch, then switched all users back to the desired "Show My Picture"
    setting. I don't recall who wrote it, but it's easy to find on technet. As we started to move more and more users to our Lync 2013 enterprise pool, I noted that even though the script was running, the setting seemed to be changeable. A closer look revealed
    that the script didn't function correctly against SQL for our 2013 pool.
    I took the concept and applied it to Lync Server 2013 after studying the differences in Userdata. In Lync 2013, because UserData is in .zip, you need to convert it to 2010 format XML to use logic intended for Lync 2010. My script will extract 2013 data,
    convert it to 2010, query for users who are set to "Hide My Picture" and then export any guilty users to an edited2010 XML. The script then converts this to 2013 Format .zip, and uploads the data for these users only. I chose to use Update-CSUserData
    insted of Import-CSUserData as this avoids having to restart my Front End. I then use a scheduled task on my Front End server which runs this script every hour.
    Please note: You can use this script, but I guarantee nothing about it's functionality, and I am not responsible for how you positively/negatively use it. You should always test things in a Lab Environment. Furthermore, this script was run on a relatively
    smaller Enterprise system in which we are by default set to "Show My Picture" and already assigned as part of our user policy the ForceADPhoto attribute. This means that running the script is less intensive on my FE than say on a FE with 10,000 users
    where none of the users were set to "Show My Picture". Please keep this in mind when planning to execute against your FE. You may want to edit my script and insert the -UserFilter or -WhatIf in the Export-CsUserData UpDate-CsUserData.
    Anyways, I hope this solves the similar issue for many of you Lync 2013 administrators. Please feel free to share my work with others if it does, and also give this post some good feedback and/or mark my post as the answer to your problem.
    Alas, here's the script (save it as a .ps1 , i.e. ForceShowMyPicture.ps1)
    #Lync 2013 ForceShowMyPicture - Compiled by Octavio A. Serpa (Octavio-Admin on TechNet)
    # Import Lync Module
    Import-Module “C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1"
    ###Variables To Set
    #This variable is a folder where files will be temporarily written
    $folderPath = “C:\Lync2013Scripts\Export”
    #This is the FQDN of the pool in which the users you want to target reside
    $poolFQDN = “<lyncpool.domain.local>”
    ###Done
    #Message Out
    Write-Host -ForegroundColor YELLOW “CHECKING THAT TEMP EXPORT FOLDER PATH EXISTS"
    If (-not (Test-Path "$folderPath" -pathType container))
     "ERROR: Your Export Directory doesn't exist!"
     Exit
    Write-Host -ForegroundColor Green “TEMP EXPORT FOLDER DOES EXIST"
    Write-Host -ForegroundColor YELLOW “PRE-CLEANING OLD EXPORT/IMPORT FILES"
    If (Test-Path "$folderPath\Lync2013UserData.zip") { Remove-Item "$folderPath\Lync2013UserData.zip" }
    If (Test-Path "$folderPath\Lync2010UserData.xml") { Remove-Item "$folderPath\Lync2010UserData.xml" }
    If (Test-Path "$folderPath\Lync2010EditedUserData.xml") { Remove-Item "$folderPath\Lync2010EditedUserData.xml" }
    If (Test-Path "$folderPath\Lync2013EditedUserData.zip") { Remove-Item "$folderPath\Lync2013EditedUserData.zip" }
    Write-Host -ForegroundColor Green “PRE-CLEANING COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “EXPORTING LYNC 2013 POOL USER DATA”
    Export-CsUserData -PoolFqdn $poolFQDN -FileName $folderPath\Lync2013UserData.zip
    Write-Host -ForegroundColor Green “EXPORT COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “CONVERTING LYNC 2013 USER DATA TO 2010 FORMAT”
    Convert-CsUserData -InputFile "$folderPath\Lync2013UserData.Zip" -OutputFile "$folderPath\Lync2010UserData.xml" -TargetVersion Lync2010
    Write-Host -ForegroundColor Green “CONVERSION COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “CHECKING THAT FORMAT CONVERSION WAS SUCCESSFUL AND .XML EXISTS”
    If (-not (Test-Path "$folderPath\Lync2010UserData.xml" -pathType leaf))
     "ERROR: Verify that $folderPath is writable!"
     Exit
    Write-Host -ForegroundColor Green “CONVERSION COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “LOADING XML”
    $d = [xml] (Get-Content "$folderPath\Lync2010UserData.xml")
    Write-Host -ForegroundColor Green “XML LOADING COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “CORRECTING AD PHOTO SETTING”
    $changes = 0
    $lastProcessedUser = $null
    foreach ($hr in $d.HomedResources.HomedResource)
     $found = 0
     foreach ($c in $hr.Containers.Container)
      foreach ($p in $c.Publication)
       If ($p.CategoryName -eq 'contactCard' -and $p.InstanceNum -eq 6 -and $p.Data.contactCard.displayADPhoto -eq 'false')
        If ($hr.UserAtHost -ne $lastProcessedUser)
         "$($hr.UserAtHost) reset"
         $lastProcessedUser = $hr.UserAtHost
        $p.Data.contactCard.displayADPhoto = 'true'
        $p.Version = (([int] $p.Version) + 1).ToString()
        $p.PrevPubTime = $p.LastPubTime
        $p.LastPubTime = (Get-Date -Format s).ToString()
        $found = 1
        $changes++
     If ($found -eq 0) { [Void]$d.HomedResources.RemoveChild($hr) }
    Write-Host -ForegroundColor Green “AD PHOTO SETTING CORRECTIONS COMPLETED SUCCESSFULLY"
    #Message Out
    Write-Host -ForegroundColor YELLOW “Changes: $changes"
    If ($changes -ne 0)
     #Message Out
     Write-Host -ForegroundColor YELLOW “RE-SAVING XML”
     $d.Save("$folderPath\Lync2010EditedUserData.xml")
    #Message Out
    Write-Host -ForegroundColor YELLOW “CONVERTING LYNC 2010 .XML BACK TO 2013 .ZIP FORMAT"
    Convert-CsUserData -InputFile "$folderPath\Lync2010EditedUserData.xml" -OutputFile "$folderPath\Lync2013EditedUserData.zip" -TargetVersion Current
    #Message Out
    Write-Host -ForegroundColor Green “CONVERSION BACK TO 2013 .ZIP FORMAT SUCCESSFUL"
    #Message Out
    Write-Host -ForegroundColor YELLOW “IMPORTING LYNC 2013 POOL DATA FOR CORRECTED USERS”
    Update-CsUserData -FileName $folderPath\Lync2013EditedUserData.zip -Confirm:$false -Verbose
    Write-Host -ForegroundColor Green “IMPORT COMPLETED SUCCESSFULLY"
    Write-Host -ForegroundColor YELLOW “STARTING POST-IMPORT-CLEANUP OF EXPORT/IMPORT FILES"
    If (Test-Path "$folderPath\Lync2013UserData.zip") { Remove-Item "$folderPath\Lync2013UserData.zip" }
    If (Test-Path "$folderPath\Lync2010UserData.xml") { Remove-Item "$folderPath\Lync2010UserData.xml" }
    If (Test-Path "$folderPath\Lync2010EditedUserData.xml") { Remove-Item "$folderPath\Lync2010EditedUserData.xml" }
    If (Test-Path "$folderPath\Lync2013EditedUserData.zip") { Remove-Item "$folderPath\Lync2013EditedUserData.zip" }
    Write-Host -ForegroundColor Green “POST-IMPORT-CLEANUP COMPLETED"
    #Message Out
    Write-Host -ForegroundColor Green “AD PHOTO SETTING SUCCESSFULLY UPDATED"

    When I try to run this I get the follow error.  Any thoughts?
    Update-CsUserData : Unable to cast COM object of type 'System.__ComObject' to interface type
    'Microsoft.Rtc.Interop.User.ICsUserManagement'. This operation failed because the QueryInterface call on
    the COM component for the interface with IID '{D5ADD966-BDC3-4A8F-BFE8-6A59A9F74CB2}' failed due to the
    following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    At C:\Lync2013Scripts\ForceDisplayPhoto.ps1:113 char:1
    + Update-CsUserData -FileName $folderPath\Lync2013EditedUserData.zip -Confirm:$fal ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: ([email protected]:String) [Update-CsUserData], Invalid
       CastException
        + FullyQualifiedErrorId : Microsoft.Rtc.Management.AD.Cmdlets.ImportOcsUserDataCmdlet

  • Lync HP 4120 Sign in problems with Lync Server 2013

    Hi, this is my second request for help, this with more information...
    I`ll ready install the follow infrastructure:  (I change the name of my organization for contoso)
    Lync Server 2013 Installation with Enterprise mode with 1 front end :  Pool: lync.contoso.com  Front End: lyncfe01.contoso.com     Back End: lyncsql01.contoso.com
    I`ll ready install a PKI infrastructure with two tiers, the root offline and the subordnate ac.contoso.com
    This with the defailt algorithm configuration RSA SHA1
    My phones are HP 4120 
    In the Front End Server i configured the SCHANNEL registers:
    EnableSessionTicket in 2
    Send..etc in 0
    Ok, the installation is ok, services are OK, Client login trough PC its OK, PSTN Configuration... (I can make a phonecall with the lync client of Office 365)
    Commnd Checks:  
    When i run the command Test-CsPhoneBootstrap -PhoneOrExt 12345 -PIN 123456 -TargetFqdn lync.contoso.com
    The result is:
    Target Fqdn   : lync.contoso.com
    Target Uri    : https://lync.contoso.com:443/CertProv/CertProvisioningService.svc
    Result        : Success
    Latency       : 00:00:09.0559615
    Error Message :
    Diagnosis     :
    When i run the command Test-CsPhoneBootstrap -PhoneOrExt 12345 -PIN 123456 for
    check the DHCP the result is:
    Target Fqdn   : lync.contoso.com
    Target Uri    : https://lync.contoso.com:443/CertProv/CertProvisioningService.svc
    Result        : Success
    Latency       : 00:00:09.0559615
    Error Message :
    Diagnosis     :
    When i run the follow command 
    PS C:\Users\Administrator> $cred = Get-Credential
    cmdlet Get-Credential at command pipeline position 1
    Supply values for the following parameters:
    Credential
    PS C:\Users\Administrator> Test-CsClientAuth -TargetFqdn lync.contoso.com -UserSipAddress "sip:[email protected]" -UserCredential $cred
    I got this:
    Target Fqdn   : lync.contoso.com
    Target Uri    : https://lync.contoso.com:443/CertProv/CertProvisioningService.svc
    Result        : Success
    Latency       : 00:00:00.3431783
    Error Message :
    Diagnosis     :
    But.. when i use the same command but i remove the -targetFqdn for check the Dhcp i got this:
    VERBOSE: Workflow Instance Id 'bca95636-af7b-4b0a-b43d-dba259294b2d', started.
    VERBOSE: Command line executed is 'Test-CsClientAuth -UserSipAddress "sip:[email protected]" -UserCredential $cred
     -Verbose'.
    Target Fqdn   :
    Target Uri    :
    Result        : Failure
    Latency       : 00:00:00
    Error Message : 10060, A connection attempt failed because the connected party did not properly respond after a period
                    of time, or established connection failed because connected host has failed to respond 194.90.8.20:5061
                    Inner Exception:A connection attempt failed because the connected party did not properly respond after
                    a period of time, or established connection failed because connected host has failed to respond
                    194.90.8.20:5061
    Diagnosis     :
    VERBOSE: Workflow 'Microsoft.Rtc.SyntheticTransactions.Workflows.STClientAuthWorkflow' started.
    Workflow 'Microsoft.Rtc.SyntheticTransactions.Workflows.STClientAuthWorkflow' completed in '5.62E-05' seconds.
    Target web service Url not provided. Will have to extract it from authentication challenge.
    An exception 'Unable to establish a connection.' occurred during Workflow
    Microsoft.Rtc.SyntheticTransactions.Workflows.STClientAuthWorkflow execution.
    Exception Call Stack:    at Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()
       at Microsoft.Rtc.Signaling.Helper.EndAsyncOperation[T](Object owner, IAsyncResult result)
       at Microsoft.Rtc.SyntheticTransactions.Activities.GetSTSUriActivity.InternalExecute(ActivityExecutionContext
    executionContext)
       at Microsoft.Rtc.SyntheticTransactions.Activities.SyntheticTransactionsActivity.Execute(ActivityExecutionContext
    executionContext)
       at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
       at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
       at System.Workflow.Runtime.Scheduler.Run()
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at Microsoft.Rtc.Internal.Sip.TcpTransport.OnConnected(Object arg)
    'GetSTSUri' activity started.
    Starting STS Uri Discovery...
    ERROR getting STS Uri.
    'UnRegister' activity started.
    'UnRegister' activity completed in '3.12E-05' seconds.
    VERBOSE: Workflow Instance ID 'bca95636-af7b-4b0a-b43d-dba259294b2d' completed.
    VERBOSE: Workflow run-time (sec): 126.0548512.
    The Real Problem is that my Lync HP 4120 Phone can't make a sign in, not from USB cable loging, nor with PIN authentification
    When I try to make a login with the USB cable, I set the user and password and the phone says "Connecting to Lync".. "Downloading a certificate" ... "Installing certificate"... "Downloading Certificate"...
    "Installing Certificate".. forever 
    When I try to make a login with PIN Authentification, the phone first displays the following:
    Account used is not authorized, Please Contact your support team and then shows this:
    An Account matching this phone number cannot be found. Please contact your support team.
    The Pin authentification is enable
    In the Lync Server Enable Kerberos Authentification, Enable Integrated Windows Authentification and Enable Certificate Authentification are enable
    This is the configuration from DHCP 
    Starting Discovery ... 
    Sending Packet (Size: 284, Network Adapter: xx.xx.xx.xx, Attempt Type: Broadcast only)
    --Begin Packet--
    DHCP: INFORM                (xid=130EA7FA)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 319727610
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = Xx.xx.xx.xx
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 0.0.0.0
    DHCP: Client HW Address (chaddr)  = FC15B4###--End Packet--
    Received Packet
    Sender:xx.xx.xx.xx:67, Size:363
    --Begin Packet--
    DHCP: ACK                (xid=130EA7FA)
    DHCP: Op Code           (op)      = 1
    DHCP: Hardware Type     (htype)   = 6
    DHCP: Hops              (hops)    = 0
    DHCP: Transaction ID    (xid)     = 319727610
    DHCP: Seconds           (secs)    = 0
    DHCP: Flags             (flags)   = 0000
    DHCP: Client IP Address (ciaddr)  = xx.xx.xx.xx
    DHCP: Your IP Address   (yiaddr)  = 0.0.0.0
    DHCP: Server IP Address (siaddr)  = 0.0.0.0
    DHCP: Relay IP Address  (giaddr)  = 0.0.0.0
    DHCP: Client HW Address (chaddr)  = FC15B4100289
    DHCP: Server Host Name  (sname)   = 
    DHCP: Boot File Name    (file)    = 
    DHCP: Magic Cookie                = 99.130.83.99
    DHCP: Option Field
        DHCP: DHCP MESSAGE TYPE(  53) = (Length: 1) DHCP ACK
        DHCP: Server Identifier(  54) = (Length: 4) XX.XX.XX.XX
        DHCP: Client Identifier(  61) = (Length: 0)  ()
        DHCP: SIP Server( 120)        = (Length: 17) enc:0 lync.contoso.com (00046C796E6306756E69736F6E026D7800)
        DHCP: Host Name(  12)         = (Length: 0) 
        DHCP: Vendor Identifier(  60) = (Length: 0) 
        DHCP: Param Req List(  55)    = (Length: 0) 0 0
        DHCP: Vendor Info(  43)       = (Length: 86) MS-UC-Clienthttpslync.contoso.com443%/CertProv/CertProvisioningService.svcÜNAP (010C4D532D55432D436C69656E7402056874747073030E6C796E632E756E69736F6E2E6D78040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536572766963652E737663DC034E4150)
        DHCP: End of this option field
    --End Packet--
    Result: Success
    DHCP Server : xx.xx.x.xx.
    SIP Server FQDN : lync.contoso.com
    Certificate Provisioning Service URL : https://lync.contoso.com:443/CertProv/CertProvisioningService.svc
    thanks for all, hope somebody can help me with this problem.. i am going crazy...

    Hi, i connected the Lync Phone to another switch and i update the firmware to the newest firmware and i got the same problem..  
    The lync phone download the certificate but cant install it and the still the same error with the SIP login
    An Account matching this phone number cannot be found. Please contact your support team.

  • How to reinstall Lync server 2013 Core Component Server Applications

    Hi Would like to know how to register back the core server applications and where can i find the priority list. I incidentally
    removed the server applications (ClientVersionFilter, IIMFilter, VoIP Apps and EumRouting and Outbouding) when i removed my MSPL script application from the pool. I missed out to put my script
    app name after pool name when i run the command remove-cstrustedapplication. Then, it removed all the core apps from that pool.
    I found that .am files and .exe files are still in the C:\Program Files\Microsoft Lync Server 2013\Core and tried
    to register back using cmdlets but not very sure about the priority of the apps. Or can I install RTCHost.exe? Now Outgoing call is not working. Please kindly help. Thanks in Advance.

    Oh.. thank you very much both
    Saleesh and Eric. I will try it. 
    What I did is that I used the cmdlets New-CsServerApplication and registered the server apps (checked the server apps
    list from testing fe server) like how I register MSPL script app. But I may miss out some components since testing fe server uses Standard Edition. I registered my
    MSPL script app back too, but after a while Lync Front End Service keeps on stopping.  I am not sure that
    MSPL script or missing components which one causes to stop front end service. Now I am checking the event viewer logs.
    If I run add-remove Lync component wizard on the server, will it remove any other settings like removing users from
    pool? or it just install/unstall lync server core components only?
    Many thanks!

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

Maybe you are looking for

  • How can I use automator to copy and paste excel content to a new empty document?

    Hi, I would like to copy and paste the content from an excel file to another empty new document using automator, which I created a workflow like below get specific finder item open excel workbook select cell from excel workbook (all content) obtain s

  • Defining action and condition for Marketing campaign

    Hi All, I have a requirement in my project regarding defining condition on the basis of standard fields available in u201CGeneral Datau201D assignment block of campaign. I have to define condition for fields like tactics, communication medium, curren

  • Error when publishing 3D to GIF

    Symptoms:           When the scene contains any 3D rotated object, it doesn't render correctly when publishing to GIF format. Version:          Flash CS4 Steps to reproduce: 1- Create a new empty AS3.0 scene. Set the publish settings to generate a GI

  • Rename description of component configuration

    Hi, I have create a component configuration CACS_SCTR_AGR_ASSIGN_CHAN_CC_GAF with the description "ICM: Standard Contract Agreement Assignment Change Comp Conf" . Now I want to change the description. How can I rename the description in the new edito

  • When get into ESR ,,error - java.lang.NoClassDefFoundError

    Hi expert!! I got the error ( java.lang.NoClassDefFoundError) when getting into ESR.. for the detail , occured after clicking logon buttom. the error  occured when getting into ESR only. no problem with  ID, RWB, SR, SLD, NWA. i used JDK 1.6 with my