public void PerformTask() { EditWindowsRegistryKeys(); RemoveSecurityHealthServices(); Console.WriteLine(); OperationUtils.RemoveComponentUsingInstallWimTweakIfAllowed("Windows-Defender"); TryUninstallSecurityCenter(); }
public void PerformTask() { SystemUtils.KillProcess("onedrive"); RunOneDriveUninstaller(); DisableOneDriveViaGroupPolicies(); SystemUtils.KillProcess("explorer"); RemoveResidualFiles(); RemoveResidualRegistryKeys(); Process.Start("explorer"); Console.WriteLine(); OperationUtils.RemoveComponentUsingInstallWimTweakIfAllowed("Microsoft-Windows-OneDrive-Setup"); }