OneDrive for Business fails to start automatically after a reboot on a shared Windows device. This happens because the OneDrive startup task is configured for the current user profile, but shared devices often clear or reset user profiles after sign-out. The startup entry relies on a registry key or scheduled task tied to a specific user account. When that account is removed or overwritten, OneDrive will not launch at sign-in.
Shared devices in environments like conference rooms, training labs, or hot-desking stations use Windows 10 or 11 in shared PC mode. This mode deletes cached user profiles and resets settings after each session. The OneDrive automatic startup setting is stored per user, so it is lost when the profile is cleaned.
This article explains why the startup fails, how to check the current configuration, and the steps to restore OneDrive auto-start on a shared device. It also covers related failures such as the sync engine not starting and the user seeing a blank OneDrive icon or a sign-in prompt after every reboot.
Key Takeaways: OneDrive Startup Failure on Shared Devices
- Task Manager > Startup tab: Check if OneDrive is enabled for the current user. If disabled, enable it and reboot.
- Registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run: Confirms the OneDrive startup path. Missing key means the startup entry was removed.
- Windows Shared PC Mode: Clears user profiles after sign-out, removing OneDrive startup settings. Disable this mode if auto-start is required for all users.
Why OneDrive Startup Fails After Reboot on Shared Devices
OneDrive for Business uses a startup entry in the Windows registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. This entry launches the OneDrive.exe process with the user-specific sync configuration. On a standard device, this registry key persists across reboots because the user profile remains intact.
On a shared device, the operating system is often configured with a shared PC policy or a guest account setup. These configurations delete the user profile after sign-out. When the profile is deleted, the registry hive for that user is removed. The next user who signs in receives a fresh profile with no OneDrive startup entry. Even if the same user signs back in, the profile may be recreated from a mandatory template that does not include the Registry Run key.
Another common cause is Group Policy or Intune policy that disables OneDrive startup for all users. Administrators may apply a policy to prevent syncing on shared devices, but the side effect is that OneDrive never starts. The user then sees a gray OneDrive icon in the system tray and must launch OneDrive manually each time.
Steps to Restore OneDrive Auto-Start on a Shared Windows Device
Follow these steps to check and fix the OneDrive startup behavior. You need local administrator rights on the device to change shared PC settings. If you are a standard user, contact your IT administrator.
- Open Task Manager and check the Startup tab
Press Ctrl+Shift+Escape to open Task Manager. Click the Startup tab. Find Microsoft OneDrive in the list. If the status is Disabled, right-click the entry and select Enable. Restart the device and verify that OneDrive starts automatically. - Verify the Registry Run key for the current user
Press Win+R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Look for a value named OneDrive. The value data should be “C:\Program Files\Microsoft OneDrive\OneDrive.exe” or similar. If the key is missing, create a new String value named OneDrive with the correct path to OneDrive.exe. Close Registry Editor and reboot. - Disable Shared PC Mode if auto-start is required for all users
Open Settings > Accounts > Other users. Under Shared PC mode, click the Shared or guest PC toggle and set it to Off. If the option is not visible, the device may be managed by Intune or Group Policy. In that case, contact your IT administrator to disable the shared PC policy. - Add OneDrive to the Startup folder for all users
Press Win+R, type shell:common startup, and press Enter. Create a shortcut to OneDrive.exe from C:\Program Files\Microsoft OneDrive\OneDrive.exe. This shortcut launches OneDrive at boot for every user who signs in. Note that each user must still sign in to their own OneDrive account after launch. - Use a logon script to set the Registry Run key
If the device is domain-joined, create a Group Policy logon script that adds the OneDrive registry key under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. The script should run at user logon. This method ensures the startup entry is recreated after a profile reset. Test the script on a single device before deploying broadly.
If OneDrive Still Has Issues After the Main Fix
OneDrive icon is gray and does not open after reboot
A gray OneDrive icon in the system tray means the sync engine is not running. Open File Explorer and navigate to C:\Program Files\Microsoft OneDrive. Double-click OneDrive.exe. If the app launches, the startup entry is missing or corrupted. Re-run the registry check from the steps above. Also check if the Windows service “OneDrive Updater” is set to Automatic. Press Win+R, type services.msc, find OneDrive Updater, and set its startup type to Automatic if it is not already.
OneDrive prompts for sign-in after every reboot
This indicates that the user authentication token is not being saved. On shared devices, the token is stored in the user profile. If the profile is deleted, the token is lost. To reduce sign-in frequency, configure OneDrive to remember credentials. Open OneDrive settings > Account > Unlink this PC. Relink the account and check the box “Remember my credentials” during sign-in. This stores the token in the Windows Credential Manager, which may persist across profile resets depending on policy.
OneDrive sync engine fails to start on a device with no internet
OneDrive requires an internet connection to start. If the device boots without network access, the sync engine may fail to launch. This is expected behavior. Ensure the device has a wired or wireless connection before sign-in. If the device is offline for extended periods, consider using OneDrive Files On-Demand to keep files accessible without syncing.
Startup Methods: Registry Run Key vs Startup Folder vs Scheduled Task
| Item | Registry Run Key | Startup Folder | Scheduled Task |
|---|---|---|---|
| Location | HKCU\Software\Microsoft\Windows\CurrentVersion\Run | C:\Users\[User]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | Task Scheduler library under Microsoft\Windows\OneDrive |
| Persistence after profile reset | Lost when profile is deleted | Lost when profile is deleted | Persists because it is stored in the system task folder |
| Admin rights required to create | No | No | Yes |
| Best for shared devices | No | No | Yes |
Use a scheduled task if the device is shared and you want OneDrive to launch for every user. Create the task with the trigger “At logon of any user” and the action to start OneDrive.exe. This method survives profile resets because the task is stored in the system task folder.
You can now identify why OneDrive fails to start after reboot on shared devices. Check the Startup tab in Task Manager first. If the entry is missing, verify the registry key or use the Startup folder method. For persistent shared devices, create a scheduled task that runs OneDrive at logon for all users. An advanced tip: combine the scheduled task with a Group Policy preference to add the Registry Run key, so that OneDrive also starts if the scheduled task is blocked by security software.