Skip to content

Portable Tool for an Ideal Windows Setup

-tweak for users windows 10 (buttons from taskbar) -added apps name for remove

Greedeksdf695637a8ef
diff --git a/.Source/GTweak/Language/lang.ru.xaml b/.Source/GTweak/Language/lang.ru.xaml
index 4c8a59d3..71f5b966 100644
--- a/.Source/GTweak/Language/lang.ru.xaml
+++ b/.Source/GTweak/Language/lang.ru.xaml
@@ -145,10 +145,10 @@
<v:String x:Key="tgl13_interface">Значок «Этот компьютер» на Рабочем столе</v:String>
<v:String x:Key="tgl14_interface">Значок «Корзина» на Рабочем столе</v:String>
<v:String x:Key="tgl15_interface">Выравнивание панели задач (Windows 11)</v:String>
- <v:String x:Key="tgl16_interface">Значки на панели задач (Windows 11)</v:String>
+ <v:String x:Key="tgl16_interface">Стандартный макет меню «Пуск» (Windows 11)</v:String>
<v:String x:Key="tgl17_interface">Новое урезанное контекстное меню (Windows 11)</v:String>
<v:String x:Key="tgl18_interface">Показывать советы и предложения (Windows 11)</v:String>
- <v:String x:Key="tgl19_interface">Стандартный макет меню «Пуск» (Windows 11)</v:String>
+ <v:String x:Key="tgl19_interface">Значки и кнопки на панели задач</v:String>
<v:String x:Key="tgl20_interface">Показывать персонализированную рекламу</v:String>
<v:String x:Key="tgl21_interface">Восстанавливать прежние окна папок при входе</v:String>
<v:String x:Key="tgl22_interface">Уведомления с советами и предложениями Windows</v:String>
@@ -176,10 +176,10 @@
<v:String x:Key="TglButton13_description_interface">Значок Компьютера, в отличие от ярлыка Компьютера, лучше тем, что он имеет нужные свойства контекстного меню и избавлен от лишних.</v:String>
<v:String x:Key="TglButton14_description_interface">Если вам не нужен значок Корзины на рабочем столе и вы не хотите тратить время на поиски отключение, то можете воспользоваться твикам.</v:String>
<v:String x:Key="TglButton15_description_interface">Выберите где вам нужно, чтобы отображались значки на панели задач, по центу или слева</v:String>
- <v:String x:Key="TglButton16_description_interface">Нет времени на поиски? Твик уберет значки с панели задач: Copilot, Поиск, Предаставление задач, Чат.</v:String>
+ <v:String x:Key="TglButton16_description_interface">Изменяет макет меню «Пуск», увеличивая больше доступного места для закрепления приложений.</v:String>
<v:String x:Key="TglButton17_description_interface">Данный твик вернет вам привычное классическое контекстное меню для рабочего стола и «Проводника». Внимание может моргать экран.</v:String>
<v:String x:Key="TglButton18_description_interface">Windows 11 иногда показывает подсказки о том, как использовать ту или иную функцию, например, новое меню «Пуск» или «Быстрые настройки». Они полезны, если вы впервые видите Windows 11, а так это бесполезный хлам.</v:String>
- <v:String x:Key="TglButton19_description_interface">Изменяет макет меню «Пуск», увеличивая больше доступного места для закрепления приложений.</v:String>
+ <v:String x:Key="TglButton19_description_interface">Нет времени на поиски? Твик уберет значки с панели задач: Copilot, Поиск, Предоставление задач, Чат. Вдобавок уберет и скроет для пользователей Windows 10: Новости и Интересы, Cortana. Внимание может моргать экран.</v:String>
<v:String x:Key="TglButton20_description_interface">По умолчанию Windows использует собранную информацию для таргетинга рекламы, т. е. для показа рекламы, соответствующей вашим интересам. И буквально эта реклама размещена везде, где доступно свободное пространство для показа. Если вы не хотите, чтобы Windows отображала персонализированную рекламу во всех приложениях Магазина, Проводнике, Параметрах и меню Пуск, то вы можете отключить этот хлам.</v:String>
<v:String x:Key="TglButton21_description_interface">По умолчанию, Windows не сохраняет позиции окон, как и их состояние при Выключении. Этот твик позволит запомнить вид открытых папок, чтобы восстановить их после Выхода, Перезагрузки и Выключения.</v:String>
<v:String x:Key="TglButton22_description_interface">Твик позволяет отключить все уведомления Windows с советами и предложениями, а так же отключить Second Chance Out of Box Experience (SCOOBE) для пользователей Windows 11. SCOOBE - неожиданно появляющееся окно с предложением срочно завершить настройку устройства и войти в учётную запись Microsoft.</v:String>
diff --git a/.Source/GTweak/Language/lang.xaml b/.Source/GTweak/Language/lang.xaml
index a83406d1..ce538887 100644
--- a/.Source/GTweak/Language/lang.xaml
+++ b/.Source/GTweak/Language/lang.xaml
@@ -145,10 +145,10 @@
<v:String x:Key="tgl13_interface">The «This computer» icon on the Desktop</v:String>
<v:String x:Key="tgl14_interface">The «Trash» icon on the Desktop</v:String>
<v:String x:Key="tgl15_interface">Taskbar Alignment (Windows 11)</v:String>
- <v:String x:Key="tgl16_interface">Icons on the taskbar (Windows 11)</v:String>
+ <v:String x:Key="tgl16_interface">Standard layout of the «Start» menu (Windows 11)</v:String>
<v:String x:Key="tgl17_interface">New stripped-down context menu (Windows 11)</v:String>
<v:String x:Key="tgl18_interface">Show tips and suggestions (Windows 11)</v:String>
- <v:String x:Key="tgl19_interface">Standard layout of the «Start» menu (Windows 11)</v:String>
+ <v:String x:Key="tgl19_interface">Icons and buttons on the taskbar</v:String>
<v:String x:Key="tgl20_interface">Show personalized ads</v:String>
<v:String x:Key="tgl21_interface">Restore previous folder windows when logging in</v:String>
<v:String x:Key="tgl22_interface">Notifications with Windows tips and suggestions</v:String>
@@ -176,10 +176,10 @@
<v:String x:Key="TglButton13_description_interface">The Computer icon, unlike the computer shortcut, is better because it has the necessary properties of the context menu and is free of unnecessary ones.</v:String>
<v:String x:Key="TglButton14_description_interface">If you do not need the Trash icon on the desktop and you do not want to waste time looking for a shutdown, then you can use tweaks.</v:String>
<v:String x:Key="TglButton15_description_interface">Choose where you want the icons on the taskbar to be displayed, on the cent or on the left</v:String>
- <v:String x:Key="TglButton16_description_interface">No time to search? The tweak will remove icons from the taskbar: Copilot, Search, Task Submission, Chat.</v:String>
+ <v:String x:Key="TglButton16_description_interface">Modifies the layout of the «Start» menu, increasing more available space for pinning applications.</v:String>
<v:String x:Key="TglButton17_description_interface">This tweak will return you to the usual classic context menu for the desktop and «Explorer». Attention the screen may blink.</v:String>
<v:String x:Key="TglButton18_description_interface">Windows 11 sometimes shows hints on how to use a particular feature, for example, the new «Start» menu or «Quick Settings». They are useful if you are seeing Windows 11 for the first time, as it is useless junk.</v:String>
- <v:String x:Key="TglButton19_description_interface">Modifies the layout of the «Start» menu, increasing more available space for pinning applications.</v:String>
+ <v:String x:Key="TglButton19_description_interface">No time to search? The tweak will remove icons from the taskbar: Copilot, Search, Task View, Chat. In addition, it will remove and hide for Windows 10 users: News and Interests, Cortana. Attention the screen may blink.</v:String>
<v:String x:Key="TglButton20_description_interface">By default, Windows uses the collected information to target ads, i.e. to display ads that match your interests. And literally, this advertisement is located wherever free space is available for display. If you don't want Windows to display personalized ads in all Store apps, Explorer, Options, and the Start menu, then you can disable this junk.</v:String>
<v:String x:Key="TglButton21_description_interface">By default, Windows does not save the positions of windows, as well as their state when turned off. This tweak will allow you to remember the type of open folders in order to restore them after Logging out, Rebooting and Shutting down.</v:String>
<v:String x:Key="TglButton22_description_interface">The tweak allows you to disable all Windows notifications with tips and suggestions, as well as disable Second Chance Out of Box Experience (SCOOBE) for Windows 11 users. SCOOBE is an unexpectedly appearing window with an offer to urgently complete device configuration and log in to your Microsoft account.</v:String>
diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
index afa9ccfc..674fec6b 100644
--- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
+++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs
@@ -1,6 +1,8 @@
-using GTweak.Utilities.Helpers;
+using GTweak.Core.ViewModel;
+using GTweak.Utilities.Helpers;
using GTweak.View;
using Microsoft.Win32;
+using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.IO;
@@ -134,16 +136,8 @@ namespace GTweak.Utilities.Tweaks
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
- if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", string.Empty).ToString() != "0" ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", string.Empty).ToString() != "0" ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", string.Empty).ToString() != "0" ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", string.Empty).ToString() != "0" ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", string.Empty).ToString() != "0")
+ if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", string.Empty).ToString() != "1")
interfaceV.TglButton16.StateNA = true;
else
interfaceV.TglButton16.StateNA = false;
@@ -158,6 +152,7 @@ namespace GTweak.Utilities.Tweaks
interfaceV.TglButton17.StateNA = false;
}
+
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "SoftLandingEnabled", null) == null ||
@@ -172,13 +167,34 @@ namespace GTweak.Utilities.Tweaks
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
- if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", null) == null ||
- Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", string.Empty).ToString() != "1")
+ if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", string.Empty).ToString() != "0")
+ interfaceV.TglButton19.StateNA = true;
+ else
+ interfaceV.TglButton19.StateNA = false;
+ }
+ else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10"))
+ {
+ if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCortanaButton", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCortanaButton", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", string.Empty).ToString() != "0" ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", null) == null ||
+ Registry.GetValue(@"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", string.Empty).ToString() != "0")
interfaceV.TglButton19.StateNA = true;
else
interfaceV.TglButton19.StateNA = false;
}
+
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo", "Enabled", null) == null ||
@@ -228,12 +244,14 @@ namespace GTweak.Utilities.Tweaks
interfaceV.TglButton20.StateNA = false;
}
+
if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "PersistBrowsers", null) != null &&
Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "PersistBrowsers", string.Empty).ToString() == "1")
interfaceV.TglButton21.StateNA = true;
else
interfaceV.TglButton21.StateNA = false;
+
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
if (Registry.GetValue(@"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications", "ToastEnabled", null) == null ||
@@ -257,6 +275,7 @@ namespace GTweak.Utilities.Tweaks
interfaceV.TglButton22.StateNA = false;
}
+
if (Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}") != null ||
Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}") != null ||
Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}") != null ||
@@ -295,6 +314,7 @@ namespace GTweak.Utilities.Tweaks
else
interfaceV.TglButton27.StateNA = false;
+
if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
{
if (Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer", "HubMode", null) == null ||
@@ -490,21 +510,9 @@ namespace GTweak.Utilities.Tweaks
break;
case "TglButton16":
if (isChoose)
- {
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", 0, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", 0, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 0, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 0, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", 0, RegistryValueKind.DWord);
- }
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", 1, RegistryValueKind.DWord);
else
- {
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", 1, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", 1, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 1, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 1, RegistryValueKind.DWord);
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", 1, RegistryValueKind.DWord);
- }
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", 0, RegistryValueKind.DWord);
break;
case "TglButton17":
if (isChoose)
@@ -529,9 +537,51 @@ namespace GTweak.Utilities.Tweaks
break;
case "TglButton19":
if (isChoose)
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", 1, RegistryValueKind.DWord);
+ {
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", 0, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", 0, RegistryValueKind.DWord);
+
+ if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
+ {
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", 0, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 0, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 0, RegistryValueKind.DWord);
+ }
+
+ else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10"))
+ {
+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh", "AllowNewsAndInterests", "0", RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Windows\Windows Feeds", "EnableFeeds", "0", RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests", "value", "0", RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Feeds", "ShellFeedsTaskbarViewMode", 2, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCortanaButton", 0, RegistryValueKind.DWord);
+ new Thread(() => RestartExplorer(new Process())).Start();
+ new Thread(() => RestartExplorer(new Process())).IsBackground = true;
+ }
+ }
else
- RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "Start_Layout", 0, RegistryValueKind.DWord);
+ {
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowTaskViewButton", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Search", "SearchboxTaskbarMode", 1, RegistryValueKind.DWord);
+
+ if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("11"))
+ {
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCopilotButton", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarDa", 1, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "TaskbarMn", 1, RegistryValueKind.DWord);
+ }
+
+ else if (SystemData.СomputerСonfiguration.clientWinVersion.Contains("10"))
+ {
+ RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Dsh");
+ RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Policies\Microsoft\Windows\Windows Feeds");
+ RegistryHelp.DeleteFolderTree(Registry.LocalMachine, @"SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests");
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Feeds", "ShellFeedsTaskbarViewMode", 0, RegistryValueKind.DWord);
+ RegistryHelp.Write(Registry.CurrentUser, @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "ShowCortanaButton", 1, RegistryValueKind.DWord);
+ new Thread(() => RestartExplorer(new Process())).Start();
+ new Thread(() => RestartExplorer(new Process())).IsBackground = true;
+ }
+ }
break;
case "TglButton20":
if (isChoose)
diff --git a/.Source/GTweak/Utilities/Tweaks/UninstallingApps.cs b/.Source/GTweak/Utilities/Tweaks/UninstallingApps.cs
index 733cd45c..4a6076fd 100644
--- a/.Source/GTweak/Utilities/Tweaks/UninstallingApps.cs
+++ b/.Source/GTweak/Utilities/Tweaks/UninstallingApps.cs
@@ -98,6 +98,16 @@ namespace GTweak.Utilities.Tweaks
["Outlook"] = new List<string>(1) { "Microsoft.OutlookForWindows" },
["QuickAssist"] = new List<string>(1) { "MicrosoftCorporationII.QuickAssist" }
};
+ private static readonly SortedList<string, string> alternativeName = new SortedList<string, string>
+ {
+ ["MicrosoftSolitaireCollection"] = "solitaire",
+ ["MicrosoftOfficeHub"] = "officehub",
+ ["FeedbackHub"] = "feedback",
+ ["Mail"] = "communicationsapps",
+ ["ClipChamp"] = "Clipchamp Video Editor",
+ ["Music"] = "zunemusic",
+ ["Video"] = "zunevideo"
+ };
internal void ViewInstalledApp()
{
@@ -144,8 +154,10 @@ namespace GTweak.Utilities.Tweaks
process.Start();
}
- process.WaitForExit();
+ if (!string.IsNullOrEmpty(alternativeName[appName]))
+ process.StartInfo.Arguments = "Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like '*" + !string.IsNullOrEmpty(alternativeName[appName]) + "*'} | Remove-AppxProvisionedPackage -alluser -online –Verbose";
+ process.WaitForExit();
process.Dispose();
}
@@ -188,6 +200,12 @@ namespace GTweak.Utilities.Tweaks
process.StartInfo.Arguments = string.Format("Get-AppxPackage -Name " + appDelete + " -AllUsers | Remove-AppxPackage");
process.Start();
}
+
+ foreach (string altName in alternativeName.Values)
+ {
+ process.StartInfo.Arguments = "Get-AppxProvisionedPackage -online | where-object {$_.PackageName -like '*" + altName + "*'} | Remove-AppxProvisionedPackage -alluser -online –Verbose";
+ process.Start();
+ }
}
process.WaitForExit();
diff --git a/.Source/GTweak/View/InterfaceView.xaml b/.Source/GTweak/View/InterfaceView.xaml
index ba07b579..2a768eca 100644
--- a/.Source/GTweak/View/InterfaceView.xaml
+++ b/.Source/GTweak/View/InterfaceView.xaml
@@ -54,7 +54,7 @@
<uc:ToggleButton x:Name="TglButton16" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl16_interface}" IsEnabled="{Binding IsBlockForWin10}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton17" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl17_interface}" IsEnabled="{Binding IsBlockForWin10}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton18" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl18_interface}" IsEnabled="{Binding IsBlockForWin10}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
- <uc:ToggleButton x:Name="TglButton19" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl19_interface}" IsEnabled="{Binding IsBlockForWin10}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
+ <uc:ToggleButton x:Name="TglButton19" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl19_interface}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton20" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl20_interface}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton21" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl21_interface}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>
<uc:ToggleButton x:Name="TglButton22" Height="25" Width="Auto" Margin="20,20,0,0" DynamicText="{DynamicResource tgl22_interface}" MouseEnter="Tweak_MouseEnter" MouseLeave="Tweak_MouseLeave" ChangedState="TglButton_ChangedState"/>