How to Fix OneDrive Sign-in Error Caused by Blocked Cookies
Question details
The user is unable to sign into the OneDrive desktop application due to an error message stating that cookies are blocked.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to log into the OneDrive desktop application on a Windows computer.
- Observed behavior
- OneDrive displays a cookie-blocking error message and blocks the sign-in process, even if the user can successfully sign into Outlook.com on their standard web browser.
Ensure you are logged into Windows with an administrator account so you have the necessary permissions to modify system browser settings and adjust security software preferences.
Enable Cookie Data in Microsoft Edge
OneDrive relies on embedded Edge components for its sign-in interface. Enabling cookies in Edge often clears the sign-in block.
Even if Microsoft Edge is not your default web browser, the OneDrive desktop application uses Edge's underlying architecture to render the login screen. Adjusting these specific site permissions is critical for the login prompt to function correctly.
Launch Microsoft Edge. Click the three dots (Menu) in the upper-right corner and select Settings.
In the left-hand menu, click on 'Cookies and site permissions', then select 'Manage and delete cookies and site data'.
Toggle on the switch for 'Allow sites to save and read cookie data'. Ensure that third-party cookies are not being strictly blocked.
Close the OneDrive error prompt, restart the OneDrive application from the system tray, and attempt to sign in again.

Reset Windows Internet Options
Resetting legacy internet settings ensures no hidden privacy restrictions are blocking OneDrive's authentication scripts.
Verify Security Software and Reinstall OneDrive
Strict third-party antivirus or firewall settings can sometimes mistake OneDrive's sign-in components for malicious tracking cookies.
Looking for a reliable Office suite? Try WPS Office
If you are tired of dealing with frustrating sign-in errors and syncing conflicts, consider switching to WPS Office. It provides a lightweight, seamless, and highly compatible alternative for all your document needs without the heavy system dependencies.
- 1. Visit the official website: Go to the official WPS Office website and click the 'Download WPS Office Free' button.
- 2. Run the installer: Open the downloaded installation file and follow the straightforward on-screen instructions.
- 3. Start creating: Launch WPS Office to immediately start working on documents, spreadsheets, and presentations without complex sign-in hurdles.

Frequently Asked Questions
Why does OneDrive say cookies are blocked when my browser works fine?
OneDrive uses embedded system browser components (like Microsoft Edge or legacy Internet Explorer architecture) for its sign-in window. If cookies are disabled in these specific underlying system settings, OneDrive will fail, even if your default browser (like Chrome or Firefox) is set up correctly.
Will resetting Internet Options delete my personal files?
No. Resetting Internet Options only restores browser settings, security zones, and legacy privacy configurations to their defaults. Your personal files, documents, and photos remain completely safe and untouched.
Can my antivirus software actually block OneDrive sign-ins?
Yes. Strict web protection or firewall features in software like Bitdefender or Malwarebytes can sometimes mistakenly identify the OneDrive sign-in script as a tracking cookie or malicious pop-up, silently blocking the connection.




