Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LeDragoX/Win-Debloat-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: teamhyper/Win-Debloat-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 6 commits
  • 5 files changed
  • 1 contributor

Commits on Dec 17, 2024

  1. Copy the full SHA
    3367d52 View commit details
  2. Copy the full SHA
    957a419 View commit details
  3. add powersettings script

    cmcgroarty committed Dec 17, 2024
    Copy the full SHA
    dbe579b View commit details
  4. Copy the full SHA
    dec80eb View commit details
  5. Copy the full SHA
    3d5c872 View commit details
  6. Copy the full SHA
    1debef1 View commit details
Showing with 51 additions and 49 deletions.
  1. +32 −0 src/scripts/Optimize-PowerSettings.ps1
  2. +16 −10 src/scripts/Remove-BloatwareAppsList.ps1
  3. +1 −13 src/scripts/Remove-MSEdge.ps1
  4. +1 −13 src/scripts/Remove-WindowsOld.ps1
  5. +1 −13 src/scripts/Remove-Xbox.ps1
32 changes: 32 additions & 0 deletions src/scripts/Optimize-PowerSettings.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Syntax
# powercfg [Options]
# /Change settingvalue
# /x setting value
# Modify one of the following settings in the current power scheme:
# monitor-timeout-ac minutes
# monitor-timeout-dc minutes
# disk-timeout-ac minutes
# disk-timeout-dc minutes
# standby-timeout-ac minutes
# standby-timeout-dc minutes
# hibernate-timeout-ac minutes
# hibernate-timeout-dc minutes
# Setting any value to 0 will set the timeout=Never
# AC settings are used when the system is on AC power. DC settings on battery power.
# /Hibernate [on|off]
# /H [on|off]
# Enable or disable the hibernate feature.
# This will also turn off Fast Startup (or hybrid sleep)
# Hibernate timeout is not supported on all computers.

Powercfg /Hibernate on

Powercfg /Change monitor-timeout-ac 5
Powercfg /Change disk-timeout-ac 5
Powercfg /Change standby-timeout-ac 0
Powercfg /Change hibernate-timeout-ac 0

Powercfg /Change monitor-timeout-dc 2
Powercfg /Change disk-timeout-dc 2
Powercfg /Change standby-timeout-dc 10
Powercfg /Change hibernate-timeout-dc 180
26 changes: 16 additions & 10 deletions src/scripts/Remove-BloatwareAppsList.ps1
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ function Remove-BloatwareAppsList() {
"Microsoft.BingFoodAndDrink" # Food And Drink
"Microsoft.BingHealthAndFitness" # Health And Fitness
"Microsoft.BingNews" # News
"Microsoft.BingSearch" # Search
"Microsoft.BingSports" # Sports
"Microsoft.BingTranslator" # Translator
"Microsoft.BingTravel" # Travel
@@ -24,6 +25,7 @@ function Remove-BloatwareAppsList() {
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftPowerBIForWindows"
"Microsoft.MicrosoftSolitaireCollection" # MS Solitaire
"Microsoft.MinecraftUWP"
"Microsoft.MixedReality.Portal"
"Microsoft.NetworkSpeedTest"
"Microsoft.Office.OneNote" # MS Office One Note
@@ -39,12 +41,14 @@ function Remove-BloatwareAppsList() {
"Microsoft.Whiteboard" # Microsoft Whiteboard
"Microsoft.WindowsAlarms" # Alarms
"microsoft.windowscommunicationsapps"
"Microsoft.Windows.Cortana"
"Microsoft.WindowsFeedback"
"Microsoft.WindowsFeedbackHub" # Feedback Hub
"Microsoft.WindowsMaps" # Maps
"Microsoft.WindowsPhone"
"Microsoft.WindowsReadingList"
"Microsoft.WindowsSoundRecorder" # Windows Sound Recorder
"Microsoft.XboxApp" # Xbox Console Companion (Replaced by new App)
"Microsoft.XboxApp" # Xbox Console Companion (Replaced by new App)
"Microsoft.YourPhone" # Your Phone
"Microsoft.ZuneMusic" # Groove Music / (New) Windows Media Player
"Microsoft.ZuneVideo" # Movies & TV
@@ -56,15 +60,17 @@ function Remove-BloatwareAppsList() {
"Clipchamp.Clipchamp" # Clipchamp – Video Editor
"Microsoft.OutlookForWindows" # Microsoft Outlook
"MicrosoftTeams" # Microsoft Teams
"MicrosoftCorporationII.QuickAssist"
"MSTeams"
"MicrosoftWindows.Client.WebExperience" # Taskbar Widgets

# [DIY] Remove the # to Uninstall

# [DIY] Default apps i'll keep
#"Microsoft.FreshPaint" # Paint
#"Microsoft.MicrosoftStickyNotes" # Sticky Notes
"Microsoft.MicrosoftStickyNotes" # Sticky Notes
#"Microsoft.WindowsCalculator" # Calculator
#"Microsoft.WindowsCamera" # Camera
"Microsoft.WindowsCamera" # Camera
#"Microsoft.ScreenSketch" # Snip and Sketch (now called Snipping tool, replaces the Win32 version in clean installs)
#"Microsoft.Windows.DevHome" # Dev Home
#"Microsoft.Windows.Photos" # Photos / Video Editor
@@ -124,19 +130,19 @@ function Remove-BloatwareAppsList() {
"DB6EA5DB.PowerDirectorforDell"
"DB6EA5DB.Power2GoforDell"
"DB6EA5DB.PowerMediaPlayerforDell"
#"DellInc.423703F9C7E0E" # Alienware OC Controls
#"DellInc.6066037A8FCF7" # Alienware Control Center
#"DellInc.AlienwareCommandCenter" # Alienware Command Center
#"DellInc.AlienwareFXAW*" # Alienware FX AWxx versions
#"DellInc.AlienwareFXAW21" # Alienware FX AW21
"DellInc.423703F9C7E0E" # Alienware OC Controls
"DellInc.6066037A8FCF7" # Alienware Control Center
"DellInc.AlienwareCommandCenter" # Alienware Command Center
"DellInc.AlienwareFXAW*" # Alienware FX AWxx versions
"DellInc.AlienwareFXAW21" # Alienware FX AW21
"DellInc.DellCustomerConnect" # Dell Customer Connect
"DellInc.DellDigitalDelivery" # Dell Digital Delivery
"DellInc.DellHelpSupport"
"DellInc.DellProductRegistration"
"DellInc.MyDell" # My Dell

# SAMSUNG Bloat
#"SAMSUNGELECTRONICSCO.LTD.SamsungSettings1.2" # Allow user to Tweak some hardware settings
"SAMSUNGELECTRONICSCO.LTD.SamsungSettings1.2" # Allow user to Tweak some hardware settings
"SAMSUNGELECTRONICSCO.LTD.1412377A9806A"
"SAMSUNGELECTRONICSCO.LTD.NewVoiceNote"
"SAMSUNGELECTRONICSCoLtd.SamsungNotes"
@@ -156,7 +162,7 @@ function Remove-BloatwareAppsList() {
)

$SocialMediaApps = @(
# "5319275A.WhatsAppDesktop" # WhatsApp
"5319275A.WhatsAppDesktop" # WhatsApp
"BytedancePte.Ltd.TikTok" # TikTok
"FACEBOOK.317180B0BB486" # Messenger
"FACEBOOK.FACEBOOK" # Facebook
14 changes: 1 addition & 13 deletions src/scripts/Remove-MSEdge.ps1
Original file line number Diff line number Diff line change
@@ -52,16 +52,4 @@ function Remove-MSEdge() {
Remove-ItemVerified -Path "$env:SystemDrive\Program Files (x86)\Microsoft\Temp" -Recurse -Force | Out-Host
}

$Ask = "Are you sure you want to remove Microsoft Edge from Windows?`nWill uninstall WebView2 and thus break many PWA (Progressive Web App) applications`n(e.g., Snapchat, Instagram...)`n`nYou can reinstall Edge anytime.`nNote: all users logged in will remain."

switch (Show-Question -Title "Warning" -Message $Ask -BoxIcon "Warning") {
'Yes' {
Remove-MSEdge
}
'No' {
Write-Host "Aborting..."
}
'Cancel' {
Write-Host "Aborting..." # With Yes, No and Cancel, the user can press Esc to exit
}
}
Remove-MSEdge
14 changes: 1 addition & 13 deletions src/scripts/Remove-WindowsOld.ps1
Original file line number Diff line number Diff line change
@@ -9,16 +9,4 @@ function Remove-WindowsOld() {
Remove-ItemVerified -Path "$env:SystemDrive\Windows.old\" -Recurse -Force
}

$Ask = "Are you sure you want to remove $env:SystemDrive\Windows.old?`nOnly do this AFTER you have moved all your data from there.`n`nList from a few folders:`n- $env:SystemDrive\Windows.old\Users\$env:USERNAME\[...]`n - AppData`n - Desktop`n - Documents`n - Downloads`n - Music`n - Pictures`n - Videos`n- $env:SystemDrive\Windows.old\ProgramData"

switch (Show-Question -Title "Warning" -Message $Ask -BoxIcon "Warning") {
'Yes' {
Remove-WindowsOld
}
'No' {
Write-Host "Aborting..."
}
'Cancel' {
Write-Host "Aborting..." # With Yes, No and Cancel, the user can press Esc to exit
}
}
Remove-WindowsOld
14 changes: 1 addition & 13 deletions src/scripts/Remove-Xbox.ps1
Original file line number Diff line number Diff line change
@@ -40,16 +40,4 @@ function Remove-Xbox() {
Disable-XboxGameBarDVRandMode
}

$Ask = "This will remove and/or disable all the Xbox:`n - Apps;`n - Services and;`n - GameBar;`n - GameDVR.`n`nDo you want to proceed?"

switch (Show-Question -Title "Warning" -Message $Ask -BoxIcon "Warning") {
'Yes' {
Remove-Xbox # Remove all Xbox related Apps, services, etc.
}
'No' {
Write-Host "Aborting..."
}
'Cancel' {
Write-Host "Aborting..." # With Yes, No and Cancel, the user can press Esc to exit
}
}
Remove-Xbox # Remove all Xbox related Apps, services, etc.