“Failed to Create KVP sessions string 0x8007007a” Error Fix

The following guide aims to provide a working solution for Error 0x8007007a, and specifically the “ailed to create KVP sessions string 0x8007007a” error.

Some of the most commonly reported issues by users nowadays are that they have experienced some disconnection from the RD servers of Windows. The article you are about to review on this page strives to deal with this very same problem. This unpleasant issue could be noticed under the ID: 1152 in the Event viewer. Such a disconnection of users is not a rare occasion, however, in this particular case, it has been concluded that the Remote Desktop Services on the RD server is also terminated simultaneously. As a result, the Remote Desktop Licensing Manager services on the server, which hosts this role, fails to do that.

Some of the reported reasons for this “failed to create KVP sessions string 0x8007007a” error could be the network equipment between the client connection and the server. Another reported one appears to be the authorizing of energy saving settings on the network cards from the client’s fixed issue, at the same time as another user is supposed to split out the number of RDSH hosts from the connection brokers. This happens because anything more than 500 users to HA connection broker farm does not work. Of course, there could be many more reasons for such an error. In the paragraphs below you will find detailed instructions of some possible solutions for this problem.

Solution №1: Try to fix the issue via using Local GPO

Microsoft TAM provides this particular potential solution. To achieve a positive result and have your problem solved, you should apply a local GPO to set up a Remote Desktop Licensing mode. Such an action could be helpful as it is concluded that Remote Desktop Licensing Manager Service fails on the server that hosts this role. Via the steps described below you can successfully apply a local GPO.

Select Start -> then choose Run -> enter gpedit.msc

Then continue with COMP configuration -> after that Admin Template -> then Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing

Only go with the specifically mentioned Remote Desktop Licensing Servers

Enter the Remote Desktop Licensing mode

Enter Command Prompt with administrator’s rights

developers_4

Write gpupdate /force 

article_9

Include the computer account of Connection broker and licensing server into the Domain Admins Group on the Domain Controller.

Include  the Computer and Network Service account in the RDS Endpoint server and RDS Management servers on the Session host server.

Restart the server.

Solution №2: Include write and read privileges in the“Terminal Server License Server” License Group:

Load Active Directory User and Computers.

Choose Domain and then hit Delegate Control.

You will see a “User and Groups” dialog box. In it select Add. Write Terminal Server License Servers. Finish this step by hitting OK.

Choose Next.

In the “Active Directory Object Type” box on your screen, mark the option “Only the following objects in the folder“.

Find and hit the “User objects” in that  particular list.

Continue with Next.

Depending on the OS which the domain controller is running, perform the following steps:

For the Windows Server 2008 or newer Schema forests:

In the Permissions dialog box that opens,put a check only in the “General” box.

Choose  “Read and Write Terminal Server license server” option from the “Permissions” list. Continue with Next.

Lastly, hit Finish from the “Completing the Delegation of Control Wizard” dialog.

Solution №3: Disable energy saving on the clients’ network cards

There has been a user’s report stating that disabling energy saving on the network cards from the clients has been the right solution for the 0x8007007a error for him. The instructions below will assist you in turning off power saving on the network cards.:

Select Start -> then select Run

Write regedit. Press Enter

There you will see a Registry editor loading. From there proceed to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\DeviceNumber

Be careful: DeviceNumber normally represents the network adapter number. In case you have only one network adapter, the DeviceNumber will be 0001.

Hit PnPCapabilities.

Find Modify from the Edit menu and click on it.

Enter 24 in the Value data box. Then proceed with selecting OK.

An important detail: Usually, a value of 0 shows you have enabled power management of the network adapter. If you enter a  value of 24, it will stop Windows 7 from disabling the network adapter.

Last of all, exit Registry Editor