question

HamzaBenhamani-0014 avatar image
0 Votes"
HamzaBenhamani-0014 asked prmanhas-MSFT edited

WINDOWS 2016 VDI PERSONAL COLLECTION CONNECTION PROBLEM

Hello,

im using windows server 2016 to deploy VDI i created two collections one is pooled and the other is personal.
when i download the rdp file of the pooled collection from the rdweb i can remote login to my vdi desktop without any problemm but for the personal collection i can't an error appears and says '' There are no available computers in the pool. try connecting again ....''

the event viewer log is:
1)
Remote Desktop Connection Broker Client failed to redirect the user VDI\test.
Error: NULL

2)
Remote Desktop Connection Broker Client failed while getting redirection packet from Connection Broker.
User : VDI\test
Error: Element not found.


3)
RD Connection Broker failed to process the connection request for user VDI\test.
Load Balancing failed OR Specified endpoint could not be found.
Error: Access is denied.

4)
RD Connection Broker could not find an assigned Personal Virtual Desktop for user VDI\test. HRESULT = 0x80070005

I find it wierd that the pooled work fine but the personal gives that error.
Can anyone help please.
Thanks.



windows-serverremote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @HamzaBenhamani-0014 ,

Thanks for your query.

Please run PowerShell cmdlet below to confirm personal desktop assignment configuration first:
Get-RDPersonalSessionDesktopAssignment -CollectionName "RDSessionHostPersonalDesktopCollection"
Get-RDPersonalSessionDesktopAssignment: https://docs.microsoft.com/en-us/powershell/module/remotedesktop/get-rdpersonalsessiondesktopassignment?view=windowsserver2016-ps
FYI:
User Cannot connect to Personal Session Collection Desktop: https://social.technet.microsoft.com/Forums/en-US/f109fb95-af2e-4ef0-bcdc-d1d5c390389b/user-cannot-connect-to-personal-session-collection-desktop?forum=winserverTS


Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HamzaBenhamani-0014 avatar image
0 Votes"
HamzaBenhamani-0014 answered LeilaKong-MSFT commented

Thanks for your feedback sir,

This is what the cmd gives me, and you can see that i have the personal collection
107248-vdi.png



vdi.png (27.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @HamzaBenhamani-0014 ,

Please run cmdlets on the active Connection Broker (or specify the active RD CB within cmdlets), and ensure that the cmdlet Set-RDPersonalSessionDesktopAssignment returns True: https://github.com/MicrosoftDocs/windows-powershell-docs/blob/master/docset/winserver2016-ps/remotedesktop/Set-RDPersonalSessionDesktopAssignment.md
Set-RDPersonalSessionDesktopAssignment -CollectionName $CollectionName
-ConnectionBroker $ConnectionBroker -User $User1 -Name $RDSH1

0 Votes 0 ·
HamzaBenhamani-0014 avatar image
0 Votes"
HamzaBenhamani-0014 answered

Hello,

thanks again for your response, but what i want you to understand is that i don't have the rdsessioncollection so the cmdlet that you want me to run don't work for me.

please see the picture below and understand what i mean, and tell me what is wrong.

109605-rds.png



thanks


rds.png (34.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @HamzaBenhamani-0014 ,

Thanks for your information.

1.What’s the version of your virtual desktops? Are they running Enterprise?
When you had it set to manually assign, did you right-click on one of the available desktops, choose Assign desktop, and assign it to the user?
https://social.technet.microsoft.com/Forums/lync/en-US/78f3cbb3-98a5-4316-af40-1da9a69a9b41/windows-2012-error-no-computers-available-in-the-pool?forum=winserverTS

2.Did you try to reboot the broker server, or remove the RD session host server from the server list and add the same server name again?
Did you set the DNS record for our broker/gateway server to the private IP?
https://community.spiceworks.com/topic/2245340-there-are-no-available-computers-in-the-pool

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HamzaBenhamani-0014 avatar image
0 Votes"
HamzaBenhamani-0014 answered LeilaKong-MSFT commented

Hello sir,

1)
They are running Windows pro, yes I assigned it as you mentioned.

2)
the DNS record is good and yes it's assigned to the private IP.

I even reinstall it from scratch and I still have the same problem.
The pooled collection works fine, but personal show's me the error.

Best Regards,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @HamzaBenhamani-0014 ,

Based on the following post with similar issue, you should be using Enterprise edition for your virtual desktops. Enterprise is the only version supported for VDI. If you have properly licensed your devices for VDI then you are entitled to use and have access to Enterprise. Some features will not work if the target VM is not running Enterprise.
https://social.technet.microsoft.com/Forums/lync/en-US/78f3cbb3-98a5-4316-af40-1da9a69a9b41/windows-2012-error-no-computers-available-in-the-pool?forum=winserverTS

Please try the Enterprise version and check if it works. Thanks for your cooperation!

0 Votes 0 ·
LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @HamzaBenhamani-0014 ,

Just checking in to see if the information provided was helpful.
Please "Accept as Answer" if it helped, which might be beneficial to other community members reading this thread. Thanks for your cooperation!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.