logo
search
OneDrive Error Codes

How to Fix the OneDrive This App Has Been Blocked Error

Jason MillerJason Miller Oct 26, 2026 870 views

Question details

The user is unable to launch or install OneDrive due to a Windows system prompt stating that the application has been blocked.

How to Fix the OneDrive This App Has Been Blocked Error
Product
Microsoft OneDrive
Device & OS
Windows 10 Pro (or Home/S edition)
Scenario
Attempting to launch or install the OneDrive desktop application on a Windows computer.
Observed behavior
Windows displays a security or app-blocking message preventing the OneDrive application from opening or completing its installation.
Before you start

Ensure you are logged into Windows with an administrator account, as changing application installation privileges requires admin access.

Solution 1Recommended

Modify App Installation Settings and Reinstall OneDrive

Adjust your Windows settings to allow application installations from outside the Microsoft Store, then download a fresh installer from Microsoft.

Windows 10 and 11 include a security feature that restricts app installations to the Microsoft Store only. If this is enabled, manually downloaded executable files (like the OneDrive installer) will be blocked.

1
Open Windows Settings

Click the Start menu and select the gear icon, or press the Windows key + I on your keyboard to open Settings.

2
Navigate to App Settings

Click on 'Apps' and navigate to 'Apps & features' (or 'Advanced app settings' in Windows 11).

3
Change App Installation Source

Locate the 'Choose where to get apps' dropdown menu. Change the selection from 'The Microsoft Store only' to 'Anywhere'.

4
Download Official OneDrive

Open your web browser and navigate to the official Microsoft OneDrive download page to ensure you have the latest secure installer.

5
Run the Installer

Double-click the downloaded setup file to install OneDrive without encountering the blocking error.

Modify App Installation Settings and Reinstall OneDrive
Safe Installation: Setting your app source to 'Anywhere' is perfectly safe as long as you always download applications directly from their official developer websites.
Free Microsoft Office alternative

Experience Hassle-Free Document Management with WPS Office

If you frequently encounter system restrictions and errors with Microsoft OneDrive and Office apps, consider switching to WPS Office. It provides a lightweight, unified desktop application with built-in cloud storage and seamless compatibility with all Microsoft formats.

  1. 1. Download the Application: Visit the official WPS Office website and download the free installer for Windows.
  2. 2. Install Seamlessly: Run the downloaded executable file; WPS Office is optimized to install smoothly without triggering Windows blocking errors.
  3. 3. Sign In for Cloud Access: Create a free account or log in to access your built-in WPS Cloud storage directly from the workspace.
Seamlessly open, edit, and save Microsoft Word, Excel, and PowerPoint files.Avoid complex Windows application blocking errors with a lightweight, verified installer.Includes free built-in WPS Cloud storage to automatically backup and sync your documents.All-in-one interface containing Writer, Spreadsheet, and Presentation tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Windows block my OneDrive installation file?

Windows blocks the installation when the system's security settings are configured to only allow applications downloaded directly from the Microsoft Store. Changing the 'Choose where to get apps' setting to 'Anywhere' resolves this.

Can I use OneDrive if I keep my PC in Windows S mode?

Yes, but you cannot use the standalone installer from the website. Instead, you must open the Microsoft Store app, search for OneDrive, and install it directly from there.

Is changing the app installation source to 'Anywhere' risky?

It is generally safe as long as you practice good digital hygiene. Always ensure you are downloading installation files from the verified, official websites of the software developers rather than third-party hosting sites.