How to Run OneDrive 24/7 as a Windows Service with FireDaemon Pro.
Start Microsoft OneDrive automatically when your PC boots. Keep it running in the background, synchronizing your important files continiously even if you never log in.
OneDrive is a file hosting and synchronization service. It's useful for backing up files for safe off-site storage or to share files with others.
OneDrive can be run as a Windows service using FireDaemon Pro. This allows you to start and run OneDrive automatically when Windows boots and before login. FireDaemon Pro also allows you to start multiple instances of OneDrive, monitoring them and automatically restarting those instances in the event they crash. FireDaemon Fusion can also be used to manage your OneDrive service, plus other Windows services via your web browser.
OneDrive Setup Under FireDaemon Pro
Some versions of Microsoft Windows include OneDrive (eg. Windows 10). Also many versions of Microsoft Office include it as well.
- If you don't already have it, Download OneDrive from here.
- After its installed, run OneDrive and log into your Live account or create a new live account.
- Once logged in, edit the settings in OneDrive to your liking. In particular, on the settings tab uncheck "Start OneDrive automatically when I sign into windows"
- OneDrive will not show up in your taskbar or in session 0 when run as a Windows Service using FireDaemon Pro. If you need to edit settings, stop the FireDaemon Pro service and then start up the client manually. Then close the client and start the FireDaemon service again.
- If you need download links to any of your files you will only be able to get them through the OneDrive website.
Step 2: Download and Install FireDaemon Pro
- Download FireDaemon Pro installer
- Double-click installer and follow the installation wizard to complete the installation.
- For more information about installing FireDaemon, see the FireDaemon Pro Users Guide.
Step 4: Set Up OneDrive as a FireDaemon Pro Service
Double click the FireDaemon Pro icon on your desktop, then click on the New (i.e. +) button in the toolbar (or type Ctrl + N) to create a new service. Enter the information into the fields as you see below. Adjust the path names to suit your installation. Note the required parameters.
Next, click on the FireDaemon Pro Settings tab:
Enter appropriate values in the fields on the Settings tab as follows:
- (Required) Logon Account: Enter the Windows account under which the application is to be run, e.g. the current user account.
- Password / Confirm Password: Enter the logon account's password twice.
- (Optional) Interact with Desktop: Interact with Desktop: If this setting is enabled (default), the applications' output messages can be seen in the console window on Windows Session 0. To switch to Session 0, it may be necessary to install FireDaemon Zero and ZeroInput. Alternatively, this setting may be disabled, in which case the application's messages will be hidden.
- (Optional) Priority: To allocate more CPU time to the application, select a higher scheduling priority in this field.
- (Optional) CPU Bindings: To run the application on a specific CPU, specify the appropriate CPU in this field.
Next, click on the Lifecycle tab. Set Shutdown By to Forceful Termination.
Lastly, click the Save and Close (ie. the tick) button on the toolbar. If the service's Startup Type is set to Automatic or Automatic (Delayed-Start), it will start immediately.
Step 5: Verify that OneDrive is Running Correctly
OneDrive's status can easily be checked on the main FireDaemon Pro Services List - look for a Running Status value and a numeric Process ID (PID) value.