
The DMV is unable to guarantee the accuracy of any translation provided by Google™ Translate and is therefore not liable for any inaccurate information or changes in the formatting of the pages resulting from the use of the translation application tool. Google™ Translate is a free third-party service, which is not controlled by the DMV. This translation application tool is provided for purposes of information and convenience only. # Path for OneDrive.The Department of Motor Vehicles (DMV) website uses Google™ Translate to provide automatic translation of its web pages. # Parameters for the OneDrive installation And then the script does roughly the same.That means that the OneDriveSetup.exe should be put next to the script in the same directory.If used with -SourceFiles parameter, the script assumes local source files.Configures OneDrive to insiders update ring (needed in order to receive future updates for per machine installation).Waits for the OneDriveSetup.exe process to complete.If used with -NoSourceFiles parameter, the script downloads the OneDriveSetup.exe from Microsoft.\ Migrate-OneDrivePerMachine.ps1 -NoSourceFilesĬopy below loveliness and save it as Migrate-OneDrivePerMachine.ps1 Powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File. The easiest approach is obviously using a package with source files similar to below illustration:Īnd with that package, create a program running the actual script:

Using the script with ConfigMgr is straightforward. Notice the desired location in %programfiles(x86)%. This is how it looks prior to the installation in my end:Īnd below illustration is OneDrive after the installation. This is the familiar scenario where OneDrive is installed in the users profile.

Needless to say, using the -NoSourceFiles parameter downloads the OneDriveSetup.exe directly from Microsoft and stores it into Windows\Temp from where it also is installed.

The script basically comes with 2 options: Install with or without source files using the parameter -NoSourceFiles or -SourceFiles The magic lies in the Powershell script found in the very end of the post. Credit where due: I was inspired by Per Larsen’s post on doing the same with Microsoft Intune and like many times before, this brought me to doing something on my own for the sharing and learning experience. The option is currently in preview and all the juicy details are found here: Now, Microsoft has finally given us an option, allowing us to install OneDrive for the device into %programfiles(x86)%. OneDrive in it’s current state in the production ring, is installing into the users profile in %localappdata%, and for equally good reasons that is often not desired by enterprises. Installing the OneDrive for Business client on a per machine basis is an often requested feature and for good reasons.
