JS/Packed.Agent.L is a heuristic detection designed to generically detect a Trojan Horse. Due to the generic nature of this threat, we are unable to provide specific information on what it does.

Typical behavior for Trojans like JS/Packed.Agent.L is one or more of the following:
- Download and install other malware.
- Use your computer for click fraud.
- Record your keystrokes and the sites you visit.
- Send information about your PC, including usernames and browsing history, to a remote malicious hacker.
- Give remote access to your PC.
- Advertising banners are injected with the web pages that you are visiting.
- Random web page text is turned into hyperlinks.
- Browser popups appear which recommend fake updates or other software.
To check your computer for malware and remove it for free, please use the guide below.
Removal Instructions for JS/Packed.Agent.L
Please perform all the steps in the correct order. If you have any questions or doubt at any point, stop and ask for our assistance.
- STEP 1: Start your computer in Safe Mode with Networking
- STEP 2: Use Malwarebytes to remove the JS/Packed.Agent.L
- STEP 3: Scan and clean your computer with HitmanPro
- STEP 4: Double-check for JS/Packed.Agent.L malware with ESET Online Scanner
- STEP 5: Use AdwCleaner to remove malicious browser policies
STEP 1: Start your computer in Safe Mode with Networking
In this first step, we will start your computer in Safe Mode with Networking to prevent JS/Packed.Agent.L malicious drivers and services from loading at Windows start-up. We’re using Safe mode because it starts Windows in a basic state, using a limited set of files and drivers.
- Press Windows key + I to open Settings. If that doesn’t work, right-click the Start button and select Settings. Then, in the right-hand pane, click Recovery.

- Under Advanced startup, click Restart now. Save any open work first — your PC will restart immediately.

Your PC will restart into the Windows Recovery Environment. From there, follow these steps to reach Safe Mode:
- On the Choose an option screen, select Troubleshoot.

- On the Troubleshoot screen, click Advanced Options.

- On the Advanced Options page, click Startup Settings.

- On the Startup Settings page, click Restart.

- After your PC restarts, you’ll see a list of startup options. Press 5 or F5 to start Safe Mode with Networking.

- You’ll know you’re in Safe Mode when “Safe Mode” appears in the corners of the screen. Now continue with the next step of this guide — downloading and running Malwarebytes (explained in Step 2).
- Press Windows key + I to open Settings. If that doesn’t work, click the Start button and select Settings (the gear icon).

- In the Windows Settings window, select Update & Security, then click Recovery.

- Under Advanced startup, click Restart now. Save any open work first — your PC will restart immediately.

Your PC will restart into the Windows Recovery Environment. From there, follow these steps to reach Safe Mode:
- On the Choose an option screen, select Troubleshoot.

- On the Troubleshoot screen, click Advanced Options.

- On the Advanced Options page, click Startup Settings.

- On the Startup Settings page, click Restart.

- After your PC restarts, you’ll see a list of startup options. Press 5 or F5 to start Safe Mode with Networking.

- You’ll know you’re in Safe Mode when “Safe Mode” appears in the corners of the screen. Now continue with the next step of this guide — downloading and running Malwarebytes (explained in Step 2).
STEP 2: Use Malwarebytes to remove JS/Packed.Agent.L
Malwarebytes is one of the most popular and trusted anti-malware tools for Windows — and it’s completely free for removing infections. It catches threats that many antivirus programs miss, including adware, browser hijackers, and trojans. Follow the steps below to scan your PC and remove what Malwarebytes finds.
Download Malwarebytes
Click the button below to download the latest version of Malwarebytes for Windows from the official source. The free version is all you need — it will scan your computer and remove adware, browser hijackers, and other malicious software at no cost.
Download MalwarebytesOfficial installer for Windows 11 and 10. Your download starts right away.Want real-time protection? See Malwarebytes Premium
Malwarebytes Free for WindowsScans and removes malware at no cost-
Install Malwarebytes
When the download finishes, open your Downloads folder and double-click the MBSetup file. If Windows shows a User Account Control pop-up, click “Yes” to allow the installation.

Follow the On-Screen Prompts to Install Malwarebytes
The setup wizard will walk you through a few quick screens:
-
Choose where you’re installing the program — “Personal Computer” or “Work Computer” — then click Next.
-
Malwarebytes will now install on your device. This usually takes under a minute.
-
When installation is complete, the “Welcome to Malwarebytes” screen will open automatically.
-
On the final screen, click Open Malwarebytes to launch the program.
-
Optional: Check for rootkits with a Custom Scan
You don’t need to change any settings for a normal scan. The standard Threat Scan in the next step is enough for most problems, so you can go straight to it.
If you also want to check for rootkits, use a Custom Scan. In current versions of Malwarebytes, rootkit scanning is only available there:
- On the Scanner tile, click the three-dot menu and select Advanced Scan.
- Choose Custom Scan. In its options, check Scan for rootkits.
- Select your system drive (usually C:\) as the location to scan, then start the scan. It takes longer than a Threat Scan.
- When it finishes, review and quarantine the results as described in the steps below.
Rootkit scanning isn’t available on Windows devices with ARM processors.
Start the Scan
Click the blue Scan button. Malwarebytes will automatically update its virus database and start checking your computer for malware.

-
Wait for the Scan to Finish
The scan checks your entire system for browser hijackers and other malicious programs, so it can take 5 to 20 minutes depending on your computer. Feel free to do something else — just check back occasionally to see the progress.

-
Quarantine the Detected Threats
When the scan is done, you’ll see a list of everything Malwarebytes found — malware, adware, and potentially unwanted programs. Click the “Quarantine” button to remove all of them at once.

Malwarebytes will now remove the malicious files and registry entries and move them safely into quarantine.

-
Restart Your Computer
Some threats can only be fully removed after a reboot. If Malwarebytes asks you to restart, click Yes. Once you’re logged back in, Malwarebytes has finished removing the threats it found.

STEP 3: Scan and clean your computer with HitmanPro
In this third step, while the computer is in normal back, we will download and run a scan with HitmanPro to remove the JS/Packed.Agent.L and other malicious programs.
HitmanPro is a second-opinion scanner — it’s designed to catch what your main antivirus might have missed. Instead of relying on a single detection engine, it checks the behavior of files in the locations where malware usually hides. Anything suspicious is checked online, where it’s analyzed by several antivirus engines in HitmanPro’s Scan Cloud.
Good news: scanning is completely free, with no limits. You only need a license when it’s time to remove what was found — and even then, you can activate a free one-time 30-day trial to remove what it finds at no cost. The trial works once per computer. After that, removal needs a paid license, and the purchase screen shows the current price.
-
Download HitmanPro
Click the button below to download HitmanPro. Remember — the scan is free, so you have nothing to lose by checking your PC.
Download HitmanProFree scan. Removing threats needs the free 30-day trial. Opens the official HitmanPro page in a new tab.
HitmanProSecond-opinion malware scanner from Sophos -
Install HitmanPro
When the download finishes, open your Downloads folder and double-click the file “hitmanpro_x64.exe”. (On 32-bit Windows 10, the file is named “hitmanpro.exe”.)

If a User Account Control pop-up asks whether HitmanPro can make changes to your device, click “Yes” to continue.

-
Follow the On-Screen Prompts
On the HitmanPro start screen, click “Next” to begin the system scan. No lengthy setup required — it goes straight to work.


-
Wait for the Scan to Finish
HitmanPro will now check your computer for malicious programs. This usually takes just a few minutes thanks to its cloud-based scanning.

-
Review the Results and Click “Next”
When the scan is done, HitmanPro will show you everything it found. Click “Next” to remove the detected threats.

-
Click “Activate Free License”
To remove the malicious files, click the “Activate free license” button. This starts your free 30-day trial — no payment details needed — and unlocks the full cleanup.

When the removal is complete, HitmanPro will show a summary of everything it cleaned. Click Next, then click Reboot if prompted. If there’s no reboot prompt, click Close. Then check whether the problems you noticed have stopped. If they come back, save the HitmanPro log and ask for help in our forum.
STEP 4: Double-check for JS/Packed.Agent.L malware with ESET Online Scanner
In this fourth step, we will scan the computer with ESET Online Scanner to remove any leftover files from the JS/Packed.Agent.L and other malicious programs.
ESET Online Scanner is a free second-opinion scanner that performs a deep, full-system check for viruses, trojans, rootkits, and other malware. We use it as the final step because it’s thorough and can catch threats the earlier scans missed. A clean result is a good sign, but no scanner can guarantee that a computer is malware-free.
-
Download ESET Online Scanner
Click the button below to download ESET Online Scanner.
Download ESET Online ScannerOpens the official download page in a new tab.
ESET Online ScannerFree one-time malware scan from ESET -
Run the Installer
When the download finishes, open your Downloads folder and double-click “esetonlinescanner.exe“.

-
Install ESET Online Scanner
On the start screen, select your language from the drop-down menu and click Get started.

On the Terms of use screen, click Accept.

Choose your preferences for the Customer Experience Improvement Program and the Detection feedback system (either choice is fine), then click Continue.

-
Start a Full Scan
Click Full Scan — this checks your entire computer, not just the common hiding spots.

Select Enable for Detection of Potentially Unwanted Applications — this lets ESET catch adware and bundled junk programs, not just viruses. Then click Start scan.

-
Wait for the Scan to Finish
ESET will now check every file on your computer. Because it’s a full scan, this can take a while — often an hour or more, depending on how much data you have. Leave it running in the background and check on it from time to time.

-
Review the Results
When the scan completes, the Found and resolved detections screen appears. Detected threats are usually cleaned and quarantined automatically. Click View detailed results to see exactly what was removed, and ask for help in our forum if any item could not be cleaned.

If ESET found nothing, restart your computer and check whether the problems you noticed have stopped. If they continue, ask for help in our forum.
STEP 5: Use AdwCleaner to remove malicious browser policies
In this final step, we will use AdwCleaner to remove malicious browser policies and unwanted browser extensions from your computer.
AdwCleaner is a free on-demand scanner that specializes in adware, browser hijackers, and unwanted toolbars — the exact threats that mainstream antivirus programs often miss. It also includes tools that repair the damage malware leaves behind, like hijacked browser settings and malicious policies. It’s a quick scan that’s well worth running.
-
Download AdwCleaner
Click the button below to download AdwCleaner — it’s free, portable, and requires no installation.
Download AdwCleanerOpens the official download page in a new tab.
Malwarebytes AdwCleanerRemoves adware and unwanted programs at no cost -
Run AdwCleaner
Open your Downloads folder and double-click the file named “adwcleaner.exe“. There’s no installation — the program starts right away.

If Windows asks whether you want to allow AdwCleaner to run, click “Yes“. When the license agreement appears, click I agree to continue.

-
Leave “Reset Chrome policies” off unless you need it
AdwCleaner can reset Chrome policies, the settings that malware sometimes uses to lock your browser so you can’t change it back. This option removes every Chrome policy, including legitimate ones set by an employer, a school, or parental-control software, so leave it off for a normal scan.
AdwCleaner applies this option only if you run Basic Repair at the end of the cleanup. Malwarebytes advises running Basic Repair only when a support agent asks you to, and it also runs every other repair action that is turned on in the same list. If this is your own personal PC and chrome://policy in Chrome lists policies you didn’t set, ask for help in our forum instead. On a work or school computer, ask the IT administrator.
-
Start the Scan
Click “Dashboard” on the left side of the window, then click the “Scan Now” button.

-
Wait for the Scan to Finish
AdwCleaner will now check your computer for adware and other malware. This usually takes only a few minutes — it’s one of the fastest scanners around.

-
Quarantine the Detected Threats
When the scan finishes, AdwCleaner lists everything it found. Review the list and uncheck any program you installed on purpose and want to keep, then click Next. If AdwCleaner also found preinstalled software, it shows that list next. Review it the same way, then click “Quarantine“. Older versions show the Quarantine button on the first list, as in the image below.

-
Click “Continue” to Finish the Cleanup
Save any open work first — AdwCleaner needs to close your open programs before it can clean. When you’re ready, click the “Continue” button.

AdwCleaner will now move the selected items to quarantine. If it asks you to restart your PC, allow it. When you’re back in Windows, AdwCleaner may offer a Basic Repair. Click Skip Basic Repair. Malwarebytes recommends running Basic Repair only when a support agent asks you to. Then check whether the problems you noticed have stopped.
Your computer should now be free of the JS/Packed.Agent.L and other malicious programs.
If you are still having problems with your computer after completing these instructions, then please follow one of the steps:
- Run a computer scan with Emsisoft Emergency Kit
- Ask for help in our Malware Removal Assistance for Windows forum.
Join the discussion
0 commentsShare your experience or ask a question about this article.
Your progress
Did these steps help?
Let us know how the guide worked for you.
Describe what you see and the step you reached. Keep passwords and other private information out.
Discussion
Start the conversation
Have a question or something useful to share? Add the first comment.