locked
rds user profile disks still being used after mole removed RRS feed

  • Question

  • Hi

    We installed the roles on one server and enabled user profile disks, then we uninstalled the roles. Now when a user remotes to the server user profile disks are still being used.

    Is there a way to stop them being used?  

    Thursday, December 5, 2019 12:36 PM

All replies

  • Hi, can you try with this commande line: 

    (Get-WmiObject -NameSpace root\CIMV2\TerminalServices -Class Win32_TSSessionDirectory).DisableUserVhd()


    "Vote or mark as answer if you think useful" "Marquer comme réponse les réponses qui ont résolu votre problème"

    Thursday, December 5, 2019 1:11 PM
  • Hi Paul,

    1.Have you tried above command and whether it works?

     

    2.Could you please confirm  how did you uninstall the RDS roles? Have you checked the deployment on Connection broker sever and ensure roles have been removed from the organization?

     

    3. Find a test user and delete the profile on UPD via below tool and verify if UPD still be used when next log on?

    Sidder - Quickly see which User Profile Disk belongs to which domain user

    https://gallery.technet.microsoft.com/Sidder-Quickly-see-which-fa6360b3

     

    Best Regards,

    Jenny


    Friday, December 6, 2019 7:04 AM
  • Hi,

    Is there any update? Have you got a chance to verify above suggestions?

     

    Please feel free to let us know if more assistance needed.

     

    Thanks,

    Jenny


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, December 11, 2019 6:43 AM