OneDrive is a storage application that allows users to share files. The client can be run as a Windows Service using FireDaemon Pro, which allows you to have the application start automatically at boot prior to login, start multiple instances of the application and more. This HOWTO will show you how to set it up. You can also use Fusion to manage FireDaemon and other Windows services via a web browser.
OneDrive Setup Under FireDaemon Pro
OneDrive is included by default in Windows 10. If you are not using Windows 10, download OneDrive from the Microsoft website here. If you are using Windows 10, skip the next step.
Install the OneDrive client. You cannot choose an install path, the application is installed into your profile directory. Replace "USERNAME" with the Windows Username you are going to install OneDrive as. C:\Users\USERNAME\AppData\Local\Microsoft\OneDrive\OneDrive.exe".
OneDrive needs to be configured from within its GUI so start it normally first and sign in, add your shares, etc. before setting up the service.
Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.
Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note that no parameters are required.
- Executable: C:\Users\USERNAME\AppData\Local\Microsoft\OneDrive\OneDrive.exe
- Working Directory: C:\Users\USERNAME\AppData\Local\Microsoft\OneDrive\
- Parameters: Leave this section blank
Now click on the Settings tab. If you DON'T want to see OneDrive running, uncheck the Interact with Desktop check box & select “Hidden” from the “Show Window” dropdown. You must run OneDrive as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to OneDrive or specify which CPU or core OneDrive will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).
Now click on the OK button to install and start OneDrive!
OneDrive will not appear on the Windows context menu. To get links to files and such you will need to do it from the OneDrive website.
Additionally, after the OneDrive service starts for the first time, you will need to switch to session 0 to set up your OneDrive username and password. You just need to do this once, you don't need to do it every time your computer restarts. Right click the OneDrive service and select the very last option to switch to session 0.