OneDrive for Business

email me

How to install and/or uninstall OneDrive

 

Method 1 – Uninstall only

Acquire OffScrub_O15msi.vbs from Microsoft

Create a simple batch file or VBScript

Pass the “Groove” app to scrip. Example: OffScrub_O15msi.vbs Groove
Note, if you want the Microsoft VBS to be silent, change CMD /K to CMD /C and ,1 to ,0 (inside their script)

 

Method 2


The Commands

Install
Setup.exe /configure OneDrive_Install.xml

Uninstall
Setup.exe /configure OneDrive_Uninstall.xml


The XML Files

Install.xml

<Configuration>

   <Add SourcePath="" OfficeClientEdition="32" >

       <Product ID="GrooveRetail">

       <Language ID="en-us" />

       </Product>

   </Add>

 <!--  <Updates Enabled="FALSE" />  -->

 <!--  <Display Level="None" AcceptEULA="TRUE" />  -->

 <!--  <Logging Level="Standard" Path="%temp%" />  -->

 <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->

</Configuration>

Uninstall.xml contents

<Configuration>

<Remove>
    <Product ID="GrooveRetail" >
	<Language ID="en-us" />
    </Product>
</Remove>

<Display Level="None" AcceptEULA="TRUE" />

</Configuration>