Share via


Removing One drive completely from Windows 10 1607 build through Group Policy

Question

Tuesday, October 4, 2016 8:01 AM | 1 vote

Hi,

I want to remove One drive Completely through GPO in Windows 10  1607 version machine. I have implemented GPO for this *Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive>*Prevent the usage of OneDrive for file storage and set its value Enable.

Can any one suggest GPO for implementing the same.

Abhishek

All replies (2)

Wednesday, October 5, 2016 11:44 AM ✅Answered

Hi Abhishek Kr Sinha,

If the main issue is to uninstall the Onedrive app, we also could try the following command line(configure a script).
taskkill /f /im OneDrive.exe
%SystemRoot%\System32\OneDriveSetup.exe /uninstall if you’re using 32-bit Windows 10
or %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall if you’re using 64-bit Windows 10

Best regards

Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected]


Tuesday, October 4, 2016 8:59 AM | 1 vote

The Group Policy would be the same:

Computer Configuration\Policies\Administrative Templates\Windows Components\OneDrive

"Prevent the usage of OneDrive for file storage".

In addition to this I can also recommend configuring this policy to "Disabled":

User Configuration\Policies\Administrative Templates\Miscellaneous\

"Show OneDrive Sign In".

Computer Configuration\Administrative Templates\Windows Components\Skydrive\