Lync Server 2013 in a Remote Desktop Environment

Hello Community,
We have a client who is sold on Lync. He wants to install Lync server in a Terminal Server but his environment is RDHS 2008v2 and his end users have thin clients. According to MS official position It is not supported. Has anyone successfully implemented
this ? If yes what are the pitfalls that lay ahead with regards to audio/video redirection, desktop sharing etc. He has traditional phones but really he wants to get rid of them and go Lync full blown.

The Virtualizing Lync Server 2013
(WindowsITPro) article presents a nice overview to this topic.
In additon, do take a look at the following resources which may be helpful:
Planning a Lync Server 2013 Deployment on Virtual Servers
http://www.microsoft.com/en-us/download/details.aspx?id=41936
Deploying the Lync VDI plug-in in Lync Server 2013
http://technet.microsoft.com/en-us/library/jj204683.aspx
Making the Microsoft Lync to work best in your virtualization environment
http://www.youtube.com/watch?v=WiZX3uoVKV8
Note that unlike Lync Server 2010, the Lync 2013 VDI browser plug-in is designed to support VDI environments (with paired audio/video) running on supported platforms (from Windows Server 2008 R2 to 2012/R2).
Hope this helps.
Thanks / rgds,
TechNet/MSDN Forum Moderator - http://www.leedesmond.com

Similar Messages

  • What port number for Desktop Sharing using in Lync Server 2013 and Lync Online

    Dear All,
          My environment using Lync Server 2013 and Lync online on Office 365. I don't want my user using Desktop Sharing feature. then I need to know what port number for Desktop Sharing using in Lync Server 2013 and Lync Online.
    I will deny this port on personal firewall each client.
          Thank you for your advise.

    Hi,
    I'm not sure you'd be able to do this with ports without impacting other application sharing features such as Q&A, Whiteboard, Poll etc - I'm pretty sure they all come under the same umbrella of ClientAppSharing.
    Ordinarily you would create or modify your conferencing policy to restrict sharing to single programs only using a cmdlet similar to below;
    Set-CsConferencingPolicy -Identity "Global" -EnableAppDesktopSharing SingleApplication
    This would disable desktop sharing but enable users to continue sharing other single programs. If you want to remove that functionality too, then replace the 'SingleApplication' parameter with 'None'. Then users won't be able to share any programs either.
    This is the correct way to do it as the icons will be greyed out for the users. Doing it your way, they would still be able to click them, and it would throw an error - this will lead to a lot more support calls and people assuming a service is broken.
    I hope that helps some.
    Kind regards
    Ben

  • 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

  • Persistent Chat (Lync Server 2013) with Lync 2010 Group Chat

    I have successfully deployed Lync Server 2013 and both 2013 and 2010 desktop clients connect and function as expected.
    The problem is with Persistent Chat. It works perfectly with the 2013 desktop client but - whilst 2010 Group Chat connects - I receive the error message "The [LOGON_DOMAIN] is not available". No chat rooms are available and I am unable to search.
    I have been unable to locate anything on the web which discusses the problem.
    I do not know whether this makes a difference but the 2010 clients use terminals rather than dedicated workstations.
    Can anyone shed any light on what the problem may be?

    Have you created a CsPersistentChatEndpoint to allow the Group Chat client (2010) to connect to Persistent
    Chat server? Please take a look at: http://technet.microsoft.com/en-us/library/jj204901.aspx
    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.

  • 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

  • Telephone numbers (officePhone and homePhone) are missing in a contact card in a Lync Server 2013-based Lync mobile client

    In my opinion, the error has not completely fixed in KB2967628. After I install the latest November 2014 cumulative
    update. I see the following behavior. User A searches for user B. User B never sign in to the Link. There are three fields in the active directory for User B: officePhone, mobilePhone and homePhone (these fields contain different numbers). When searching on
    the mobile client (Android/IOS) for user B – as result user A see only mobile number. If User B At least once will go to Link (sign in) when his search will work, (find officePhone). If User B will change, the privacy settings for user A is in the search will
    be displayed homePhone field.
    On the Desktop client,
    I can find all the fields without those actions performed in the example. If I make a request
    to the service UCWA manually like this (below
    the text) before
    actions, which I performed in example, I did not receive officePhone and homePhone – only mobilePhone field.
    GET "https://lync.domainname:443/ucwa/oauth/v1/applications/XXXX/people/search?query=$usename$&amp;limit=200" -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: $USENAMETOKEN$" 

    Hi,
    Based on your description, I’m sorry I’m a little confused about the following you mentioned. I understand the issue is we can only see the mobile number in the contact card on Lync mobile client and that we can search for users based on their office number,
    we can see the home phone field in the contact card but there isn’t number showing. I anything I have misunderstood, please feel free to let us know.
    “When searching on the mobile client (Android/IOS) for user B – as result user A see only mobile number. If User B At least once will go to Link (sign in) when his search will work, (find officePhone). If User B will
    change, the privacy settings for user A is in the search will be displayed homePhone field.”
    According to the KB29677628, this issue is caused by UCWA only sending the work number, and we need to install the update for web components server
    http://support.microsoft.com/kb/2967628/en-us
    August 2014 Cumulative Update 5.0.8308.738 for Lync Server 2013, web components server
    https://support.microsoft.com/kb/2937297/en-us?wa=wsignin1.0
    Could you please run the following command to check if the web components server version is
    5.0.8308.738?
    Get-WmiObject
    –query 'select * from win32_product' | where {$_.name
    –like "Microsoft Lync Server*"} | ft Name, Version
    –AutoSize >c:\User\name\Desktop\version.txt
    Best Regards,
    Cindy

  • The CompileSPL.exe in the Lync Server 2013 SDK can't compile the application manifest file

    My windows server version is 2012 standard, I deployed the lync server 2013 to my environment, and ran the lync server 2013 SDK on the front end pool. Today, I wanted to compile a application manifest file, but I got the warning that this app can't run on
    your pc, to find a version for your pc, check with the software publisher.

    Hi,
    The issue is related to Lync Server 2013, I suggest you ask for help from Lync Server 2013 SDK forum for better and accurate answer to the question.:
    http://social.msdn.microsoft.com/Forums/lync/en-US/home?forum=communicationsserversdk&filter=alltypes&sort=lastpostdesc
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Lync Server 2010迁移升级Lync Server 2013时Lync Server控制面板无法打开Lync Server 2013

    Lync Server 控制面板打开Lync Server 2010正常,打开Lync Server 2013报错未授权:授权失败。前端服务器日志显示如下:
    日志名称:          Lync Server
    来源:            LS Remote PowerShell
    日期:            2014/4/1 10:40:41
    事件 ID:         35005
    任务类别:          (3500)
    级别:           
    错误
    关键字:          
    经典
    用户:           
    暂缺
    计算机:           lync13fe01.byd.com
    描述:
    远程 PowerShell
    无法从存储中读取 RBAC 角色信息。
    远程 PowerShell
    在尝试读取用户的 RBAC 角色信息时遇到问题。Retry failed。异常: SqlConnectionException。失败原因:
    用户 'DL\LYNC13fe01$' 登录失败。。堆栈跟踪:   
    在 Microsoft.Rtc.Management.Store.Sql.XdsSqlConnection.ReadDocItems(ICollection`1 key)
    在 Microsoft.Rtc.Management.ScopeFramework.AnchoredXmlReader.Read(ICollection`1 key)
    在 Microsoft.Rtc.Management.WritableConfig.AnchoredXmlSchemaCache.get_Item(ScopeClass scopeClass)
    在 Microsoft.Rtc.Management.Authorization.OcsRunspaceConfiguration.GetRolesFromStore(ManagementConnection connection)
    原因:
    发生失败可能是由于读取管理存储时出现某个权限问题。
    解决方法:
    确保服务器是加入域的计算机且能够查询 Active Directory。
    事件 Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="LS Remote PowerShell" />
        <EventID Qualifiers="52652">35005</EventID>
        <Level>2</Level>
        <Task>3500</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-04-01T02:40:41.000000000Z" />
        <EventRecordID>7400</EventRecordID>
        <Channel>Lync Server</Channel>
        <Computer>lync13fe01.byd.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Retry failed</Data>
        <Data>SqlConnectionException</Data>
        <Data>用户
    'DL\LYNC13fe01$' 登录失败。</Data>
        <Data>  
    在 Microsoft.Rtc.Management.Store.Sql.XdsSqlConnection.ReadDocItems(ICollection`1 key)
    在 Microsoft.Rtc.Management.ScopeFramework.AnchoredXmlReader.Read(ICollection`1 key)
    在 Microsoft.Rtc.Management.WritableConfig.AnchoredXmlSchemaCache.get_Item(ScopeClass scopeClass)
    在 Microsoft.Rtc.Management.Authorization.OcsRunspaceConfiguration.GetRolesFromStore(ManagementConnection connection)</Data>
      </EventData>
    </Event>

    Hi,
    This forum is only English Supported.
    Did you use the same account to open Lync Server 2013 control panel with Lync Server 2010 Control Panel?
    If not, please check the account that is assigned to the CsAdministrator role.
    On your Lync Server 2013 Front End Server, open IIS, expand Lync Server Internal Web Site. Click cscp, then click Browse *:443 in Actions panel to check if you can open Lync Server 2013 Control Panel.
    Check your Domain Controller is available. You can ping it on Lync Server 2013 Front End Server.
    Lisa Zheng
    TechNet Community Support

  • How to run a Lync Server 2013 in amazon ec2 Instance ?

    Hi Friends,
    I would like to install a Lync server 2013 in amazon ec2 instance. Let me know can i install Active Directory server, Lync Server 2013 and Media server in a single amazon instance ?. If it possible how can i do it ?. And is any other features need to install
    to get the fully functional Lync server. Please help me am newbie in Lync environment  

    You can get Lync working in EC2 and I have lab'd his many times. Having said that the process isn't that straight forward (especially if you plan to do voice) a lot of planning and testing, specifically of the network would need to be undertaken.
    You can add multiple interfaces to an EC2 instance (see here http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html)
    If you're hard set on using EC2 you can get it to work, but I personally would look at Office 365 E4 or a small on-premise deployment depending on your requirements. 
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)
    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How can I connect the phone network to LYNC Server 2013?

    Greetings,
    We have a working implementation of Lync Server 2013 (pc to pc), our objective is to connect lync to our phone central, receive and send calls from lync clients (pc, phone, etc), basically enterprise voice services.
    I would like to know the following:
    Hardware that I need for this beside the server.
    Extra configurations that must be done.
    If you could recommend me the hardware needed it would be helpful.

    You'll need a gateway typically. You can find a list of qualified IP gateways here: http://technet.microsoft.com/en-us/office/dn788945.aspx
    I typically lean towards the AudioCodes Mediant line, though many here love Sonus as well.  You'll need to pick a method to connect to your PBX before you begin, such as via a T1/E1 trunk, FXO ports, or a SIP trunk depending on what your PBX will
    support. 
    You'll need to configure the PBX to route calls through the T1 towards Lync and vice versa.  You'll also need to configure the gateway itself, so I'd go with a consultancy with experience here or purchase remote implementation support from the hardware
    manufacturer.
    On the Lync side, you'll need to configure dial plans, voice policies, usages, and routes:
    http://technet.microsoft.com/en-us/library/gg398272.aspx
    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
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Step by Step Migration from Lync Server 2010 to Lync Server 2013

    Hi All,
    I just finished migration from Lync Server 2010 to Lync Server 2013 (for enterprise servers) in my lab environment. After that I started to write article series that contains five parts. You can see below first three parts and I think , I will upload
    rest of parts until this weekend.
    Part 1 - http://www.oiboran.com/?p=1073
    Part 2 - http://www.oiboran.com/?p=1109
    Part 3 - http://www.oiboran.com/?p=1140
    Hope to be useful,
    Regards
    Part 4 http://www.oiboran.com/?p=1171
    Part 5 http://www.oiboran.com/?p=1219 (added on 20.12.2012)
     

    It's working for me now, so maybe it's back up.
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
    www.lynced.com.au | Twitter
    @imlynced

  • 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

  • RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Lync Server 2013 Mirroring Configuration

    Hi,
    I am trying to Configure Mirroring in Lync server 2013, when in am selecting Install Database in Topology builder im able to install the Database in Principal but failing while installing the Mirroring following the detail.
    ▼ Install-CsMirrorDatabase         Failed 
     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     
     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 
         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
       23-01-2014 22:54:16   Error 
     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 
    Firewall is turned off and can able to configure Mirroring Manually in SQL Server by creating a test database. 
    ▼ Install-CsMirrorDatabase         Failed 
     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     
     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 
         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
       23-01-2014 22:54:16   Error 
     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 

    "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" error may occurs.There can be a few reasons for this error:
    It was an issue with RPC ports, verify Firewall opened the full range and Try to run setup completed.
    The remote computer is blocked by the firewall.
    Solution: Open the Group Policy Object Editor snap-in (gpedit.msc) to edit the Group Policy object (GPO) that is used to manage Windows Firewall settings in your organization. Open
    Computer Configuration, open Administrative Templates, open
    Network, open Network Connections, open Windows Firewall, and then open either
    Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
    Host name or IP address is wrong or the remote computer is shutdown.
    Solution: Verify correct host name or IP address.
    The "TCP/IP NetBIOS Helper" service isn't running.
    Solution: Verity that "TCP/IP NetBIOS Helper" is running and set to auto start after restart.
    The "Remote Procedure Call (RPC)" service is not running on the remote computer.
    Solution: Verity that "Remote Procedure Call (RPC)" is running and set to auto start after restart and.
    The "Windows Management Instrumentation" service is not running on the remote computer.
    Solution: Verity that "Windows Management Instrumentation" is running and set to auto start after restart.
    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"

  • Error Upgrading from the Evaluation Version of Microsoft Lync Server 2013

    Hi,
    I try to upgrade from Evaluation to full Version using:
    http://technet.microsoft.com/en-us/library/gg521005.aspx
    but after i run: msiexec.exe /fvomus server.msi EVALTOFULL=1 /qb
    i get a popup:
    "Another version of this product is already installed. installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."
    Get-CsServerVersion :-> Microsoft Lync Server 2013 (5.0.8308.0): Evaluation license key installed.
    Any ideea?

    Hi Iulius
    As your upgrading the Licence on the Lync 2013 FE it shouldn't care about the Lync 2010 Environment. As your moving from Eval to Full Licence on 2013. I have come across the below url that might help.
    http://pei.com/2013/03/how-to-change-lync-license-from-evaluation-to-licensed/
    http://jackstromberg.com/2013/02/how-to-activate-lync-evaluation-to-licensed-version/
    I would personally go with from Lync Management Shell with Elevated Permission
    cd /
    cd /d: (Other what other drive letter)
    cd /Setup\Amd64\Setup
    msiexec.exe /fvomus Server.msi EVALTOFULL=1 /qb
    But that's just me Id rather run the command from the directory than pointing to it.
    Regards
    Andrew Price

  • Configuring Lync Server 2013 to be a partner Application for Exchange 2013

    Hello Guys,
    I just want to share my experience while configuring Lync server 2013 to be a partner Application for exchange 2013 sever. 
    As mentioned on technet you need to run Configure-EnterprisePartnerApplication.ps1 script that ships with Exchange 2013. 
    But when I tried to run the script as described on the technet article, I found it always fails with " the accepted domain is not valid"
    I have checked my accepted domains many times and i found that there's no issues with my configured accepted domain. 
    So I started to review the script to find the issue and I found that the script was configured  as below 
    $acceptedDomains = Get-AcceptedDomain ;
      if ($acceptedDomains -eq $null)
        WriteError ("There is no accepted domain so user can not be created.")
      $acceptedDomain = $acceptedDomains[0].Name;
      if($UseDomainController -eq $true)
        $user = New-MailUser -Name $username -DomainController $DomainController -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true -DomainController $DomainController
      else
        $user = New-MailUser -Name $username -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true; 
    which is totally wrong as below: 
    firstly it makes $AcceptedDomain variable to equal the Name of the accepted domain. 
    Not all customers configure the name of the Accepted Domain to be the Domain Name.
    Secondly  it makes $AcceptedDomain variable to equal the name of the first Accepted Domain.
    The first domain may be not the default Accepted Domain. 
    So I have configured the script as below
    $acceptedDomains = Get-AcceptedDomain | ? {$_.Default -eq "True"}  ;
      if ($acceptedDomains -eq $null)
        WriteError ("There is no accepted domain so user can not be created.")
      $acceptedDomain = $acceptedDomains.DomainName;
      if($UseDomainController -eq $true)
        $user = New-MailUser -Name $username -DomainController $DomainController -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true -DomainController $DomainController
      else
        $user = New-MailUser -Name $username -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true; 
    I hope This help. 
    Thanks 
    Ahmed Fouad

    Hi,
    This is helpful, thanks for sharing.
    Best regards,
    Belinda Ma
    TechNet Community Support

Maybe you are looking for

  • Macbook Pro not transferring files from my old Macbook's g-drive that used Snow Leopard...I need help!!

    I just bought a macbook pro yesterday (13 inch) from the Apple Store due to my old 2007 macbook (the 13 inch white one) running slow because of the applications I used. I transferred the old files, and backed all of them up on the 500gb G-Drive exter

  • CRVS2010 BETA - BETA II Runtime Fails Install

    X86 Runtimes won't install on any of the Windows XP Machines in our office. It gets to the Install Deployment portion and then starts throwing a Visual C++ Runtime Library Error saying "This application has requested the runtime to terminate it in an

  • Adobe Flash in Mavericks or not?

    I want to stream video files online (from BBC iplayer). It tells me that I need to install a Flash plugin. - Is it a good idea to do so? I remember lots of problems with flash, and some vague talk about Apple replacing it with something (better?) at

  • Getwidth() and getheight()

    I am very new to J2ME. I am writing a midlet that needs to find the width and height of the device screen, i have already got a part of the program that queries whether the device supports colour graphics and how much memory it has but this is done w

  • Large file upload

    Hi all, Is there a way to upload a large file. The problem: 1 file with fixed length records (59 bytes wide) Over 17million lines available (actually a download from an extreme old system), making a total of almost 1Gb. I have a database table that e