Powershell/Agent.AEW is a generic detection by Kaspersky Antivirus to identify a computer threat that can run a PowerShell command to further infect the system. Doing nothing while this virus is present on the computer may lead to further issues. Therefore, it is suggested to eliminate the Powershell/Agent.AEW infection as soon as possible


The computer may get infected with Powershell/Agent.AEW if the user routinely pays a visit to malicious websites, particularly the ones that are involved in software and media piracy. Opening an email with suspicious file attachment is also seen as another way for Powershell/Agent.AEW to successfully infect the computer.

Once inside the computer, Powershell/Agent.AEW takes advantage of the Powershell command to automatically run a malicious script each time that Windows starts.

How to remove Powershell/Agent.AEW?

It is crucial to get rid of this threat as soon as its presence is detected on the computer. Thoroughly scan the computer with the following tools to totally get rid of Powershell/Agent.AEW virus.

  • Combo Cleaner for Windows
    This software combines both antivirus and system optimization features. The special method it uses to combat computer viruses and maintaining the health of the system is the selling point of this program.
  • Kaspersky Antivirus
    With extensive capabilities of dealing with advanced viruses and malware, we found this program as an alternative tool in removing Powershell/Agent.AEW.
  • Windows Defender/Windows Security (Windows 8 and 10/11)
    This built-in security software for Windows provides the latest antivirus protection. Because the program is integrated in the system, it runs immediately and begins protecting the computer the moment that Windows starts.
  • Microsoft Security Essentials (Windows 7 and Vista)
    Users of Microsoft Windows Vista or older versions can freely scan the computer for viruses and malware using this efficient security application.

The virus scan should be run in full mode. This is the best method to detect Powershell/Agent.AEW or any relevant viruses from the computer. We also suggest running a full scan after disabling the System Restore to avoid reinstating the virus just in case that this feature is compromised.


The instructions for removing Powershell/Agent.AEW will require the computer to restart and run in Safe Mode; as such, you may not be able to access this guide during the process. We recommend Printing this procedure or viewing this page on another device.

1. Before running any virus scan, please make sure to disable System Restore on your Windows system.

Image of Disabling System Protection

2. Next, we need to start Windows in Safe Mode with Networking. This will prevent the malicious code from running.

Image of Startup Settings

3. After booting up the computer in Safe Mode with Networking, please download and scan the computer with the recommended anti-virus program as stated above.

4. There is no harm in checking the computer with multiple virus scanners to ensure that Powershell/Agent.AEW is completely eliminated.

For more help

The threat Powershell/Agent.AEW is just one of the so many variants that may infect the computer. To find specific version and removal guide, please see our list of PowerShell threats.

You may also submit a comment below to start a discussion about Powershell/Agent.AEW. Our technical experts as well as members of the computer security community might be able to answer and help solve the problem.

About the author

Leave a Comment

Your email address will not be published. Required fields are marked *