Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fenestrableach authored Feb 3, 2024
1 parent 3d1e04e commit 3bef692
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 0 deletions.
26 changes: 26 additions & 0 deletions EduBleach/EduBleach_11/EduBleach_11.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@echo off
:menu
cls
echo Choose EduBleach_11 script which you need to run:
echo 1. All UWP apps
echo 2. Except Store
echo 3. Except Store and Xbox services
echo 4. Exit

set /p choice=Enter your choice:

if /i "%choice%"=="1" (
powershell.exe -ExecutionPolicy Bypass -File "EduBleach_11_(all_uwp_apps).ps1"
) else if /i "%choice%"=="2" (
powershell.exe -ExecutionPolicy Bypass -File "EduBleach_11_(except_store).ps1"
) else if /i "%choice%"=="3" (
powershell.exe -ExecutionPolicy Bypass -File "EduBleach_11_(except_store_and_xbox_services).ps1"
) else if /i "%choice%"=="4" (
goto :end
) else (
echo Invalid choice. Please try again.
timeout /nobreak /t 2 >nul
goto :menu
)

:end
56 changes: 56 additions & 0 deletions EduBleach/EduBleach_11/EduBleach_11_(all_uwp_apps).ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# EduBleach_11_(all_uwp_apps)

# List of apps to uninstall
$appsToUninstall = @(
"Clipchamp.Clipchamp"
"Microsoft.BingNews"
"Microsoft.BingWeather"
"Microsoft.GamingApp"
"Microsoft.GetHelp"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.MicrosoftStickyNotes"
"Microsoft.People"
"Microsoft.PowerAutomateDesktop"
"Microsoft.StorePurchaseApp"
"Microsoft.Todos"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCalculator"
"Microsoft.WindowsCamera"
"microsoft.windowscommunicationsapps"
"Microsoft.WindowsFeedbackHub"
"Microsoft.WindowsMaps"
"Microsoft.WindowsSoundRecorder"
"Microsoft.Xbox.TCUI"
"Microsoft.XboxGameOverlay"
"Microsoft.XboxGamingOverlay"
"Microsoft.XboxSpeechToTextOverlay"
"Microsoft.XboxIdentityProvider"
"Microsoft.YourPhone"
"Microsoft.ZuneVideo"
"MicrosoftCorporationII.QuickAssist"
"Microsoft.549981C3F5F10"
"Microsoft.Getstarted"
"Microsoft.WindowsStore"
"Microsoft.Paint"
"Microsoft.ZuneMusic"
"Microsoft.WindowsNotepad"
"Microsoft.ScreenSketch"
"Microsoft.WindowsTerminal"
"Microsoft.OutlookForWindows"
)

# View of apps to uninstall
foreach ($app in $appsToUninstall) {
try {
# Uninstalling apps using Remove-AppxPackage cmdlet
Get-AppxPackage -Name $app | Remove-AppxPackage -ErrorAction Stop
Write-Host "Successfully uninstalled $app"
} catch {
Write-Host "Failed to uninstall $app. Error: $_"
}
}

# Pause script execution
Read-Host "Press Enter to exit"
54 changes: 54 additions & 0 deletions EduBleach/EduBleach_11/EduBleach_11_(except_store).ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# EduBleach_11_(except_store)

# List of apps to uninstall
$appsToUninstall = @(
"Clipchamp.Clipchamp"
"Microsoft.BingNews"
"Microsoft.BingWeather"
"Microsoft.GamingApp"
"Microsoft.GetHelp"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.MicrosoftStickyNotes"
"Microsoft.People"
"Microsoft.PowerAutomateDesktop"
"Microsoft.Todos"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCalculator"
"Microsoft.WindowsCamera"
"microsoft.windowscommunicationsapps"
"Microsoft.WindowsFeedbackHub"
"Microsoft.WindowsMaps"
"Microsoft.WindowsSoundRecorder"
"Microsoft.Xbox.TCUI"
"Microsoft.XboxGameOverlay"
"Microsoft.XboxGamingOverlay"
"Microsoft.XboxSpeechToTextOverlay"
"Microsoft.XboxIdentityProvider"
"Microsoft.YourPhone"
"Microsoft.ZuneVideo"
"MicrosoftCorporationII.QuickAssist"
"Microsoft.549981C3F5F10"
"Microsoft.Getstarted"
"Microsoft.Paint"
"Microsoft.ZuneMusic"
"Microsoft.WindowsNotepad"
"Microsoft.ScreenSketch"
"Microsoft.WindowsTerminal"
"Microsoft.OutlookForWindows"
)

# View of apps to uninstall
foreach ($app in $appsToUninstall) {
try {
# Uninstalling apps using Remove-AppxPackage cmdlet
Get-AppxPackage -Name $app | Remove-AppxPackage -ErrorAction Stop
Write-Host "Successfully uninstalled $app"
} catch {
Write-Host "Failed to uninstall $app. Error: $_"
}
}

# Pause script execution
Read-Host "Press Enter to exit"
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# EduBleach_11_(except_store_and_xbox_services)

# List of apps to uninstall
$appsToUninstall = @(
"Clipchamp.Clipchamp"
"Microsoft.BingNews"
"Microsoft.BingWeather"
"Microsoft.GamingApp"
"Microsoft.GetHelp"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.MicrosoftStickyNotes"
"Microsoft.People"
"Microsoft.PowerAutomateDesktop"
"Microsoft.Todos"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCalculator"
"Microsoft.WindowsCamera"
"microsoft.windowscommunicationsapps"
"Microsoft.WindowsFeedbackHub"
"Microsoft.WindowsMaps"
"Microsoft.WindowsSoundRecorder"
"Microsoft.YourPhone"
"Microsoft.ZuneVideo"
"MicrosoftCorporationII.QuickAssist"
"Microsoft.549981C3F5F10"
"Microsoft.Getstarted"
"Microsoft.Paint"
"Microsoft.ZuneMusic"
"Microsoft.WindowsNotepad"
"Microsoft.ScreenSketch"
"Microsoft.WindowsTerminal"
"Microsoft.OutlookForWindows"
)

# View of apps to uninstall
foreach ($app in $appsToUninstall) {
try {
# Uninstalling apps using Remove-AppxPackage cmdlet
Get-AppxPackage -Name $app | Remove-AppxPackage -ErrorAction Stop
Write-Host "Successfully uninstalled $app"
} catch {
Write-Host "Failed to uninstall $app. Error: $_"
}
}

# Pause script execution
Read-Host "Press Enter to exit"

0 comments on commit 3bef692

Please sign in to comment.