mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 11:06:18 +00:00
Fixed windows explorer ads not being disabled properly & added new setting to disable telemetry
This commit is contained in:
19
Run.ps1
19
Run.ps1
@@ -3,8 +3,8 @@ Write-Output "Attempting to launch script with admin privileges..."
|
||||
PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Unrestricted -File ""$PSScriptRoot\Win10Debloat.ps1""' -Verb RunAs}";
|
||||
|
||||
<#------------------------------------------------------------------------------------------------------------------------------------------------>
|
||||
It's possible to tweak the behaviour of the script by adding arguments to the ArgumentList, a full list of arguments is shown below.
|
||||
This has the added benefit that the script will run without requiring any user input during runtime, allowing you to automate the process.
|
||||
It's possible to tweak the behaviour of the script by running the script with one or more of the arguments in the ArgumentList as shown below.
|
||||
This allows you to tailor the behaviour of the script to your needs without any user input during runtime, making it quicker and easier to deploy.
|
||||
|
||||
The example below configures the script to only remove apps and disable bing in windows search:
|
||||
|
||||
@@ -16,14 +16,17 @@ PowerShell -NoProfile -ExecutionPolicy Unrestricted -Command "& {Start-Process P
|
||||
-Verb RunAs}";
|
||||
|
||||
Supported Arguments:
|
||||
-RunDefaults | Run the script with default settings
|
||||
-RemoveApps | Remove configured apps
|
||||
-DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar.
|
||||
-Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||
-DisableMusic | Hide the music folder under 'This pc' in windows explorer.
|
||||
-RunDefaults | Run the script with windows 10 default settings.
|
||||
-RunWin11Defaults | Run the script with windows 11 default settings.
|
||||
-RemoveApps | Remove all bloatware apps from the list found in README.md.
|
||||
-DisableTelemetry | Disable telemetry, diagnostic data & targeted ads.
|
||||
-DisableBingSearches | Disable bing in windows search.
|
||||
-DisableLockscreenTips | Disable tips & tricks on the lockscreen.
|
||||
-DisableExplorerSyncAds | Disable sync provider ads in windows explorer.
|
||||
-DisableLockscreenTips | Disable tips & tricks on the lockscreen.
|
||||
-DisableWindowsSuggestions | Disable tips, tricks and suggestions in the startmenu and settings.
|
||||
-DisableOnedrive | Hide the onedrive folder in the windows explorer sidebar.
|
||||
-Disable3dObjects | Hide the 3D objects folder under 'This pc' in windows explorer.
|
||||
-DisableMusic | Hide the music folder under 'This pc' in windows explorer.
|
||||
-DisableIncludeInLibrary | Disable the 'Include in library' option in the context menu.
|
||||
-DisableGiveAccessTo | Disable the 'Give access to' option in the context menu.
|
||||
-DisableShare | Disable the 'Share' option in the context menu.
|
||||
|
||||
Reference in New Issue
Block a user