[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.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

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

  1. I just had this issue. Clicking dismiss would do nothing.

    Solution: uninstall OneDrive.

    I never use it anyway, so this will fix the issue until microsoft decides to reinstall it when it forces an update.

    Reply
  2. Just commenting to confirm it is not working. I might have to uninstall one drive like the other commenters if this keeps coming back.

    Reply
  3. Yeah, so it is easy to manually dismiss this warning. But the real pain in the behind is trying to manage that on machines with shared accounts in an enterprise with 3500 workstations. Any ideas? I don’t want to have to uninstall One Drive or unlink the PC as a user without a shared account may still need these features.

    Any ideas on how to manage this warning with Intune and/or M365 Defender?

    Reply

Leave a Reply