A pop-up that says your computer is infected and gives you a phone number to call is a scam. Real security warnings never ask you to call anyone. Close the window, don't call, and don't click anything inside it. At Scruteon, we write a free newsletter that explains scams like this one in plain language, and this guide gives you the whole routine in one place: how to recognize the alert, how to close it, and what to do if you already responded.
TL;DR
- A fake virus alert is built to turn alarm into a phone call, a payment or remote access to your device.
- Genuine error and warning messages from Microsoft never include a phone number, and legitimate tech companies don't contact you out of the blue to announce a computer problem.
- To get rid of the pop-up, close the browser with Task Manager (Windows) or Force Quit (Mac). Don't use the buttons inside the alert.
- If you called, paid or gave access, stop contact, remove anything you installed, scan, change passwords and call your bank or card company right away.
- Report it at ReportFraud.ftc.gov.
Table of Contents
- What a computer virus scam looks like
- Why the scam works on careful people
- How to tell if a Microsoft message is real
- How to close a fake virus pop-up safely
- If you already called, clicked or paid
- Why the clever versions still fall to the same rule
- How to avoid the next fake virus alert
- Stay ahead of new versions with Scruteon
- FAQ
- Sources
What a computer virus scam looks like
The scam usually starts on a website. A window fills your screen with a warning that looks like a Windows or Mac error, or like a message from an antivirus brand. It may use a trusted company's logo, play a loud alarm or a recorded voice, and say your files are being deleted or your bank details are exposed. Then it gives you a toll-free number.
The FTC's guidance on tech support scams describes the same pattern: a message that looks like an operating-system or antivirus error, a security warning, and an instruction to call. Microsoft adds that scammers may show fake Windows error, virus or activation messages on websites, flood the screen with pop-ups or alarming audio, and then ask for passwords, payment details or remote access.
The U.S. Secret Service calls fake browser messages a common entry point for these schemes. They claim your device is compromised and steer you to a scam-run support number, a paid service that doesn't exist, or a remote-access download.

The pop-up is not a sign that your computer is infected. It is a web page, and it is working as designed when it frightens you.
Signs the alert is fake
- It tells you to call a phone number.
- It is urgent and threatening: act now or lose your data.
- It appears while you are browsing and fills the whole screen, sometimes locking the page.
- It plays audio or a voice message.
- It claims to come from Microsoft, Apple or an antivirus company, but arrived through a web page.
- It asks you to click to "enable scanning" or download a cleaner. CISA says browser pop-ups posing as antivirus software, especially urgent prompts to click to enable scanning, deserve extreme caution.
The California Attorney General lists threats of immediate virus removal or device damage, and demands that you buy software or grant remote access, as classic scam tactics.
Why the scam works on careful people
The Consumer Financial Protection Bureau explains that these scams exploit a reasonable worry about viruses. The caller's goal is money, personal information or getting malware onto your machine. Repairing your computer is not the goal.
The Secret Service makes the same point: the design is to convert alarm into a call, a payment or a remote-access session, where passwords and card numbers can be exposed. That is why the pop-up is loud and why it offers a number. The number is the whole point.
If you are helping a parent or grandparent, tell them this in one sentence: a real warning never asks you to phone anyone.
How to tell if a Microsoft message is real
Microsoft says its genuine error and warning messages never include a phone number, and that it does not make unsolicited support calls or ask for personal or financial information that way. The CFPB says the same of legitimate tech companies in general: they don't contact you unsolicited by phone, email or text to announce a computer problem.
So you can apply a simple test to any alert, call or text about your computer:
- Did you ask for this contact? If not, treat it as suspect.
- Does it give you a number or link? Don't use it.
- If you still want to check, reach the company through a channel you found on your own, such as the official website you type in yourself.
The same logic applies to scam texts and emails that mimic brands. Our guide to spotting scam warning signs in five minutes walks through the common patterns, and the smishing scripts guide covers the text-message version.
How to close a fake virus pop-up safely
Don't click "Close," "Cancel" or the X inside the alert. Those buttons can be part of the trick. Instead, shut the browser itself.
On Windows
- Press Ctrl+Shift+Esc to open Task Manager.
- Select your browser in the list and choose End task.
- If the mouse is frozen, Microsoft suggests trying Alt+F4 to close the window, and restarting your device if needed.
The California Attorney General recommends Task Manager for a stuck browser on Windows.
On a Mac
Press Command+Option+Escape to open Force Quit, pick the browser and force it to quit. This is also the California Attorney General's advice for Apple users.
After the browser closes
When you reopen the browser, it may offer to restore your last session. Decline, or you may land on the same page. Wisconsin's consumer protection agency also suggests clearing browser history and cache after a pop-up like this. Then check that nothing new was installed and that your homepage hasn't changed.
The Secret Service also recommends turning on the browser's pop-up blocker and, when a random alert appears, ignoring it and running your own antivirus scan rather than clicking anything in the pop-up.
On a phone, close the tab or the browser app and, if the page keeps coming back, restart the phone. Don't tap anything in the message.

If you already called, clicked or paid
Many people respond before they realize. It is recoverable if you move quickly. Work through these in order.
1. Stop all contact
Hang up. Don't call back, and don't answer if they call you. If you gave someone remote access, restart or shut down the device. The California Attorney General gives this as the first step after remote access.
The Michigan consumer protection agency also recommends isolating a suspected infected device by turning off Wi-Fi and Bluetooth before you scan.
2. Remove what they had you install
Microsoft advises removing any apps the scammer asked you to install, running a full Windows Security scan and installing available security updates. California's guidance adds deleting suspicious files after a scan with antivirus software.
If the scammer had remote access and odd messages keep appearing, Microsoft says to consider resetting the device.
3. Change your passwords
Start with the email account, then banking and anything else the scammer could have seen. The FTC says that if a scammer got a username and password, change it right away and change it anywhere you reused it. Do this from a device you trust, and only after the infected one is cleaned. Michigan's guidance likewise puts password changes after cleaning.
4. Contact your bank or card company
If you paid by credit or debit card, the CFPB says to report it to the card company or bank promptly and ask them to stop the transaction. If you paid with a gift card, contact the issuer immediately, explain the scam and ask whether the money can be refunded.
If you shared financial information, or think the scammer saw it, call your bank right away. Expect a follow-up: the California Attorney General warns about fake refund offers aimed at people who have already been scammed. Anyone who offers to refund your money and asks for access or more payment is the same scam again.
5. Report it
The FTC recommends reporting at ReportFraud.ftc.gov and says reports help it build cases against scammers.
Signs your device may be affected
The Michigan agency lists slow performance, crashes, unexpected ads, a changed browser homepage, disabled antivirus and heavy battery use among possible malware symptoms, and notes that malware may show no obvious signs at all. If you let someone in, treat the device as affected even if it looks normal.
Why the clever versions still fall to the same rule
Scammers now write more convincing messages, and some use AI to polish them. A look at how AI-written phishing messages are changing the way fear and urgency are used shows why the old visual clues, such as bad spelling, are less reliable. The behavior is what gives them away: an unsolicited alarm that pushes you to call, pay or hand over control.
How to avoid the next fake virus alert
A few habits cover most of the risk:
- Keep Windows or macOS and your apps updated. CISA calls routine updates the first line of defense, with built-in antivirus and anti-malware protection as a second layer. Neither replaces the other.
- Check that your built-in protection is turned on and current.
- Download software only from trusted sources, and check browser updates through the browser's own settings, not through a pop-up. Microsoft gives this as part of its routine.
- Turn on the pop-up blocker.
- Never give passwords or remote control of your device to someone who contacted you first.
- Before you tap a link in a message, run it through the quick checks in our guide to whether a link is safe.
If you are setting up a device for a parent, a child or a new smartphone user, our family online safety guide covers the rules and settings worth putting in place.
Stay ahead of new versions with Scruteon
These scams change their wording, logos and phone numbers constantly. Scruteon is a free newsletter that sends one or two short posts a week on scams as they appear, with their warning signs explained for people at any level of tech comfort. We also curate resources for reporting scams and checking suspicious links, and you can write to us for personalized advice about a situation you're unsure about. It costs nothing to read.

Subscribe to the free Scruteon newsletter and share it with the family member who is most likely to see one of these pop-ups first.
FAQ
Is a virus pop-up ever real?
A browser can show genuine warnings, for instance about a dangerous site. But a real warning doesn't ask you to call a phone number, and Microsoft says its genuine messages never include one. If the pop-up gives you a number or demands a download, treat it as a scam and close the browser.
Can a fake virus pop-up infect my computer by itself?
The pop-up itself is a web page designed to scare you. The harm usually comes from what you do next: calling the number, installing software or giving remote access. If you only saw it and closed the browser, you are most likely fine. If you clicked or downloaded something, follow the cleanup steps above and scan the device.
What if the pop-up won't close?
Don't click inside it. On Windows, open Task Manager and end the browser, or try Alt+F4. On a Mac, use Force Quit with Command+Option+Escape. Restart the device if the window is still stuck.
I called the number but gave nothing. Am I safe?
Hang up and don't answer if they call back. If you gave no access, passwords or payment details, you are in a much better position. Run a scan to be sure, stay alert for follow-up calls claiming to offer refunds or help, and report the scam at ReportFraud.ftc.gov.
Sources
- Spotting and Avoiding Tech Support Scams (FTC guidance)
- Tech Support Scams, U.S. Secret Service
- What you should know about tech support scams, CFPB
- Ensure Your OS Antivirus and Anti-Malware Protections are Active, CISA
- Protect yourself from online scams and attacks, Microsoft Support
- Tech Support Scams, California Attorney General
- When Computer Trouble Pops Up, Scammers Offer Help, Wisconsin DATCP
- Malware: What Is It? How to Avoid It?, Michigan Consumer Protection
- AI-written phishing emails and the new threat
Recommended
- Bank Phishing Email: How to Spot a Fake and What to Do
- Payment Confirmation Scam: How to Spot a Fake Email
- Spot Scam Warning Signs in 5 Minutes, Verify and Report (U.S.)
- Phishing Website Examples: 8 Fake Sites and How to Spot Them
The information in this AI-assisted-generated article is for educational purposes. Scam tactics change fast, and we cannot guarantee that this information is always complete or up to date.
By reading this article, you agree that Scruteon is not responsible for any financial losses, fraud, or damages that occur if you rely on this content. This is not professional financial or legal advice. If you suspect you are a victim of a scam, please contact your bank or local law enforcement immediately.
