How-to

How to Fix ‘Your Computer Has Been Locked’ Scam Pop-Ups on Windows and Mac

A fake Microsoft or Apple warning took over your screen and wants you to call a number? Here’s how to close it safely on Windows and Mac, clean up your browser, and recover if you already called or paid.

Rahul Vithala · Updated Nov 14, 2026 · 11 min read
Illustration of a fake warning pop-up on a laptop screen with block and shield icons

Tech-Support-Scam-Featured

Few things on a computer are as scary as your browser suddenly going red or blue and announcing “Your computer has been locked.” There’s often a robotic voice, some beeping for extra drama, and a toll-free number for “Microsoft Support” or “Apple Support.” The window won’t close. The mouse barely moves. Great.

Take a breath. Most of the time there’s nothing actually wrong with your computer. What you’re looking at is a web page dressed up as a system warning, and its only job is to scare you into picking up the phone. The FTC describes this exact trick: scammers want you to believe your computer’s in trouble so you’ll call them.

So let’s get rid of it. I’ll walk you through closing it on Windows and Mac, cleaning up your browser so it doesn’t keep coming back, and what to do if you already called, let someone into your computer, or paid. (The advice leans on what the FTC, the FBI, Microsoft and Apple say publicly, not on my guesswork.)

Quick answer: Don’t call the number. Force-close your browser (Ctrl+Shift+Esc on Windows, Option+Command+Esc on Mac), reopen it without restoring your old tabs, and remove any sites allowed to send notifications plus any extensions you don’t recognize. Run a Microsoft Defender scan on Windows. If you already gave the scammers access or money, disconnect from the internet, uninstall their remote access tool, change your passwords, call your bank or gift card issuer, and report it to the FTC and the FBI’s IC3.

How to tell it’s a tech support scam

According to the FTC, these scams usually kick off in one of a few ways. A fake technician calls or messages you, a pop-up flashes a phone number at you, or you search for tech support and land on a number that goes straight to the scammers. Whoever picks up claims to work for Microsoft or Apple, tells you your computer is crawling with viruses, and then wants remote access or wants you to buy software.

Spotting it is easier than you’d think. Microsoft and Apple both say their real warnings don’t come with a phone number for you to call, and neither one makes surprise support calls. A genuine Windows or macOS alert won’t ask you to dial a toll-free number. Ever. So if a warning in your browser does, it’s fake.

Search results can bite you too. The FTC says scammers buy ads and shove their sites to the top when people search for “tech support,” and the FBI’s IC3 warned about the same tactic back in 2018. Which means a number you found yourself on a search engine isn’t automatically safe. Go to the company’s official website instead.

And this isn’t some niche problem. In its yearly IC3 Elder Fraud Reports, the FBI has said tech support fraud is one of the most reported scams among people over 60. Got older parents or grandparents? Send them this guide.

Steps to take when a tech support scam pop-up appears

Step 1: Don’t call the number

I know the beeping is stressful. That’s the whole point. The page wants you panicking, because panicking people pick up the phone. But the pop-up can’t actually do anything to you by itself, and the real damage only starts when you call, let someone in remotely, or hand over payment details.

If someone rings you out of nowhere about a computer problem, the FTC’s advice is short: hang up. It’s a scam. Not sure? The FTC suggests stopping and talking to someone you trust before you click anything in a pop-up or call the number in it.

Step 2: Force-close the browser

These pages love to go full screen and hide or block the normal close button. Doesn’t matter. You can shut the whole browser down from the outside.

On Windows

  1. Press Ctrl+Shift+Esc to open Task Manager.
  2. In the Processes tab, click your browser (Chrome, Edge, Firefox or whatever you use).
  3. Hit End task.

On Mac

  1. Press Option+Command+Esc to bring up the Force Quit window.
  2. Pick your browser, like Safari or Chrome.
  3. Click Force Quit.

If the screen’s so frozen that even this does nothing, just restart the computer. That’ll close the page too. Blunt, but it works.

Step 3: Reopen the browser without restoring tabs

This is where a lot of people get caught twice. You reopen the browser, it helpfully asks “Restore pages?”, you click yes, and the scam page loads right back up, beeping and all. Not ideal.

So when the browser offers to restore your last session, ignore it or close the prompt. Start fresh with an empty window.

On a Mac with Safari, Apple says to hold down the Shift key while you reopen Safari. That keeps your old windows from coming back.

Step 4: Clear site notification permissions

Some scam pages trick you into clicking “Allow” on a notification prompt. Once you do, that site can keep pushing fake virus alerts onto your screen long after you’ve closed the tab. Seeing pop-ups in the corner of your screen over and over? This is very likely why.

Head into your browser’s notification settings and remove or block any site you don’t recognize. Honestly, if you don’t remember allowing a site, I’d just remove it. Worst case, a legit site asks you again later (and that’s hardly a disaster).

Step 5: Remove extensions you don’t recognize

A shady extension can bounce you to scam pages or stuff ads everywhere. Open your browser’s extensions page and scroll through the list. Didn’t install it on purpose? Don’t recognize it? Bin it.

The table below shows where all of this lives in the big browsers. Menu names shift a little between versions, so if yours looks slightly different, go for the closest match.

Browser Notification permissions Extensions Reset
Chrome Settings > Privacy and security > Site settings > Notifications (remove bad sites from “Allowed to send notifications”) Type chrome://extensions in the address bar, then click Remove Settings > Reset settings > Restore settings to their original defaults > Reset settings
Edge Settings > Cookies and site permissions > Notifications Type edge://extensions in the address bar Settings > Reset settings > Restore settings to their default values > Reset
Safari Safari > Settings > Websites > Notifications (choose Deny or Remove) Safari > Settings > Extensions No single reset button; clear history and website data instead
Firefox Settings > Privacy & Security > Permissions > Notifications > Settings Refresh Firefox removes add-ons (see reset) Help > More troubleshooting information > Refresh Firefox

Step 6: Scan your computer

Most of the time a scam pop-up is just a web page and hasn’t installed anything at all. Still, a scan costs you nothing but a bit of time, and if you clicked a download or let anyone connect to your computer, it’s not optional.

On Windows 11

  1. Open Windows Security from the Start menu.
  2. Go to Virus & threat protection.
  3. Click Scan options.
  4. Pick Full scan, or Microsoft Defender Antivirus (offline scan) if you want a deeper check.
  5. Click Scan now.

Going with the offline scan? Save your work first, because it restarts your PC to run. If the scan turns anything up, let Defender remove it. And if you’re wondering whether Defender is enough or you’d like a second opinion, I’ve covered what you actually need from your antivirus software.

On Mac

This one surprises people. macOS doesn’t have a manual “scan now” button. Its built-in protection, which includes XProtect and Gatekeeper, just runs quietly in the background and gets updated through system and security updates, so the best thing you can do is make sure your Mac is fully up to date.

After that, take a quick look around yourself:

  • Open Finder > Applications and look for apps you don’t recognize or don’t remember installing.
  • Check System Settings > General > Login Items & Extensions for anything odd that starts up when you log in.
  • Peek at System Settings > General > Device Management (called Profiles on some macOS versions). Unless your work or school manages your Mac, you usually shouldn’t see a profile you didn’t add.

Step 7: Reset the browser if the pop-ups keep coming back

Closed everything, cleared notifications and extensions, and the scam pages still keep turning up? Time to reset the browser, using the paths in the table above. A reset switches off extensions and puts things like your homepage and search engine back to normal. Your bookmarks and saved passwords are generally kept, but check your browser’s own help page if that worries you.

Safari has no reset button, so clearing your history and website data is the closest you’ll get.

What to do if you already called, gave remote access or paid

Don’t beat yourself up. These people are practiced at sounding official and they’re very good at making you panic. What matters now is moving fast. The FTC says these scammers sell useless services, steal card numbers, or get into your computer to install malware that can expose your passwords. So let’s shut every door.

Disconnect and remove remote access tools

If you let them connect to your computer, turn off Wi-Fi or pull the network cable first. That cuts them off.

Then get rid of whatever remote access app they had you install. Common ones include AnyDesk, TeamViewer, ConnectWise ScreenConnect and UltraViewer, though scammers use all sorts of tools, and these are also perfectly legit apps that real IT teams use. My rule: if you didn’t install it for a reason you trust, remove it.

  • Windows: Head to Settings > Apps > Installed apps, find the tool and uninstall it.
  • Mac: Drag the app to the Trash, then go to System Settings > Privacy & Security and pull it out of both Screen Recording and Accessibility.

The FTC also says that if a scammer had remote access, you should update your security software, run a scan and delete anything it flags. So go back to Step 6 and do that now.

Change your passwords

Gave them a username and password? The FTC says change that password right away. I’d go further if they were on your computer, since they may have seen saved passwords. Start with your email (it’s the key to resetting everything else), then banking, then anything else that matters. Use a different device you trust if you can.

Inventing a dozen new strong passwords by hand is miserable. A password manager makes it a lot easier, and I’ve rounded up the best password managers for families and small businesses if you need one.

Call your bank or card company

Paid with a credit or debit card? The FTC says call your card company or bank right away and ask them to reverse the charges. While you’ve got your statements open, look for any other tech support charges you didn’t approve. The FTC also warns about fake “automatic renewal” notices for tech support subscriptions, so treat any renewal email from a company you never signed up with as suspicious.

If you paid with a gift card

Contact whoever issued the gift card immediately. The FTC says to tell them it was a scam, ask whether the money’s still on the card and can be frozen, and ask for a refund. Hang on to the card itself and the store receipt. And report it to the card company no matter how long ago it happened, because the FTC says some companies may give the money back. Its gift card scam page lists contact details for each card company.

One rule worth remembering forever. The FTC says anyone who tells you to pay by gift card, wire transfer or cryptocurrency is a scammer, full stop, because real companies just don’t ask for payment that way. If you paid by wire or crypto, contact the service you used as fast as you can and report it (more on that below).

If they got your personal information

If you handed over your Social Security number or other sensitive details, the FTC’s official recovery site is IdentityTheft.gov. My guide on what to do after a data breach also covers freezing your credit and locking down your accounts, and the same steps apply here.

Watch out for the “refund” call

This one stings. A few weeks later, someone might call offering to get your money back, sometimes claiming to be from the FTC or another agency. Same scam. Round two. The FTC says don’t give your bank, card or payment details to anyone offering to recover your money, and its ReportFraud site says anyone asking you to pay to get a refund from the FTC or another agency is running a scam.

Report the scam

Reporting won’t always get your money back. It still helps, though, because the FTC uses these reports to build cases against scammers. Report it at ReportFraud.ftc.gov, and have a read of the FTC’s full guide on how to spot, avoid and report tech support scams.

You can also file a complaint with the FBI’s Internet Crime Complaint Center at ic3.gov. If you lost money, I’d definitely do this one.

The five-minute habit that keeps these pop-ups harmless

If a pop-up ever tells you your computer is locked and hands you a number to call, the answer’s always the same. Don’t call. Close the browser from Task Manager or Force Quit, reopen it fresh, and get on with your day.

Spend five minutes now going through your browser’s notification list and extensions, even if you’ve never clicked anything dodgy. And if there’s a parent or grandparent in your life who’s online a lot, tell them about this. A quick “if your screen ever starts beeping and shows a phone number, call me first” can save them a lot of money and a lot of stress.

Frequently Asked Questions

Is my computer really locked when I see this pop-up?

Usually not. It’s almost always a web page made to look like a system warning. Force-close the browser with Task Manager on Windows or Force Quit on Mac, reopen it without restoring tabs, and it’s normally gone.

Do Microsoft or Apple ever show warnings with a phone number to call?

No. Both companies say their real warnings don’t include a phone number to call about a virus, and they don’t make unsolicited support calls. So a browser warning with a support number? Scam.

I let a scammer connect to my computer. What should I do first?

Get offline first. Then uninstall the remote access app they had you install, run a security scan and delete anything it flags. After that, change your passwords from a device you trust, and call your bank if you shared payment details.

Can I get my money back if I paid with a gift card?

Maybe. The FTC says to contact the card issuer right away, tell them it was a scam, ask if the money can be frozen, and ask for a refund. Keep the card and receipt, and report it even if it happened a while ago.

Where do I report a tech support scam in the US?

Report it to the FTC at ReportFraud.ftc.gov and to the FBI’s Internet Crime Complaint Center at ic3.gov. It helps the authorities build cases against these scammers.

More guides: See all our Windows 11 fixes.

Disclosure: TheTechHacker has no paid relationship with the companies in this article.

Keep reading

You might also like

Written byRahul Vithala
Rahul Vithala is the founder and editor-in-chief of TheTechHacker. He left his corporate job to write about technology full time, and today covers laptops, phones, US carrier plans, smart home gear and video editing software. He also edits the guides published on the site.

Comments

Leave a comment

The Thetechhacker letter

The week in tech, minus the noise.

New reviews, fixes and the stories that matter — once a week, straight to your inbox.