コード例 #1
0
        public void PerformTask()
        {
            EditWindowsRegistryKeys();
            RemoveSecurityHealthServices();

            Console.WriteLine();

            OperationUtils.RemoveComponentUsingInstallWimTweakIfAllowed("Windows-Defender");
            TryUninstallSecurityCenter();
        }
コード例 #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");
        }