Deploying Onedrive for Business is straight forward .The command line switches are very simple :"OneDriveSetup.exe" /silent ,but when you create application in Configmgr, there are couple of things that you need to focus on like detection method and install behaviour.
If you search online ,how to deploy onedrive for business using Configmgr, you will get various post however the following method is what i have been using and it works fine . I would like to share the solution in simple steps.
Create application that you do normally but use use the following information to fill detection method ,User experience and install command line .
Install command line:"OneDriveSetup.exe" /silent
Detection method : The version that i deployed to users (user based collection) is 17.3.7076.1026 hence my detection method will look for 17.3.7076.1026. (There is already latest version available yet to deploy )
Onedrive for Business will store the installation files in user profile (C:\Users\eswar.koneti\AppData\Local\Microsoft\OneDrive)
Registry key from user profile for uninstall:
Setting Type: Registry
Hive: HKCU
Key:Software\Microsoft\Windows\CurrentVersion\Uninstall\OneDriveSetup.exe
Value:DisplayVersion
Date Type: String
User Experience:
Requirements:
Choose the OS that you want to install the application . Since this is user based deployment ,would recommended to limit this to workstation OS (windows 7,windows 8 and windows 10 but not to server operating system unless there is need to use onedrive on server OS)
On windows 7, there is no onedrive by default hence you need to install but on windows 10 ,there is onedrive comes with OS however you need to check if the installed onedrive is latest version or not ,if not ,then you can above method to install the latest version.
By installing the latest version (using above method) will remove the old version from user profile and install new version.
Before you use this solution on mass deployment ,deploy this to pilot users (few) and see how this works.
Deploy the application to user collection and you are good.
If you have any issues with this ,post via comment section.
7 Comments
I should have mentioned below site and not this site. I will try your instruction and post feedback by this weekend.
http://www.scconfigmgr.com/2016/05/24/deploy-onedrive-next-generation-sync-client-with-configmgr/#comment-53956
Hi – Will above steps work for a new install of OneDrive for Win 7?
I tried this site and it works – unfortunately i have to run twice to get it installed. First time it fails with exit code 0 and second same exit code but the install is successful.
http://www.scconfigmgr.com/2016/05/24/deploy-onedrive-next-generation-sync-client-with-configmgr/#comment-53956
Thanks
Ram
You say it failed for the first time when you follow my blog post or other site? Give a try with steps given in my blog post, post feedback.
Regards
Eswar
Is this still applicable in Windows 10 nowadays? Assuming you're deploying 1709 now, won't Windows manage this on it's own
Windows 10, you dont as onedrive comes with operating system but for windows 7,you must deploy it. Not everyone moved to windows 10 🙂
Regards,
Eswar
One drive will install in user profile , but how it will work if you select the Install behavior as "Install for system"? I mean which path it will choose if you select as system?
The difference is below:
If you select "Install for User" the installation will run in the User context.
If you select "Install for System", the installation will run in the System context.
Regards,
Eswar