@@ -941,12 +941,14 @@ internal static void ShowTaskbarWeather()
941
941
942
942
internal static void DisableNewsInterests ( )
943
943
{
944
+ Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" , "AllowNewsAndInterests" , "0" , RegistryValueKind . DWord ) ;
944
945
Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" , "EnableFeeds" , "0" , RegistryValueKind . DWord ) ;
945
946
Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests" , "value" , "0" , RegistryValueKind . DWord ) ;
946
947
}
947
948
948
949
internal static void EnableNewsInterests ( )
949
950
{
951
+ Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Policies\Microsoft\Dsh" , "AllowNewsAndInterests" ) ;
950
952
Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" , "EnableFeeds" ) ;
951
953
Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Microsoft\PolicyManager\default\NewsAndInterests\AllowNewsAndInterests" , "value" ) ;
952
954
}
@@ -1247,10 +1249,6 @@ internal static void DisableQuickAccessHistory(bool disableTasksIcon = true)
1247
1249
k . SetValue ( "LaunchTo" , 1 , RegistryValueKind . DWord ) ;
1248
1250
}
1249
1251
1250
- // Disable Meet
1251
- Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" , "1" , RegistryValueKind . DWord ) ;
1252
- Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" , "1" , RegistryValueKind . DWord ) ;
1253
-
1254
1252
// Disable File History
1255
1253
//Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileHistory", "Disabled", "1", RegistryValueKind.DWord);
1256
1254
//Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\File History", "Disabled", "1", RegistryValueKind.DWord);
@@ -1275,13 +1273,16 @@ internal static void EnableQuickAccessHistory()
1275
1273
1276
1274
//Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Policies\Microsoft\Windows\FileHistory", true).DeleteValue("Disabled", false);
1277
1275
//Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Policies\Microsoft\Windows\File History", true).DeleteValue("Disabled", false);
1278
-
1279
- Registry . LocalMachine . OpenSubKey ( @"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , true ) . DeleteValue ( "HideSCAMeetNow" , false ) ;
1280
- Registry . CurrentUser . OpenSubKey ( @"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , true ) . DeleteValue ( @"HideSCAMeetNow" , false ) ;
1281
1276
}
1282
1277
1283
1278
internal static void DisableStartMenuAds ( )
1284
1279
{
1280
+ // Disable Phone Link suggestions
1281
+ Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" , "OptedIn" , "0" , RegistryValueKind . DWord ) ;
1282
+
1283
+ // Disable "Suggested" app notifications (Ads for MS services)
1284
+ Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.Suggested" , "Enabled" , "0" , RegistryValueKind . DWord ) ;
1285
+
1285
1286
Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" , "SubscribedContent-88000326Enabled" , "0" , RegistryValueKind . DWord ) ;
1286
1287
Registry . SetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement" , "ScoobeSystemSettingEnabled" , "0" , RegistryValueKind . DWord ) ;
1287
1288
Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" , "ContentDeliveryAllowed" , "0" , RegistryValueKind . DWord ) ;
@@ -1306,6 +1307,9 @@ internal static void DisableStartMenuAds()
1306
1307
1307
1308
internal static void EnableStartMenuAds ( )
1308
1309
{
1310
+ Utilities . TryDeleteRegistryValue ( false , @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.Suggested" , "Enabled" ) ;
1311
+ Utilities . TryDeleteRegistryValue ( false , @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Mobility" , "OptedIn" ) ;
1312
+
1309
1313
Utilities . TryDeleteRegistryValue ( false , @"Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" , "SubscribedContent-88000326Enabled" ) ;
1310
1314
Utilities . TryDeleteRegistryValue ( false , @"SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement" , "ScoobeSystemSettingEnabled" ) ;
1311
1315
Utilities . TryDeleteRegistryValue ( false , @"Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" , "ContentDeliveryAllowed" ) ;
@@ -1645,11 +1649,16 @@ internal static void EnableWidgets()
1645
1649
1646
1650
internal static void DisableChat ( )
1647
1651
{
1652
+ // Disable Meet
1653
+ Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" , "1" , RegistryValueKind . DWord ) ;
1654
+ Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" , "1" , RegistryValueKind . DWord ) ;
1648
1655
Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" , "TaskbarMn" , "0" , RegistryValueKind . DWord ) ;
1649
1656
}
1650
1657
1651
1658
internal static void EnableChat ( )
1652
1659
{
1660
+ Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" ) ;
1661
+ Utilities . TryDeleteRegistryValue ( false , @"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" , "HideSCAMeetNow" ) ;
1653
1662
Utilities . TryDeleteRegistryValue ( false , @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" , "TaskbarMn" ) ;
1654
1663
}
1655
1664
@@ -1783,13 +1792,23 @@ internal static void EnableEdgeTelemetry()
1783
1792
1784
1793
internal static void DisableCoPilotAI ( )
1785
1794
{
1795
+ // Disable Copilot+ Recall
1796
+ Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsAI" , "DisableAIDataAnalysis" , "1" , RegistryValueKind . DWord ) ;
1797
+ Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" , "DisableAIDataAnalysis" , "1" , RegistryValueKind . DWord ) ;
1798
+
1799
+ Registry . SetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" , "ShowCopilotButton" , "0" , RegistryValueKind . DWord ) ;
1786
1800
Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" , "DefaultBrowserSettingsCampaignEnabled" , "0" , RegistryValueKind . DWord ) ;
1787
1801
Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" , "ComposeInlineEnabled" , "0" , RegistryValueKind . DWord ) ;
1788
- Registry . SetValue ( @"HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsCopilot" , "TurnOffWindowsCopilot" , "1" , RegistryValueKind . DWord ) ;
1802
+ Registry . SetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" , "TurnOffWindowsCopilot" , "1" , RegistryValueKind . DWord ) ;
1803
+ Registry . SetValue ( @"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" , "TurnOffWindowsCopilot" , "1" , RegistryValueKind . DWord ) ;
1789
1804
}
1790
1805
1791
1806
internal static void EnableCoPilotAI ( )
1792
1807
{
1808
+ Utilities . TryDeleteRegistryValue ( false , @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" , "ShowCopilotButton" ) ;
1809
+ Utilities . TryDeleteRegistryValue ( false , @"Software\Policies\Microsoft\Windows\WindowsAI" , "DisableAIDataAnalysis" ) ;
1810
+ Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Policies\Microsoft\Windows\WindowsAI" , "DisableAIDataAnalysis" ) ;
1811
+ Utilities . TryDeleteRegistryValue ( false , @"Software\Policies\Microsoft\Windows\WindowsCopilot" , "TurnOffWindowsCopilot" ) ;
1793
1812
Utilities . TryDeleteRegistryValue ( true , @"Software\Policies\Microsoft\Windows\WindowsCopilot" , "TurnOffWindowsCopilot" ) ;
1794
1813
Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Policies\Microsoft\Edge" , "DefaultBrowserSettingsCampaignEnabled" ) ;
1795
1814
Utilities . TryDeleteRegistryValue ( true , @"SOFTWARE\Policies\Microsoft\Edge" , "ComposeInlineEnabled" ) ;
0 commit comments