Merge pull request #1 from Sycnex/master

Update Fork
This commit is contained in:
Nick Noriega 2020-07-10 11:37:35 -04:00 committed by GitHub
commit e30814bab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 62 deletions

112
README.md
View File

@ -1,4 +1,5 @@
# Windows10Debloater # Windows10Debloater
Script/Utility/Application to debloat Windows 10 Script/Utility/Application to debloat Windows 10
# How To Run the Windows10Debloater.ps1 and the Windows10DebloaterGUI.ps1 files # How To Run the Windows10Debloater.ps1 and the Windows10DebloaterGUI.ps1 files
@ -12,10 +13,10 @@ First Method:
3) Enable PowerShell execution 3) Enable PowerShell execution
<code>Set-ExecutionPolicy Unrestricted -Force</code> <code>Set-ExecutionPolicy Unrestricted -Force</code>
4) On the prompt, change to the directory where you extracted the files: 4) On the prompt, change to the directory where you extracted the files:
e.g. - cd c:\temp e.g. - `cd c:\temp`
5) Next, to run either script, enter in the following: 5) Next, to run either script, enter in the following:
e.g. - .\Windows10DebloaterGUI.ps1 e.g. - `.\Windows10DebloaterGUI.ps1`
Second Method: Second Method:
@ -28,18 +29,18 @@ Remember this script NEEDS to be run as admin in order to function properly.
# How To Run the Windows10SysPrepDebloater.ps1 file # How To Run the Windows10SysPrepDebloater.ps1 file
For the WindowsSysPrepDebloater.ps1 file, there are a couple of paramters that you can run so that you can specify which functions are used. The parameters are: For the WindowsSysPrepDebloater.ps1 file, there are a couple of parameters that you can run so that you can specify which functions are used. The parameters are:
-SysPrep, -Debloat. `-SysPrep, -Debloat`.
To run this with parameters, do the following: To run this with parameters, do the following:
1) Download the .zip file on the main page of the github and extract the .zip file to your desired location 1) Download the .zip file on the main page of the github and extract the .zip file to your desired location
2) Once extracted, open PowerShell (or PowerShell ISE) as an Administrator 2) Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
3) On the prompt, change to the directory where you extracted the files: 3) On the prompt, change to the directory where you extracted the files:
e.g. - cd c:\temp e.g. - `cd c:\temp`
4) Next, to run either script, enter in the following: 4) Next, to run either script, enter in the following:
e.g. - .\Windows10SysPrepDebloater.ps1 -Sysprep, -Debloat -Privacy e.g. - `.\Windows10SysPrepDebloater.ps1 -Sysprep, -Debloat -Privacy`
# Sysprep, Interactive, and GUI Application # Sysprep, Interactive, and GUI Application
@ -101,70 +102,69 @@ These scheduled tasks that are disabled have absolutely no impact on the functio
# Bloatware that is removed: # Bloatware that is removed:
3DBuilder, 3DBuilder,
ActiproSoftware,
Alarms,
Appconnector, Appconnector,
Asphalt8,
Autodesk SketchBook,
Bing Finance, Bing Finance,
Bing Food And Drink,
Bing Health And Fitness,
Bing News, Bing News,
Bing Sports, Bing Sports,
Bing Travel,
Bing Weather, Bing Weather,
BioEnrollment,
Camera,
CandyCrush,
CandyCrushSoda,
Caesars Slots Free Casino,
ContactSupport,
CyberLink MediaSuite Essentials,
DrawboardPDF,
Duolingo,
EclipseManager,
Facebook,
FarmVille 2 Country Escape,
Flipboard,
Fresh Paint, Fresh Paint,
Get started, Get started,
iHeartRadio,
King apps,
Maps,
March of Empires,
Messaging,
Microsoft Office Hub, Microsoft Office Hub,
Microsoft Solitaire Collection, Microsoft Solitaire Collection,
Microsoft Sticky Notes, Microsoft Sticky Notes,
Minecraft,
Netflix,
Network Speed Test,
NYT Crossword,
Office Sway,
OneNote, OneNote,
OneConnect, OneConnect,
People,
Skype for Desktop,
Alarms,
Camera,
Maps,
Phone,
SoundRecorder,
XboxApp,
Zune Music,
Zune Video,
Windows communications apps,
Minecraft,
PowerBI,
Network Speed Test,
Phone,
Messaging,
Office Sway,
Windows Feedback Hub,
Bing Food And Drink,
Bing Travel,
Bing Health And Fitness,
Windows Reading List,
Twitter,
Pandora, Pandora,
Flipboard, People,
Shazam, Phone,
CandyCrush,
CandyCrushSoda,
King apps,
iHeartRadio,
Netflix,
DrawboardPDF,
PicsArt-PhotoStudio,
FarmVille 2 Country Escape,
TuneInRadio,
Asphalt8,
NYT Crossword,
CyberLink MediaSuite Essentials,
Facebook,
Royal Revolt 2,
Caesars Slots Free Casino,
March of Empires,
Phototastic Collage, Phototastic Collage,
Autodesk SketchBook, PicsArt-PhotoStudio,
Duolingo, PowerBI,
EclipseManager, Royal Revolt 2,
ActiproSoftware, Shazam,
BioEnrollment, Skype for Desktop,
SoundRecorder,
TuneInRadio,
Twitter,
Windows communications apps,
Windows Feedback, Windows Feedback,
Windows Feedback Hub,
Windows Reading List,
XboxApp,
Xbox Game CallableUI, Xbox Game CallableUI,
Xbox Identity Provider, and Xbox Identity Provider,
ContactSupport. Zune Music,
Zune Video.
# Quick download link # Quick download link

View File

@ -44,7 +44,7 @@ Function DebloatAll {
Microsoft.BioEnrollment|Microsoft.CredDialogHost|Microsoft.ECApp|Microsoft.LockApp|Microsoft.MicrosoftEdgeDevToolsClient|Microsoft.MicrosoftEdge|Microsoft.PPIProjection|Microsoft.Win32WebViewHost|Microsoft.Windows.Apprep.ChxApp|` Microsoft.BioEnrollment|Microsoft.CredDialogHost|Microsoft.ECApp|Microsoft.LockApp|Microsoft.MicrosoftEdgeDevToolsClient|Microsoft.MicrosoftEdge|Microsoft.PPIProjection|Microsoft.Win32WebViewHost|Microsoft.Windows.Apprep.ChxApp|`
Microsoft.Windows.AssignedAccessLockApp|Microsoft.Windows.CapturePicker|Microsoft.Windows.CloudExperienceHost|Microsoft.Windows.ContentDeliveryManager|Microsoft.Windows.Cortana|Microsoft.Windows.NarratorQuickStart|` Microsoft.Windows.AssignedAccessLockApp|Microsoft.Windows.CapturePicker|Microsoft.Windows.CloudExperienceHost|Microsoft.Windows.ContentDeliveryManager|Microsoft.Windows.Cortana|Microsoft.Windows.NarratorQuickStart|`
Microsoft.Windows.ParentalControls|Microsoft.Windows.PeopleExperienceHost|Microsoft.Windows.PinningConfirmationDialog|Microsoft.Windows.SecHealthUI|Microsoft.Windows.SecureAssessmentBrowser|Microsoft.Windows.ShellExperienceHost|` Microsoft.Windows.ParentalControls|Microsoft.Windows.PeopleExperienceHost|Microsoft.Windows.PinningConfirmationDialog|Microsoft.Windows.SecHealthUI|Microsoft.Windows.SecureAssessmentBrowser|Microsoft.Windows.ShellExperienceHost|`
Microsoft.Windows.XGpuEjectDialog|Microsoft.XboxGameCallableUI|Windows.CBSPreview|windows.immersivecontrolpanel|Windows.PrintDialog|Microsoft.VCLibs.140.00|Microsoft.Services.Store.Engagement|Microsoft.UI.Xaml.2.0'|*Nvidia* Microsoft.Windows.XGpuEjectDialog|Microsoft.XboxGameCallableUI|Windows.CBSPreview|windows.immersivecontrolpanel|Windows.PrintDialog|Microsoft.VCLibs.140.00|Microsoft.Services.Store.Engagement|Microsoft.UI.Xaml.2.0|*Nvidia*'
Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps -and $_.Name -NotMatch $NonRemovable} | Remove-AppxPackage Get-AppxPackage -AllUsers | Where-Object {$_.Name -NotMatch $WhitelistedApps -and $_.Name -NotMatch $NonRemovable} | Remove-AppxPackage
Get-AppxPackage | Where-Object {$_.Name -NotMatch $WhitelistedApps -and $_.Name -NotMatch $NonRemovable} | Remove-AppxPackage Get-AppxPackage | Where-Object {$_.Name -NotMatch $WhitelistedApps -and $_.Name -NotMatch $NonRemovable} | Remove-AppxPackage
Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -NotMatch $WhitelistedApps -and $_.PackageName -NotMatch $NonRemovable} | Remove-AppxProvisionedPackage -Online Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -NotMatch $WhitelistedApps -and $_.PackageName -NotMatch $NonRemovable} | Remove-AppxProvisionedPackage -Online
@ -97,6 +97,7 @@ Function DebloatBlacklist {
"*Duolingo-LearnLanguagesforFree*" "*Duolingo-LearnLanguagesforFree*"
"*PandoraMediaInc*" "*PandoraMediaInc*"
"*CandyCrush*" "*CandyCrush*"
"*BubbleWitch3Saga*"
"*Wunderlist*" "*Wunderlist*"
"*Flipboard*" "*Flipboard*"
"*Twitter*" "*Twitter*"
@ -305,7 +306,7 @@ Function Protect-Privacy {
$CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore' $CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) { If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force Stop-Process Explorer.exe -Force
Remove-Item $CloudStore Remove-Item $CloudStore -Recurse -Force
Start-Process Explorer.exe -Wait Start-Process Explorer.exe -Wait
} }
} }

View File

@ -37,6 +37,7 @@ If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]:
#Unnecessary Windows 10 AppX apps that will be removed by the blacklist. #Unnecessary Windows 10 AppX apps that will be removed by the blacklist.
$global:Bloatware = @( $global:Bloatware = @(
"Microsoft.PPIProjection"
"Microsoft.BingNews" "Microsoft.BingNews"
"Microsoft.GetHelp" "Microsoft.GetHelp"
"Microsoft.Getstarted" "Microsoft.Getstarted"
@ -79,6 +80,7 @@ $global:Bloatware = @(
"Duolingo-LearnLanguagesforFree" "Duolingo-LearnLanguagesforFree"
"PandoraMediaInc" "PandoraMediaInc"
"CandyCrush" "CandyCrush"
"BubbleWitch3Saga"
"Wunderlist" "Wunderlist"
"Flipboard" "Flipboard"
"Twitter" "Twitter"
@ -696,10 +698,10 @@ $RemoveAllBloatware.Add_Click( {
Write-Host "Removing CloudStore from registry if it exists" Write-Host "Removing CloudStore from registry if it exists"
$CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore' $CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) { If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force Stop-Process Explorer.exe -Force
Remove-Item $CloudStore Remove-Item $CloudStore -Recurse -Force
Start-Process Explorer.exe -Wait Start-Process Explorer.exe -Wait
} }

View File

@ -174,10 +174,10 @@ Function Protect-Privacy {
Write-Output "Removing CloudStore from registry if it exists" Write-Output "Removing CloudStore from registry if it exists"
$CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore' $CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) { If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force Stop-Process Explorer.exe -Force
Remove-Item $CloudStore Remove-Item $CloudStore -Recurse -Force
Start-Process Explorer.exe -Wait Start-Process Explorer.exe -Wait
} }