Skip to content

Reset AO user RDP-Profile

Sometimes user has saved wrong settings to host server. For example default browser is Microsoft edge. etc.

How To solve this problem:

  1. Kick out user who has problems with maps How to end user session and process when patching client (https://app.clickup.com/2496230/docs/2c5q6-69975/2c5q6-261635)
  2. Login to Datapump server (10.170.0.54)
    1. Open PowerShell and locate to PS E:\UHD-Disks\RDS-Profile-Live>
    2. Run this script:
      1. Get-Acl -path *.vhdx | Select-Object -ExpandProperty Access PSChildName | Where-Object identityreference -eq "attracs2\firstname.lastname" and remember to fill "attracs2\firstname.lastname"
    3. You can delete profile via PowerShell
      1. rm UVHD-S-1-5-21-2123242984-836582291-933701185-xxxx.vhdx or
      2. locate to PS E:\UHD-Disks\RDS-Profile-Live> and find correct profile ➝ right click ➝ security (shows who the profile belongs to) ➝ delete