How to Fix the OneDrive This App Has Been Blocked Error
Question details
The user is unable to launch or install OneDrive due to a Windows system prompt stating that the application has been blocked.

- 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.
Ensure you are logged into Windows with an administrator account, as changing application installation privileges requires admin access.
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.
Click the Start menu and select the gear icon, or press the Windows key + I on your keyboard to open Settings.
Click on 'Apps' and navigate to 'Apps & features' (or 'Advanced app settings' in Windows 11).
Locate the 'Choose where to get apps' dropdown menu. Change the selection from 'The Microsoft Store only' to 'Anywhere'.
Open your web browser and navigate to the official Microsoft OneDrive download page to ensure you have the latest secure installer.
Double-click the downloaded setup file to install OneDrive without encountering the blocking error.

Switch Out of Windows S Mode
If your device runs Windows in S mode, you are restricted to Microsoft Store apps. You must switch out of S mode to run standalone desktop applications.
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. Download the Application: Visit the official WPS Office website and download the free installer for Windows.
- 2. Install Seamlessly: Run the downloaded executable file; WPS Office is optimized to install smoothly without triggering Windows blocking errors.
- 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.

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.




