
- Uninstall onedrive for business supershell windows 10#
- Uninstall onedrive for business supershell license#
Script location: Browse and import the “EnableAutoConfig on Onedrive.Click Run this script using the logged on credentials = Yes.Script location: Browse and import the “ EnableADAL on Onedrive.ps1″ script.$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\OneDrive" New-ItemProperty -Path $registryPath -Name $name -Value $value `Īnd EnableAutoConfig on Onedrive.ps1 : $registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\OneDrive" New-Item -Path $registryPath -Force | Out-Null $registryPath = "HKCU:\SOFTWARE\Microsoft\OneDrive" Start by creating two powershell scripts – one for the HKCU and one for the HKLM.
Uninstall onedrive for business supershell windows 10#
In a Windows 10 devices that is AzureAD joined and Intune managed – the Intune Management Extension is the easy way to setup OneDrive for Business with Silent Account Configuration. This one will enable files on demand – this will only work on Windows 10 1709, this needs to be set in the computer context. HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\ FilesOnDemandEnabled I just know a CMD method to uninstall OneDrive: Open Command Prompt as Administrator Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter. T his one will enable Silent Account Configuration for OneDrive for business, this needs to be set in the computer context. HKLM:\SOFTWARE\Policies\Microsoft\OneDrive\SilentAccountConfig This one will enable ADAL for OneDrive for business, this needs to be set in the user context.

HKCU:\SOFTWARE\Microsoft\OneDrive\EnableADAL We only need to set to regkeys to get this working – but there is no native way of manipulation with the registre database in Windows – so we just do it with powershell.
Uninstall onedrive for business supershell license#

To silently configure OneDrive for Business there is some pre-requirements In basic it is just a way to run a powershell script on a Intune managed devices once. When we are doing modern management of Windows 10 devices with AzureAD then sometimes we are missing the easy way from group policies preferences, but in Intune we have the Intune Management extension previous known as Project Sidecar.
