ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    RDS License Server - remove Temp licenses

    IT Discussion
    2
    24
    11.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mike DavisM
      Mike Davis
      last edited by

      Doing:
      net stop winmgmt
      winmgmt /salvagerepository
      net start winmgmt

      fixed the problem of not being able to open Remote Desktop Session Host Configuration. I can now see the licensing mode is Per Device. I'll see if it's still throwing an error when I log back in.

      1 Reply Last reply Reply Quote 0
      • Mike DavisM
        Mike Davis
        last edited by

        Once I was able to see the configuration, it became clear and I should have noticed it in the first picture. It was pulling from the temp pool in the per device mode, and the paid licenses were in the per user mode.
        0_1457149495810_RemoteDesktopSessionHostConfiguration-before.png
        With that said, if I just flip the mode, I get a different event in event viewer, and it doesn't pull a new temp license.

        1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          you're licenses are specific when you purchase them. I don't think you can switch them.

          Mike DavisM DashrenderD 2 Replies Last reply Reply Quote 0
          • Mike DavisM
            Mike Davis @Dashrender
            last edited by

            @Dashrender So you have to switch the licensing mode of the server to match your licenses?

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @Dashrender
              last edited by

              @Dashrender said:

              you're licenses are specific when you purchase them. I don't think you can switch them.

              In my other thread about RDS the other day, there is a MS article that said that User mode is on the honor system. Because User mode allows for unlimited devices per user, it's much more difficult to track, so MS doesn't even bother and leaves it us to you.

              Are you being denied access?

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @Mike Davis
                last edited by

                @Mike-Davis said:

                @Dashrender So you have to switch the licensing mode of the server to match your licenses?

                That is my understanding, yes.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  A single License server can have both types of licenses, but the RDS servers themselves I think have to be one or the other depending on your needs.

                  You might have 10 computers that need RDS with 100 users, then you might have 10 users who use 5 different computers each... so this situation is best served with two different RDS servers, Device with 10 licenses limited to those 10 PCs... and a second one with 10 user licenses with unlimited devices for those 10 users.

                  1 Reply Last reply Reply Quote 1
                  • Mike DavisM
                    Mike Davis
                    last edited by

                    They are not being denied in either case. Just events in event viewer. The error is:
                    The Remote Desktop license server cannot update the license attributes for user "admin" in the Active Directory Domain "contoso.com". Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain "contoso.com".
                    If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group.
                    If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs.

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender
                      last edited by

                      so all the things mentioned are in the groups mentioned?

                      Mike DavisM 1 Reply Last reply Reply Quote 0
                      • Mike DavisM
                        Mike Davis @Dashrender
                        last edited by

                        @Dashrender Yes, the terminal server is in the terminal server license servers group, and it's not a domain controller. In addition I followed these steps: (from https://support.microsoft.com/en-us/kb/2030310)

                        Use the Delegate Control Wizard to add the permissions to add read\write permissions to the terminalServer attribute or to the Terminal Server License Server attribute of the “user object” by the Terminal Server License Servers group. To do this, follow these steps:
                        Right-click the domain in Active Directory Users and Computers, and then click Delegate Control.
                        In the Users and Groups dialog box, click Add. Type Terminal Server License Servers, and then click OK. In the Users and Groups dialog box, click Next.
                        In the Tasks to Delegate dialog box, click Create a custom task to delegate, and then click Next.
                        In the Active Directory Object Type dialog box, click Only the following objects in the folder. In the list, click User objects (the last entry that is in the list), and then click Next.
                        Do one of the following, according to the operating system that the domain controller is running:
                        For forests that are running Windows Server 2008 or newer Schema:

                        In the Permissions dialog box, make sure that only the General check box is selected. In the Permissions list, click to select the Read and Write Terminal Server license server check box, and then click Next.
                        In the Completing the Delegation of Control Wizard dialog box, click Finish.

                        DashrenderD 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @Mike Davis
                          last edited by Dashrender

                          @Mike-Davis said:

                          @Dashrender Yes, the terminal server is in the terminal server license servers group, and it's not a domain controller. In addition I followed these steps: (from https://support.microsoft.com/en-us/kb/2030310)

                          OK so you added the TS itself - how about the License server?

                          Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain <domain name>.

                          1 Reply Last reply Reply Quote 0
                          • Mike DavisM
                            Mike Davis
                            last edited by

                            Both roles are on the same box.

                            1 Reply Last reply Reply Quote 0
                            • Mike DavisM
                              Mike Davis
                              last edited by

                              I figured out what was triggering the 4105 error. It was only triggering that error when the user account that was logging in was not in the default Users OU. If the user account was in another OU outside of Users, it would allow them to login, but trigger that error, and not increment them in the user report. Basically switching the server licensing mode from device to user and making sure the AD attributes for terminal server had been give write delegation by the terminal server license server took care of the original issue.

                              1 Reply Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender
                                last edited by

                                How did you track that down?

                                1 Reply Last reply Reply Quote 0
                                • Mike DavisM
                                  Mike Davis
                                  last edited by

                                  After doing everything the articles said and rebooting the server, when it still wasn't working, I wondered if it had something to do with not being able to write to those attributes, so I created a test account in the users OU, and it worked. Checking the license log, I noticed that the server had been giving out licenses properly, but not for all accounts. Then I went through the log again and discovered that all the 4105 errors were generated by accounts that were not in the default Users OU.

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  • First post
                                    Last post