How to deploy Onedrive for Business using Configmgr

 

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)

image

Registry key from user profile for uninstall:

image

Setting Type: Registry

Hive: HKCU

Key:Software\Microsoft\Windows\CurrentVersion\Uninstall\OneDriveSetup.exe

Value:DisplayVersion

Date Type: String

image

User Experience:

image

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 Responses to "How to deploy Onedrive for Business using Configmgr"

    1. 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

      Reply
    1. 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

      Reply
  1. 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?

    Reply
    1. 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

      Reply

Leave a Reply to ramg1967 Cancel reply