If the pop-ups are coming from Microsoft Edge notifications, block the site that is sending them:
- Open Microsoft Edge.
- Go to Settings and more > Settings > Privacy, search, and services > Site permissions > All sites.
- Select the website sending the notifications.
- Find Notifications and set it to Block.
A quicker method while on the site:
- Select View site information to the left of the address bar.
- Under Permissions for this site > Notifications, choose Block.
If the alerts look like fake virus warnings or fake McAfee messages, remove suspicious notification permissions in Edge. In the Allow list for notifications, remove or block any site that is not recognized.
If pop-ups continue after blocking them:
- Make sure Microsoft Edge is up to date: open Settings > About Microsoft Edge.
- Turn off extensions to see whether one is causing the issue: Settings and more > Extensions > Manage extensions, then disable extensions and re-enable them one at a time.
- Scan the device for malware.
If McAfee is actually installed and no longer wanted, uninstall it from Windows:
- Go to Start > Settings > Apps.
- Find the McAfee app.
- Select Uninstall.
Caution: after uninstalling security software, the PC is temporarily unprotected. Make sure Microsoft Defender Antivirus is enabled and Windows Firewall is turned on.