diff --git a/Uninstall-AteraAgent.ps1 b/Uninstall-AteraAgent.ps1 index 3d584f4..1fe4635 100644 --- a/Uninstall-AteraAgent.ps1 +++ b/Uninstall-AteraAgent.ps1 @@ -123,7 +123,6 @@ Remove-PSDrive -Name HKCR $RegistryKeys | ForEach-Object { Remove-Path -Path $_ } # Delete remaining directories -#Write-Host "Waiting for file locks to be freed" ; Start-Sleep -Seconds 4 $Directories | ForEach-Object { Remove-Path -Path $_ } # Atera's original script also deleted the following directories and registry keys