After you restart a shared Windows 10 or Windows 11 device, OneDrive for Business does not start automatically. You see no OneDrive icon in the notification area, and files do not sync until you manually launch the app. This problem occurs because OneDrive startup registration is stored per user account, and shared device configurations often block automatic sign-in or disable the startup task. This article explains why OneDrive fails to launch after reboot on shared devices and provides specific fixes to restore automatic startup.
Key Takeaways: Restoring OneDrive Auto-Start on Shared Devices
- Registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive: Controls per-user OneDrive startup; check that the value points to the correct OneDrive.exe path
- Task Scheduler > OneDrive Standalone Update Task-v2: Manages delayed startup; disable and re-enable this task to reset the launch trigger
- Group Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive: Prevents OneDrive from running on shared devices if policy is enabled
Why OneDrive Startup Fails on Shared Devices
OneDrive for Business relies on a per-user startup entry placed in the Windows Registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. On a shared device where multiple users log in, Windows may clear or skip per-user startup entries during fast user switching or after a group policy update. Additionally, IT administrators often apply a Group Policy setting named “Prevent the usage of OneDrive for file storage” that blocks the OneDrive process from starting at all. Another common cause is that the OneDrive Standalone Update Task in Task Scheduler becomes corrupted or disabled after a Windows update. When any of these conditions exist, OneDrive will not launch automatically after reboot.
Shared Device Configuration Conflicts
Shared devices in schools, labs, or kiosk environments use Windows 10/11 in shared PC mode or with enforced guest accounts. These configurations clear user profiles after sign-out, which removes the OneDrive startup registry key. Even if OneDrive is installed, the startup entry is deleted each time the user logs off.
Group Policy Blocks
The Group Policy setting “Prevent the usage of OneDrive for file storage” is located under Computer Configuration > Administrative Templates > Windows Components > OneDrive. When enabled, it prevents OneDrive.exe from running entirely. On a domain-joined shared device, this policy is often applied to all users, overriding local startup settings.
Steps to Fix OneDrive Startup Failure After Reboot
Follow these steps in order. Test by restarting the device after each step.
- Verify the OneDrive Startup Registry Entry
Press Win + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Look for a string value named OneDrive. Its data should be %LocalAppData%\Microsoft\OneDrive\OneDrive.exe /background. If the value is missing, right-click an empty area, select New > String Value, name it OneDrive, and set the data to the path above. If the path points to a different location, update it to match the current OneDrive installation path. - Re-enable the OneDrive Task Scheduler Task
Press Win + R, type taskschd.msc, and press Enter. In the left pane, expand Task Scheduler Library > Microsoft > Windows > OneDrive. Select the task named OneDrive Standalone Update Task-v2. In the right pane, click Enable if it is grayed out. If the task is already enabled, right-click it and select Disable, then right-click again and select Enable. Close Task Scheduler. - Check Group Policy for OneDrive Block
Press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive. Double-click Prevent the usage of OneDrive for file storage. If the policy is set to Enabled, change it to Not Configured or Disabled. Click OK. Note: This change may require administrator privileges and a group policy update (gpupdate /force). - Disable Shared PC Mode (if applicable)
Press Win + I to open Settings. Go to Accounts > Other users or Accounts > Family & other users. Under Set up a kiosk or shared PC, click Set up a kiosk and remove any assigned access. Alternatively, open PowerShell as administrator and run Set-EDPConfiguration -EnterpriseID $null to disable shared PC mode. Restart the device. - Reset OneDrive App
Press Win + I to open Settings. Go to Apps > Apps & features. Search for Microsoft OneDrive. Click the three dots and select Advanced options. Scroll down and click Reset. Confirm the reset. After reset, launch OneDrive from the Start menu and sign in again. This restores the startup entry.
If OneDrive Still Has Startup Issues After the Main Fix
OneDrive Startup Entry Is Deleted After Each Sign-Out
On shared devices that use mandatory profiles or the “Delete user profiles older than a specified number of days on system restart” policy, OneDrive startup entries are removed. To work around this, create a logon script that adds the OneDrive registry key. Use Group Policy under User Configuration > Windows Settings > Scripts (Logon/Logoff) to run a batch file containing:reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v OneDrive /t REG_SZ /d "%LocalAppData%\Microsoft\OneDrive\OneDrive.exe /background" /f
OneDrive.exe Is Not Installed in the Default Location
If OneDrive was installed via the Microsoft Store or an MSI package on a shared device, the executable path might differ. Press Win + R, type shell:AppsFolder, and locate Microsoft OneDrive. Right-click it and select Open file location to find the actual path. Update the registry entry in step 1 to match this path.
Windows Startup Folder Overrides
Some shared device configurations disable the Run registry key entirely via Group Policy. In this case, add a shortcut to OneDrive.exe in the Startup folder. Press Win + R, type shell:startup, and press Enter. Right-click an empty area, select New > Shortcut, and browse to %LocalAppData%\Microsoft\OneDrive\OneDrive.exe. Add /background as an argument. This method bypasses registry-based startup.
OneDrive Startup Methods: Registry vs Task Scheduler vs Startup Folder
| Item | Registry Run Key | Task Scheduler | Startup Folder |
|---|---|---|---|
| Trigger | User logon | Delayed after user logon | User logon |
| Persistence | Per user, cleared on profile deletion | Per machine, survives profile reset | Per user, cleared on profile deletion |
| Group Policy control | Blocked by “Prevent usage of OneDrive” | Not blocked by that policy | Blocked by “Prevent usage of OneDrive” |
| Best for shared devices | No | Yes | No |
| Requires admin rights to set | No | Yes | No |
After applying the fixes above, OneDrive will start automatically after reboot on shared devices. The most reliable method for shared environments is using the Task Scheduler task, which survives profile resets and is not blocked by the standard OneDrive Group Policy. To further secure the setup, consider enabling OneDrive Files On-Demand so that users do not consume local disk space on shared devices.