Example #1
0
        public void PerformTask()
        {
            EditWindowsRegistryKeys();
            RemoveSecurityHealthServices();

            Console.WriteLine();

            OperationUtils.RemoveComponentUsingInstallWimTweakIfAllowed("Windows-Defender");
            TryUninstallSecurityCenter();
        }
Example #2
0
        public void PerformTask()
        {
            SystemUtils.KillProcess("onedrive");
            RunOneDriveUninstaller();
            DisableOneDriveViaGroupPolicies();

            SystemUtils.KillProcess("explorer");
            RemoveResidualFiles();
            RemoveResidualRegistryKeys();
            Process.Start("explorer");

            Console.WriteLine();
            OperationUtils.RemoveComponentUsingInstallWimTweakIfAllowed("Microsoft-Windows-OneDrive-Setup");
        }