浏览代码

Remove functionality of removing edge - regression update v16.2

deadmoon 1 年之前
父节点
当前提交
c8d4c72c24
共有 41 个文件被更改,包括 13 次插入435 次删除
  1. 0 1
      AUTOMATION.md
  2. 3 0
      CHANGELOG.md
  3. 2 4
      Optimizer/CoreHelper.cs
  4. 0 20
      Optimizer/Forms/MainForm.Designer.cs
  5. 0 10
      Optimizer/Forms/MainForm.cs
  6. 0 3
      Optimizer/Models/SilentConfig.cs
  7. 0 6
      Optimizer/OptimizeHelper.cs
  8. 0 1
      Optimizer/Optimizer.csproj
  9. 1 1
      Optimizer/Program.cs
  10. 0 17
      Optimizer/Properties/Resources.Designer.cs
  11. 0 3
      Optimizer/Properties/Resources.resx
  12. 0 303
      Optimizer/Resources/Scripts/RemoveEdge.bat
  13. 0 2
      Optimizer/Resources/i18n/AR.json
  14. 0 2
      Optimizer/Resources/i18n/BG.json
  15. 0 2
      Optimizer/Resources/i18n/CN.json
  16. 0 2
      Optimizer/Resources/i18n/CZ.json
  17. 0 2
      Optimizer/Resources/i18n/DE.json
  18. 3 5
      Optimizer/Resources/i18n/EL.json
  19. 0 2
      Optimizer/Resources/i18n/EN.json
  20. 0 2
      Optimizer/Resources/i18n/ES.json
  21. 0 2
      Optimizer/Resources/i18n/FA.json
  22. 0 2
      Optimizer/Resources/i18n/FR.json
  23. 0 2
      Optimizer/Resources/i18n/HU.json
  24. 0 2
      Optimizer/Resources/i18n/IT.json
  25. 0 2
      Optimizer/Resources/i18n/JA.json
  26. 0 2
      Optimizer/Resources/i18n/KO.json
  27. 0 2
      Optimizer/Resources/i18n/KU.json
  28. 0 2
      Optimizer/Resources/i18n/NE.json
  29. 0 2
      Optimizer/Resources/i18n/NL.json
  30. 0 2
      Optimizer/Resources/i18n/PL.json
  31. 0 2
      Optimizer/Resources/i18n/PT.json
  32. 0 2
      Optimizer/Resources/i18n/RO.json
  33. 0 2
      Optimizer/Resources/i18n/RU.json
  34. 0 2
      Optimizer/Resources/i18n/TR.json
  35. 0 2
      Optimizer/Resources/i18n/TW.json
  36. 0 2
      Optimizer/Resources/i18n/UA.json
  37. 0 8
      Optimizer/SilentOps.cs
  38. 3 4
      README.md
  39. 0 1
      templates/template-windows10.json
  40. 0 1
      templates/template-windows11.json
  41. 1 1
      version.txt

+ 0 - 1
AUTOMATION.md

@@ -93,7 +93,6 @@ To automate a range of operations using a provided template, follow these steps:
 - `UnlockAllCores`: Leave `null` or `false`.
 - `DisableHPET`: Enable or disable High Precision Event Timer.
 - `EnableLoginVerbose`: Enable or disable Detailed Login Screen.
-- `RemoveMicrosoftEdge`: If `true` removes entirely Microsoft Edge. Cannot be reverted!
 
 #### SvchostProcessSplitting
 - Mark `true` to reduce svchost.exe processes for optimal memory.

+ 3 - 0
CHANGELOG.md

@@ -1,3 +1,6 @@
+## [16.2] - 2023-10-28
+- Regression: 'Remove Microsoft Edge' removed as an option due to too many false positives in VirusTotal
+
 ## [16.1] - 2023-10-21
 - Hotfix: 'Reinforce policies' issues resolved (#401, #402)
 - New: Completely 'Remove Microsoft Edge' option in Advanced Tweaks (cannot be reverted!)

+ 2 - 4
Optimizer/CoreHelper.cs

@@ -48,8 +48,7 @@ namespace Optimizer
             ScriptsFolder + "GPEditEnablerInHome.bat",
             ScriptsFolder + "AddOpenWithCMD.reg",
             ScriptsFolder + "RestoreClassicPhotoViewer.reg",
-            ScriptsFolder + "DisableClassicPhotoViewer.reg",
-            ScriptsFolder + "RemoveEdge.bat"
+            ScriptsFolder + "DisableClassicPhotoViewer.reg"
         };
 
         readonly static string[] scriptFiles =
@@ -66,8 +65,7 @@ namespace Optimizer
             Properties.Resources.GPEditEnablerInHome,
             Properties.Resources.AddOpenWithCMD,
             Properties.Resources.RestoreClassicPhotoViewer,
-            Properties.Resources.DisableClassicPhotoViewer,
-            Properties.Resources.RemoveEdge
+            Properties.Resources.DisableClassicPhotoViewer
         };
 
         internal static void Deploy()

+ 0 - 20
Optimizer/Forms/MainForm.Designer.cs

@@ -133,7 +133,6 @@ namespace Optimizer
             this.label21 = new System.Windows.Forms.Label();
             this.disableOneDriveSw = new Optimizer.ToggleCard();
             this.advancedTab = new System.Windows.Forms.TabPage();
-            this.btnRemoveEdge = new System.Windows.Forms.Button();
             this.btnRestartDisableDefender = new System.Windows.Forms.Button();
             this.btnRestart = new System.Windows.Forms.Button();
             this.btnRestartSafe = new System.Windows.Forms.Button();
@@ -1985,7 +1984,6 @@ namespace Optimizer
             // 
             this.advancedTab.AutoScroll = true;
             this.advancedTab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
-            this.advancedTab.Controls.Add(this.btnRemoveEdge);
             this.advancedTab.Controls.Add(this.btnRestartDisableDefender);
             this.advancedTab.Controls.Add(this.btnRestart);
             this.advancedTab.Controls.Add(this.btnRestartSafe);
@@ -1999,23 +1997,6 @@ namespace Optimizer
             this.advancedTab.TabIndex = 15;
             this.advancedTab.Text = "Advanced";
             // 
-            // btnRemoveEdge
-            // 
-            this.btnRemoveEdge.BackColor = System.Drawing.Color.DodgerBlue;
-            this.btnRemoveEdge.FlatAppearance.BorderSize = 0;
-            this.btnRemoveEdge.FlatAppearance.MouseDownBackColor = System.Drawing.Color.RoyalBlue;
-            this.btnRemoveEdge.FlatAppearance.MouseOverBackColor = System.Drawing.Color.RoyalBlue;
-            this.btnRemoveEdge.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
-            this.btnRemoveEdge.ForeColor = System.Drawing.Color.White;
-            this.btnRemoveEdge.Location = new System.Drawing.Point(17, 103);
-            this.btnRemoveEdge.Margin = new System.Windows.Forms.Padding(2);
-            this.btnRemoveEdge.Name = "btnRemoveEdge";
-            this.btnRemoveEdge.Size = new System.Drawing.Size(414, 31);
-            this.btnRemoveEdge.TabIndex = 89;
-            this.btnRemoveEdge.Text = "Remove Microsoft Edge";
-            this.btnRemoveEdge.UseVisualStyleBackColor = false;
-            this.btnRemoveEdge.Click += new System.EventHandler(this.btnRemoveEdge_Click);
-            // 
             // btnRestartDisableDefender
             // 
             this.btnRestartDisableDefender.BackColor = System.Drawing.Color.DodgerBlue;
@@ -7063,7 +7044,6 @@ namespace Optimizer
         private Button btnSetDns;
         private Button btnReinforce;
         private ToggleCard copilotSw;
-        private Button btnRemoveEdge;
         private MoonCheck chkMenuDelays;
         private MoonCheck chkAllTrayIcons;
         private MoonCheck chkNewsInterest;

+ 0 - 10
Optimizer/Forms/MainForm.cs

@@ -80,7 +80,6 @@ namespace Optimizer
         string _flushDNSMessage = "Are you sure you wish to flush the DNS cache of Windows?\n\nThis will cause internet disconnection for a moment and it may be needed a restart to function properly.";
         string _uwpRestoreMessage = "Are you sure you want to do this?";
         string _reinforcePoliciesMessage = "Are you sure you want to re-apply your current active policies?";
-        string _removeEdgeMessage = "Are you sure you want to remove Microsoft Edge? You cannot revert it later.";
 
         string _byteSizeNullString = " b";
         string _primaryItemTag = "_primary";
@@ -2184,7 +2183,6 @@ namespace Optimizer
                 _uwpRestoreMessage = OptionsHelper.TranslationList["restoreUwpMessage"];
                 _reinforcePoliciesMessage = OptionsHelper.TranslationList["msgReinforce"];
                 _flushDNSMessage = OptionsHelper.TranslationList["flushDNSMessage"];
-                _removeEdgeMessage = OptionsHelper.TranslationList["msgRemoveEdge"];
 
                 listStartupItems.Columns[0].Text = translationList["startupItemName"];
                 listStartupItems.Columns[1].Text = translationList["startupItemLocation"];
@@ -5055,13 +5053,5 @@ namespace Optimizer
                 Application.Restart();
             }
         }
-
-        private void btnRemoveEdge_Click(object sender, EventArgs e)
-        {
-            if (MessageBox.Show(_removeEdgeMessage, "Optimizer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
-            {
-                OptimizeHelper.RemoveMicrosoftEdge();
-            }
-        }
     }
 }

+ 0 - 3
Optimizer/Models/SilentConfig.cs

@@ -49,9 +49,6 @@ namespace Optimizer
         [JsonProperty("UnlockAllCores", NullValueHandling = NullValueHandling.Ignore)]
         public bool? UnlockAllCores { get; set; }
 
-        [JsonProperty("RemoveMicrosoftEdge", NullValueHandling = NullValueHandling.Ignore)]
-        public bool? RemoveMicrosoftEdge { get; set; }
-
         [JsonProperty("SvchostProcessSplitting", NullValueHandling = NullValueHandling.Ignore)]
         public SvchostProcessSplitting SvchostProcessSplitting { get; set; }
     }

+ 0 - 6
Optimizer/OptimizeHelper.cs

@@ -1912,11 +1912,5 @@ namespace Optimizer
             Utilities.RunCommand("schtasks.exe /change /enable /tn \"\\Mozilla\\Firefox Default Browser Agent 308046B0AF4A39CB\"");
             Utilities.RunCommand("schtasks.exe /change /enable /tn \"\\Mozilla\\Firefox Default Browser Agent D2CEEC440E2074BD\"");
         }
-
-        // One-way process, cannot be reverted back!
-        internal static void RemoveMicrosoftEdge()
-        {
-            Utilities.RunBatchFile(CoreHelper.ScriptsFolder + "RemoveEdge.bat");
-        }
     }
 }

+ 0 - 1
Optimizer/Optimizer.csproj

@@ -339,7 +339,6 @@
     <None Include="Resources\i18n\KO.json" />
     <None Include="Resources\Scripts\PowerMenu.reg" />
     <None Include="Resources\i18n\PT.json" />
-    <None Include="Resources\Scripts\RemoveEdge.bat" />
     <None Include="Resources\Scripts\RemoveTakeOwnership.reg" />
     <None Include="Resources\i18n\RU.json" />
     <None Include="Resources\Scripts\RestoreClassicPhotoViewer.reg" />

+ 1 - 1
Optimizer/Program.cs

@@ -13,7 +13,7 @@ namespace Optimizer
         /* VERSION PROPERTIES */
         /* DO NOT LEAVE THEM EMPTY */
         internal readonly static float Major = 16;
-        internal readonly static float Minor = 1;
+        internal readonly static float Minor = 2;
         internal readonly static bool EXPERIMENTAL_BUILD = false;
         /* END OF VERSION PROPERTIES */
 

+ 0 - 17
Optimizer/Properties/Resources.Designer.cs

@@ -1060,23 +1060,6 @@ namespace Optimizer.Properties {
             }
         }
         
-        /// <summary>
-        ///   Looks up a localized string similar to @(set &quot;0=%~f0&quot;^)#) &amp; powershell -nop -c iex([io.file]::ReadAllText($env:0)) &amp; exit /b
-        ///#:: just copy-paste into powershell - it&apos;s a standalone hybrid script
-        ///sp &apos;HKCU:\Volatile Environment&apos; &apos;Edge_Removal&apos; @&apos;
-        ///
-        ///$also_remove_webview = 1
-        ///## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
-        ///$also_remove_widgets = 1
-        ///## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
-        ///$also_remov [rest of string was truncated]&quot;;.
-        /// </summary>
-        internal static string RemoveEdge {
-            get {
-                return ResourceManager.GetString("RemoveEdge", resourceCulture);
-            }
-        }
-        
         /// <summary>
         ///   Looks up a localized string similar to Windows Registry Editor Version 5.00
         ///

+ 0 - 3
Optimizer/Properties/Resources.resx

@@ -340,7 +340,4 @@
   <data name="banner" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\Assets\banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
-  <data name="RemoveEdge" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\Resources\Scripts\RemoveEdge.bat;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
-  </data>
 </root>

+ 0 - 303
Optimizer/Resources/Scripts/RemoveEdge.bat

@@ -1,303 +0,0 @@
-@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
-#:: just copy-paste into powershell - it's a standalone hybrid script
-sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
-
-$also_remove_webview = 1
-## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
-$also_remove_widgets = 1
-## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
-$also_remove_xsocial = 1
-## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap
-
-$host.ui.RawUI.WindowTitle = 'Edge Removal - AveYo, 2023.09.14'
-write-host "Run the script again whenever you need to reinstall and update edge or webview..`n"
-$remove_appx = @("MicrosoftEdge"); $remove_win32 = @("Microsoft Edge","Microsoft Edge Update"); $skip = @() # @("DevTools")
-if ($also_remove_webview -eq 1) {$remove_appx += "Win32WebViewHost"; $remove_win32 += "Microsoft EdgeWebView"}
-if ($also_remove_widgets -eq 1) {$remove_appx += "WebExperience"}
-if ($also_remove_xsocial -eq 1) {$remove_appx += "GamingServices"}
-
-$global:WEBV = $also_remove_webview -eq 1
-$global:IS64 = [Environment]::Is64BitOperatingSystem
-$global:IFEO = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options'
-$global:EDGE_UID = '{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}'
-$global:WEBV_UID = '{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
-$global:UPDT_UID = '{F3C4FE00-EFD5-403B-9569-398A20F1BA4A}'
-$global:PROGRAMS = ($env:ProgramFiles, ${env:ProgramFiles(x86)})[$IS64]
-$global:SOFTWARE = ('SOFTWARE', 'SOFTWARE\WOW6432Node')[$IS64]
-$global:ALLHIVES = 'HKCU:\SOFTWARE','HKLM:\SOFTWARE','HKCU:\SOFTWARE\Policies','HKLM:\SOFTWARE\Policies'
-if ($IS64) { $global:ALLHIVES += "HKCU:\$SOFTWARE","HKLM:\$SOFTWARE","HKCU:\$SOFTWARE\Policies","HKLM:\$SOFTWARE\Policies"}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 1 bonus! enter into powershell console: firefox / edge / webview to install a browser / reinstall edge / webview after removal
-function global:firefox { $url = 'https://download.mozilla.org/?product=firefox-stub'
-  $setup = "$((new-object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path)\Firefox Installer.exe"
-  write-host $url; Invoke-WebRequest $url -OutFile $setup; start $setup
-}
-function global:edge { $url = 'https://go.microsoft.com/fwlink/?linkid=2108834&Channel=Stable&language=en'
-  $setup = "$((new-object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path)\MicrosoftEdgeSetup.exe"
-  write-host $url; Invoke-WebRequest $url -OutFile $setup; PREPARE_EDGE; start $setup
-}
-function global:webview { $url = 'https://go.microsoft.com/fwlink/p/?LinkId=2124703'
-  $setup = "$((new-object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path)\MicrosoftEdgeWebview2Setup.exe"
-  write-host $url; Invoke-WebRequest $url -OutFile $setup; PREPARE_WEBVIEW; start $setup
-}
-function global:xsocial { $url = 'https://dlassets-ssl.xboxlive.com/public/content/XboxInstaller/XboxInstaller.exe'
-  $setup = "$((new-object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path)\XboxInstaller.exe"
-  write-host $url; Invoke-WebRequest $url -OutFile $setup; PREPARE_WEBVIEW; start $setup
-}
-
-## helper for set-itemproperty remove-itemproperty new-item remove-item with auto test-path
-function global:sp_test_path { if (test-path $args[0]) {Microsoft.PowerShell.Management\Set-ItemProperty @args} else {
-  Microsoft.PowerShell.Management\New-Item $args[0] -force -ea 0 >''; Microsoft.PowerShell.Management\Set-ItemProperty @args} }
-function global:rp_test_path { if (test-path $args[0]) {Microsoft.PowerShell.Management\Remove-ItemProperty @args} }
-function global:ni_test_path { if (-not (test-path $args[0])) {Microsoft.PowerShell.Management\New-Item @args} }
-function global:ri_test_path { if (test-path $args[0]) {Microsoft.PowerShell.Management\Remove-Item @args} }
-foreach ($f in 'sp','rp','ni','ri') {set-alias -Name $f -Value "${f}_test_path" -Scope Local -Option AllScope -force -ea 0}
-
-## helper for edgeupdate reinstall
-function global:PREPARE_UPDT($cdp='msedgeupdate', $uid=$UPDT_UID) {
-  foreach ($f in 'sp','rp','ni','ri') {set-alias -Name $f -Value "${f}_test_path" -Scope Local -Option AllScope -force -ea 0}
-  foreach ($sw in $ALLHIVES) { 
-    rp "$sw\Microsoft\EdgeUpdate" 'DoNotUpdateToEdgeWithChromium' -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate" 'UpdaterExperimentationAndConfigurationServiceControl' -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate" "InstallDefault" -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate" "Install${uid}" -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate" "EdgePreview${uid}" -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate" "Update${uid}" -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdate\ClientState\*" 'experiment_control_labels' -force -ea 0 
-    ri "$sw\Microsoft\EdgeUpdate\Clients\${uid}\Commands" -recurse -force -ea 0
-    rp "$sw\Microsoft\EdgeUpdateDev\CdpNames" "$cdp-*" -force -ea 0
-    sp "$sw\Microsoft\EdgeUpdateDev" 'CanContinueWithMissingUpdate' 1 -type Dword -force
-    sp "$sw\Microsoft\EdgeUpdateDev" 'AllowUninstall' 1 -type Dword -force
-  }
-}
-## helper for edge reinstall - remove bundled OpenWebSearch redirector and edgeupdate policies
-function global:PREPARE_EDGE {
-  foreach ($f in 'sp','rp','ni','ri') {set-alias -Name $f -Value "${f}_test_path" -Scope Local -Option AllScope -force -ea 0}
-  PREPARE_UPDT 'msedge' $EDGE_UID; PREPARE_UPDT 'msedgeupdate' $UPDT_UID 
-  $MSEDGE = "$PROGRAMS\Microsoft\Edge\Application\msedge.exe"
-  ri "$IFEO\msedge.exe" -recurse -force; ri "$IFEO\ie_to_edge_stub.exe" -recurse -force
-  ri 'Registry::HKEY_Users\S-1-5-21*\Software\Classes\microsoft-edge' -recurse -force
-  sp 'HKLM:\SOFTWARE\Classes\microsoft-edge\shell\open\command' '(Default)' "`"$MSEDGE`" --single-argument %%1" -force
-  ri 'Registry::HKEY_Users\S-1-5-21*\Software\Classes\MSEdgeHTM' -recurse -force
-  sp 'HKLM:\SOFTWARE\Classes\MSEdgeHTM\shell\open\command' '(Default)' "`"$MSEDGE`" --single-argument %%1" -force
-}
-## helper for webview reinstall - restore webexperience (widgets) if available
-function global:PREPARE_WEBVIEW {
-  PREPARE_UPDT 'msedgewebview' $WEBV_UID; PREPARE_UPDT 'msedgeupdate' $UPDT_UID
-  $cfg = @{Register=$true; ForceApplicationShutdown=$true; ForceUpdateFromAnyVersion=$true; DisableDevelopmentMode=$true} 
-  dir "$env:SystemRoot\SystemApps\Microsoft.Win32WebViewHost*\AppxManifest.xml" -rec -ea 0 | Add-AppxPackage @cfg
-  dir "$env:ProgramFiles\WindowsApps\MicrosoftWindows.Client.WebExperience*\AppxManifest.xml" -rec -ea 0 | Add-AppxPackage @cfg
-  kill -name explorer -ea 0; if ((get-process -name 'explorer' -ea 0) -eq $null) {start explorer}
-}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 2 enable admin privileges
-$D1=[uri].module.gettype('System.Diagnostics.Process')."GetM`ethods"(42) |where {$_.Name -eq 'SetPrivilege'} #`:no-ev-warn
-'SeSecurityPrivilege','SeTakeOwnershipPrivilege','SeBackupPrivilege','SeRestorePrivilege'|foreach {$D1.Invoke($null, @("$_",2))}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 3 shut down edge & webview clone stuff
-cd $env:systemdrive; taskkill /im explorer.exe /f 2>&1 >''
-$shut = 'explorer','Widgets','widgetservice','msedgewebview2','MicrosoftEdge*','chredge','msedge','edge'
-$shut,'msteams','msfamily','WebViewHost','Clipchamp' |foreach {kill -name $_ -force -ea 0}
-
-## clear win32 uninstall block
-foreach ($name in $remove_win32) { foreach ($sw in $ALLHIVES) {
-  $key = "$sw\Microsoft\Windows\CurrentVersion\Uninstall\$name"; if (-not (test-path $key)) {continue}
-  foreach ($val in 'NoRemove','NoModify','NoRepair') {rp $key $val -force -ea 0}
-  foreach ($val in 'ForceRemove','Delete') {sp $key $val 1 -type Dword -force}
-}}
-PREPARE_EDGE
-
-## find all Edge setup.exe and gather BHO paths for OpenWebSearch / MSEdgeRedirect usage
-$edges = @(); $bho = @(); $edgeupdates = @(); 'LocalApplicationData','ProgramFilesX86','ProgramFiles' |foreach {
-  $folder = [Environment]::GetFolderPath($_); $bho += dir "$folder\Microsoft\Edge*\ie_to_edge_stub.exe" -rec -ea 0
-  if ($WEBV) {$edges += dir "$folder\Microsoft\Edge*\setup.exe" -rec -ea 0 |where {$_ -like '*EdgeWebView*'}}
-  $edges += dir "$folder\Microsoft\Edge*\setup.exe" -rec -ea 0 |where {$_ -notlike '*EdgeWebView*'}
-  $edgeupdates += dir "$folder\Microsoft\EdgeUpdate\*.*.*.*\MicrosoftEdgeUpdate.exe" -rec -ea 0
-}
-
-## export OpenWebSearch innovative redirector - used by MSEdgeRedirect as well
-$DIR = "$env:SystemDrive\Scripts"; mkdir $DIR -ea 0 >''
-foreach ($b in $bho) { if (test-path $b) { try {copy $b "$DIR\ie_to_edge_stub.exe" -force -ea 0} catch{} } }
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 4 remove found *Edge* appx packages with unblock tricks
-$provisioned = get-appxprovisionedpackage -online; $appxpackage = get-appxpackage -allusers; $eol = @()
-$store = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore'
-$users = @('S-1-5-18'); if (test-path $store) {$users += $((dir $store -ea 0 |where {$_ -like '*S-1-5-21*'}).PSChildName)}
-foreach ($choice in $remove_appx) { if ('' -eq $choice.Trim()) {continue}
-  foreach ($appx in $($provisioned |where {$_.PackageName -like "*$choice*"})) {
-    $next = !1; foreach ($no in $skip) {if ($appx.PackageName -like "*$no*") {$next = !0}} ; if ($next) {continue}
-    $PackageName = $appx.PackageName; $PackageFamilyName = ($appxpackage |where {$_.Name -eq $appx.DisplayName}).PackageFamilyName 
-    ni "$store\Deprovisioned\$PackageFamilyName" -force >''; $PackageFamilyName  
-    foreach ($sid in $users) {ni "$store\EndOfLife\$sid\$PackageName" -force >''} ; $eol += $PackageName
-    dism /online /set-nonremovableapppolicy /packagefamily:$PackageFamilyName /nonremovable:0 >''
-    remove-appxprovisionedpackage -packagename $PackageName -online -allusers >''
-  }
-  foreach ($appx in $($appxpackage |where {$_.PackageFullName -like "*$choice*"})) {
-    $next = !1; foreach ($no in $skip) {if ($appx.PackageFullName -like "*$no*") {$next = !0}} ; if ($next) {continue}
-    $PackageFullName = $appx.PackageFullName; 
-    ni "$store\Deprovisioned\$appx.PackageFamilyName" -force >''; $PackageFullName
-    foreach ($sid in $users) {ni "$store\EndOfLife\$sid\$PackageFullName" -force >''} ; $eol += $PackageFullName
-    dism /online /set-nonremovableapppolicy /packagefamily:$PackageFamilyName /nonremovable:0 >''
-    remove-appxpackage -package $PackageFullName -allusers >''
-  }
-}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 5 run found *Edge* setup.exe with uninstall args and wait in-between
-foreach ($setup in $edges) { if (-not (test-path $setup)) {continue}
-  if ($setup -like '*EdgeWebView*') {$target = "--msedgewebview"} else {$target = "--msedge"}
-  $sulevel = ('--system-level','--user-level')[$setup -like '*\AppData\Local\*']
-  $removal = "--uninstall $target $sulevel --verbose-logging --force-uninstall"
-  try {write-host $setup $removal; start -wait $setup -args $removal} catch {}
-  do {sleep 3} while ((get-process -name 'setup','MicrosoftEdge*' -ea 0).Path -like '*\Microsoft\Edge*')
-}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## msi installers cleanup
-gp 'HKLM:\SOFTWARE\Classes\Installer\Products\*' 'ProductName' |where {$_.ProductName -like '*Microsoft Edge*'} |foreach { 
-  $prod = ($_.PSChildName -split '(.{8})(.{4})(.{4})(.{4})' -join '-').trim('-')
-  $sort = 7,6,5,4,3,2,1,0,8,12,11,10,9,13,17,16,15,14,18,20,19,22,21,23,25,24,27,26,29,28,31,30,33,32,35,34
-  $code = '{' + -join ($sort |foreach {$prod[$_]}) + '}'; start -wait msiexec.exe -args "/X$code /qn" 2>''
-  ri $_.PSPath -recurse -force
-  foreach ($sw in $ALLHIVES) {ri "$sw\Microsoft\Windows\CurrentVersion\Uninstall\$code" -recurse -force}  
-} 
-
-## 6 edgeupdate graceful cleanup
-if ($WEBV) {
-  foreach ($sw in $ALLHIVES) {ri "$sw\Microsoft\EdgeUpdate" -recurse -force}  
-  foreach ($UPDT in $edgeupdates) { 
-    if (test-path $UPDT) {write-host "$UPDT /unregsvc";  start -wait $UPDT -args '/unregsvc'}
-    do {sleep 3} while ((get-process -name 'setup','MicrosoftEdge*' -ea 0).Path -like '*\Microsoft\Edge*')
-    if (test-path $UPDT) {write-host "$UPDT /uninstall"; start -wait $UPDT -args '/uninstall'}
-    do {sleep 3} while ((get-process -name 'setup','MicrosoftEdge*' -ea 0).Path -like '*\Microsoft\Edge*')
-  }
-  Unregister-ScheduledTask -TaskName MicrosoftEdgeUpdate* -Confirm:$false -ea 0; ri "$PROGRAMS\Microsoft\Temp" -recurse -force
-} 
-$appdata = $([Environment]::GetFolderPath('ApplicationData'))
-ri "$appdata\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Tombstones\Microsoft Edge.lnk" -force
-ri "$appdata\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge.lnk" -force
-
-## undo eol unblock trick to prevent latest cumulative update (LCU) failing 
-foreach ($sid in $users) { foreach ($PackageName in $eol) {ri "$store\EndOfLife\$sid\$PackageName" -force >''} }
-
-## .i. "Update policies are configured but will be ignored because this device isn't domain joined" .i.
-$uids = @($EDGE_UID); $cdps = @('msedge'); if ($WEBV) {$uids += $WEBV_UID; $cdps += 'msedgewebview'} 
-foreach ($sw in $ALLHIVES) {
-  sp "$sw\Microsoft\EdgeUpdate" 'DoNotUpdateToEdgeWithChromium' 1 -type Dword -force
-  sp "$sw\Microsoft\EdgeUpdate" 'UpdaterExperimentationAndConfigurationServiceControl' 0 -type Dword -force
-  sp "$sw\Microsoft\EdgeUpdate" 'InstallDefault' 0 -type Dword -force
-  foreach ($uid in $uids) {  
-    sp "$sw\Microsoft\EdgeUpdate" "Install${uid}" 0 -type Dword -force
-    sp "$sw\Microsoft\EdgeUpdate" "EdgePreview${uid}" 0 -type Dword -force
-    sp "$sw\Microsoft\EdgeUpdate" "Update${uid}" 2 -type Dword -force
-    foreach ($trigger in 'on-os-upgrade','on-logon','on-logon-autolaunch','on-logon-startup-boost') {
-      sp "$sw\Microsoft\EdgeUpdate\Clients\${uid}\Commands\$trigger" 'AutoRunOnLogon' 0 -type Dword -force
-      sp "$sw\Microsoft\EdgeUpdate\Clients\${uid}\Commands\$trigger" 'AutoRunOnOSUpgrade' 0 -type Dword -force
-      sp "$sw\Microsoft\EdgeUpdate\Clients\${uid}\Commands\$trigger" 'Enabled' 0 -type Dword -force
-    }
-  }
-  sp "$sw\Microsoft\MicrosoftEdge\Main" 'AllowPrelaunch' 0 -type Dword -force
-  sp "$sw\Microsoft\MicrosoftEdge\TabPreloader" 'AllowTabPreloading' 0 -type Dword -force
-  ## microsoft has no shame, so we are gonna insist opting-out of unsolicited reinstalls with windows updates
-  foreach ($cdp in $cdps) { foreach ($arch in 'x64','x86') { foreach ($zdp in '','-zdp') {
-    sp "$sw\Microsoft\EdgeUpdateDev\CdpNames" "$cdp-stable-win-$arch$zdp" "$cdp-stable-win-arm64$zdp" -force
-  }}}
-}
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 7 add bundled OpenWebSearch script to redirect microsoft-edge: anti-competitive links to the default browser
-$MSEP = ($env:ProgramFiles,${env:ProgramFiles(x86)})[[Environment]::Is64BitOperatingSystem] + '\Microsoft\Edge\Application'
-$IFEO = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options'
-$MIN = ('--headless','--width 1 --height 1')[([environment]::OSVersion.Version.Build) -gt 25179]
-$CMD = "$env:systemroot\system32\conhost.exe $MIN" # AveYo: minimize prompt - see Terminal issue #13914
-ni "HKLM:\SOFTWARE\Classes\microsoft-edge\shell\open\command" -force >''
-sp "HKLM:\SOFTWARE\Classes\microsoft-edge" '(Default)' 'URL:microsoft-edge' -force
-sp "HKLM:\SOFTWARE\Classes\microsoft-edge" 'URL Protocol' '' -force
-sp "HKLM:\SOFTWARE\Classes\microsoft-edge" 'NoOpenWith' '' -force
-sp "HKLM:\SOFTWARE\Classes\microsoft-edge\shell\open\command" '(Default)' "`"$DIR\ie_to_edge_stub.exe`" %1" -force
-ni "HKLM:\SOFTWARE\Classes\MSEdgeHTM\shell\open\command" -force >''
-sp "HKLM:\SOFTWARE\Classes\MSEdgeHTM" 'NoOpenWith' '' -force
-sp "HKLM:\SOFTWARE\Classes\MSEdgeHTM\shell\open\command" '(Default)' "`"$DIR\ie_to_edge_stub.exe`" %1" -force
-ni "$IFEO\ie_to_edge_stub.exe\0" -force >''
-sp "$IFEO\ie_to_edge_stub.exe" 'UseFilter' 1 -type Dword -force
-sp "$IFEO\ie_to_edge_stub.exe\0" 'FilterFullPath' "$DIR\ie_to_edge_stub.exe" -force
-sp "$IFEO\ie_to_edge_stub.exe\0" 'Debugger' "$CMD $DIR\OpenWebSearch.cmd" -force
-ni "$IFEO\msedge.exe\0" -force >''
-sp "$IFEO\msedge.exe" 'UseFilter' 1 -type Dword -force
-sp "$IFEO\msedge.exe\0" 'FilterFullPath' "$MSEP\msedge.exe" -force
-sp "$IFEO\msedge.exe\0" 'Debugger' "$CMD $DIR\OpenWebSearch.cmd" -force
-## new: automatically re-create the needed hardlink if edge is reinstalled
-$ta = New-ScheduledTaskAction -Execute '%Temp%\OpenWebSearchRepair.cmd'
-$tt = New-ScheduledTaskTrigger -Once -At 00:00; $ts = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries
-Register-ScheduledTask -TaskName 'OpenWebSearchRepair' -Action $ta -Trigger $tt -Settings $ts -RunLevel Highest -Force >''
-
-$OpenWebSearch = @$
-@title OpenWebSearch Redux & echo off & set ?= open start menu web search, widgets links or help in your chosen browser - by AveYo
-for /f %%E in ('"prompt $E$S& for %%e in (1) do rem"') do echo;%%E[2t 2>nul & rem AveYo: minimize prompt
-call :reg_var "HKCU\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice" ProgID ProgID
-if /i "%ProgID%" equ "MSEdgeHTM" echo;Default browser is set to Edge! Change it or remove OpenWebSearch script. & pause & exit /b
-call :reg_var "HKCR\%ProgID%\shell\open\command" "" Browser
-set Choice=& for %%. in (%Browser%) do if not defined Choice set "Choice=%%~."
-call :reg_var "HKCR\MSEdgeMHT\shell\open\command" "" FallBack
-set "Edge=" & for %%. in (%FallBack%) do if not defined Edge set "Edge=%%~."
-set "URI=" & set "URL=" & set "NOOP=" & set "PassTrough=%Edge:msedge=edge%"
-set "CLI=%CMDCMDLINE:"=``% "
-if defined CLI set "CLI=%CLI:*ie_to_edge_stub.exe`` =%"
-if defined CLI set "CLI=%CLI:*ie_to_edge_stub.exe =%"
-if defined CLI set "CLI=%CLI:*msedge.exe`` =%"
-if defined CLI set "CLI=%CLI:*msedge.exe =%"
-set "FIX=%CLI:~-1%"
-if defined CLI if "%FIX%"==" " set "CLI=%CLI:~0,-1%"
-if defined CLI set "RED=%CLI:microsoft-edge=%"
-if defined CLI set "URL=%CLI:http=%"
-if defined CLI set "ARG=%CLI:``="%"
-if "%CLI%" equ "%RED%" (set NOOP=1) else if "%CLI%" equ "%URL%" (set NOOP=1)
-if defined NOOP if not exist "%PassTrough%" echo;@mklink /h "%PassTrough%" "%Edge%" >"%Temp%\OpenWebSearchRepair.cmd"
-if defined NOOP if not exist "%PassTrough%" schtasks /run /tn OpenWebSearchRepair 2>nul >nul
-if defined NOOP if not exist "%PassTrough%" timeout /t 3 >nul
-if defined NOOP if exist "%PassTrough%" start "" "%PassTrough%" %ARG%
-if defined NOOP exit /b
-set "URL=%CLI:*microsoft-edge=%"
-set "URL=http%URL:*http=%"
-set "FIX=%URL:~-2%"
-if defined URL if "%FIX%"=="``" set "URL=%URL:~0,-2%"
-call :dec_url
-start "" "%Choice%" "%URL%"
-exit
-
-:reg_var [USAGE] call :reg_var "HKCU\Volatile Environment" value-or-"" variable [extra options]
-set {var}=& set {reg}=reg query "%~1" /v %2 /z /se "," /f /e& if %2=="" set {reg}=reg query "%~1" /ve /z /se "," /f /e
-for /f "skip=2 tokens=* delims=" %%V in ('%{reg}% %4 %5 %6 %7 %8 %9 2^>nul') do if not defined {var} set "{var}=%%V"
-if not defined {var} (set {reg}=& set "%~3="& exit /b) else if %2=="" set "{var}=%{var}:*)    =%"& rem AveYo: v3
-if not defined {var} (set {reg}=& set "%~3="& exit /b) else set {reg}=& set "%~3=%{var}:*)    =%"& set {var}=& exit /b
-
-:dec_url brute url percent decoding by AveYo
-set ".=%URL:!=}%"&setlocal enabledelayedexpansion& rem brute url percent decoding
-set ".=!.:%%={!" &set ".=!.:{3A=:!" &set ".=!.:{2F=/!" &set ".=!.:{3F=?!" &set ".=!.:{23=#!" &set ".=!.:{5B=[!" &set ".=!.:{5D=]!"
-set ".=!.:{40=@!"&set ".=!.:{21=}!" &set ".=!.:{24=$!" &set ".=!.:{26=&!" &set ".=!.:{27='!" &set ".=!.:{28=(!" &set ".=!.:{29=)!"
-set ".=!.:{2A=*!"&set ".=!.:{2B=+!" &set ".=!.:{2C=,!" &set ".=!.:{3B=;!" &set ".=!.:{3D==!" &set ".=!.:{25=%%!"&set ".=!.:{20= !"
-set ".=!.:{=%%!" &rem set ",=!.:%%=!" & if "!,!" neq "!.!" endlocal& set "URL=%.:}=!%" & call :dec_url
-endlocal& set "URL=%.:}=!%" & exit /b
-rem done
-
-$@
-[io.file]::WriteAllText("$DIR\OpenWebSearch.cmd", $OpenWebSearch)
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 8 done
-$done = gp 'Registry::HKEY_Users\S-1-5-21*\Volatile*' Edge_Removal -ea 0; if ($done) {rp $done.PSPath Edge_Removal -force -ea 0}
-if ((get-process -name 'explorer' -ea 0) -eq $null) {start explorer}
-
-## bonus enter into powershell console: firefox / edge / webview to install a browser / reinstall edge or webview after removal
-${.} = [char]27; $firefox = "${.}[38;2;255;165;0m firefox"; $reinstall = "${.}[96m edge / webview / xsocial${.}[97m "
-write-host "`n${.}[40;32m EDGE REMOVED! ${.}[97m -GET-ANOTHER-BROWSER? ENTER:$firefox ${.}[97m -REINSTALL? ENTER:$reinstall"
-## -------------------------------------------------------------------------------------------------------------------------------
-
-## 0 ask to run script as admin
-'@.replace("$@","'@").replace("@$","@'") -force -ea 0; $code='gp ''Registry::HKEY_Users\S-1-5-21*\Volatile*'' Edge_Removal -ea 0'
-start powershell -args "-nop -noe -c & {iex(($code)[0].Edge_Removal)}" -verb runas
-#::

+ 0 - 2
Optimizer/Resources/i18n/AR.json

@@ -466,8 +466,6 @@
     "copilotTip": "يعطل ميزة CoPilot AI تمامًا.",
 	"btnReinforce": "تعزيز السياسات",
 	"msgReinforce": "هل أنت متأكد من رغبتك في إعادة تطبيق السياسات الحالية؟",
-	"btnRemoveEdge": "إزالة Microsoft Edge",
-	"msgRemoveEdge": "هل أنت متأكد من رغبتك في إزالة Microsoft Edge؟ لا يمكنك التراجع عن ذلك لاحقًا.",
 	"chkNewsInterest": "تعطيل الأخبار والاهتمامات",
 	"chkAllTrayIcons": "عرض جميع الرموز في منطقة العلبة",
 	"chkMenuDelays": "إزالة تأخيرات القائمة"

+ 0 - 2
Optimizer/Resources/i18n/BG.json

@@ -466,8 +466,6 @@
 	"copilotTip": "Изцяло изключва функцията CoPilot AI",
 	"btnReinforce": "Укрепете политиките",
 	"msgReinforce": "Сигурни ли сте, че искате да приложите отново текущите си политики?",
-	"btnRemoveEdge": "Премахни Microsoft Edge",
-	"msgRemoveEdge": "Сигурни ли сте, че искате да премахнете Microsoft Edge? Това действие не може да бъде отменено по-късно.",
 	"chkNewsInterest": "Изключване на новина и интерес",
 	"chkAllTrayIcons": "Показване на всички икони в областта на лентата",
 	"chkMenuDelays": "Премахване на забавянията в менюто"

+ 0 - 2
Optimizer/Resources/i18n/CN.json

@@ -465,8 +465,6 @@
     "copilotTip": "完全关闭 CoPilot AI 功能。",
 	"btnReinforce": "强化政策",
 	"msgReinforce": "您确定要重新应用当前的政策吗?",
-	"btnRemoveEdge": "删除 Microsoft Edge",
-  	"msgRemoveEdge": "您确定要删除 Microsoft Edge 吗?以后无法还原。",
 	"chkNewsInterest": "禁用新闻和兴趣",
 	"chkAllTrayIcons": "显示所有托盘图标",
 	"chkMenuDelays": "删除菜单延迟"

+ 0 - 2
Optimizer/Resources/i18n/CZ.json

@@ -466,8 +466,6 @@ Má to negativní vliv na výkon.",
     "copilotTip": "Úplně vypne funkci CoPilot AI.",
 	"btnReinforce": "Posílit politiky",
 	"msgReinforce": "Opravdu si přejete znovu použít své stávající politiky?",
-	"btnRemoveEdge": "Odstranit Microsoft Edge",
-  	"msgRemoveEdge": "Jste si jisti, že chcete odstranit Microsoft Edge? Později to nebudete moci vrátit.",
 	"chkNewsInterest": "Vypnout Novinky a Zájmy",
 	"chkAllTrayIcons": "Zobrazit všechny ikony v oznamovací oblasti",
 	"chkMenuDelays": "Odstranit zpoždění v menu"

+ 0 - 2
Optimizer/Resources/i18n/DE.json

@@ -440,8 +440,6 @@
     "copilotTip": "Deaktiviert die CoPilot AI-Funktion vollständig.",
 	"btnReinforce": "Richtlinien verstärken",
 	"msgReinforce": "Sind Sie sicher, dass Sie Ihre aktuellen Richtlinien erneut anwenden möchten?",
-	"btnRemoveEdge": "Microsoft Edge entfernen",
-  	"msgRemoveEdge": "Sind Sie sicher, dass Sie Microsoft Edge entfernen möchten? Sie können es später nicht rückgängig machen.",
 	"chkNewsInterest": "News & Interessen deaktivieren",
 	"chkAllTrayIcons": "Alle Tray-Symbole anzeigen",
 	"chkMenuDelays": "Menüverzögerungen entfernen"

+ 3 - 5
Optimizer/Resources/i18n/EL.json

@@ -461,9 +461,7 @@
     "copilotTip": "Απενεργοποιεί πλήρως το χαρακτηριστικό CoPilot AI.",
 	"btnReinforce": "Ενίσχυση των πολιτικών",
 	"msgReinforce": "Είστε σίγουροι ότι θέλετε να ξαναεφαρμόσετε τις τρέχουσες πολιτικές σας;",
-	"btnRemoveEdge": "Αφαίρεση Microsoft Edge",
-  	"msgRemoveEdge": "Είστε σίγουροι ότι θέλετε να αφαιρέσετε το Microsoft Edge; Δεν μπορείτε να το ανακτήσετε αργότερα.",
-	  "chkNewsInterest": "Απενεργοποίηση Ειδήσεων",
-	  "chkAllTrayIcons": "Εμφάνιση όλων των εικονιδίων",
-	  "chkMenuDelays": "Αφαίρεση καθυστερήσεων στο μενού"
+	"chkNewsInterest": "Απενεργοποίηση Ειδήσεων",
+	"chkAllTrayIcons": "Εμφάνιση όλων των εικονιδίων",
+	"chkMenuDelays": "Αφαίρεση καθυστερήσεων στο μενού"
 }

+ 0 - 2
Optimizer/Resources/i18n/EN.json

@@ -466,8 +466,6 @@ It has negative effect on performance.",
 	"copilotTip": "Completely turns off CoPilot AI feature.",
 	"btnReinforce": "Reinforce policies",
 	"msgReinforce": "Are you sure you want to re-apply your current active policies?",
-	"btnRemoveEdge": "Remove Microsoft Edge",
-	"msgRemoveEdge": "Are you sure you want to remove Microsoft Edge? You cannot revert it later.",
 	"chkNewsInterest": "Disable News && Interest",
 	"chkAllTrayIcons": "Show all tray icons",
 	"chkMenuDelays": "Remove menu delays"

+ 0 - 2
Optimizer/Resources/i18n/ES.json

@@ -463,8 +463,6 @@ Tiene un efecto negativo en el rendimiento.",
     "copilotTip": "Desactiva por completo la función de CoPilot AI.",
 	"btnReinforce": "Reforzar Políticas",
 	"msgReinforce": "¿Estás seguro de que deseas volver a aplicar tus políticas actuales?",
-	"btnRemoveEdge": "Eliminar Microsoft Edge",
-  	"msgRemoveEdge": "¿Estás seguro de que deseas eliminar Microsoft Edge? No podrás revertirlo más tarde.",
 	"chkNewsInterest": "Desactivar Noticias e Intereses",
 	"chkAllTrayIcons": "Mostrar todos los iconos de la bandeja",
 	"chkMenuDelays": "Eliminar retrasos en el menú"

+ 0 - 2
Optimizer/Resources/i18n/FA.json

@@ -453,8 +453,6 @@
     "copilotTip": "ویژگی CoPilot AI به طور کامل غیرفعال می‌شود.",
 	"btnReinforce": "تقویت سیاست‌ها",
 	"msgReinforce": "آیا مطمئن هستید که می‌خواهید سیاست‌های فعلی را مجدداً اعمال کنید؟",
-	"btnRemoveEdge": "حذف Microsoft Edge",
-  	"msgRemoveEdge": "آیا مطمئن هستید که می‌خواهید Microsoft Edge را حذف کنید؟ شما نمی‌توانید بعداً آن را بازگردانی کنید.",
 	"chkNewsInterest": "غیرفعال کردن اخبار و علاقه‌مندی‌ها",
 	"chkAllTrayIcons": "نمایش همه آیکون‌های سینی",
 	"chkMenuDelays": "حذف تأخیرهای منو"

+ 0 - 2
Optimizer/Resources/i18n/FR.json

@@ -440,8 +440,6 @@ Necessite l'ouverture d'un compte Microsoft.",
     "copilotTip": "Désactive complètement la fonctionnalité CoPilot AI.",
 	"btnReinforce": "Renforcer les politiques",
 	"msgReinforce": "Êtes-vous sûr de vouloir réappliquer vos politiques actuelles?",
-	"btnRemoveEdge": "Supprimer Microsoft Edge",
-  	"msgRemoveEdge": "Êtes-vous sûr de vouloir supprimer Microsoft Edge ? Vous ne pourrez pas revenir en arrière.",
 	"chkNewsInterest": "Désactiver les Actualités et les Centres d'Intérêt",
 	"chkAllTrayIcons": "Afficher toutes les icônes de la zone de notification",
 	"chkMenuDelays": "Supprimer les retards dans le menu"

+ 0 - 2
Optimizer/Resources/i18n/HU.json

@@ -466,8 +466,6 @@ Negatív hatással van a teljesítményre.",
     "copilotTip": "Teljesen kikapcsolja a CoPilot AI funkciót.",
 	"btnReinforce": "Iránypontok erősítése",
 	"msgReinforce": "Biztos vagy benne, hogy újra alkalmazod az aktuális iránypontokat?",
-	"btnRemoveEdge": "Microsoft Edge eltávolítása",
-	"msgRemoveEdge": "Biztos vagy benne, hogy eltávolítod a Microsoft Edge-et? Később nem állíthatod vissza.",
 	"chkNewsInterest": "Hírek és Érdeklődés kikapcsolása",
 	"chkAllTrayIcons": "Az összes tálca ikon megjelenítése",
 	"chkMenuDelays": "Menü késleltetések eltávolítása"

+ 0 - 2
Optimizer/Resources/i18n/IT.json

@@ -460,8 +460,6 @@ Ha un effetto negativo sulle prestazioni.",
     "copilotTip": "Disattiva completamente la funzionalità CoPilot AI.",
 	"btnReinforce": "Rafforzare le Politiche",
 	"msgReinforce": "Sei sicuro di voler riapplicare le tue attuali politiche?",
-	"btnRemoveEdge": "Rimuovi Microsoft Edge",
-  	"msgRemoveEdge": "Sei sicuro di voler rimuovere Microsoft Edge? Non potrai ripristinarlo in seguito.",
 	"chkNewsInterest": "Disabilita Notizie e Interessi",
 	"chkAllTrayIcons": "Mostra tutte le icone nella barra delle applicazioni",
 	"chkMenuDelays": "Rimuovi ritardi nel menu"

+ 0 - 2
Optimizer/Resources/i18n/JA.json

@@ -457,8 +457,6 @@ SMBv3に置き換えられており、そちらのほうがより安全です。
     "copilotTip": "CoPilot AI の機能を完全に無効にします.",
 	"btnReinforce": "ポリシーを強化する",
 	"msgReinforce": "現在のポリシーを再適用してもよろしいですか?",
-	"btnRemoveEdge": "Microsoft Edge の削除",
-  	"msgRemoveEdge": "Microsoft Edge を削除してもよろしいですか?後で元に戻すことはできません。",
 	"chkNewsInterest": "ニュースと興味を無効にする",
 	"chkAllTrayIcons": "すべてのトレイアイコンを表示",
 	"chkMenuDelays": "メニューの遅延を削除"

+ 0 - 2
Optimizer/Resources/i18n/KO.json

@@ -468,8 +468,6 @@ Microsoft 계정 로그인이 필요합니다.",
     "copilotTip": "CoPilot AI 기능을 완전히 비활성화합니다.",
 	"btnReinforce": "정책 강화",
 	"msgReinforce": "현재 정책을 다시 적용하시겠습니까?",
-	"btnRemoveEdge": "Microsoft Edge 제거",
-  	"msgRemoveEdge": "Microsoft Edge를 제거하시겠습니까? 나중에 되돌릴 수 없습니다.",
 	"chkNewsInterest": "뉴스 및 관심사 비활성화",
 	"chkAllTrayIcons": "모든 트레이 아이콘 표시",
 	"chkMenuDelays": "메뉴 지연 제거"

+ 0 - 2
Optimizer/Resources/i18n/KU.json

@@ -465,8 +465,6 @@
     "copilotTip": "ویژگی CoPilot AI تایبه‌تییه‌کرنەوەکی ته‌مامی.",
 	"btnReinforce": "سیاسهٔ بیشکوچین",
 	"msgReinforce": "داکۆ پێشەنگەتیە پێوستییە کرییە مە یانو دابەزەکیی نو رە بکە؟",
-	"btnRemoveEdge": "Microsoft Edge بسڕه‌وه‌",
-  	"msgRemoveEdge": "دڵنیایت ئایا ده‌توانیت Microsoft Edge بسڕیته‌وه‌؟ دواوه‌ری پاشان ده‌ستپه‌رێت.",
 	"chkNewsInterest": "شوێنەکردنی نووسراو و نواندن",
 	"chkAllTrayIcons": "نیشاندانی هەموو سیمبۆلەکانی تەخته",
 	"chkMenuDelays": "لابردنی داواکردنی مێنیو"

+ 0 - 2
Optimizer/Resources/i18n/NE.json

@@ -416,8 +416,6 @@
     "copilotTip": "CoPilot AI कुरा पूरा बन्द गर्दछ।",
 	"btnReinforce": "नीत",
 	"msgReinforce": "तपाईंले आफ्ना हालका नीत",
-	"btnRemoveEdge": "Microsoft Edge हटाउनुहोस्",
-  	"msgRemoveEdge": "के तपाईं Microsoft Edge हटाउन चाहनुहुन्छ? तपाईं पछि यसलाई पुनः परामर्श गर्दैनुहुनेछ।",
 	"chkNewsInterest": "समाचार र रुचिहरू अक्षम गर्नुहोस्",
 	"chkAllTrayIcons": "सम्पूर्ण ट्रे आइकनहरू देखाउनुहोस्",
 	"chkMenuDelays": "मेनु ल्याग्ले हटाउनुहोस्"

+ 0 - 2
Optimizer/Resources/i18n/NL.json

@@ -417,8 +417,6 @@ Het heeft een negatief effect op de prestaties.",
    "copilotTip": "Schakelt de CoPilot AI-functie volledig uit.",
 	"btnReinforce": "Beleid versterken",
 	"msgReinforce": "Weet u zeker dat u uw huidige beleid opnieuw wilt toepassen?",
-   "btnRemoveEdge": "Microsoft Edge verwijderen",
-   "msgRemoveEdge": "Weet u zeker dat u Microsoft Edge wilt verwijderen? U kunt dit later niet ongedaan maken.",
    "chkNewsInterest": "Schakel Nieuws en Interesses uit",
    "chkAllTrayIcons": "Toon alle systeemvakpictogrammen",
    "chkMenuDelays": "Verwijder menuvertragingen"

+ 0 - 2
Optimizer/Resources/i18n/PL.json

@@ -435,8 +435,6 @@
     "copilotTip": "Całkowicie wyłącza funkcję CoPilot AI.",
 	"btnReinforce": "Wzmocnienie polityk",
 	"msgReinforce": "Czy na pewno chcesz ponownie zastosować obecne polityki?",
-	"btnRemoveEdge": "Usuń Microsoft Edge",
-  	"msgRemoveEdge": "Czy na pewno chcesz usunąć Microsoft Edge? Nie będziesz mógł tego potem cofnąć.",
 	"chkNewsInterest": "Wyłącz wiadomości i zainteresowania",
 	"chkAllTrayIcons": "Pokaż wszystkie ikony w zasobniku",
 	"chkMenuDelays": "Usuń opóźnienia w menu"

+ 0 - 2
Optimizer/Resources/i18n/PT.json

@@ -463,8 +463,6 @@ Tem efeito negativo no desempenho.",
     "copilotTip": "Desativa completamente a funcionalidade CoPilot AI.",
 	"btnReinforce": "Reforçar Políticas",
 	"msgReinforce": "Tem certeza de que deseja reaplicar suas políticas atuais?",
-	"btnRemoveEdge": "Remover o Microsoft Edge",
-	"msgRemoveEdge": "Tem a certeza de que deseja remover o Microsoft Edge? Não poderá reverter mais tarde.",
 	"chkNewsInterest": "Desativar Notícias e Interesses",
 	"chkAllTrayIcons": "Mostrar todos os ícones da bandeja",
 	"chkMenuDelays": "Remover atrasos no menu"

+ 0 - 2
Optimizer/Resources/i18n/RO.json

@@ -448,8 +448,6 @@
     "copilotTip": "Dezactivează complet funcționalitatea CoPilot AI.",
 	"btnReinforce": "Consolidarea politicilor",
 	"msgReinforce": "Sunteți sigur că doriți să reaplicați politicile actuale?",
-	"btnRemoveEdge": "Eliminare Microsoft Edge",
-	"msgRemoveEdge": "Sunteți sigur că doriți să eliminați Microsoft Edge? Nu puteți reveni mai târziu.",
 	"chkNewsInterest": "Dezactivează Știri și Interese",
 	"chkAllTrayIcons": "Arată toate pictogramele din zona de notificare",
 	"chkMenuDelays": "Elimină întârzierile din meniu"

+ 0 - 2
Optimizer/Resources/i18n/RU.json

@@ -436,8 +436,6 @@
     "copilotTip": "Полностью отключает функцию CoPilot AI.",
 	"btnReinforce": "Укрепить политику",
 	"msgReinforce": "Вы уверены, что хотите повторно применить текущие политики?",
-	"btnRemoveEdge": "Удалить Microsoft Edge",
-  	"msgRemoveEdge": "Вы уверены, что хотите удалить Microsoft Edge? Позже вы не сможете вернуть это.",
 	"chkNewsInterest": "Отключить Новости и Интересы",
 	"chkAllTrayIcons": "Показать все значки трея",
 	"chkMenuDelays": "Убрать задержки в меню"

+ 0 - 2
Optimizer/Resources/i18n/TR.json

@@ -464,8 +464,6 @@ Performansa olumsuz etkisi vardır.",
     "copilotTip": "CoPilot AI özelliğini tamamen kapatır.",
 	"btnReinforce": "Politikaları Güçlendir",
 	"msgReinforce": "Şu anki politikalarınızı tekrar uygulamak istediğinizden emin misiniz?",
-	"btnRemoveEdge": "Microsoft Edge'i Kaldır",
-	"msgRemoveEdge": "Microsoft Edge'i kaldırmak istediğinizden emin misiniz? Daha sonra geri alamazsınız.",
 	"chkNewsInterest": "Haberler ve İlgiyi Devre Dışı Bırak",
 	"chkAllTrayIcons": "Tüm tepsici simgelerini göster",
 	"chkMenuDelays": "Menü gecikmelerini kaldır"

+ 0 - 2
Optimizer/Resources/i18n/TW.json

@@ -462,8 +462,6 @@
 	"copilotTip": "完全關閉 CoPilot AI 功能。",
 	"btnReinforce": "加強政策",
 	"msgReinforce": "您確定要重新應用目前的政策嗎?",
-	"btnRemoveEdge": "移除 Microsoft Edge",
-  	"msgRemoveEdge": "確定要移除 Microsoft Edge 嗎?此操作無法還原。",
 	"chkNewsInterest": "停用新聞和興趣",
 	"chkAllTrayIcons": "顯示所有系統匣圖示",
 	"chkMenuDelays": "移除選單延遲"

+ 0 - 2
Optimizer/Resources/i18n/UA.json

@@ -467,8 +467,6 @@
     "copilotTip": "Повністю вимикає функцію CoPilot AI.",
 	"btnReinforce": "Підсилити політику",
 	"msgReinforce": "Ви впевнені, що хочете повторно застосувати поточну політику?",
-	"btnRemoveEdge": "Видалити Microsoft Edge",
-  	"msgRemoveEdge": "Ви впевнені, що хочете видалити Microsoft Edge? Ви не зможете це скасувати пізніше.",
 	"chkNewsInterest": "Вимкнути Новини та Інтереси",
 	"chkAllTrayIcons": "Показати всі значки на панелі задач",
 	"chkMenuDelays": "Видалити затримки у меню"

+ 0 - 8
Optimizer/SilentOps.cs

@@ -372,14 +372,6 @@ namespace Optimizer
                 }
                 OptionsHelper.CurrentOptions.EnableLoginVerbose = CurrentSilentConfig.AdvancedTweaks.EnableLoginVerbose.Value;
             }
-
-            if (CurrentSilentConfig.AdvancedTweaks.RemoveMicrosoftEdge.HasValue)
-            {
-                if (CurrentSilentConfig.AdvancedTweaks.RemoveMicrosoftEdge.Value)
-                {
-                    OptimizeHelper.RemoveMicrosoftEdge();
-                }
-            }
         }
 
 

+ 3 - 4
README.md

@@ -3,7 +3,7 @@
 </p>
 
 <p align="center">
-	<a href="https://github.com/hellzerg/optimizer/releases/download/16.1/Optimizer-16.1.exe" target="_blank">
+	<a href="https://github.com/hellzerg/optimizer/releases/download/16.2/Optimizer-16.2.exe" target="_blank">
 		<img src="https://raw.githubusercontent.com/hellzerg/optimizer/master/download-button.png">
 		<br>
 		<img src="https://raw.githubusercontent.com/hellzerg/optimizer/master/flags.png">
@@ -29,7 +29,6 @@ Welcome to Optimizer, an advanced configuration utility designed to enhance your
 - Download multiple useful apps quickly
 - Disable CoPilot AI in Windows 11
 - Uninstall UWP apps
-- Cimpletely remove Microsoft Edge (Windows 10/11)
 - Clean system drive and browser profiles
 - Fix common registry issues
 - Ping IPs and assess latency
@@ -106,8 +105,8 @@ Learn about our security measures in the [Security Policy](https://github.com/he
 <h2> 📊 Details</h2> 
 </center>
 
-- Latest version: 16.1 (Released: October 14, 2023)
-- SHA256: E68AA2C093129F85706905201762DB54964DA1D57BF08C4F80E84F27E255FB7A
+- Latest version: 16.2 (Released: October 28, 2023)
+- SHA256: D97A8782B1563F7C7CA71B9094F90C1737E8A04119501196E5C7EA7F30857393
 
 <center>
 <h2> ☕ Buy me a delicious espresso</h2>

+ 0 - 1
templates/template-windows10.json

@@ -70,7 +70,6 @@
         "UnlockAllCores": null,
         "DisableHPET": null,
         "EnableLoginVerbose": null,
-        "RemoveMicrosoftEdge": null,
         "SvchostProcessSplitting": {
             "Disable": null,
             "RAM": null

+ 0 - 1
templates/template-windows11.json

@@ -70,7 +70,6 @@
         "UnlockAllCores": null,
         "DisableHPET": null,
         "EnableLoginVerbose": null,
-        "RemoveMicrosoftEdge": null,
         "SvchostProcessSplitting": {
             "Disable": null,
             "RAM": null

+ 1 - 1
version.txt

@@ -1 +1 @@
-16.1
+16.2