How to Stop OneDrive from Opening Its Folder at Windows Startup
Question details
The user wants to prevent the OneDrive synchronized folder from automatically opening in File Explorer whenever the computer boots up.

- Product
- OneDrive for Business
- Device & OS
- Windows
- Scenario
- Starting up a Windows computer with OneDrive configured to launch at boot.
- Observed behavior
- OneDrive launches correctly but automatically opens its synchronized file folder on the screen, requiring the user to manually close the window every time.
Ensure you are logged into your Windows account with administrative privileges so you can modify the Windows Startup folder settings.
Remove OneDrive Shortcut from the Windows Startup Folder
The most common reason a folder opens automatically at boot is an unwanted shortcut placed inside the Windows Startup folder. Deleting this shortcut solves the issue while keeping background sync active.
Windows has a dedicated folder where any placed application or folder shortcut will automatically launch upon login. Removing the OneDrive folder shortcut from here will stop File Explorer from popping up, but it will not stop the actual OneDrive application from running in the background.
Press the Windows key + R on your keyboard simultaneously to open the Run command box.
Type shell:startup into the text field and press Enter or click OK. This opens the specific Windows Startup directory in File Explorer.
Look for a shortcut named 'OneDrive' or your specific 'OneDrive for Business' folder. Right-click this shortcut and select Delete (or click the trash can icon).
Restart your computer. The OneDrive application should now start silently in the system tray without popping the folder open on your screen.

Reset the OneDrive Application
If removing the shortcut did not resolve the problem, resetting the OneDrive executable can fix internal configuration glitches causing the folder to pop open.
Manage Documents Seamlessly with WPS Office
If you are tired of dealing with recurring Microsoft OneDrive or Office startup glitches, consider switching to WPS Office. It provides a lightweight, feature-rich workspace with built-in, silent cloud synchronization that doesn't disrupt your computer's startup process.
- 1. Download the installer: Visit the WPS Office website and download the free installer for Windows.
- 2. Install the suite: Run the setup file and follow the brief on-screen instructions to complete the lightweight installation.
- 3. Sign in to WPS Cloud: Create a free account or log in to automatically enable silent cloud synchronization for your files.

Frequently Asked Questions
Why does my OneDrive folder automatically open when I start my PC?
This generally happens when a shortcut to the OneDrive folder is accidentally placed in the Windows shell:startup directory, or if an internal configuration glitch in OneDrive forces the File Explorer to open the folder on launch.
Will deleting the shortcut from the Startup folder stop my files from syncing?
No. The shortcut in the shell:startup folder only commands File Explorer to display the folder. The actual OneDrive synchronization process runs independently in the background and will remain completely unaffected.
How do I know if OneDrive is running after I stop the folder from opening?
You can verify OneDrive is running by checking the notification area (system tray) at the bottom right corner of your Windows taskbar. If you see the blue or white OneDrive cloud icon, the app is running and your files are syncing.




