Quantcast
Channel: Remote Desktop Services (Terminal Services) Forumu
Viewing all articles
Browse latest Browse all 27533

Cannot assign virtual desktop to user account

$
0
0

In our VDI setup on Windows Server 2012, we have a collection containing many virtual desktops. The last one that was created was assigned to a user but never used.  The user was deleted from AD but the virtual desktop was never assigned to anyone else. Now when I look in the collection from server manager it shows it's assigned to a SID (since the user is gone).

Now when I try to assign it to someone else I get an error of:

Could not assign the virtual desktop DESKTOP1 to the user account USER1.  Exception: Could not assign the virtual desktop USER1 to the user account DESKTOP1.

That is not a typo.  It does in fact say in the second part of the error that the virtual desktop is the user and the user account is the virtual desktop.  Very strange.

I have tried with different users, all who can be assigned to different virtual desktops.  I have tried with users who don't have rights and I get the generic permissions error.  I have also tried through powershell and have gotten this:

set-rdpersonalvirtualdesktopassignment : Failed to set the personal virtual desktop assignment.

At line:1 char:1

+ set-rdpersonalvirtualdesktopassignment -collectionname "Collection1...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-RDPersonalVirtualDesktopAssignment

When I run get-RDPersonalVirtualDesktopAssignment in PowerShell, it is the only one not listed (though I see a SID in the GUI) and subsequently when I tried to remove the assignment, it comes back with:

Remove-RDPersonalVirtualDesktopAssignment : The specified virtual desktop has not been assigned to any user.

I'm sure I can go ahead and create a new one but I'm wondering if anyone else has come across this before and knows how to fix it.  

Thank you.


Viewing all articles
Browse latest Browse all 27533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>