Unlock RDS User Profile Disk (Network Profile)
-
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. -
@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 -
@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-fa6360b3Yeah, 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