- Remove From My Forums
-
Question
-
I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of «Failed
to create KVP sessions string» events. I couldn’t find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.This is the event:
Log Name: Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date: 3/12/2013 10:01:26 AM
Event ID: 1152
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event«>
<System>
<Provider Name=»Microsoft-Windows-TerminalServices-RemoteConnectionManager» Guid=»{C76BAA63-AE81-421C-B425-340B4B24157F}» />
<EventID>1152</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x1000000000000000</Keywords>
<TimeCreated SystemTime=»2013-03-12T09:01:26.771581100Z» />
<EventRecordID>11344</EventRecordID>
<Correlation />
<Execution ProcessID=»836″ ThreadID=»840″ />
<Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
<Computer>TS02.contoso.com</Computer>
<Security UserID=»S-1-5-18″ />
</System>
<UserData>
<EventXML xmlns=»Event_NS»>
<Param1>2147942522</Param1>
</EventXML>
</UserData>
</Event>Does someone have any idea what might cause this error? Thanks!
- Remove From My Forums
-
Question
-
I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of «Failed
to create KVP sessions string» events. I couldn’t find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.This is the event:
Log Name: Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date: 3/12/2013 10:01:26 AM
Event ID: 1152
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event«>
<System>
<Provider Name=»Microsoft-Windows-TerminalServices-RemoteConnectionManager» Guid=»{C76BAA63-AE81-421C-B425-340B4B24157F}» />
<EventID>1152</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x1000000000000000</Keywords>
<TimeCreated SystemTime=»2013-03-12T09:01:26.771581100Z» />
<EventRecordID>11344</EventRecordID>
<Correlation />
<Execution ProcessID=»836″ ThreadID=»840″ />
<Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
<Computer>TS02.contoso.com</Computer>
<Security UserID=»S-1-5-18″ />
</System>
<UserData>
<EventXML xmlns=»Event_NS»>
<Param1>2147942522</Param1>
</EventXML>
</UserData>
</Event>Does someone have any idea what might cause this error? Thanks!
- Remove From My Forums
-
Question
-
I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of «Failed
to create KVP sessions string» events. I couldn’t find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.This is the event:
Log Name: Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date: 3/12/2013 10:01:26 AM
Event ID: 1152
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event«>
<System>
<Provider Name=»Microsoft-Windows-TerminalServices-RemoteConnectionManager» Guid=»{C76BAA63-AE81-421C-B425-340B4B24157F}» />
<EventID>1152</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x1000000000000000</Keywords>
<TimeCreated SystemTime=»2013-03-12T09:01:26.771581100Z» />
<EventRecordID>11344</EventRecordID>
<Correlation />
<Execution ProcessID=»836″ ThreadID=»840″ />
<Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
<Computer>TS02.contoso.com</Computer>
<Security UserID=»S-1-5-18″ />
</System>
<UserData>
<EventXML xmlns=»Event_NS»>
<Param1>2147942522</Param1>
</EventXML>
</UserData>
</Event>Does someone have any idea what might cause this error? Thanks!
Recently there are issues reported related to the disconnection of users quite a few times in a day, from the Windows 2012 RD servers. With regards to this, the event “Failed to create KVP session string. Error Code 0x8007007A” with event ID 1152 is found in the Event viewer.
While this disconnection of users happens often, it is observed that the Remote Desktop Services on the RD server also stops at the same time. This causes the failure of Remote Desktop Licensing Manager services on the server which hosts this role.
One of the users who had opened a case with Microsoft had found out that the issue can be caused by the network equipment between the client connection and the server. One user has reported that turning off energy saving settings on the network cards from the client’s fixed issue, while another user had to split out the number of RDSH hosts from the connection brokers as anything more than 500 users to HA connection broker farm does not work.
As said above, there could be other possible reasons as well. Here in this article, we will see few methods that might help you in fixing this issue.
Method 1: Apply Local GPO
This is one solution which is provided by Microsoft TAM. Apply a local GPO to set up a Remote Desktop Licensing mode. As it is observed that Remote Desktop Licensing Manager Service fails on the server that hosts this role, applying a local GPO setting might help. Follow below steps to apply a local GPO.
Click Start -> Run -> Type gpedit.msc
Browse to COMP configuration -> Admin Template -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing
Use the specified Remote Desktop Licensing Servers
Set the Remote Desktop Licensing mode
Open Command Prompt as Administrator
Type gpupdate /force
On the Domain Controller, add the computer account of Connection broker and licensing server to the Domain Admins Group
On the Session host server, add the Computer and Network Service account to the RDS Endpoint server and RDS Management servers.
Reboot the server.
Method 2: Give permissions to the “terminalServer” attribute or to the “Terminal Server License Server” attribute of the “user object” to add read/write permissions to the Terminal Server License Group
Open Active Directory User and Computers.
Right-click on Domain and then click on Delegate Control.
“User and Groups” dialog box will open, Click Add. Type Terminal Server License Servers and then click OK.
Click Next.
In the “Active Directory Object Type” dialog box, click on “Only the following objects in the folder“.
Click on “User objects” in that list
Click Next
According to the operating system that the domain controller is running, do following
For the forests that are running Windows Server 2008 or newer Schema:
In the Permissions dialog box, make sure that only the “General” checkbox is selected. In the “Permissions” list, click on the “Read and Write Terminal Server license server” check box. Click Next.
In the “Completing the Delegation of Control Wizard” dialog box, click Finish.
Method 3: Turn off energy saving on the network cards from the clients
One of the users has mentioned that turning off energy saving on the network cards from the clients has fixed the issue for him. To turn off power saving on the network cards, you can do below steps.
Click Start -> Run
Type regedit and hit Enter
Registry editor will open. Go to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4D36E972-E325-11CE-BFC1-08002bE10318}DeviceNumber
Note: DeviceNumber is the network adapter number. If a single network adapter is installed on the computer, the DeviceNumber is 0001.
Click PnPCapabilities.
On the Edit menu, click Modify.
In the Value data box, type 24, and then click OK.
Note: By default, a value of 0 indicates that power management of the network adapter is enabled. A value of 24 will prevent Windows 7 from turning off the network adapter or let the network adapter wake the computer from standby.
Close Registry Editor
Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.
- Remove From My Forums
-
Question
-
I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of «Failed
to create KVP sessions string» events. I couldn’t find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.This is the event:
Log Name: Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date: 3/12/2013 10:01:26 AM
Event ID: 1152
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event«>
<System>
<Provider Name=»Microsoft-Windows-TerminalServices-RemoteConnectionManager» Guid=»{C76BAA63-AE81-421C-B425-340B4B24157F}» />
<EventID>1152</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x1000000000000000</Keywords>
<TimeCreated SystemTime=»2013-03-12T09:01:26.771581100Z» />
<EventRecordID>11344</EventRecordID>
<Correlation />
<Execution ProcessID=»836″ ThreadID=»840″ />
<Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
<Computer>TS02.contoso.com</Computer>
<Security UserID=»S-1-5-18″ />
</System>
<UserData>
<EventXML xmlns=»Event_NS»>
<Param1>2147942522</Param1>
</EventXML>
</UserData>
</Event>Does someone have any idea what might cause this error? Thanks!
- Remove From My Forums
-
Question
-
I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of «Failed
to create KVP sessions string» events. I couldn’t find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.This is the event:
Log Name: Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date: 3/12/2013 10:01:26 AM
Event ID: 1152
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns=»http://schemas.microsoft.com/win/2004/08/events/event«>
<System>
<Provider Name=»Microsoft-Windows-TerminalServices-RemoteConnectionManager» Guid=»{C76BAA63-AE81-421C-B425-340B4B24157F}» />
<EventID>1152</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x1000000000000000</Keywords>
<TimeCreated SystemTime=»2013-03-12T09:01:26.771581100Z» />
<EventRecordID>11344</EventRecordID>
<Correlation />
<Execution ProcessID=»836″ ThreadID=»840″ />
<Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
<Computer>TS02.contoso.com</Computer>
<Security UserID=»S-1-5-18″ />
</System>
<UserData>
<EventXML xmlns=»Event_NS»>
<Param1>2147942522</Param1>
</EventXML>
</UserData>
</Event>Does someone have any idea what might cause this error? Thanks!
“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

Write gpupdate /force

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_MACHINESYSTEMCurrentControlSetControlClass{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
Windows Server 2012 R2 Datacenter Windows Server 2012 R2 Standard Windows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Standard Windows Server 2012 Standard More…Less
Symptoms
Consider the following scenario:
-
You have two Hyper-V hosts that are running Windows Server 2012 R2 or Windows Server 2012.
-
You use the Live Migration feature in Hyper-V to migrate a virtual machine from one server to another.
In this scenario, the migration fails. Additionally, a «0x8007007A» error that resembles the following is logged in the System log:
Log Name: System
Source : Microsoft-Windows-Hyper-V-High-Availability
Event ID: 21502
Level : Error
Message :Live migration of ‘VM_Name‘ failed.Virtual machine migration operation for «VM_Name‘ failed at migration source ‘Node_Name‘. (Virtual machine ID VM_GUID) Failed to save the virtual machine partition state: The data area passed to a system call was too small. (0x8007007A). (Virtual machine ID VM_GUID)
Resolution
To resolve this issue in Windows Server 2012 R2, install update 2919355.
To resolve this issue in Windows Server 2012, install the hotfix that is described in this article.
Update information for Windows Server 2012 R2
For more information about how to obtain update 2919355, click the following article number to view the article in the Microsoft Knowledge Base:
2919355 Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 Update April, 2014
Hotfix information
A supported hotfix is available from Microsoft Support. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, go to the following Microsoft website:
Prerequisites
To apply this hotfix, you must be running Windows Server 2012.
Restart requirement
You may have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any previously released hotfix.
The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2012 file information and notes
Important Windows 8 and Windows Server 2012 hotfixes are included in the same packages. However, only «Windows 8» is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 8» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.
-
The files that apply to a specific product, milestone (RTM,SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
Version
Product
Milestone
Service branch
6.2.920 0.20 xxx
Windows 8 and Windows Server 2012
RTM
LDR
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x64-based versions of Windows Server 2012
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Vmwp.exe |
6.2.9200.20866 |
4,040,704 |
30-Oct-2013 |
22:29 |
x64 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
Additional file information for Windows Server 2012
Additional files for all supported x64-based versions of Windows Server 2012
|
File name |
Amd64_bf139c8c0e5bd294380fd47acabdd031_31bf3856ad364e35_6.2.9200.20866_none_6bd745f38681c2c3.manifest |
|
File version |
Not Applicable |
|
File size |
703 |
|
Date (UTC) |
31-Oct-2013 |
|
Time (UTC) |
07:27 |
|
SHA-1 hash |
Not Applicable |
|
MD5 hash |
Not Applicable |
|
File name |
Amd64_microsoft-hyper-v-vstack-vmwp_31bf3856ad364e35_6.2.9200.20866_none_8eab7a7a02986d9a.manifest |
|
File version |
Not Applicable |
|
File size |
387,262 |
|
Date (UTC) |
31-Oct-2013 |
|
Time (UTC) |
02:34 |
|
SHA-1 hash |
Not Applicable |
|
MD5 hash |
Not Applicable |
References
See the terminology Microsoft uses to describe software updates for more information.