не удалось создать строку сеансов kvp код ошибки 0x8007007a
Как исправить ошибку не удалось создать строку сеансов KVP 0x8007007a —
В последнее время сообщается о проблемах, связанных с отключением пользователей несколько раз в день от серверов Windows 2012 RD. В связи с этим, событие «Не удалось создать строку сеанса KVP. Код ошибки 0x8007007A »с идентификатором события 1152 находится в средстве просмотра событий.
Хотя такое отключение пользователей происходит часто, отмечается, что службы удаленных рабочих столов на сервере удаленных рабочих столов также останавливаются одновременно. Это приводит к сбою служб диспетчера лицензирования удаленных рабочих столов на сервере, на котором размещена эта роль.
Как сказано выше, могут быть и другие возможные причины. Здесь, в этой статье, мы увидим несколько методов, которые могут помочь вам решить эту проблему.
Способ 1: применить локальный объект групповой политики
Это одно решение, которое предоставляется Microsoft TAM. Примените локальный объект групповой политики, чтобы настроить режим лицензирования удаленного рабочего стола. Поскольку на сервере, на котором размещена эта роль, происходит сбой службы диспетчера лицензирования удаленных рабочих столов, может помочь применение локального параметра объекта групповой политики. Выполните следующие шаги, чтобы применить локальный объект групповой политики.
использование указанный Серверы лицензирования удаленных рабочих столов
Задавать Режим лицензирования удаленного рабочего стола
открыто Командная строка от имени администратора
Тип gpupdate / force
На контроллере домена добавьте учетную запись компьютера посредника подключений и сервера лицензирования в группу администраторов домена.
На хост-сервере сеанса добавьте Учетная запись компьютера и сетевой службы к Сервер RDS Endpoint и серверы управления RDS.
перезагружать сервер.
Способ 2. Предоставьте разрешения атрибуту «TerminalServer» или «Сервер лицензий сервера терминалов» «объекта пользователя», чтобы добавить разрешения на чтение / запись в группу лицензий сервера терминалов.
открыто Пользователь Active Directory и компьютеры.
Щелкните правой кнопкой мыши на Домен а затем нажмите на Делегат управления.
«Пользователь и группыОткроется диалоговое окно, нажмите кнопку Добавить. Тип Серверы лицензий сервера терминалов а затем нажмите Хорошо.
Нажмите следующий.
В «Тип объекта Active DirectoryДиалоговое окно, нажмите «Только следующие объекты в папке«.
Нажмите на «Пользовательские объектыВ этом списке
Нажмите следующий
В зависимости от операционной системы, на которой работает контроллер домена, выполните следующие действия.
Для лесов под управлением Windows Server 2008 или более новой схемы:
в права доступа убедитесь, что толькогенеральныйФлажок установлен. В «права доступаНажмите наЧтение и запись сервера терминаловФлажок. Нажмите кнопку «Далее.
В диалоговом окне «Завершение мастера управления передачей» нажмите кнопку «Готово».
Способ 3: отключить энергосбережение на сетевых картах от клиентов
Один из пользователей упомянул, что отключение энергосбережения на сетевых картах от клиентов решило проблему для него. Чтобы отключить энергосбережение на сетевых картах, выполните следующие действия.
Тип смерзаться и ударил Войти
Откроется редактор реестра. Идти к HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Class \ <4D36E972-E325-11CE-BFC1-08002BE10318>\ DeviceNumber
Замечания: Номер устройства это номер сетевого адаптера. Если на компьютере установлен один сетевой адаптер, Номер устройства это 0001.
Нажмите PnPCapabilities.
В меню «Правка» выберите «Изменить».
в Значение данных коробка, тип 24, а затем нажмите Хорошо.
Заметка: По умолчанию значение 0 указывает, что управление питанием сетевого адаптера включено. Значение 24 не позволит Windows 7 отключить сетевой адаптер или позволить сетевому адаптеру вывести компьютер из режима ожидания.
Не удалось создать строку сеансов kvp код ошибки 0x8007007a
Вопрос
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.
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:
Does someone have any idea what might cause this error? Thanks!
Все ответы
Seeing this right now. Found a solution yet?
I haven’t heard any user complaints so far, I get notifications about Remote Desktop Services Licensing Mode though. Will ivestigate further and report back if I find answers.
Seeing this right now. Found a solution yet?
I haven’t heard any user complaints so far, I get notifications about Remote Desktop Services Licensing Mode though. Will ivestigate further and report back if I find answers.
Sorry for my english wich will not be very good.
I’ve the same problem which causes deconnection of all users. It will also stops the Remote Desktop Services on the RD server and causes the failing of the Remote Desktop Licensing Manager on an other server which hosts this role.
I hope somebody can help us.
To complete my post, we discover lots of problems with Windows 2012 RDS :
RDP sessions disconnected 3 or 4 times a day.
Licence manager fails at the same time.
We hope a rapid solution from Microsoft and at this time, we decided to reinstall Windows 2008R2 instead of Windows 2012.
I purchase enough RDP Lic, and my lic report says I have 20, 2 were issued, 18 available, and the report still lists all failed request for RDP lic, my RDP session host has whole bunch of such error events. My users complains about slow RDP session, and got disconnect often. I read somewhere that the RDP Lic server and RDP Session host needs to be co-certified with each other. May be it is the issue of session host doesn’t trust RDP server, so the get RDP Lic failed, and users can bad RDP session. I use RDP to render my ERP (Dynamics GP), for slower(low end) data users, I let them use ERP as RDP remote apps. For heavy ERP users, I installed client on their desktops, now, my heavy users are faster than my RDP users. It shouldn’t be, so the problem is definitely between RDP Lic and RDP Session Host.
When will Microsoft fix this issue? More and more users are getting disconnected at random.
Never had this problem with older versions of Windows Server.
I am seeing a similar error with one of my customers.
The RDS server in question is Windows 2012 R2 residing in Azure.
The users are seeing a disconnected, trying 1 of 20 dialog box.
Has anyone opened a case with Microsoft on this?
I don’t get their «Domain Admin» fix though! sounds a little random to me, I’m yet to try the fix as I have other project work on at the moment.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
There are thousands of these entries in the event log.
I have 4000+ of these events in the last 24 hours. But this has been happening since we first started the 2012R2 Pilot (we now have 400-500 users on it)
Symptom
Getting Event 1152
Failed to create KVP sessions string. Error Code 0x8007007A
Cause
Licensing issue
Resolution
n Please apply the following local GPO:
use the specified remote desktop license servers.
Set the remote desktop licensing mode.
n Start->cmd(run as admin)->gpupdate /force
n Please also on the Domain controller add the computer account of the connection Broker and the licensing server to the domain admins group.
n On the session host server please add the Computer and Network service account to the RDS Endpoint server and RDS Management servers.
I don’t get their «Domain Admin» fix though! sounds a little random to me, I’m yet to try the fix as I have other project work on at the moment.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
There are thousands of these entries in the event log.
I have 4000+ of these events in the last 24 hours. But this has been happening since we first started the 2012R2 Pilot (we now have 400-500 users on it)
Symptom
Getting Event 1152
Failed to create KVP sessions string. Error Code 0x8007007A
Cause
Licensing issue
Resolution
n Please apply the following local GPO:
use the specified remote desktop license servers.
Set the remote desktop licensing mode.
n Start->cmd(run as admin)->gpupdate /force
n Please also on the Domain controller add the computer account of the connection Broker and the licensing server to the domain admins group.
n On the session host server please add the Computer and Network service account to the RDS Endpoint server and RDS Management servers.
same problem here, «Failed to create KVP sessions string. Error Code 0x8007007A» and random disconnect/reconnect (briefly).
I also have «The RDP protocol component X.224 detected an error» in RemoteDesktopServices-RDPCoreTS.
I am chiming in to say that I have been having this issue for over a month as well. I tried all the above fixes and I even recreated the licensing 2 weeks ago. Everything is going fine licensing wise and we are supporting around 100 users for rd web. We do get some complaints about disconnects but luckily it isn’t too widespread.
These errors are still popping up on our 4 servers a lot and it is a bit worrisome.
case open, will see if it is a misconfiguration or if we have to wait for a patch.
case open, will see if it is a misconfiguration or if we have to wait for a patch.
We also have a huge amount of such errors on 2012 R2 servers. They’re not related to licensing (at least according to the RD Licensing diagnoser).
Also it’s interesting that on sundays and early at morning (when there are less than approximately ten users) errors don’t occur.
Can you have a look if you have these errors in eventlog application on the RD Gateway (it appears generally after a reboot):
Event 455 source:ESENT
Event 489 source:ESENT
Event 490 source:ESENT
Can you have a look if you have these errors in eventlog application on the RD Gateway (it appears generally after a reboot):
Event 455 source:ESENT
Event 489 source:ESENT
Event 490 source:ESENT
After some search on internet about the disconnection problem you can find some ressources here:
Below is the latest update I have on my case. The case is currently parked for a bigger RDS problem where we see winlogon crashing on our connection brokers. Once the case is resumed I will post the findings.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
We checked the code for this error and it seems that when it enumerates the session information for existing sessions, it will save lots of information. The error code is 0x8007007A, which means that ERROR_INSUFFICIENT_BUFFER, The data area passed to a system call is too small.
Based on my research on the internal data base, it is an expected behavior if we have more remote session to the VM RDP server. And this can be safely ignored as it only record the session information for logging.
The reason of the error event is exact ERROR_INSUFFICIENT_BUFFER, because the buffer size was hardcoded to 1024 bytes in OS.
Also, I have recommendation to try the step as per the KB article http://support.microsoft.com/kb/2030310 and choose method 2 to delegate the permissions and check if that helps us.
Method 2: 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:
Below is the latest update I have on my case. The case is currently parked for a bigger RDS problem where we see winlogon crashing on our connection brokers. Once the case is resumed I will post the findings.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
We checked the code for this error and it seems that when it enumerates the session information for existing sessions, it will save lots of information. The error code is 0x8007007A, which means that ERROR_INSUFFICIENT_BUFFER, The data area passed to a system call is too small.
Based on my research on the internal data base, it is an expected behavior if we have more remote session to the VM RDP server. And this can be safely ignored as it only record the session information for logging.
The reason of the error event is exact ERROR_INSUFFICIENT_BUFFER, because the buffer size was hardcoded to 1024 bytes in OS.
Also, I have recommendation to try the step as per the KB article http://support.microsoft.com/kb/2030310 and choose method 2 to delegate the permissions and check if that helps us.
Method 2: 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:
Не удалось создать строку сеансов kvp код ошибки 0x8007007a
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
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.
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:
Does someone have any idea what might cause this error? Thanks!
All replies
Seeing this right now. Found a solution yet?
I haven’t heard any user complaints so far, I get notifications about Remote Desktop Services Licensing Mode though. Will ivestigate further and report back if I find answers.
Seeing this right now. Found a solution yet?
I haven’t heard any user complaints so far, I get notifications about Remote Desktop Services Licensing Mode though. Will ivestigate further and report back if I find answers.
Sorry for my english wich will not be very good.
I’ve the same problem which causes deconnection of all users. It will also stops the Remote Desktop Services on the RD server and causes the failing of the Remote Desktop Licensing Manager on an other server which hosts this role.
I hope somebody can help us.
To complete my post, we discover lots of problems with Windows 2012 RDS :
RDP sessions disconnected 3 or 4 times a day.
Licence manager fails at the same time.
We hope a rapid solution from Microsoft and at this time, we decided to reinstall Windows 2008R2 instead of Windows 2012.
I purchase enough RDP Lic, and my lic report says I have 20, 2 were issued, 18 available, and the report still lists all failed request for RDP lic, my RDP session host has whole bunch of such error events. My users complains about slow RDP session, and got disconnect often. I read somewhere that the RDP Lic server and RDP Session host needs to be co-certified with each other. May be it is the issue of session host doesn’t trust RDP server, so the get RDP Lic failed, and users can bad RDP session. I use RDP to render my ERP (Dynamics GP), for slower(low end) data users, I let them use ERP as RDP remote apps. For heavy ERP users, I installed client on their desktops, now, my heavy users are faster than my RDP users. It shouldn’t be, so the problem is definitely between RDP Lic and RDP Session Host.
When will Microsoft fix this issue? More and more users are getting disconnected at random.
Never had this problem with older versions of Windows Server.
I am seeing a similar error with one of my customers.
The RDS server in question is Windows 2012 R2 residing in Azure.
The users are seeing a disconnected, trying 1 of 20 dialog box.
Has anyone opened a case with Microsoft on this?
I don’t get their «Domain Admin» fix though! sounds a little random to me, I’m yet to try the fix as I have other project work on at the moment.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
There are thousands of these entries in the event log.
I have 4000+ of these events in the last 24 hours. But this has been happening since we first started the 2012R2 Pilot (we now have 400-500 users on it)
Symptom
Getting Event 1152
Failed to create KVP sessions string. Error Code 0x8007007A
Cause
Licensing issue
Resolution
n Please apply the following local GPO:
use the specified remote desktop license servers.
Set the remote desktop licensing mode.
n Start->cmd(run as admin)->gpupdate /force
n Please also on the Domain controller add the computer account of the connection Broker and the licensing server to the domain admins group.
n On the session host server please add the Computer and Network service account to the RDS Endpoint server and RDS Management servers.
I don’t get their «Domain Admin» fix though! sounds a little random to me, I’m yet to try the fix as I have other project work on at the moment.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
There are thousands of these entries in the event log.
I have 4000+ of these events in the last 24 hours. But this has been happening since we first started the 2012R2 Pilot (we now have 400-500 users on it)
Symptom
Getting Event 1152
Failed to create KVP sessions string. Error Code 0x8007007A
Cause
Licensing issue
Resolution
n Please apply the following local GPO:
use the specified remote desktop license servers.
Set the remote desktop licensing mode.
n Start->cmd(run as admin)->gpupdate /force
n Please also on the Domain controller add the computer account of the connection Broker and the licensing server to the domain admins group.
n On the session host server please add the Computer and Network service account to the RDS Endpoint server and RDS Management servers.
same problem here, «Failed to create KVP sessions string. Error Code 0x8007007A» and random disconnect/reconnect (briefly).
I also have «The RDP protocol component X.224 detected an error» in RemoteDesktopServices-RDPCoreTS.
I am chiming in to say that I have been having this issue for over a month as well. I tried all the above fixes and I even recreated the licensing 2 weeks ago. Everything is going fine licensing wise and we are supporting around 100 users for rd web. We do get some complaints about disconnects but luckily it isn’t too widespread.
These errors are still popping up on our 4 servers a lot and it is a bit worrisome.
case open, will see if it is a misconfiguration or if we have to wait for a patch.
case open, will see if it is a misconfiguration or if we have to wait for a patch.
We also have a huge amount of such errors on 2012 R2 servers. They’re not related to licensing (at least according to the RD Licensing diagnoser).
Also it’s interesting that on sundays and early at morning (when there are less than approximately ten users) errors don’t occur.
Can you have a look if you have these errors in eventlog application on the RD Gateway (it appears generally after a reboot):
Event 455 source:ESENT
Event 489 source:ESENT
Event 490 source:ESENT
Can you have a look if you have these errors in eventlog application on the RD Gateway (it appears generally after a reboot):
Event 455 source:ESENT
Event 489 source:ESENT
Event 490 source:ESENT
After some search on internet about the disconnection problem you can find some ressources here:
Below is the latest update I have on my case. The case is currently parked for a bigger RDS problem where we see winlogon crashing on our connection brokers. Once the case is resumed I will post the findings.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
We checked the code for this error and it seems that when it enumerates the session information for existing sessions, it will save lots of information. The error code is 0x8007007A, which means that ERROR_INSUFFICIENT_BUFFER, The data area passed to a system call is too small.
Based on my research on the internal data base, it is an expected behavior if we have more remote session to the VM RDP server. And this can be safely ignored as it only record the session information for logging.
The reason of the error event is exact ERROR_INSUFFICIENT_BUFFER, because the buffer size was hardcoded to 1024 bytes in OS.
Also, I have recommendation to try the step as per the KB article http://support.microsoft.com/kb/2030310 and choose method 2 to delegate the permissions and check if that helps us.
Method 2: 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:
Below is the latest update I have on my case. The case is currently parked for a bigger RDS problem where we see winlogon crashing on our connection brokers. Once the case is resumed I will post the findings.
EVENTID: 1152
Severity: ERROR
Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
Data: Failed to create KVP sessions string. Error Code 0x8007007A
We checked the code for this error and it seems that when it enumerates the session information for existing sessions, it will save lots of information. The error code is 0x8007007A, which means that ERROR_INSUFFICIENT_BUFFER, The data area passed to a system call is too small.
Based on my research on the internal data base, it is an expected behavior if we have more remote session to the VM RDP server. And this can be safely ignored as it only record the session information for logging.
The reason of the error event is exact ERROR_INSUFFICIENT_BUFFER, because the buffer size was hardcoded to 1024 bytes in OS.
Also, I have recommendation to try the step as per the KB article http://support.microsoft.com/kb/2030310 and choose method 2 to delegate the permissions and check if that helps us.
Method 2: 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: