How to remove groove / onedrive for business using office deployment + how to remove onedrive shortcut.
Worked for me. I'm not taking any responsibility – proceed at your own risk.
Logout all users that might be using it.
Open the configuration xml you used to install office and add
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="OneDrive"/>
Within the <product> like this:
<Product ID="O365ProPlusRetail">
<Language ID="he-il" />
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="OneDrive"/>
</Product>
CMD as admin and run setup.exe /configure yourconfigfilename.xml
Then WAIT for it to finish. It won't load a setup screen and might seem unresponsive or as if it's not doing anything, but it does.
After groove/onedrive for business is removed – you'll have an ugly shortcut in file explorer.
To remove it run regedit if search for
{3BA2E6B1-A6A1-CCF6-942C-D370B14D842B}
And change System.IsPinnedToNameSpaceTree value from 1 to 0.
{3BA2E6B1-A6A1-CCF6-942C-D370B14D842B} could be a different value so just search for something that has the following "subfolders":
DefaultIcon
InProcServer32
Instance
ShellFolder
Its supposed to look like this:
Good luck.
