A "your PC is infected with a virus" warning that shows up inside the browser is almost always a fake ad. Windows and antivirus programs don't show warnings inside web pages, so don't click anything: close the browser, then remove that site's notification permission and it won't come back.
If you don't know which site sends the notifications, PC Buster's Adware Scan finds ad-looking sites allowed to notify in Chrome, Edge, Whale and Brave and removes them (free). Get PC Buster · details
| What you see | Real (Windows Security) | Fake (ad) |
|---|---|---|
| Where it appears | Outside the browser: a Windows notification at the bottom right, or inside the Windows Security app | Inside a browser tab, or a notification that shows a browser name such as Chrome or Edge together with a website address |
| Phone number | None | Often has one, such as "call support" |
| Pressure | None | Countdowns, alarm sounds, lines like "your files will be deleted in 5 minutes" |
| What it asks for | Handled inside the Windows Security app | Download a program, pay, or allow remote access |
If you're not sure, leave the warning alone and open Windows Security yourself from the Start menu. Check whether Virus & threat protection reports any threats. If it shows nothing, the browser warning is fake.

Buttons, not commands. PC Buster finds what opens ad pop-ups, clears junk and points to what is broken. Checks and cleanup are free.
Free downloadThe most common cause: at some point you clicked "Allow notifications" on a site, and it now sends ad notifications dressed up as warnings.
chrome://settings/content/notifications in the address bar. In Edge, type edge://settings/content/notifications.If the browser still opens by itself and shows ads after you remove notifications, an adware program is installed on the PC. See Chrome keeps showing ad pop-ups and finding suspicious scheduled tasks.
PC Buster's Adware Scan collects the sites allowed to send notifications in Chrome, Edge, Whale and Brave, and ticks the ones whose addresses look like ads so you can remove them. Sites that look ordinary are only listed by name and left alone, so if one of those is sending the warnings, remove it yourself in the settings above. If another program forces the browser open to show the warning page, it finds that program and removes it; if a scan finds nothing, Watch Mode records the moment the next one appears. Both are free. PC Buster has no virus-scan button, so use Windows Security for that.
Chrome ad pop-ups keep appearingSuspected ransomwareSuspicious tasks in Task SchedulerSee all fixes