This is a blog about a script which removes OneDrive Personal and installs OneDrive Machine (All users) Install. You can use this if you want to deploy OneDrive on Windows Virtual Desktop for example.

Script Syntax

Script Example

Firstly, you can run the script on any machine. It does not matter if OneDrive is running, already installed or not installed. The OneDrive setup located in:

C:\Windows\SysWOW64\OneDriveSetup.exe

Is always available in Windows 10.

When you run the script this is the output:

OneDrive machine install script deployment

References

WVD Delete hostpool script

Flow triggered DevOps Build

OneDrive Microsoft Docs

Related Posts

One thought on “OneDrive Machine Install Script

Leave a Reply