logo
search
OneDrive File Issues

Fix Windows 11 Unknown Publisher Warning for OneDrive Uploads

Steve KSteve K Sep 25, 2026 869 views

Question details

The user is experiencing an unknown-publisher security warning when saving internet-downloaded files to a school-managed OneDrive via the Windows 11 File Explorer.

How to Fix Windows 11 Security Warnings for OneDrive Files
Product
OneDrive
Device & OS
Windows 11
Scenario
Moving or saving files downloaded from the internet into a synchronized OneDrive folder managed by a school or organization.
Observed behavior
An unknown-publisher security warning appears when files are added through the local File Explorer, but this warning does not trigger when uploading the same files via the OneDrive website or a mobile device.
Before you start

Verify that your Windows 11 OS is fully updated and take a clear screenshot of the security warning to help identify if it originates from Windows Defender or a third-party antivirus.

Solution 1Recommended

Reset the OneDrive Sync Client

Resetting the OneDrive client can resolve underlying synchronization glitches that may incorrectly trigger Windows 11 local security warnings.

Windows 11 File Explorer integrates directly with the OneDrive sync client. If the local cache is corrupted, it might mishandle the 'Mark of the Web' assigned to downloaded files, causing an unknown publisher warning.

1
Open the Run dialog

Press the Windows key + R on your keyboard to open the Run command window.

2
Execute the reset command

Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter. The OneDrive icon in the system tray will disappear and reappear after a minute.

3
Test with a new document

Create a brand new Office document locally, save it to the OneDrive folder, and observe if the security prompt appears again.

Reset the OneDrive Sync Client
Manual Restart: If the OneDrive icon does not automatically reappear after a few minutes, open the Start menu, search for OneDrive, and click to launch it manually.
Free Microsoft Office alternative

Experience Hassle-Free Document Editing with WPS Office

If organizational OneDrive policies and Windows 11 security warnings are slowing down your productivity, WPS Office provides a free, lightweight, and independent alternative. It allows you to seamlessly manage, edit, and save your documents with flexible local and cloud storage options.

  1. 1. Download the installer: Visit the official WPS website and download the free WPS Office installer for Windows.
  2. 2. Install WPS Office: Run the downloaded file and follow the on-screen instructions to install the suite in seconds.
  3. 3. Open and edit your files: Launch WPS Office and open your internet-downloaded documents directly, bypassing restrictive local sync errors.
High compatibility with Microsoft Word, Excel, and PowerPoint file formatsBuilt-in cloud storage to bypass complex local network security warningsLightweight application that runs smoothly on Windows 11 without heavy sync clientsCompletely free to use with a familiar, easy-to-navigate tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

Why do downloaded files trigger a security warning in Windows 11?

Windows applies a 'Mark of the Web' (MotW) to files downloaded from the internet. When you try to sync these flagged files via the local File Explorer, Windows SmartScreen or organizational policies may intercept them as a security precaution, labeling the publisher as unknown.

Why doesn't the warning appear when I upload files through the OneDrive website?

Uploading files via a web browser bypasses the local File Explorer synchronization processes. The web browser directly pushes the file data to the cloud, so the local Windows security policies that trigger the warning are not activated.

Can resetting OneDrive cause data loss?

No, resetting the OneDrive sync client will not delete your files. It only resets the application settings and forces a full re-synchronization of your existing data, which safely remains in the cloud.

How do I unblock a specific downloaded file?

You can manually unblock a file by right-clicking it in File Explorer, selecting Properties, checking the 'Unblock' box at the bottom of the General tab, and clicking Apply.