ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Unlock RDS User Profile Disk (Network Profile)

    IT Discussion
    rds remote desktop server user profile disks upd
    2
    3
    3423
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dbeato
      dbeato last edited by

      Had to fix this today to get users locked out of their profile with network user profiles with an RDS Server.

      Updated a PowershellScript to match my use:

      $UPDSharePath="\\server\PublicShare\Profiles"
      $username="username
       
      #Get's User SID
      $strSID = (New-Object System.Security.Principal.NTAccount($username)).Translate([System.Security.Principal.SecurityIdentifier]).value
       
      #Creates UPD path String
      $diskname=$UPDSharePath+"\UVHD-"+$strsid+".vhdx"
       
      #Finds the disk and dismounts it
      Get-DiskImage $diskname | Dismount-DiskImage
      

      If the user can't connect still moving forward then recreate the user profile (Without renaming the User Profile Disk.

      Go in the registry to the following key

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
      Then find the SID of your user and rename the key to .old then have the user login again.

      wrx7m 1 Reply Last reply Reply Quote 1
      • wrx7m
        wrx7m @dbeato last edited by wrx7m

        @dbeato Good thing to have. I just recently migrated to RDS with UPD. Have you checked out Sidder?
        https://gallery.technet.microsoft.com/Sidder-Quickly-see-which-fa6360b3

        dbeato 1 Reply Last reply Reply Quote 1
        • dbeato
          dbeato @wrx7m last edited by

          @wrx7m said in Unlock RDS User Profile Disk (Network Profile):

          @dbeato Good thing to have. I just recently migrated to RDS with UPD. Have you checked out Sidder?
          https://gallery.technet.microsoft.com/Sidder-Quickly-see-which-fa6360b3

          Yeah, Sidder just tells you the VHDX file location and the user but doesn't unmount it and you cannot copy from Sidder the path.

          There is a github repo of it here
          https://github.com/msfreaks/Sidder

          1 Reply Last reply Reply Quote 0
          • First post
            Last post