[Fix] Windows Defender Yellow Exclamation Icon and “Set up OneDrive” Warning

The Windows 10 action center may show a prompt with a black exclamation inside a yellow triangle icon in the Notification area. When you click on that, it opens Windows Defender Security Center. In the Windows Defender Security Center, underneath the “Virus & threat protection” icon the exclamation mark inside a yellow triangle shows up again, with the note reading “Set up OneDrive for file recovery options in case of a ransomware attack.”

The Windows Defender warning shows up even though OneDrive is already be configured, syncing and working perfectly fine. Also, clicking the “Dismiss” link beneath the warning message may do nothing.

windows defender set up onedrive - yellow exclamation warning

If OneDrive is already setup correctly and working fine, then the yellow exclamation warning can be safely ignored. But if you’re desperate to stop Windows Defender from issuing the false alert, this post tells you how to do so.

Fix Windows Defender Yellow Exclamation Icon and “Set up OneDrive” Warning

Enable Defender’s Periodic Scanning feature (if using 3rd party antivirus)

If you’re using a 3rd party anti-virus product, then see if enabling Defender’s “Limited Periodic Scanning” feature helps remove the yellow exclamation mark in Windows Defender notification icon. Follow these steps:

  1. Double-click the Windows Defender shield icon in notification area. This opens “Security at a Glance”
  2. Click Virus & threat protection
  3. Turn Windows Defender Periodic Scanning on

Dismiss “Set up Onedrive” warning from “Ransomware protection” settings page

  1. Open Windows Defender Security Center > Virus & threat protection.
  2. Scroll down to Ransomware Protection and click it.
  3. Under the Ransomware Data Recovery section, it suggests you to set up OneDrive.
  4. Click on the Dismiss link if you don’t plan to use Onedrive.

If, on the other hand, the “Set up Onedrive” warning continues to appear although Onedrive is already linked/configured for your user account, then unlink and relink Onedrive using the following steps:



Unlink & Relink OneDrive

  1. Right-click on the OneDrive icon in the Notification area, and click Settings.
  2. Select the Account tab, and click Unlink this PC.
    onedrive unlink from pc
  3. Click “Unlink account” when you see the following prompt.

    Unlink account on this PC?Your OneDrive files will stop syncing. Locally available files will remain on this device while online only files will be removed.

  4. Exit OneDrive. To do so, right-click on the Notification icon and choose “Quit OneDrive.”
  5. Open Windows Defender Security Center
  6. Click Set up OneDrive button under the Virus and threat protection icon.
    windows defender set up onedrive - yellow exclamation warning
  7. In the OneDrive setup dialog box that appears, input your Microsoft account email address (which you were previously using for OneDrive), and click “Sign in.”
  8. Complete OneDrive two-factor authentication and sign-in process.

Note that if you click the “Set up OneDrive” link under “Ransomware protection” option inside “Virus and threat protection” settings, then the following error may occur when you try to complete the OneDrive sign-in process.

This doesn’t look like a work or school email. You can’t sign in here with a personal account. Use your work or school account instead.

windows defender ransomware protection settings onedrive

It’s possible that the “Set Up OneDrive” link under ransomware protection option is trying to configure the system with “OneDrive for Business” (using the odopen://launch/ protocol command) instead of with “OneDrive Personal.”

That’s it! Unlinking and relinking OneDrive (Personal) resolves the ‘black exclamation inside yellow triangle’ OneDrive setup warning in Action Center and Windows Defender Security Center for most users. Virus and threat protection setting will now show up with the text “No action needed” along with a green tick.

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

3 thoughts on “[Fix] Windows Defender Yellow Exclamation Icon and “Set up OneDrive” Warning”

Leave a Comment