FacebookTwitterLinkedIn

How to stop Command Prompt from popping up

Also Known As: Command Prompt pop-up virus
Type: Adware
Damage level: Medium

Why Command Prompt is randomly popping up?

Some users continually encounter Command Prompt randomly popping-up and disappearing without any apparent reason. This is very frustrating and inconvenient when gaming, working, and performing intensive tasks on the computer.

Furthermore, these pop-ups typically indicate a computer infection - in most cases, Command Prompt is opened by various adware-type programs and, sometimes, by ransomware.

Random Command Prompt Pop-Ups adware

More about the problem with Command Prompt

During computer operation, users continually encounter the Command Prompt window, which automatically appears and disappears. Many people do not realize that this is performed by applications (typically, malware) that run in the background.

These programs open the Command Prompt, immediately run a number of commands, and then close the window before the user is aware of what happened or can take any action. This is typically done with the intention of modifying various system settings without users' consent, or to update certain data/malware.

Note that there are situations where random Command Prompt pop-ups are displayed by legitimate software (e.g., Microsoft Office installer, which resides in Task Scheduler's library).

Mostly, however, these pop-ups are caused by computer infections. If who you encounter these windows, immediately eliminate all suspicious applications/browser plug-ins and scan the entire system with a legitimate anti-virus/anti-spyware suite. We also recommend that you disable the "Get Office" tool (which installs automatically) in the Task Scheduler.

To disable "Get Office", follow these steps:

  • Click "Start", type "Task Scheduler", and click on this result
  • On the left side of the opened window, click the small 'arrows', and follow this path: Task Scheduler Library -> Microsoft -> Office
  • After selecting the Office folder, find the "OfficeBackgroundTaskHandlerRegistration" task and disable it (in some cases it is also necessary to disable the "OfficeBackgroundTaskHandlerLogon" task)

If the pop-ups were displayed by MS Office installer, they should no longer appear.

Threat Summary:
Name Command Prompt pop-up virus
Threat Type Adware, Unwanted ads, Pop-up Virus
Symptoms Seeing advertisements not originating from the sites you are browsing. Intrusive pop-up ads. Decreased Internet browsing speed.
Distribution methods Deceptive pop-up ads, free software installers (bundling), fake flash player installers.
Damage Decreased computer performance, browser tracking - privacy issues, possible additional malware infections.
Malware Removal (Windows)

To eliminate possible malware infections, scan your computer with legitimate antivirus software. Our security researchers recommend using Combo Cleaner.
▼ Download Combo Cleaner
To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by Rcs Lt, the parent company of PCRisk.com read more.

More about adware and ransomware

You should be aware of the behavior of adware and ransomware. Adware is a form of unwanted software that delivers various intrusive advertisements (coupons, banners, pop-ups, etc.) These apps deliver intrusive ads using various tools that enable placement of third party graphical content on any site.

Therefore, displayed ads often conceal underlying website content, thereby significantly diminishing the browsing experience. Furthermore, they might lead to malicious websites or even run scripts that download and install malware. Therefore, even a single click can result in high-risk computer infections.

Adware-type apps also gather sensitive information that developers later sell to third parties. The information can include IP addresses, geo-locations, website URLs visited, pages viewed, search queries, keystrokes, etc. The data typically includes personal details that cyber criminals misuse to generate revenue, thus causing serious privacy issues or even identity theft.

Ransomware is much more complicated. It typically corrupts stored most files on the computer system. To achieve this, ransomware-type viruses employ various symmetric/asymmetric encryption algorithms (e.g., RSA, AES). These algorithms generate unique encryption/decryption keys, and thus restoring files without them is impossible.

Ransomware developers hide these keys on remote servers and make ransom demands for their release. Victims must pay hundreds or even thousands of dollars for decryption. Even if victims agree to pay, however, they typically receive no benefit - cyber criminals simply ignore victims, once ransoms paid.

Adware-type apps often claim to provide various "useful features", however, since their only purpose is to generate revenue for the developers, they deliver no value for regular users. These unwanted programs pose a direct threat to your privacy and Internet browsing safety.

How did unwanted programs install on my computer?

Malware is distributed in various ways. Adware-type viruses are typically distributed using intrusive ads, together with a deceptive marketing method called "bundling" (stealth installation of third party applications together with regular software). "Bundled" apps are hidden within various sections (e.g., "Custom/Advanced" settings) of the download/installation processes.

By clicking intrusive ads and skipping download/installation steps, many users open doors for adware to enter the system, whilst ransomware-type viruses are often distributed using spam emails (infectious attachments), third party software download sources (freeware download websites, free file hosting websites, peer-to-peer networks, etc.), fake software updaters, and trojans.

Once opened, malicious attachments stealthily download and install malware. Unofficial download sources proliferate malware by presenting it as legitimate software - users are often tricked into downloading and installing viruses. Fake updaters infect the system by exploiting outdated software bugs/flaws.

Trojans are the simplest ones - they open "backdoors" for malware to infiltrate the system. Essentially, the main reasons for computer infections are poor knowledge and careless behavior.

How to avoid installation of unwanted applications?

The key to computer safety is caution. Therefore, pay close attention when browsing the Internet (especially, when download/installing software). Most intrusive ads look legitimate.

Once clicked, however, they redirecting to dubious sites (gambling, pornography, etc.) If you encounter these redirects, immediately eliminate all suspicious applications and browser plug-ins. Furthermore, download your applications from official sources only and, preferably, using a direct download link (third party downloaders/installers often promote rogue software).

When downloading/installing, carefully observe each step and opt-out of all additionally-included programs. We also recommend that you do not read any emails received from suspicious email addresses and, especially, not to open any attached files.

Keep installed applications updated and use a legitimate anti-virus/anti-spyware suite, however, note that criminals proliferate malware via fake updaters. Therefore, your software should be updated using implemented functionality or tools provided by the official developer.

Instant automatic malware removal: Manual threat removal might be a lengthy and complicated process that requires advanced IT skills. Combo Cleaner is a professional automatic malware removal tool that is recommended to get rid of malware. Download it by clicking the button below:
▼ DOWNLOAD Combo Cleaner By downloading any software listed on this website you agree to our Privacy Policy and Terms of Use. To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by Rcs Lt, the parent company of PCRisk.com read more.

Quick menu:

Removal of unwanted programs:

Windows 11 users:

Accessing Apps and Features in Windows 11

Right-click on the Start icon, select Apps and Features. In the opened window search for the application you want to uninstall, after locating it, click on the three vertical dots and select Uninstall.

Windows 10 users:

Accessing Programs and Features (uninstall) in Windows 8

Right-click in the lower left corner of the screen, in the Quick Access Menu select Control Panel. In the opened window choose Programs and Features.

Windows 7 users:

Accessing Programs and Features (uninstall) in Windows 7

Click Start (Windows Logo at the bottom left corner of your desktop), choose Control Panel. Locate Programs and click Uninstall a program.

macOS (OSX) users:

Uninstall app in OSX (Mac)

Click Finder, in the opened screen select Applications. Drag the app from the Applications folder to the Trash (located in your Dock), then right click the Trash icon and select Empty Trash.

Random Command Prompt Pop-Ups adware uninstall via Control Panel

In the uninstall programs window, look for any suspicious/recently-installed applications, select these entries and click "Uninstall" or "Remove".

After uninstalling the potentially unwanted program, scan your computer for any remaining unwanted components or possible malware infections. To scan your computer, use recommended malware removal software.

Remove rogue extensions from Internet browsers:

Video showing how to remove potentially unwanted browser add-ons:

Internet Explorer logoRemove malicious add-ons from Internet Explorer:

Removing Random Command Prompt Pop-Ups ads from Internet Explorer step 1

Click the "gear" icon Internet Explorer options icon (at the top right corner of Internet Explorer), select "Manage Add-ons". Look for any recently-installed suspicious browser extensions, select these entries and click "Remove".

Removing Random Command Prompt Pop-Ups ads from Internet Explorer step 2

Optional method:

If you continue to have problems with removal of the command prompt pop-up virus, reset your Internet Explorer settings to default.

Windows XP users: Click Start, click Run, in the opened window type inetcpl.cpl In the opened window click the Advanced tab, then click Reset.

Resetting Internet Explorer settings to default on Windows XP

Windows Vista and Windows 7 users: Click the Windows logo, in the start search box type inetcpl.cpl and click enter. In the opened window click the Advanced tab, then click Reset.

Resetting Internet Explorer settings to default on Windows 7

Windows 8 users: Open Internet Explorer and click the gear icon. Select Internet Options.

Reseting Internet Explorer settings to default in Windows 8 - accessing

In the opened window, select the Advanced tab.

Resetting Internet Explorer settings to default on Windows 8 - Internet options advanced tab

Click the Reset button.

Resetting Internet Explorer settings to default on Windows 8 - click the Reset button in the Internet options advanced tab

Confirm that you wish to reset Internet Explorer settings to default by clicking the Reset button.

Resetting Internet Explorer settings to default on Windows 8 - confirm settings reset to default by clicking the reset button

Google Chrome logoRemove malicious extensions from Google Chrome:

Removing Random Command Prompt Pop-Ups  ads from Google Chrome step 1

Click the Chrome menu icon Google Chrome menu icon (at the top right corner of Google Chrome), select "More tools" and click "Extensions". Locate all recently-installed suspicious browser add-ons, select these entries and click the trash can icon.

Removing Random Command Prompt Pop-Ups ads from Google Chrome step 2

Optional method:

If you continue to have problems with removal of the command prompt pop-up virus, reset your Google Chrome browser settings. Click the Chrome menu icon Google Chrome menu icon (at the top right corner of Google Chrome) and select Settings. Scroll down to the bottom of the screen. Click the Advanced… link.

Google Chrome settings reset step 1

After scrolling to the bottom of the screen, click the Reset (Restore settings to their original defaults) button.

Google Chrome settings reset step 2

In the opened window, confirm that you wish to reset Google Chrome settings to default by clicking the Reset button.

Google Chrome settings reset step 3

Mozilla Firefox logoRemove malicious plug-ins from Mozilla Firefox:

Removing Random Command Prompt Pop-Ups ads from Mozilla Firefox step 1

Click the Firefox menu firefox menu icon (at the top right corner of the main window), select "Add-ons". Click "Extensions", in the opened window, remove all recently-installed suspicious browser plug-ins.

Removing Random Command Prompt Pop-Ups ads from Mozilla Firefox step 2

Optional method:

Computer users who have problems with command prompt pop-up virus removal can reset their Mozilla Firefox settings.

Open Mozilla Firefox, at the top right corner of the main window, click the Firefox menu, firefox menu icon in the opened menu, click Help.

Accessing settings (Reset Firefox to default settings step 1)

Select Troubleshooting Information.

Accessing Troubleshooting Information (Reset Firefox to default settings step 2)

In the opened window, click the Refresh Firefox button.

Clicking on Refresh Firefox button (Reset Firefox to default settings step 3)

In the opened window, confirm that you wish to reset Mozilla Firefox settings to default by clicking the Refresh Firefox button.

Confirm your want to reset Firefox settings to default (Reset Firefox to default settings step 4)

safari browser logoRemove malicious extensions from Safari:

removing adware from safari step 1 - accessing preferences

Make sure your Safari browser is active, click Safari menu, and select Preferences....

removing adware from safari step 2 - removing extensions

In the opened window click Extensions, locate any recently installed suspicious extension, select it and click Uninstall.

Optional method:

Make sure your Safari browser is active and click on Safari menu. From the drop down menu select Clear History and Website Data...

resetting safari step 1

In the opened window select all history and click the Clear History button.

resetting safari step 2

Microsoft Edge (Chromium) logoRemove malicious extensions from Microsoft Edge:

Removing adware from Microsoft Edge step 1

Click the Edge menu icon Microsoft Edge (chromium) menu icon (at the upper-right corner of Microsoft Edge), select "Extensions". Locate all recently-installed suspicious browser add-ons and click "Remove" below their names.

Removing adware from Microsoft Edge step 2

Optional method:

If you continue to have problems with removal of the command prompt pop-up virus, reset your Microsoft Edge browser settings. Click the Edge menu icon Microsoft Edge (chromium) menu icon (at the top right corner of Microsoft Edge) and select Settings.

Microsoft Edge (Chromium) reset step 1

In the opened settings menu select Reset settings.

Microsoft Edge (Chromium) reset step 2

Select Restore settings to their default values. In the opened window, confirm that you wish to reset Microsoft Edge settings to default by clicking the Reset button.

Microsoft Edge (Chromium) reset step 3

  • If this did not help, follow these alternative instructions explaining how to reset the Microsoft Edge browser.

Summary:

declining installation of adware while downloading free software sampleCommonly, adware or potentially unwanted applications infiltrate Internet browsers through free software downloads. Note that the safest source for downloading free software is via developers' websites only. To avoid installation of adware, be very attentive when downloading and installing free software. When installing previously-downloaded free programs, choose the custom or advanced installation options – this step will reveal any potentially unwanted applications listed for installation together with your chosen free program.

Post a comment:
If you have additional information on command prompt pop-up virus or it's removal please share your knowledge in the comments section below.

Frequently Asked Questions (FAQ)

What harm can adware cause?

Typically, adware diminishes the web browsing experience by displaying annoying advertisements that conceal the contents of visited pages. Also, it can slow down a computer or even invade privacy (if designed to collect personal information).

What does adware do?

The purpose of adware is to bombard users with advertisements (e.g., banners, pop-ups, surveys, coupons).

How do adware developers generate revenue?

Most adware developers participate in affiliate programs and promote various products, services, web pages, etc., through their adware.

Will Combo Cleaner remove adware?

Yes, Combo Cleaner will scan your computer for adware and other unwanted software and remove it. It is worth mentioning that it can be difficult to remove adware manually (without leaving files belonging to the removed adware in the system). Thus, it is recommended to use specialized software like Combo Cleaner for adware removal.

▼ Show Discussion

About the author:

Tomas Meskauskas

Tomas Meskauskas - expert security researcher, professional malware analyst.

I am passionate about computer security and technology. I have an experience of over 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an author and editor for pcrisk.com since 2010. Follow me on Twitter and LinkedIn to stay informed about the latest online security threats. Contact Tomas Meskauskas.

PCrisk security portal is brought by a company RCS LT. Joined forces of security researchers help educate computer users about the latest online security threats. More information about the company RCS LT.

Our malware removal guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Removal Instructions in other languages
Software uninstall instructions
Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.

QR Code
Command Prompt pop-up virus QR code
Scan this QR code to have an easy access removal guide of Command Prompt pop-up virus on your mobile device.
We Recommend:

Get rid of Windows malware infections today:

▼ REMOVE IT NOW
Download Combo Cleaner

Platform: Windows

Editors' Rating for Combo Cleaner:
Editors ratingOutstanding!

[Back to Top]

To use full-featured product, you have to purchase a license for Combo Cleaner. 7 days free trial available. Combo Cleaner is owned and operated by Rcs Lt, the parent company of PCRisk.com read more.