After installing RDS on WinServer 2016 I still can only connect with two users?

What I'm trying to do: I have a software that multiple users are supposed to use on one system. Because a standard installation of WinServer2016 can only hold a maximum of two users at once I googled and was told that a Terminal Server / RDS Server would remove this limitation so I tried that with the help of some tutorials.

All of this is happening in Azure.

The problem: I thought I had everything set up correctly but when I try to RDP into the machine with the third user it tells me that there's too many users and that I need to disconnect one of them to continue (as it would be if I had done nothing at all).

What I did so far :

  • Installed a DC for my Terminal Server and let the Terminal Server join the Domain (set up the DC as DNS Server in the VNET, not in the TCP/IP Adapter settings)

  • In Server Manager I started the Role and Features Menu, and chose install RDS, Quickstart, Session-Based, selected the Terminal Server

  • Watched as it was installing, then had a disconnect, couldn't reconnect for a while, had to reset the connection configuration in azure and was able to reconnect.
  • Upon login the installation window opened again and told me it was still doing something. After a few moments it completed with the statuss message "Successful".
  • Installed the Licensing Server Role through the server manager, added my license through the server manager.
  • opened gpedit.msc and made the following changes to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Session Host > Licensing :
    «Использовать указанные серверы лицензий удаленного рабочего стола»> Включено
    «Установить режим лицензирования удаленного рабочего стола»> Включено (на устройство)

  • Также в gpedit.msc, только в каталоге Узел сеанса удаленного рабочего стола> Подключения:
    Разрешить пользователям подключаться удаленно с помощью RDS: Включено
    Ограничение количества подключений: включено, максимальное количество подключений = 999999
    Ограничить пользователей служб удаленных рабочих столов одним сеансом RDS = отключено
    Allowed remote start of unlisted programs: Enabled

Still, not working. Maybe the settings reset has something to do with it? Or maybe I'm missing something obvious? Never used or set-up RDS before, except to RDP into my VMs on Azure...

Checked the RDS Events Log, found a few error messages:

TB-TK-TERMINAL1 2056 Error Microsoft-Windows-TerminalServices-SessionBroker Microsoft-Windows-TerminalServices-SessionBroker/Operational 2/6/2018 10:53:33 AM

The Remote Desktop Connection Broker server could not enumerate the targets for the provider named NULL from the database.

Pooled virtual desktop collection name: NULL Ошибка: не удалось войти в базу данных.

Я погуглил это сообщение, но получил только ответы о том, что мой домен старый. Я создал этот домен специально на / для WinServer2016, поэтому сомневаюсь, что это так.

TB-TK-TERMINAL1 1280 Предупреждение Microsoft-Windows-TerminalServices-SessionBroker-Client Microsoft-Windows-TerminalServices-SessionBroker-Client / Operational 2 / 6/2018 10:55:01 AM

Службам удаленных рабочих столов не удалось подключиться к брокеру подключений на сервере tb-tk-terminal1.domainname.local. Ошибка: текущее асинхронное сообщение было сброшен диспетчером async, потому что есть новое сообщение, которое override the current one.

1
задан 6 February 2018 в 13:12
1 ответ

Для базовой настройки в

  • Служба удаленного рабочего стола

Вы необходимо убедиться, что вы установили и настроили

  • Посредник подключений к удаленному рабочему столу
  • Узел сеанса удаленных рабочих столов
  • Лицензирование RS

Приведенная выше ошибка выглядит так, как будто к базе данных, которую использует посредник подключений, нет доступа , по умолчанию он будет использовать внутреннюю базу данных Windows, если вы не настроили сервер как High Availability с использованием общих баз данных.

Если вы снова запустите программу установки служб удаленных рабочих столов, чтобы проверить установку.

Не рекомендуется запускать службы удаленных рабочих столов и доменные службы Active Directory на одном сервере, я предполагаю, что ваш DC отдельный, но ваш вопрос не ясен. Лично я бы никогда не запустил его в среде Server 2012, это было почти невозможно и требовало обновления.

1
ответ дан 3 December 2019 в 23:19

Теги

Похожие вопросы