Uninstall all browser from RDS user profiles
Now remove all chrome data:
1 2 3 4 5 6 7 |
$users = Get-ChildItem C:\Users|Where-Object{$_.name -notlike '*Default*' -and $_.name -notlike '*PUblic*'} foreach ($user in $users){ Remove-Item "$($user.fullname)\AppData\Local\Google\Chrome" -Force -Recurse Remove-Item "$($user.fullname)\AppData\Local\Mozilla\Firefox" -Force -Recurse Remove-Item "$($user.fullname)\AppData\Local\Mozilla Firefox" -Force -Recurse Remove-Item "$($user.fullname)\AppData\Local\Yandex\YandexBrowser" -Force -Recurse } |