Explorar el Código

Updated to 3.2

dead moon hace 7 años
padre
commit
839c615a42
Se han modificado 6 ficheros con 79 adiciones y 6 borrados
  1. 43 3
      Optimizer/MainForm.Designer.cs
  2. 12 0
      Optimizer/MainForm.cs
  3. 19 0
      Optimizer/Optimize.cs
  4. 2 0
      Optimizer/OptimizeForm.cs
  5. 1 1
      Optimizer/Program.cs
  6. 2 2
      README.md

+ 43 - 3
Optimizer/MainForm.Designer.cs

@@ -54,6 +54,8 @@
             this.button1 = new System.Windows.Forms.Button();
             this.button3 = new System.Windows.Forms.Button();
             this.tab10 = new System.Windows.Forms.TabPage();
+            this.button70 = new System.Windows.Forms.Button();
+            this.button69 = new System.Windows.Forms.Button();
             this.button68 = new System.Windows.Forms.Button();
             this.button67 = new System.Windows.Forms.Button();
             this.button7 = new System.Windows.Forms.Button();
@@ -635,6 +637,8 @@
             // tab10
             // 
             this.tab10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
+            this.tab10.Controls.Add(this.button70);
+            this.tab10.Controls.Add(this.button69);
             this.tab10.Controls.Add(this.button68);
             this.tab10.Controls.Add(this.button67);
             this.tab10.Controls.Add(this.button7);
@@ -660,6 +664,40 @@
             this.tab10.TabIndex = 1;
             this.tab10.Text = "Windows 10";
             // 
+            // button70
+            // 
+            this.button70.BackColor = System.Drawing.Color.DodgerBlue;
+            this.button70.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue;
+            this.button70.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue;
+            this.button70.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
+            this.button70.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+            this.button70.ForeColor = System.Drawing.Color.White;
+            this.button70.Location = new System.Drawing.Point(258, 337);
+            this.button70.Margin = new System.Windows.Forms.Padding(2);
+            this.button70.Name = "button70";
+            this.button70.Size = new System.Drawing.Size(234, 39);
+            this.button70.TabIndex = 41;
+            this.button70.Text = "Exclude Drivers from Updates";
+            this.button70.UseVisualStyleBackColor = false;
+            this.button70.Click += new System.EventHandler(this.button70_Click);
+            // 
+            // button69
+            // 
+            this.button69.BackColor = System.Drawing.Color.DodgerBlue;
+            this.button69.FlatAppearance.BorderColor = System.Drawing.Color.DodgerBlue;
+            this.button69.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue;
+            this.button69.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
+            this.button69.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+            this.button69.ForeColor = System.Drawing.Color.White;
+            this.button69.Location = new System.Drawing.Point(18, 337);
+            this.button69.Margin = new System.Windows.Forms.Padding(2);
+            this.button69.Name = "button69";
+            this.button69.Size = new System.Drawing.Size(234, 39);
+            this.button69.TabIndex = 40;
+            this.button69.Text = "Disable My People";
+            this.button69.UseVisualStyleBackColor = false;
+            this.button69.Click += new System.EventHandler(this.button69_Click);
+            // 
             // button68
             // 
             this.button68.BackColor = System.Drawing.Color.DodgerBlue;
@@ -753,7 +791,7 @@
             this.button11.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
             this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.button11.ForeColor = System.Drawing.Color.White;
-            this.button11.Location = new System.Drawing.Point(18, 398);
+            this.button11.Location = new System.Drawing.Point(18, 445);
             this.button11.Margin = new System.Windows.Forms.Padding(2);
             this.button11.Name = "button11";
             this.button11.Size = new System.Drawing.Size(118, 39);
@@ -770,7 +808,7 @@
             this.button43.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
             this.button43.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.button43.ForeColor = System.Drawing.Color.White;
-            this.button43.Location = new System.Drawing.Point(141, 398);
+            this.button43.Location = new System.Drawing.Point(141, 445);
             this.button43.Margin = new System.Windows.Forms.Padding(2);
             this.button43.Name = "button43";
             this.button43.Size = new System.Drawing.Size(111, 39);
@@ -923,7 +961,7 @@
             this.button18.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
             this.button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
             this.button18.ForeColor = System.Drawing.Color.White;
-            this.button18.Location = new System.Drawing.Point(18, 337);
+            this.button18.Location = new System.Drawing.Point(18, 384);
             this.button18.Margin = new System.Windows.Forms.Padding(2);
             this.button18.Name = "button18";
             this.button18.Size = new System.Drawing.Size(234, 39);
@@ -3451,6 +3489,8 @@
         private System.Windows.Forms.Button button34;
         private System.Windows.Forms.Button button68;
         private System.Windows.Forms.Button button67;
+        private System.Windows.Forms.Button button69;
+        private System.Windows.Forms.Button button70;
     }
 }
 

+ 12 - 0
Optimizer/MainForm.cs

@@ -1483,5 +1483,17 @@ namespace Optimizer
             Optimize.DisableSilentAppInstall();
             button67.Enabled = false;
         }
+
+        private void button69_Click(object sender, EventArgs e)
+        {
+            Optimize.DisableMyPeople();
+            button69.Enabled = false;
+        }
+
+        private void button70_Click(object sender, EventArgs e)
+        {
+            Optimize.ExcludeDrivers();
+            button70.Enabled = false;
+        }
     }
 }

+ 19 - 0
Optimizer/Optimize.cs

@@ -293,6 +293,8 @@ namespace Optimizer
         internal static void DisableCortana()
         {
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search", "AllowCortana", "0", RegistryValueKind.DWord);
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search", "DisableWebSearch", "1", RegistryValueKind.DWord);
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search", "ConnectedSearchUseWeb", "0", RegistryValueKind.DWord);
         }
 
         internal static void DisableDataTelemetry()
@@ -325,10 +327,14 @@ namespace Optimizer
             StopService("XboxNetApiSvc");
             StopService("XblAuthManager");
             StopService("XblGameSave");
+            StopService("XboxGipSvc");
+            StopService("xbgm");
 
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxNetApiSvc", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblAuthManager", "Start", "4", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblGameSave", "Start", "4", RegistryValueKind.DWord);
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxGipSvc", "Start", "4", RegistryValueKind.DWord);
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xbgm", "Start", "4", RegistryValueKind.DWord);
 
             RunBatchFile(Required.RequiredFolder + "\\DisableXboxTasks.bat");
         }
@@ -391,6 +397,9 @@ namespace Optimizer
 
         internal static void DisablePrivacyOptions()
         {
+            // Turn off KMS Client Online AVS Validation
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform", "NoGenTicket", "1", RegistryValueKind.DWord);
+
             // General
             Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo", "Enabled", "0", RegistryValueKind.DWord);
             Registry.SetValue(@"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost\EnableWebContentEvaluation", "Enabled", "0", RegistryValueKind.DWord);
@@ -478,5 +487,15 @@ namespace Optimizer
         {
             Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "SilentInstalledAppsEnabled", "0", RegistryValueKind.DWord);
         }
+
+        internal static void DisableMyPeople()
+        {
+            Registry.SetValue(@"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People", "PeopleBand", "0", RegistryValueKind.DWord);
+        }
+
+        internal static void ExcludeDrivers()
+        {
+            Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate", "ExcludeWUDriversInQualityUpdate", "1", RegistryValueKind.DWord);
+        }
     }
 }

+ 2 - 0
Optimizer/OptimizeForm.cs

@@ -88,6 +88,8 @@ namespace Optimizer
                         Optimize.DisableSyncProviderNotifications();
                         Optimize.DisableStartMenuAds();
                         Optimize.DisableSilentAppInstall();
+                        Optimize.DisableMyPeople();
+                        Optimize.ExcludeDrivers();
                     }
                 }
                 catch //(Exception error)

+ 1 - 1
Optimizer/Program.cs

@@ -18,7 +18,7 @@ namespace Optimizer
 
         // Enter current version here
         internal readonly static float Major = 3;
-        internal readonly static float Minor = 1;
+        internal readonly static float Minor = 2;
 
         /* END OF VERSION PROPERTIES */
 

+ 2 - 2
README.md

@@ -33,6 +33,6 @@ Does not work with Windows XP or Vista or Windows Server 2003
 
 ## Version: ##
 
-Latest version: 3.0
+Latest version: 3.1
 
-Released: June 28, 2017
+Released: September 26, 2017