A page fills your browser with a warning that your PC has a virus or has been locked. It may play a loud voice or an alarm, cover the whole screen and show a phone number. This is a web page, not a message from Windows. Microsoft's error and warning messages never include a phone number. The page can't see your files, and closing it is safe.

Fix 1: Don't phone the number or click inside the page

1 minuteSafe

Everything inside the page belongs to the scam site, including buttons that look like Windows. Selecting them can open more pop-ups, start a download or ask permission to send you notifications. The phone number leads to people who will ask for money or for access to your PC.

  1. Don't phone the number, type anything into the page or select any button in it, even ones labelled OK, Cancel or Close.
  2. If a voice or alarm is playing, turn the volume down or press the mute key. The sound comes from the page, not from Windows.
  3. If someone phones you later claiming to be from Microsoft, hang up. Microsoft doesn't make unexpected calls offering help.

Did that fix it?

No, try fix 2

Fix 2: Close the browser

2 minutesSafe

Closing the browser closes the page. Scam pages often switch to full screen so the browser's own close button is hidden, but the keyboard still works.

  1. Press Esc to leave full screen. Some browsers ask you to press and hold it for a moment. If that doesn't work, press F11.
  2. Press Alt + F4 to close the browser window. Press it again if a second window is open.
  3. If the browser won't close, press Ctrl + Shift + Esc to open Task Manager. If it opens as a small window, select More details.
  4. On the Processes page, select your browser, such as Microsoft Edge or Google Chrome, then select End task.
  5. If even Task Manager won't open, press Ctrl + Alt + Delete, select the power icon at the bottom right of the screen and choose Restart.

Did that fix it?

No, try fix 3

Fix 3: Reopen the browser without bringing the page back

5 minutesChanges settings

Many browsers offer to restore the tabs that were open when they closed, and some reopen them automatically. Either way, the scam page can come straight back unless you stop it.

  1. If the page came back last time, turn off Wi-Fi first so it can't load. Use the Wi-Fi button in Quick Settings on Windows 11, or in the network panel on Windows 10.
  2. Open the browser. If it offers to restore your pages, don't select Restore. Close the message instead.
  3. If the scam page opens anyway, close that tab at once with Ctrl + W.
  4. Stop the browser reopening old tabs. In Edge, open Settings and more, then Settings, then Start, home, and new tabs and, under When Edge starts, choose Open the new tab page. In Chrome, open More, then Settings, then On startup and choose Open the New Tab page.
  5. Turn Wi-Fi back on.

Did that fix it?

No, try fix 4

Fix 4: Remove notification permission from sites you don't recognize

5 minutesChanges settings

Many scam pages first ask to show notifications. If anyone selected Allow, the site can keep popping up alarming messages in the corner of the screen, even when the browser is closed. Removing the permission stops them.

  1. In Edge, open Settings and more, then Settings, then Privacy, search, and services, then Site permissions, then All sites.
  2. Select the arrow next to a site you don't recognize, select See more, and set Notifications to Block. Repeat for any other site you don't recognize.
  3. In Chrome, open More, then Settings, then Privacy and security, then Site settings, then Notifications.
  4. Under Allowed to send notifications, select More actions next to each site you don't recognize and choose Block.

Did that fix it?

No, try fix 5

Fix 5: Check your browser extensions

5 minutesChanges settings

Extensions are small add-ons that run inside the browser. An unwanted one can keep sending you to scam pages or change your search engine. Removing it doesn't affect your bookmarks or saved passwords.

  1. In Edge, select Settings and more, then Extensions, then Manage extensions. In Chrome, select More, then Extensions, then Manage Extensions.
  2. Read the list. For anything you didn't add yourself or don't recognize, select Remove, then confirm.
  3. Close and reopen the browser.

Did that fix it?

No, try fix 6

Fix 6: Run a quick scan with Windows Security

10 minutesSafe

The pop-up is a web page and usually installs nothing. A quick scan with Windows' own antivirus rules out a file arriving with it, which matters most if anything on the page was selected.

  1. Select Start, type Windows Security and open the app.
  2. Select Virus & threat protection, then Quick scan.
  3. Wait for it to finish. It usually takes a few minutes.

If the scan finds something, or the pop-ups keep coming back, work through Remove malware with Windows Security, which covers the full and offline scans.

Did that fix it?

If you already called or let someone in

These scams are made to frighten people into acting fast, and careful people get caught by them. Work through these steps in order.

  1. Disconnect from the internet. Turn off Wi-Fi or unplug the network cable. This cuts any connection the scammer still has to your PC.
  2. Uninstall any app they had you install. Open Settings, then Apps, then Installed apps, set Sort by to Date installed, select More next to the app and choose UninstallSettings, then Apps, then Apps & features, sort by Install date, select the app and choose Uninstall. Remove anything installed that day that you don't recognize, especially remote-access apps.
  3. Run a Microsoft Defender Offline scan. It checks the PC before Windows starts. The steps are in Remove malware with Windows Security.
  4. Change your passwords from another device you trust. Start with your email, because it can reset your other accounts, then banking, then the rest. Change any password you told them.
  5. Contact your bank or card provider if you paid or shared card or bank details. Use the contact details on your card or statement, not any they gave you, and ask about disputing the charge. If you paid with gift cards, contact the company that issued them.
  6. Report it. Use Microsoft's report a tech support scam page, even if they didn't claim to be Microsoft. In the United States you can also report at ReportFraud.ftc.gov, and in the United Kingdom at Action Fraud.

If strange messages keep appearing after all this, Microsoft suggests resetting the PC, especially if the scammer had remote access. The steps are at the end of Remove malware with Windows Security; back up your files first. To learn the signs of these scams before they reach you, read Stay safe from scams.