I need to periodically restart onedrive.exe, and I believe a Scheduled Task is appropriate for this problem to kill and then start the process.
However, when onedrive.exe starts this way, I get the welcome message in my notification bar, as well as the OneDrive folder opens, which I would like to avoid. How could I start onedrive.exe in "silent mode"? Is there a command line parameter for this? Documentation is really lacking on this one.
Note:
onedrive.exeis located at
%UserProfile%\AppData\Local\Microsoft\OneDrive\OneDrive.exe
How could I start onedrive.exe so that the welcome message and OneDrive folder do not open as well?