mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Compare commits
14 Commits
2025.09.07
...
2025.09.13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02cb390ac6 | ||
|
|
4e4bf0d553 | ||
|
|
bdf55ed6ba | ||
|
|
b0fed2afaf | ||
|
|
b9594f2671 | ||
|
|
4719d80dd9 | ||
|
|
83f7fc7398 | ||
|
|
cf1b43dd3f | ||
|
|
15a520e219 | ||
|
|
a38c78824e | ||
|
|
0ba9d1d7c3 | ||
|
|
9b502a49c4 | ||
|
|
260895618d | ||
|
|
a662273414 |
@@ -1,11 +1,10 @@
|
||||
Win11Debloat will make the following changes:
|
||||
- Remove the default selection of apps, the list can be found in the 'Appslist.txt' file.
|
||||
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot. (W11 only)
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
|
||||
@@ -12,12 +12,12 @@ App Removal
|
||||
Telemetry, Tracking & Suggested Content
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions & ads across Windows.
|
||||
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable the 'Windows Spotlight' desktop background option.
|
||||
|
||||
Bing Web Search, Copilot & AI Features
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot. (W11 only)
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable AI Features in Paint (W11 only)
|
||||
- Disable AI Features in Notepad (W11 only)
|
||||
@@ -62,17 +62,19 @@ Other
|
||||
Default mode
|
||||
-------------------------------------------------------------------------------------------
|
||||
The default mode applies the changes that are recommended for most users. This includes:
|
||||
- Remove the default selection of apps, the list can be found in the 'Appslist.txt' file.
|
||||
- Remove the default selection or your custom selection of apps.
|
||||
- Disable telemetry, diagnostic data, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications and more.
|
||||
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable tips & tricks on the lockscreen. (This may change your lockscreen wallpaper)
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot. (W11 only)
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
- Hide the 3D objects folder in Windows Explorer. (W10 only)
|
||||
- Disable the widget service & hide the icon from the taskbar.
|
||||
- Disable widgets on the taskbar & lockscreen.
|
||||
- Hide the Chat (meet now) icon from the taskbar.
|
||||
|
||||
|
||||
|
||||
5
Get.ps1
5
Get.ps1
@@ -6,7 +6,8 @@ param (
|
||||
[string]$User,
|
||||
[switch]$CreateRestorePoint,
|
||||
[switch]$RunAppsListGenerator, [switch]$RunAppConfigurator,
|
||||
[switch]$RunDefaults, [switch]$RunWin11Defaults,
|
||||
[switch]$RunDefaults,
|
||||
[switch]$RunDefaultsLite,
|
||||
[switch]$RunSavedSettings,
|
||||
[switch]$RemoveApps,
|
||||
[switch]$RemoveAppsCustom,
|
||||
@@ -85,7 +86,7 @@ Write-Output "------------------------------------------------------------------
|
||||
Write-Output "> Downloading Win11Debloat..."
|
||||
|
||||
# Download latest version of Win11Debloat from github as zip archive
|
||||
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.09.07 -OutFile "$env:TEMP/win11debloat.zip"
|
||||
Invoke-RestMethod https://api.github.com/repos/Raphire/Win11Debloat/zipball/2025.09.13 -OutFile "$env:TEMP/win11debloat.zip"
|
||||
|
||||
# Remove old script folder if it exists, except for CustomAppsList and SavedSettings files
|
||||
if (Test-Path "$env:TEMP/Win11Debloat") {
|
||||
|
||||
25
README.md
25
README.md
@@ -108,7 +108,7 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
#### Bing Web Search, Copilot & AI Features
|
||||
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot. (W11 only)
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable AI Features in Edge (W11 only)
|
||||
- Disable AI Features in Paint (W11 only)
|
||||
@@ -157,19 +157,23 @@ Below is an overview of the key features and functionality offered by Win11Deblo
|
||||
|
||||
### Default Settings
|
||||
|
||||
Win11Debloat offers a default mode that allows you to quickly and easily apply the changes that are recommended for most people. This includes uninstalling apps that most would consider bloatware, removing many annoying distractions and disabling telemetry and tracking. To apply the default settings, launch the script as you normally would and select option `1` in the script menu. Alternatively, you can launch the script with the `-RunDefaults` parameter. Example:
|
||||
Win11Debloat's default mode allows you to quickly and easily apply the changes that are recommended for most people. This includes removing many annoying distractions, disabling telemetry and tracking and optionally uninstalling the default or your custom selection of apps. To apply the default settings, launch the script as you normally would and select option `1` in the script menu.
|
||||
|
||||
Alternatively, you can launch the script with the `-RunDefaults` or `-RunDefaultsLite` parameters to immediately run the defaults without going through the menu or the app removal options. Using the `-RunDefaults` parameter will run the script in default mode and remove the default selection of apps. While using the `-RunDefaultsLite` parameter will run the script in default mode without removing any apps.
|
||||
|
||||
Example:
|
||||
```Powershell
|
||||
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -RunDefaults
|
||||
```
|
||||
|
||||
#### Changes included in the default mode
|
||||
- Remove the default selection of bloatware apps. (See below for full list)
|
||||
- Remove the default or your custom selection of apps. (See below for the default selection of apps)
|
||||
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
|
||||
- Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.
|
||||
- Disable ads and the MSN news feed in Microsoft Edge.
|
||||
- Disable ads, suggestions and the MSN news feed in Microsoft Edge.
|
||||
- Disable & remove Bing web search, Bing AI and Cortana from Windows search.
|
||||
- Disable & remove Microsoft Copilot. (W11 only)
|
||||
- Disable & remove Microsoft Copilot.
|
||||
- Disable Windows Recall snapshots. (W11 only)
|
||||
- Disable Fast Start-up to ensure a full shutdown.
|
||||
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
|
||||
- Show file extensions for known file types.
|
||||
@@ -179,6 +183,8 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
|
||||
#### Apps that ARE removed as part of the default mode
|
||||
|
||||
These apps are uninstalled when you opt to remove the default selection of apps. This includes apps from both Microsoft and third parties.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
<blockquote>
|
||||
@@ -212,6 +218,7 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
- Microsoft.Office.Sway
|
||||
- Microsoft.OneConnect
|
||||
- Microsoft.Print3D
|
||||
- Microsoft.StartExperiencesApp** (Widgets app)
|
||||
- Microsoft.SkypeApp
|
||||
- Microsoft.Todos
|
||||
- Microsoft.WindowsAlarms
|
||||
@@ -221,6 +228,7 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
- Microsoft.XboxApp (Old Xbox Console Companion App, no longer supported)
|
||||
- Microsoft.ZuneVideo
|
||||
- MicrosoftCorporationII.MicrosoftFamily (Microsoft Family Safety)
|
||||
- MicrosoftCorporationII.QuickAssist (Remote assistance tool)
|
||||
- MicrosoftTeams (Old personal version of MS Teams from the MS Store)
|
||||
- MSTeams (New MS Teams app)
|
||||
|
||||
@@ -237,7 +245,6 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
- CyberLinkMediaSuiteEssentials
|
||||
- DisneyMagicKingdoms
|
||||
- Disney
|
||||
- Dolby
|
||||
- DrawboardPDF
|
||||
- Duolingo-LearnLanguagesforFree
|
||||
- EclipseManager
|
||||
@@ -266,7 +273,6 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
- Shazam
|
||||
- Sidia.LiveWallpaper
|
||||
- SlingTV
|
||||
- Speed Test
|
||||
- Spotify
|
||||
- TikTok
|
||||
- TuneInRadio
|
||||
@@ -276,12 +282,15 @@ Win11Debloat offers a default mode that allows you to quickly and easily apply t
|
||||
- Wunderlist
|
||||
- XING
|
||||
|
||||
* App is removed when disabling Bing in Windows search.
|
||||
* Removed when disabling Bing web search, Bing AI and Cortana from Windows search
|
||||
** Removed when disabling widgets on the taskbar & lockscreen
|
||||
</blockquote>
|
||||
</details>
|
||||
|
||||
#### Apps that are NOT removed as part of the default mode
|
||||
|
||||
These apps are not removed by default. They will only be removed if you manually select them.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
<blockquote>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7
Regfiles/Undo/Allow_Edge_Telemetry.reg
Normal file
7
Regfiles/Undo/Allow_Edge_Telemetry.reg
Normal file
@@ -0,0 +1,7 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
; Allow personalization of ads, Microsoft Edge, search, news and other Microsoft services by sending browsing history, favorites and collections, usage and other browsing data to Microsoft
|
||||
; Allow sending required and optional diagnostic data about browser usage
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
|
||||
"PersonalizationReportingEnabled"=-
|
||||
"DiagnosticData"=-
|
||||
Binary file not shown.
Binary file not shown.
116
Win11Debloat.ps1
116
Win11Debloat.ps1
@@ -8,7 +8,8 @@ param (
|
||||
[string]$User,
|
||||
[switch]$CreateRestorePoint,
|
||||
[switch]$RunAppsListGenerator, [switch]$RunAppConfigurator,
|
||||
[switch]$RunDefaults, [switch]$RunWin11Defaults,
|
||||
[switch]$RunDefaults,
|
||||
[switch]$RunDefaultsLite,
|
||||
[switch]$RunSavedSettings,
|
||||
[switch]$RemoveApps,
|
||||
[switch]$RemoveAppsCustom,
|
||||
@@ -467,7 +468,7 @@ function ForceRemoveEdge {
|
||||
$hklm = [Microsoft.Win32.RegistryKey]::OpenBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine, $regView)
|
||||
$hklm.CreateSubKey('SOFTWARE\Microsoft\EdgeUpdateDev').SetValue('AllowUninstall', '')
|
||||
|
||||
# Create stub (Creating this somehow allows uninstalling edge)
|
||||
# Create stub (Creating this somehow allows uninstalling Edge)
|
||||
$edgeStub = "$env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"
|
||||
New-Item $edgeStub -ItemType Directory | Out-Null
|
||||
New-Item "$edgeStub\MicrosoftEdge.exe" | Out-Null
|
||||
@@ -500,7 +501,7 @@ function ForceRemoveEdge {
|
||||
|
||||
Write-Output "Cleaning up registry..."
|
||||
|
||||
# Remove ms edge from autostart
|
||||
# Remove MS Edge from autostart
|
||||
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "MicrosoftEdgeAutoLaunch_A9F6DCE4ABADF4F51CF45CD7129E3C6C" /f *>$null
|
||||
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "Microsoft Edge Update" /f *>$null
|
||||
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "MicrosoftEdgeAutoLaunch_A9F6DCE4ABADF4F51CF45CD7129E3C6C" /f *>$null
|
||||
@@ -575,23 +576,28 @@ function CheckModernStandbySupport {
|
||||
function GetUserDirectory {
|
||||
param (
|
||||
$userName,
|
||||
$fileName = ""
|
||||
$fileName = "",
|
||||
$exitIfPathNotFound = $true
|
||||
)
|
||||
|
||||
$userDirectoryExists = Test-Path "$env:SystemDrive\Users\$userName"
|
||||
$userPath = "$env:SystemDrive\Users\$userName\$fileName"
|
||||
|
||||
if (-not (Test-Path $userPath)) {
|
||||
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName\$fileName"
|
||||
if ((Test-Path $userPath) -or ($userDirectoryExists -and (-not $exitIfPathNotFound))) {
|
||||
return $userPath
|
||||
}
|
||||
|
||||
$userDirectoryExists = Test-Path $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName"
|
||||
$userPath = $env:USERPROFILE -Replace ('\\' + $env:USERNAME + '$'), "\$userName\$fileName"
|
||||
|
||||
if ((Test-Path $userPath) -or ($userDirectoryExists -and (-not $exitIfPathNotFound))) {
|
||||
return $userPath
|
||||
}
|
||||
|
||||
if (-not (Test-Path $userPath)) {
|
||||
Write-Host "Error: Unable to find user directory path for user $userName" -ForegroundColor Red
|
||||
AwaitKeyToExit
|
||||
}
|
||||
|
||||
return $userPath
|
||||
}
|
||||
|
||||
|
||||
# Import & execute regfile
|
||||
function RegImport {
|
||||
@@ -682,7 +688,7 @@ function ReplaceStartMenuForAllUsers {
|
||||
}
|
||||
|
||||
# Also replace the start menu file for the default user profile
|
||||
$defaultStartMenuPath = GetUserDirectory -userName "Default" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState"
|
||||
$defaultStartMenuPath = GetUserDirectory -userName "Default" -fileName "AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState" -exitIfPathNotFound $false
|
||||
|
||||
# Create folder if it doesn't exist
|
||||
if (-not (Test-Path $defaultStartMenuPath)) {
|
||||
@@ -793,12 +799,15 @@ function PrintHeader {
|
||||
function PrintFromFile {
|
||||
param (
|
||||
$path,
|
||||
$title
|
||||
$title,
|
||||
$printHeader = $true
|
||||
)
|
||||
|
||||
if ($printHeader) {
|
||||
Clear-Host
|
||||
|
||||
PrintHeader $title
|
||||
}
|
||||
|
||||
# Get & print script menu from file
|
||||
Foreach ($line in (Get-Content -Path $path )) {
|
||||
@@ -968,9 +977,9 @@ function DisplayCustomModeOptions {
|
||||
|
||||
Write-Output ""
|
||||
|
||||
if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer, lockscreen and edge? (y/n)" ) -eq 'y') {
|
||||
if ($( Read-Host -Prompt "Disable tips, tricks, suggestions and ads in start, settings, notifications, explorer, lockscreen and Edge? (y/n)" ) -eq 'y') {
|
||||
AddParameter 'DisableSuggestions' 'Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer'
|
||||
AddParameter 'DisableEdgeAds' 'Disable ads and the MSN news feed in Microsoft Edge'
|
||||
AddParameter 'DisableEdgeAds' 'Disable ads, suggestions and the MSN news feed in Microsoft Edge'
|
||||
AddParameter 'DisableSettings365Ads' 'Disable Microsoft 365 ads in Settings Home'
|
||||
AddParameter 'DisableLockscreenTips' 'Disable tips & tricks on the lockscreen'
|
||||
}
|
||||
@@ -1418,8 +1427,8 @@ if ($RunAppConfigurator -or $RunAppsListGenerator) {
|
||||
}
|
||||
|
||||
# Change script execution based on provided parameters or user input
|
||||
if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunSavedSettings -or ($SPParamCount -eq $script:Params.Count)) {
|
||||
if ($RunDefaults -or $RunWin11Defaults) {
|
||||
if ((-not $script:Params.Count) -or $RunDefaults -or $RunDefaultsLite -or $RunSavedSettings -or ($SPParamCount -eq $script:Params.Count)) {
|
||||
if ($RunDefaults -or $RunDefaultsLite) {
|
||||
$Mode = '1'
|
||||
}
|
||||
elseif ($RunSavedSettings) {
|
||||
@@ -1474,15 +1483,74 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
|
||||
switch ($Mode) {
|
||||
# Default mode, loads defaults after confirmation
|
||||
'1' {
|
||||
if (-not $script:Params.ContainsKey('CreateRestorePoint')) {
|
||||
$script:Params.Add('CreateRestorePoint', $true)
|
||||
}
|
||||
|
||||
# Show the default settings with confirmation, unless Silent parameter was passed
|
||||
if (-not $Silent) {
|
||||
PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode"
|
||||
# Show options for app removal
|
||||
if ((-not $RunDefaults) -and (-not $RunDefaultsLite)) {
|
||||
PrintHeader 'Default Mode'
|
||||
|
||||
Do {
|
||||
Write-Host "Options:" -ForegroundColor Yellow
|
||||
Write-Host " (n) Don't remove any apps" -ForegroundColor Yellow
|
||||
Write-Host " (1) Only remove the default selection of bloatware apps" -ForegroundColor Yellow
|
||||
Write-Host " (2) Manually select which apps to remove" -ForegroundColor Yellow
|
||||
$RemoveAppsInput = Read-Host "Do you want to remove any apps? Apps will be removed for all users (n/1/2)"
|
||||
|
||||
# Show app selection form if user entered option 3
|
||||
if ($RemoveAppsInput -eq '2') {
|
||||
$result = ShowAppSelectionForm
|
||||
|
||||
if ($result -ne [System.Windows.Forms.DialogResult]::OK) {
|
||||
# User cancelled or closed app selection, show error and change RemoveAppsInput so the menu will be shown again
|
||||
Write-Output ""
|
||||
Write-Host "Cancelled application selection, please try again" -ForegroundColor Red
|
||||
|
||||
$RemoveAppsInput = 'c'
|
||||
}
|
||||
|
||||
Write-Output ""
|
||||
}
|
||||
}
|
||||
while ($RemoveAppsInput -ne 'n' -and $RemoveAppsInput -ne '0' -and $RemoveAppsInput -ne '1' -and $RemoveAppsInput -ne '2')
|
||||
} elseif ($RunDefaultsLite) {
|
||||
$RemoveAppsInput = '0'
|
||||
} else {
|
||||
$RemoveAppsInput = '1'
|
||||
}
|
||||
|
||||
PrintHeader 'Default Mode'
|
||||
|
||||
Write-Output "Win11Debloat will make the following changes:"
|
||||
|
||||
# Select correct option based on user input
|
||||
switch ($RemoveAppsInput) {
|
||||
'1' {
|
||||
if (-not $script:Params.ContainsKey('RemoveApps')) {
|
||||
$script:Params.Add('RemoveApps', $true)
|
||||
}
|
||||
|
||||
Write-Output "- Remove the default selection of apps."
|
||||
}
|
||||
'2' {
|
||||
if (-not $script:Params.ContainsKey('RemoveAppsCustom')) {
|
||||
$script:Params.Add('RemoveAppsCustom', $true)
|
||||
}
|
||||
|
||||
Write-Output "- Remove your custom selection of $($script:SelectedApps.Count) apps."
|
||||
}
|
||||
}
|
||||
|
||||
PrintFromFile "$PSScriptRoot/Assets/Menus/DefaultSettings" "Default Mode" $false
|
||||
|
||||
Write-Output "Press enter to execute the script or press CTRL+C to quit..."
|
||||
Read-Host | Out-Null
|
||||
}
|
||||
|
||||
$DefaultParameterNames = 'CreateRestorePoint','RemoveApps','DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableCopilot','DisableFastStartup'
|
||||
$DefaultParameterNames = 'DisableTelemetry','DisableBing','DisableLockscreenTips','DisableSuggestions','DisableEdgeAds','ShowKnownFileExt','DisableWidgets','HideChat','DisableFastStartup','DisableCopilot'
|
||||
|
||||
PrintHeader 'Default Mode'
|
||||
|
||||
@@ -1498,11 +1566,17 @@ if ((-not $script:Params.Count) -or $RunDefaults -or $RunWin11Defaults -or $RunS
|
||||
$script:Params.Add('Hide3dObjects', $Hide3dObjects)
|
||||
}
|
||||
|
||||
# Only add this option for Windows 11 users (build 22000+), if it doesn't already exist
|
||||
if (($WinVersion -ge 22000) -and $script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) {
|
||||
# Only add these options for Windows 11 users (build 22000+), if it doesn't already exist
|
||||
if ($WinVersion -ge 22000) {
|
||||
if (-not $script:Params.ContainsKey('DisableRecall')) {
|
||||
$script:Params.Add('DisableRecall', $true)
|
||||
}
|
||||
|
||||
if ($script:ModernStandbySupported -and (-not $script:Params.ContainsKey('DisableModernStandbyNetworking'))) {
|
||||
$script:Params.Add('DisableModernStandbyNetworking', $true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Custom mode, show & add options based on user input
|
||||
'2' {
|
||||
@@ -1663,7 +1737,7 @@ switch ($script:Params.Keys) {
|
||||
continue
|
||||
}
|
||||
'DisableEdgeAds' {
|
||||
RegImport "> Disabling ads and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg"
|
||||
RegImport "> Disabling ads, suggestions and the MSN news feed in Microsoft Edge..." "Disable_Edge_Ads_And_Suggestions.reg"
|
||||
continue
|
||||
}
|
||||
{$_ -in "DisableLockscrTips", "DisableLockscreenTips"} {
|
||||
|
||||
Reference in New Issue
Block a user