Trial — Anydesk Reset
Write-Host "Cleaning registry and files..." -ForegroundColor Yellow foreach ($path in $anydeskPaths) if ($path -like "HKCU*" -or $path -like "HKLM*") Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue else Remove-Item -Path $path -Recurse -Force -ErrorAction SilentlyContinue
Start-Sleep -Seconds 2
Write-Host "Stopping AnyDesk..." -ForegroundColor Yellow Get-Process AnyDesk -ErrorAction SilentlyContinue | Stop-Process -Force Stop-Service AnyDesk -Force -ErrorAction SilentlyContinue Anydesk Reset Trial