From e138802f03d1c040667c6ab48e48bad8832b1b49 Mon Sep 17 00:00:00 2001 From: hellzerg Date: Mon, 11 Dec 2017 14:04:48 +0200 Subject: [PATCH] Updated to 3.6 --- CHANGELOG.md | 5 + Optimizer/MainForm.Designer.cs | 209 ++++++++++-------- Optimizer/MainForm.cs | 8 + Optimizer/Optimize.cs | 2 +- Optimizer/Program.cs | 2 +- Optimizer/Resources/DisableTelemetryTasks.bat | 2 + README.md | 4 +- 7 files changed, 132 insertions(+), 100 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dce88fa3..f6254aca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. +## [3.6] - 2017-12-11 +- Added Select All in UWP uninstaller +- Improved Disable Telemetry Tasks +- Changes to Disable Automatic Updates + ## [3.5] - 2017-11-24 - Added back UWP app uninstaller - Disable Windows Defender also removes tray icon now diff --git a/Optimizer/MainForm.Designer.cs b/Optimizer/MainForm.Designer.cs index ba4fba62..107e0558 100644 --- a/Optimizer/MainForm.Designer.cs +++ b/Optimizer/MainForm.Designer.cs @@ -76,18 +76,19 @@ private void InitializeComponent() this.button21 = new System.Windows.Forms.Button(); this.button18 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button(); + this.windowsVIIITab = new System.Windows.Forms.TabPage(); + this.button12 = new System.Windows.Forms.Button(); + this.button44 = new System.Windows.Forms.Button(); + this.button35 = new System.Windows.Forms.Button(); + this.button36 = new System.Windows.Forms.Button(); this.modernAppsTab = new System.Windows.Forms.TabPage(); + this.chkSelectAllModernApps = new System.Windows.Forms.CheckBox(); this.label28 = new System.Windows.Forms.Label(); this.button74 = new System.Windows.Forms.Button(); this.button75 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.panelModernAppsList = new System.Windows.Forms.Panel(); this.listModernApps = new System.Windows.Forms.CheckedListBox(); - this.windowsVIIITab = new System.Windows.Forms.TabPage(); - this.button12 = new System.Windows.Forms.Button(); - this.button44 = new System.Windows.Forms.Button(); - this.button35 = new System.Windows.Forms.Button(); - this.button36 = new System.Windows.Forms.Button(); this.windowsVIITab = new System.Windows.Forms.TabPage(); this.button19 = new System.Windows.Forms.Button(); this.button45 = new System.Windows.Forms.Button(); @@ -248,9 +249,9 @@ private void InitializeComponent() this.tabCollection.SuspendLayout(); this.universalTab.SuspendLayout(); this.windowsXTab.SuspendLayout(); + this.windowsVIIITab.SuspendLayout(); this.modernAppsTab.SuspendLayout(); this.panelModernAppsList.SuspendLayout(); - this.windowsVIIITab.SuspendLayout(); this.windowsVIITab.SuspendLayout(); this.cleanerTab.SuspendLayout(); this.cleaningpanel.SuspendLayout(); @@ -458,7 +459,7 @@ private void InitializeComponent() this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(187, 31); this.button5.TabIndex = 32; - this.button5.Text = "Disable Office Telemetry"; + this.button5.Text = "Disable Office 2016 Telemetry"; this.button5.UseVisualStyleBackColor = false; this.button5.Click += new System.EventHandler(this.button5_Click); // @@ -1056,9 +1057,93 @@ private void InitializeComponent() this.button9.UseVisualStyleBackColor = false; this.button9.Click += new System.EventHandler(this.button9_Click); // + // windowsVIIITab + // + this.windowsVIIITab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.windowsVIIITab.Controls.Add(this.button12); + this.windowsVIIITab.Controls.Add(this.button44); + this.windowsVIIITab.Controls.Add(this.button35); + this.windowsVIIITab.Controls.Add(this.button36); + this.windowsVIIITab.Location = new System.Drawing.Point(4, 24); + this.windowsVIIITab.Margin = new System.Windows.Forms.Padding(2); + this.windowsVIIITab.Name = "windowsVIIITab"; + this.windowsVIIITab.Padding = new System.Windows.Forms.Padding(2); + this.windowsVIIITab.Size = new System.Drawing.Size(688, 513); + this.windowsVIIITab.TabIndex = 2; + this.windowsVIIITab.Text = "Windows 8.1"; + // + // button12 + // + this.button12.BackColor = System.Drawing.Color.DodgerBlue; + this.button12.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; + this.button12.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; + this.button12.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; + this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button12.ForeColor = System.Drawing.Color.White; + this.button12.Location = new System.Drawing.Point(14, 60); + this.button12.Margin = new System.Windows.Forms.Padding(2); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(94, 31); + this.button12.TabIndex = 34; + this.button12.Text = "Apply All"; + this.button12.UseVisualStyleBackColor = false; + this.button12.Click += new System.EventHandler(this.button12_Click); + // + // button44 + // + this.button44.BackColor = System.Drawing.Color.DodgerBlue; + this.button44.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; + this.button44.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; + this.button44.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; + this.button44.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button44.ForeColor = System.Drawing.Color.White; + this.button44.Location = new System.Drawing.Point(113, 60); + this.button44.Margin = new System.Windows.Forms.Padding(2); + this.button44.Name = "button44"; + this.button44.Size = new System.Drawing.Size(89, 31); + this.button44.TabIndex = 32; + this.button44.Text = "Restart"; + this.button44.UseVisualStyleBackColor = false; + this.button44.Click += new System.EventHandler(this.button44_Click); + // + // button35 + // + this.button35.BackColor = System.Drawing.Color.DodgerBlue; + this.button35.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; + this.button35.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; + this.button35.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; + this.button35.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button35.ForeColor = System.Drawing.Color.White; + this.button35.Location = new System.Drawing.Point(206, 16); + this.button35.Margin = new System.Windows.Forms.Padding(2); + this.button35.Name = "button35"; + this.button35.Size = new System.Drawing.Size(187, 31); + this.button35.TabIndex = 27; + this.button35.Text = "Remove Get Windows 10"; + this.button35.UseVisualStyleBackColor = false; + this.button35.Click += new System.EventHandler(this.button35_Click); + // + // button36 + // + this.button36.BackColor = System.Drawing.Color.DodgerBlue; + this.button36.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; + this.button36.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; + this.button36.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; + this.button36.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button36.ForeColor = System.Drawing.Color.White; + this.button36.Location = new System.Drawing.Point(14, 16); + this.button36.Margin = new System.Windows.Forms.Padding(2); + this.button36.Name = "button36"; + this.button36.Size = new System.Drawing.Size(187, 31); + this.button36.TabIndex = 26; + this.button36.Text = "Disable OneDrive"; + this.button36.UseVisualStyleBackColor = false; + this.button36.Click += new System.EventHandler(this.button36_Click); + // // modernAppsTab // this.modernAppsTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); + this.modernAppsTab.Controls.Add(this.chkSelectAllModernApps); this.modernAppsTab.Controls.Add(this.label28); this.modernAppsTab.Controls.Add(this.button74); this.modernAppsTab.Controls.Add(this.button75); @@ -1071,12 +1156,26 @@ private void InitializeComponent() this.modernAppsTab.TabIndex = 11; this.modernAppsTab.Text = "UWP Apps"; // + // chkSelectAllModernApps + // + this.chkSelectAllModernApps.AutoSize = true; + this.chkSelectAllModernApps.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.chkSelectAllModernApps.ForeColor = System.Drawing.Color.White; + this.chkSelectAllModernApps.Location = new System.Drawing.Point(503, 111); + this.chkSelectAllModernApps.Margin = new System.Windows.Forms.Padding(2); + this.chkSelectAllModernApps.Name = "chkSelectAllModernApps"; + this.chkSelectAllModernApps.Size = new System.Drawing.Size(94, 25); + this.chkSelectAllModernApps.TabIndex = 52; + this.chkSelectAllModernApps.Text = "Select all"; + this.chkSelectAllModernApps.UseVisualStyleBackColor = true; + this.chkSelectAllModernApps.CheckedChanged += new System.EventHandler(this.chkSelectAllModernApps_CheckedChanged); + // // label28 // this.label28.AutoSize = true; this.label28.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label28.ForeColor = System.Drawing.Color.Silver; - this.label28.Location = new System.Drawing.Point(503, 130); + this.label28.Location = new System.Drawing.Point(499, 158); this.label28.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(160, 231); @@ -1159,89 +1258,6 @@ private void InitializeComponent() this.listModernApps.Sorted = true; this.listModernApps.TabIndex = 0; // - // windowsVIIITab - // - this.windowsVIIITab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); - this.windowsVIIITab.Controls.Add(this.button12); - this.windowsVIIITab.Controls.Add(this.button44); - this.windowsVIIITab.Controls.Add(this.button35); - this.windowsVIIITab.Controls.Add(this.button36); - this.windowsVIIITab.Location = new System.Drawing.Point(4, 24); - this.windowsVIIITab.Margin = new System.Windows.Forms.Padding(2); - this.windowsVIIITab.Name = "windowsVIIITab"; - this.windowsVIIITab.Padding = new System.Windows.Forms.Padding(2); - this.windowsVIIITab.Size = new System.Drawing.Size(688, 513); - this.windowsVIIITab.TabIndex = 2; - this.windowsVIIITab.Text = "Windows 8.1"; - // - // button12 - // - this.button12.BackColor = System.Drawing.Color.DodgerBlue; - this.button12.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; - this.button12.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; - this.button12.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; - this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button12.ForeColor = System.Drawing.Color.White; - this.button12.Location = new System.Drawing.Point(14, 60); - this.button12.Margin = new System.Windows.Forms.Padding(2); - this.button12.Name = "button12"; - this.button12.Size = new System.Drawing.Size(94, 31); - this.button12.TabIndex = 34; - this.button12.Text = "Apply All"; - this.button12.UseVisualStyleBackColor = false; - this.button12.Click += new System.EventHandler(this.button12_Click); - // - // button44 - // - this.button44.BackColor = System.Drawing.Color.DodgerBlue; - this.button44.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; - this.button44.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; - this.button44.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; - this.button44.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button44.ForeColor = System.Drawing.Color.White; - this.button44.Location = new System.Drawing.Point(113, 60); - this.button44.Margin = new System.Windows.Forms.Padding(2); - this.button44.Name = "button44"; - this.button44.Size = new System.Drawing.Size(89, 31); - this.button44.TabIndex = 32; - this.button44.Text = "Restart"; - this.button44.UseVisualStyleBackColor = false; - this.button44.Click += new System.EventHandler(this.button44_Click); - // - // button35 - // - this.button35.BackColor = System.Drawing.Color.DodgerBlue; - this.button35.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; - this.button35.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; - this.button35.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; - this.button35.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button35.ForeColor = System.Drawing.Color.White; - this.button35.Location = new System.Drawing.Point(206, 16); - this.button35.Margin = new System.Windows.Forms.Padding(2); - this.button35.Name = "button35"; - this.button35.Size = new System.Drawing.Size(187, 31); - this.button35.TabIndex = 27; - this.button35.Text = "Remove Get Windows 10"; - this.button35.UseVisualStyleBackColor = false; - this.button35.Click += new System.EventHandler(this.button35_Click); - // - // button36 - // - this.button36.BackColor = System.Drawing.Color.DodgerBlue; - this.button36.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue; - this.button36.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue; - this.button36.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue; - this.button36.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button36.ForeColor = System.Drawing.Color.White; - this.button36.Location = new System.Drawing.Point(14, 16); - this.button36.Margin = new System.Windows.Forms.Padding(2); - this.button36.Name = "button36"; - this.button36.Size = new System.Drawing.Size(187, 31); - this.button36.TabIndex = 26; - this.button36.Text = "Disable OneDrive"; - this.button36.UseVisualStyleBackColor = false; - this.button36.Click += new System.EventHandler(this.button36_Click); - // // windowsVIITab // this.windowsVIITab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); @@ -2711,7 +2727,7 @@ private void InitializeComponent() this.panel5.Location = new System.Drawing.Point(11, 40); this.panel5.Margin = new System.Windows.Forms.Padding(2); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(293, 435); + this.panel5.Size = new System.Drawing.Size(293, 441); this.panel5.TabIndex = 82; // // listDesktopItems @@ -2727,7 +2743,7 @@ private void InitializeComponent() this.listDesktopItems.Location = new System.Drawing.Point(0, 0); this.listDesktopItems.Margin = new System.Windows.Forms.Padding(2); this.listDesktopItems.Name = "listDesktopItems"; - this.listDesktopItems.Size = new System.Drawing.Size(291, 433); + this.listDesktopItems.Size = new System.Drawing.Size(291, 439); this.listDesktopItems.TabIndex = 78; // // button60 @@ -3071,7 +3087,7 @@ private void InitializeComponent() this.panel6.Location = new System.Drawing.Point(11, 210); this.panel6.Margin = new System.Windows.Forms.Padding(2); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(271, 264); + this.panel6.Size = new System.Drawing.Size(271, 270); this.panel6.TabIndex = 84; // // listCustomCommands @@ -3087,7 +3103,7 @@ private void InitializeComponent() this.listCustomCommands.Location = new System.Drawing.Point(0, 0); this.listCustomCommands.Margin = new System.Windows.Forms.Padding(2); this.listCustomCommands.Name = "listCustomCommands"; - this.listCustomCommands.Size = new System.Drawing.Size(269, 262); + this.listCustomCommands.Size = new System.Drawing.Size(269, 268); this.listCustomCommands.TabIndex = 79; // // button26 @@ -3437,10 +3453,10 @@ private void InitializeComponent() this.tabCollection.ResumeLayout(false); this.universalTab.ResumeLayout(false); this.windowsXTab.ResumeLayout(false); + this.windowsVIIITab.ResumeLayout(false); this.modernAppsTab.ResumeLayout(false); this.modernAppsTab.PerformLayout(); this.panelModernAppsList.ResumeLayout(false); - this.windowsVIIITab.ResumeLayout(false); this.windowsVIITab.ResumeLayout(false); this.cleanerTab.ResumeLayout(false); this.cleanerTab.PerformLayout(); @@ -3706,6 +3722,7 @@ private void InitializeComponent() private System.Windows.Forms.Button button74; private System.Windows.Forms.Button button75; private System.Windows.Forms.Label label28; + private System.Windows.Forms.CheckBox chkSelectAllModernApps; } } diff --git a/Optimizer/MainForm.cs b/Optimizer/MainForm.cs index 251f5e28..bfa56598 100644 --- a/Optimizer/MainForm.cs +++ b/Optimizer/MainForm.cs @@ -1440,5 +1440,13 @@ private void button74_Click(object sender, EventArgs e) { UninstallModernApps(); } + + private void chkSelectAllModernApps_CheckedChanged(object sender, EventArgs e) + { + for (int i = 0; i < listModernApps.Items.Count; i++) + { + listModernApps.SetItemChecked(i, chkSelectAllModernApps.Checked); + } + } } } diff --git a/Optimizer/Optimize.cs b/Optimizer/Optimize.cs index 28614504..a76c5363 100644 --- a/Optimizer/Optimize.cs +++ b/Optimizer/Optimize.cs @@ -245,7 +245,7 @@ internal static void DisableXboxLive() internal static void DisableAutomaticUpdates() { Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "AUOptions", "2", RegistryValueKind.DWord); - Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "NoAutoUpdate", "1", RegistryValueKind.DWord); + Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU", "NoAutoRebootWithLoggedOnUsers", "1", RegistryValueKind.DWord); Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config", "DODownloadMode", "0", RegistryValueKind.DWord); } diff --git a/Optimizer/Program.cs b/Optimizer/Program.cs index 117b8256..9757126a 100644 --- a/Optimizer/Program.cs +++ b/Optimizer/Program.cs @@ -18,7 +18,7 @@ static class Program // Enter current version here internal readonly static float Major = 3; - internal readonly static float Minor = 5; + internal readonly static float Minor = 6; internal static string GetCurrentVersion() { diff --git a/Optimizer/Resources/DisableTelemetryTasks.bat b/Optimizer/Resources/DisableTelemetryTasks.bat index 2c596941..52e52990 100644 --- a/Optimizer/Resources/DisableTelemetryTasks.bat +++ b/Optimizer/Resources/DisableTelemetryTasks.bat @@ -1,5 +1,7 @@ schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /disable +schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\BthSQM" +schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /disable schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" schtasks /change /tn "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /disable schtasks /end /tn "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" diff --git a/README.md b/README.md index a6f3f5b0..9796df8c 100644 --- a/README.md +++ b/README.md @@ -34,5 +34,5 @@ https://github.com/hellzerg/optimizer/releases ## Details: ## -* Latest version: 3.5 -* Released: November 24, 2017 \ No newline at end of file +* Latest version: 3.6 +* Released: December 11, 2017 \ No newline at end of file