Remote Desktop Licensing Role - Rebuild the Database?

My server is failing, so i want to rebuild the database. I have already installed the Remote Desktop Licensing Role. Should I rebuid from the Remote Desktop Licensing Manager or use the Add-RDLicense cmdlet?

Hi Andrew,
Thank you for posting in Windows Server Forum.
It depends on your requirement, you can check the following link for useful information.
RD Licensing Configuration on Windows Server 2012
http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
Hope it helps!
Thanks.
Dharmesh Solanki

Similar Messages

  • Windows 2012 R2 Active Directory Domain Services and Remote Desktop services Role on the same server.

    Findings: 
    Currently, Windows 2012 R2   AD DS role and RDS With Broker services can only seem to coexist properly in a new domain not an existing domain. Any attempt to add to an existing domain causes internal database user access denied issues and any attempt to
    adjust rights and circumvent is dubious at best.
    The escalation technician said it best. Out of 50 clients that want to do this, they end up not being able to help 5 right off the bat for whatever reason. As for the other 40 they might be able to help by running reports, adjusting rights and trying to add
    the roles until it works.  This can end up being a 20 day process. Basically they are playing whack-a-mole with user rights and permissions until something sticks.
    We tried creating an OU where any other domain policies would not be inherited to see if that was the issue, a fresh install with different sequence of adding the Roles, no effect.
    Given the errors I witnessed when running procmon and then trying to add the roles, the NT System and the Windows Internal database user had access denied issues on 100+ registry keys when trying to add the roles. After that the system is not behaving normally.
    The errors displayed almost mirror the errors that would occur on Windows 2012 when those two roles would be added which of course is officially NOT supported on that system.
    This blog needs serious revision:
    http://blogs.msdn.com/b/rds/archive/2013/07/09/what-s-new-in-remote-desktop-services-for-windows-server-2012-r2.aspx
    This is the excerpt from that blog: Single server RDS deployment including Active Directory. We now support running our RD Connection Broker role service on the same physical instance as an Active Directory Domain Controller.  In addition, we published
    guidelines for how RD Session Host could be used without the RD Connection Broker.
    Microsoft Support was curteous and helpful and they were the ones who advised cutting our losses, which mirrored my hunch after seeing what was transpiring in the system.  They refunded my money for the support call. 
    For me, it was an opportunity to find out if there was any way to configure Windows 2012 R2 in the Same manner that it was setup as Windows 2008 R2 and lay that to rest. The coexistence is poorly implemented. It is as if there was a reaction from all the deprecation
    of bread and butter features such as shadowing in TS and the coexistence of AD DS and RDS to where those features were re-added haphazardly. (I have no complaints on shadowing on Windows 2012 R2 it works, just do not like having to go to server manager to
    use it).
    I opted for virtualizing the Domain controller to eliminate the incompatibility issues and that is what I will be doing from now on. I found free solutions for backing up and reporting for virtual machines as well as the suggested procedures for configruing
    a Domain controller as a virtual machine on a Hyper-V environment and I will be sticking to those. Thus far the setup has been operational.
    I am not allergic to virtualization, but for really small setups it adds additional time and considerations but if that is how it has to be done, so be it. Windows 2008 R2 days are numbered and since we can usually squeeze 5-7 years on quality server equipment,
    buying a Windows 2008 R2 setup now is a borderline disservice in my opinion.
    Hopefully someone finds this useful and saves some time.

    Hi,
    Thank you for posting in Windows Server Forum.
    Do you need any other assistance?
    Based on your description, you are describing your story of successfully implementing RDS server with AD role and more regarding all RDS related scenario. For shadowing feature, you can use with command also. Below is the syntax to shadow a session.
    mstsc /v:<ServerName> /shadow:<SessionID>
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator."

    I am the Server Administrator and have server 2012 Standard running on a single computer for our small (50 employee) company.  It's primary role is to house one software application that manages our data.  Our employees need to remotely access this
    server to use this software program.  For the last 4 months we have successfully done that using Remote Desktop.
    Unfortunately our RDS trial period ran out on our Server, and so I have recently installed 21 RDS User CALs on to the server to still be able to access this server remotely.  When I installed them, using the Install Wizard, I selected 'User CALs' as that
    is what they are.  However, when I try to use remote desktop and access the server remotely, I get the message: "remote session was disconnected because there are no remote desktop license servers available to provide a license"
    Do I have to install the RDS User CALs as Device CALs instead even though they are USER CALs?? Did I forget to check a box or something?  Please help!  We are a Non-Profit and really can't afford Microsoft's $260 support fee when I have a feeling
    this has got to be an easy solution.

    Hi,
    1. Did you create an RDS deployment or just install the RD Session Host and RD Licensing Role Services on your server?
    2. If yes to #1, have you set the licensing mode and licensing server name in Server Manager -- RDS -- Overview -- Tasks -- Edit Deployment Properties -- RD Licensing tab?  Did you make your RDSH server part of a collection?  The RDSH server must
    be part of a collection in order for the deployment settings to apply.
    3. If no to #1, then please set the licensing mode/specify the licensing server name via group policy setting.  For example, you could use gpedit.msc and configure the following settings:
    Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing
    Use the specified Remote Desktop licensing servers
    Set the Remote Desktop licensing mode
    Thanks.
    -TP

  • Remote desktop licensing on separate server

    I would like to deploy Remote Desktop Services on Windows Server 2012 R2.
    My idea is isolate the Remote Desktop Licensing role from other Remote Desktop Services roles and put Remote Desktop Licensing role to separate server which is also KMS host ?
    Is that a good idea ?
    Thanks !!

    Hi,
    Thanks for your comment. Sorry for late reply.
    Yeah, you can put the RD License server on separate server and then use the other server to add roles when needed. But please see that, there must be one of the configuration for RD Licensing server. 
    For both Per Device and Per User CALs issuance to work, the RD Session Host and RD Licensing server in any one of the following three configurations:
    • Both in the same workgroup
    • Both in the same domain
    • Both in the trusted (Two-way trust) Active Directory Domains or Forest
    More information:
    Best practices for setting up Remote Desktop Licensing (Terminal Server Licensing) across Active Directory Domains/Forests or Workgroup
    http://support.microsoft.com/kb/2473823
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Remote desktop licensing mode is not configured

    remote desktop service will stop working because this computer is past its licensing grace period. on the rd connection broker server, use server manager too specify the remote desktop licensing mode and the license server.

    Hi,
    You need to setup the mode of RD License Server and make sure that RDSH is pointing to RD License Server.
    Here are detailed instructions for it.
    Thanks
    Silvia Doomra

  • How to install the Remote Desktop Services role on a Windows 2012 R2 Server

    Hello,
    I am a bit confused on how to install the RDP role on a 2012 R2 server. I have a two server domain and would like to make the second member server an RDP server to host applications (Word, Excel, a medical software, etc.) where users from their windows
    7 desktop will use the Remote Desktop Connection to connect to the server, create a session and do their work. When installing the role, I am prompted with two options:
    1- Role-based or feature based installation
    2- Remote Desktop services installation
    I see the RDP install option in both cases.
    1- Which one do I use?
    2- What role services do I install? (Connection broker, Gateway, Licensing, Session Host, Virtualization host and Web access). I think I need the first four only.
    3- When installing software after RDP, I use the Change user /install and Change user /execute commands. What happens to the software that is already installed? Can remote
    users use those?
    Any help will be very much appreciated.
    Thank You,
    Victor.

    TP,
    Thank you for your response. I added the RD Licensing thru the Role-based option.
    Also opened the local group policy thru gpedit.msc and added the server name and the licensing mode type to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session
    Host -> Licensing
    Use the specified RD license servers = NameOfMyServer
    Set the Remote Desktop licensing mode = TypeOfMyLicense (Per User in my case)
    Thank you again,
    Victor

  • Windows Server 2012 Used: Error Message from Windows 7 PC: Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator.

    We are using Windows Server 2012 Standard installed in VMWare / Virtual machine and to access this we use vSphere client and Remote Desktop Connection / service was already enabled and was working fine with User PCs / laptops remote desktop into the server
    2012, until it gave an error message of: Remote session was disconnected because there are no remote desktop license servers available to provide a license.  Please contact the server administrator. whilst logging into the server. 
    We DON'T use Active Directory nor and we don't use domain and not looking to use it any-time soon. 
    I checked the RD Licensing Diagnoser and it says the grace period has expired and the licensing mode for the remote desktop session host server is not configured.  I have checked the Remote Desktop Gateway has been stopped and I tried to start it and it
    resumed to stop, here I assume its where the licensing part comes in to re-enabled this. 
    I have been trying to follow these articles online: http://ryanmangansitblog.com/2013/03/27/deploying-remote-desktop-gateway-rds-2012/ and http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install  the overview part that I cannot get into,
    because I think we have to be is AD DS for this which we don't.  Is there a way around this for non domain / just standalone set-up?  Is it a must / requirement we need to be in a domain in order for Remote Desktop Connection to work? 
    Also, we have a Windows Server 2012 RDS CALs - 10 (software and licence key), will the licence key work for the Windows 2012 Server Standard?  We do not want to install the other Server mentioned which comes with CAL / licence key as its time consuming
    to reinstall other programs.  I have installed  Server role service of Remote Desktop Licencing and automatically installed other associated services needed.  in the RD Licencing Manager, the Server had a red cross and I "Activate Server"
    where I followed: http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install in Install Licences section and I have used the licence key of CAL - 10 mentioned above; it stated I have successfully completed the install licences wizard and displayed:
    10 Windows Server 2012 - RDS Per User CAL installed, and in the RD Licensing Manager the server turned into a green tick and added the licence.  
    I then tested the Remote desktop connection from my PC and the same error message was there and checked the RD Licensing Diagnoser and the same error messages was there.  I haven't restart the services of Remote Gateway / the server itself; do I really
    need to reboot server?  
    Any advice / guidance would be very much appreciated and this is a urgent matter.  
    Thank you for your time.

    Hotfix Released here:
    http://support.microsoft.com/kb/2916846

  • Windows server 2012 Data Center with VDI configuration error message ( The remote session was disconnected because there are no remote desktop license servers available)

    Dears,
    I have two windows server 2012 Data Center and I configured (Virtual Desktop Interface)VDI on it's.
    All my clients connected on both of servers by used Remote Desktop sessions ,5 months since.
    Currently,when the clients is connected on the both of servers they received the following error:
    "The remote session was disconnected because there are no remote desktop license servers available to provide license"
    Kindly note, I installed windows Licenses Server Data Center on the both of servers. 
    Regards.

    Hi,
    Please let us know if you have purchased RDS CALs and install it in your RD licensing server.
    Also, on RD Session host servers, please make sure that you have specified the license mode and point them to the RD licensing server.
    Remote Desktop Services Client Access Licenses (RDS CALs)
    http://technet.microsoft.com/en-us/library/cc753650.aspx
    RD Licensing Configuration on Windows Server 2012
    http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • User can remote to server even reach the total of Remote Desktop License

    Hi,
    I have 15 remote desktop license. But when I check there are 19 user that currently remote to server. 
    May I know why they still can remote to server even have reach maximum total RDP license?
    My server is Windows Server 2008 R2 Standard.

    Easy. Per user licensing is not enforced by windows. The RDP server only needs to be able to reach a licensing server. If it is configured for per-user licensing, it will never do anything, licensing wise. It is up to the administrator to ensure that enough
    licenses are available in case of an audit. This is a paper exercise, not a technical limitation.

  • Error "The remote connection was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator"

    Hi,
    I have been using Windows server 2012 at my company and generally take a remote access to this server. However, since last few days, I have been receiving the Error "The remote connection was disconnected because there are no Remote Desktop License
    Servers available to provide a license. Please contact the server administrator". 
    My entire work has come to a halt because of this error as all my applications are running this server and their remote access is needed for my regular requirements. 
    I had tried one of the solutions proposed at one of these forums especially using gpedit.msc but to no avail. 
    Regards,
    Aditya

    Hi Aditya,
    Thank you for posting in Windows Server Forum.
    Agree with the words of armin, please verify that you have properly installed correctly. Verify RDS Licensing service running on License Server. Verify that the client, the RDS server, and the license server can communicate by ensuring that Domain Name System
    (DNS) is configured correctly on each computer. You can run the ping command from each computer to each computer using the IP address, FQDN, and the NetBIOS name. If any of the ping commands fail, verify the DNS configuration on the network.
    In addition, you can also try “GracePeriod” registry setting on this path (HKLM\System\CurrentControlSet\Control\Terminal Server\RCM) from
    this article.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • How to uninstall ? Remote Desktop Licensing (RDS CALs)

    Hi, Support
    we need to help about how to uninstall Remote Desktop Licensing (RDS CALs) without re-install OS
    we using windows server 2012 R2, we tried to removed role of Remote Desktop services and re-installed role again but the old RDS licensing still running and keep warning license will expire
    tried to Deactivate Server and re-install license but got the error as the picture attached
    Thank you for your try to help.
    Puibds.

    Hi,
    I cannot see the screenshot, would you please upload it again? Also, more details about the error is appreciated.
    Use SkyDrive to post screen shot/picture.
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65
    Regarding the issue, the Microsoft Remote Desktop Licensing website might help you.
    https://activate.microsoft.com/
    Move Remote Desktop Licensing to a New Server
    http://technet.microsoft.com/en-us/library/cc730776.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Error in configuring remote desktop license

    Hello --
    I am going through the motions of configuring remote desktop licensing through the windows powershell. The commands that I have entered are the following:
    $obj = gwmi –namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
    $obj.ChangeMode(2)
    The following command is what I have used on other Windows 2012 servers to have the system in question point to the license server that will be servicing it:
    $obj.SetSpecifiedLicenseServerList(“PHSCTXLS03”)
    However, the error message that I am encountering is as follows:
    Exception calling “SetSpecifiedLicenseServerList” | “”
    At Line:1 char:1
    $obj,SetSpecifiedLicenseServerList(“PHSCTXLS03”)
                    CategoryInfo                     NotSpecified:
    (:) [], MethodInvocationException
                    FullyQualifedErrorId       “WMIMethodException
    Can someone provide help on this?
    Thanks.

    Hi Kaplan71,
    Any update on this issue? If there is anything else regardingthis issue, please feel free to post back.
    In addition, to configure the License Sever Manually with Powershell, please also check these articles:
    RD Licensing Configuration on Windows Server 2012
    PowerShell and RD Session Host
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Can I build Azure RemoteApp template without Remote Desktop License ?

    Can I build Azure RemoteApp template without Remote Desktop License ?
    I want to build and update the Azure RemoteApp template by using same Hyper-V guest image continue.
    Message:
      "Remote Desktop licensing mode is not configured"
    Environment 1: my on-premises Hyper-V guest.
    Environment 2: my Azure Virtual Machine by "Windows Server Remote Desktop Session Host" image.
    Regards,
    Yoshihiro Kawabata

    Hi Yoshihiro,
    If you are referring to RDS CAL, the answer is yes, you can build a template
    without having an RDS CAL.  For on-premises you would still need rights to install Windows Server as a guest, but to build the template you do not need an RDS CAL because this use is for administrative purposes. 
    In the case of building the image on an Azure Virtual Machine you do not need Windows Server license since that is included in the pricing for the Virtual Machine.  As mentioned above you do not need an RDS CAL since you are only building a template
    image which is administrative use.
    As always please review the appropriate documents that apply to your situation such as the Online Service Terms (OST), Product Use Rights (PUR), license agreement(s), etc. for precise details.
    Thanks.
    -TP

  • No Remote Desktop Licensing Service?

    You are going to need ti give a bit more information here, there are many versions and each has it's own methods.
    Which OS 2012R2 or?
    Is the licensing server a dedicated VM or does it share functionality?
    Where does it never appear?

    I am trying to migrate my citrix server and when I install remote desktop licensing the service never appears. So When I go into licensing manager, it says there may be an issue with the service.  Does anyone know how to fix this?
    This topic first appeared in the Spiceworks Community

  • Remote Desktop Connection cannot verify the identity of the computer that you want to connect to.

    I had a Windows 2008 server which was upgraded to 2012.  Now RDC doesn't work and I get the following message:
    Remote Desktop Connection cannot verify the identity of the computer that you want to connect to.
    RDC works on the server because I can reach it via other windows machines, just not my Mac any more.  I suspect it is a certificate issue but I can't find it in my key chain.
    Any suggestions?

    Hi,
    You might want to follow the below Thread which best suits the current scenario
    https://social.technet.microsoft.com/Forums/itmanagement/en-US/2bc873ed-6c11-4767-8ce3-4df8549aff20/remote-desktop-connection-cannot-verify-the-identity-of-the-computer-that-you-want-to-connect-to?forum=winservergen
    Hope this helps !
    Regards,
    Sowmya

Maybe you are looking for