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

    Unlock RDS User Profile Disk (Network Profile)

    Scheduled Pinned Locked Moved IT Discussion
    rdsremote desktop serveruser profile disksupd
    3 Posts 2 Posters 5.9k Views
    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.
    • dbeatoD
      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.

      wrx7mW 1 Reply Last reply Reply Quote 1
      • wrx7mW
        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

        dbeatoD 1 Reply Last reply Reply Quote 1
        • dbeatoD
          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
          • 1 / 1
          • First post
            Last post