Hello,
I'm currently trying to deploy OneDrive throughout our business and trying to set it up to autosync so our Users don't need to do anything when they login to the Workstation. Many of our Users will move from Workstation to Workstation so each machine will have multiple Users.
To deploy OneDrive I found an installation I put into a FileShare and when a computer on the domain starts up it will install OneDrive for Business 2013 so everything is working at that point.
I then found the syncing command that I am able to load into a batch file to launch when a User logins that seems to run before Groove.exe is active so I plan to find a solution for that later. At this point it will ask the User for the email and then a password to finalize the sync. I want to add these credentials to the command and maybe change the Destination folder so that all the Users don't have multiple directories taking up space on the machine.
The command I have to sync currently is:
@echo off"C:\Program Files\Microsoft Office 15\Root\Office15\GROOVE.EXE" /TakeOffline: "grvopen://https_sharepoint_folder_com/_encryption_aahn/700?OPENLIST"
This is loaded into a batch file and sends the grvopen command via GROOVE.exe which prompts for credentials. Is there any syntax I can add to this to make it include the credentials and to change the destination?
If destination is left alone it puts it in the User folder and when 10 Users login that creates 10 copies of OneDrive taking up a huge amount of space. If needed the share folder contains a configuration file for setup that looks like this:
<Configuration><Add SourcePath="\\server\deployment\Office\" OfficeClientEdition="32"><Product ID="GrooveRetail" ><Language ID="en-us" /></Product></Add><Updates Enabled="TRUE" UpdatePath="\\server\deployment\Office\"/><Display Level="Full" AcceptEULA="TRUE" /><Logging Name="OfficeSetup.TXT" Path="%temp%" /><Property Name="AUTOACTIVATE" Value="1" /></Configuration>
I don't think I can add anything to this to sync, change OneDrive default destination for syncing, or to save credentials.
I also took a look at registry values which show the current used signed into Office and things like that but even if I change that some installs of Office365 will be under another User then the one used to sync OneDrive.
Sorry if I made this a little confusing it is hard to explain but help or advice would be much appreciated with setting up this deployment and I'm sure it will help others in the future since I gathered a lot of this from peoples blogs and tested in a test environment. Each User will have Folder redirections so if it can be done via that I would just need to know if it has a registry value or command I can send via a batch file.