office365 - Automate OneDrive for Business local setup for use with Folder Redirection -


after enabling automatic sign in , mapping drive onedrive business, want take 1 step further in replacing on-premise fileshares:

i want use folder redirection make sure user data stored on onedrive, make sure user data stored on fileserver @ moment.

a direct redirection cloud not possible. possible redirect local onedrive folder data synced cloud.

there challenges in regard:

  1. the user has start 'onedrive business' app setup sync , local folder.
  2. it possible user change default location.

for use folder redirection need make sure:

  1. sync enabled , there is local folder...
  2. this folder needs in same location every user.

i thought quite simple this:

onedrive.exe -sync c:\users\%username%\onedrive 

but no way )-:

turns out executable called 'groove.exe' , resides in office directory.

documentation virtually non-existent, have managed determine following command-line switches:

/clean /clean /runfoldersync /onenotestub: /takeoffline: /trayonly 

running following command starts onedrive business silent , in tray user has right-click , use 'sync new library', not usable!

groove.exe /runfoldersync /trayonly 

the following invokes 'ready sync?'-dialog user can change location , has click 'sync now'. not usable!

groove.exe" /takeoffline: https://contosocom-my.sharepoint.com/personal/%skydriveid%/documents 

would run last command silent , settle default location!

i have been messing prepopulating registry keys created no avail.

anyone?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -