自动执行OneDrive for Business本地设置以与文件夹重定向配合使用

时间:2014-06-27 09:03:11

标签: office365 onedrive gpo

成功启用自动登录并将驱动器映射到OneDrive业务后,我想更进一步替换内部部署文件:

我想使用文件夹重定向来确保所有用户数据都存储在OneDrive上,就像我们确保目前所有用户数据都存储在文件服务器上一样。

无法直接重定向到云端。可以重定向到本地OneDrive文件夹,数据将从该文件夹同步到云端。

在这方面存在一些挑战:

  1. 用户必须启动“OneDrive for business”应用程序才能设置 同步和本地文件夹。
  2. 用户可以更改默认位置。
  3. 要与文件夹重定向一起使用,我们需要确保:

    1. 已启用同步,实际上 是本地文件夹...
    2. 此文件夹需要位于每个用户的相同位置。
    3. 我认为这样很简单:

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

      但没办法) - :

      原来可执行文件名为'GROOVE.EXE'并驻留在Office目录中。

      文档几乎不存在,我已设法确定以下命令行开关:

      /clean
      /clean all
      /RunFolderSync
      /OneNoteStub:
      /TakeOffline:
      /TrayOnly
      

      运行以下命令启动OneDrive for business silent和托盘,但用户必须右键单击并使用“同步新库”,不可用!

      GROOVE.EXE /RunFolderSync /TrayOnly
      

      以下调用“准备同步?”对话框,但用户可以更改位置,并且必须单击“立即同步”。也不可用!

      GROOVE.EXE" /TakeOffline: https://contosocom-my.sharepoint.com/personal/%SKYDRIVEID%/Documents
      

      想要运行最后一个命令silent并确定默认位置!

      我一直在搞乱预先填充已创建的注册表项,但无济于事。

      任何?

1 个答案:

答案 0 :(得分:0)

I think a bit of ground information is needed to understand which file to use.

Microsoft have two different applications for syncing with OneDrive. The first (Which is the old one) used to be called SkyDrive and uses the GROOVE.EXE file. The Display name of this is called OneDrive for Business.

This application is just plain horrible and has caused Microsoft a ton of grievance over the years, its cache would get corrupt constantly and require a totalt resync of everything, it would mis-sync and was generally not usable for a work environment. I have seen tons of changes go lost and not be synced properly to OneDrive/Sharepoint from faults, errors and bugs with this application.

For the none Office 365 accounts they used an application simply called OneDrive with the OneDrive.exe as filename.

They then finally made it so that OneDrive.exe could sync with Office 365 (both OneDrive and SharePoint) and deprecated the old GROOVE.EXE.

If you download Office 365 from a new click to run installer it should no longer include OneDrive for Business (GROOVE.EXE).

If your users still use Groove.exe I would recommend that you upgrade them, for a much nicer and supported experience.

Microsoft has a nice article regarding deployment of the OneDrive.exe.

For searching properly in Google for more help be sure to search for either onedrive.exe or "Next Generation Sync Client"