Microsoft Windows 10 2004 (aka 20H1) build 19041.450 (August 2020)
Microsoft Windows 10 2004 (aka 20H1) build 19041.388 (July 2020)
#--- Uninstall unnecessary applications that come with Windows out of the box --- | |
Write-Host "Uninstall some applications that come with Windows out of the box" -ForegroundColor "Yellow" | |
#Referenced to build script | |
# https://docs.microsoft.com/en-us/windows/application-management/remove-provisioned-apps-during-update | |
# https://github.com/jayharris/dotfiles-windows/blob/master/windows.ps1#L157 | |
# https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
# https://gist.github.com/alirobe/7f3b34ad89a159e6daa1 | |
# https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-default-apps.ps1 |
<# | |
NAME | |
Debloat-Windows10.ps1 | |
DESCRIPTION | |
Debloats and customizes Windows 10 Enterprise N LTSB. | |
It changes your privacy options in the settings app and disables scheduled tasks and services that are there | |
to gather information about you. It also tweaks the registry to customize settings, make your font display properly | |
on DPI scaling 125% and disable OneDrive completely. Windows Features are also disabled, such as Internet Explorer | |
and XPS Viewer, while others are enabled such as .NET framework 3.5. On top of it all, it appends new lines to your | |
hosts file that block Microsoft from collecting data on you, as well as enables or disables local policies to |
########## | |
# Tweaked Win10 Initial Setup Script | |
# Primary Author: Disassembler <[email protected]> | |
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
# | |
# Note from author: Never run scripts without reading them & understanding what they do. | |
# | |
# Addition: One command to rule them all, One command to find it, and One command to Run it! | |
# | |
# > powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://git.io/JJ8R4')" |
<# | |
You can run this script a few ways: | |
If this script is uploaded as a gist (gist.github.com): | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST URL> |
Microsoft Windows 10 2004 (aka 20H1) build 19041.450 (August 2020)
Microsoft Windows 10 2004 (aka 20H1) build 19041.388 (July 2020)
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
if (-Not $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
Write-Warning "We don't have elevated privileges. The following results may not be complete." | |
} | |
schtasks /query /fo csv -v | ConvertFrom-Csv | ? {$_.Status -notlike "Disabled" -and $_.TaskName -notlike "\Microsoft\Windows\*" -and $_.TaskName -notlike "\Microsoft\Office\*" -and $_.TaskName -notlike "\Microsoft\XblGameSave\*" -and $_.TaskName -notlike "TaskName" -and ($_."Run As User" -like "*system" -or $_."Run As User" -like "Administrator*")} | fl taskname,"Comment","Task To Run","Run As User" |
$win10_builtin = @('AppVClient', 'ClickToRunSvc', 'COMSysApp', 'diagnosticshub.standardcollector.service', | |
'msiserver', 'ose', 'perceptionsimulation', 'SecurityHealthService', 'Sense', | |
'SensorDataService', 'SgrmBroker', 'Spooler', 'ssh-agent', 'TieringEngineService', | |
'TrustedInstaller', 'UevAgentService', 'vds', 'VSS', 'wbengine', 'WinDefend', 'wmiApSrv', | |
'WSearch', 'XboxNetApiSvc', 'XboxGipSvc', 'XblGameSave', 'XblAuthManager', 'WwanSvc', 'wuauserv', | |
'WwanSvc', 'wuauserv', 'WpnService', 'WPDBusEnum', 'WpcMonSvc', 'WManSvc', 'wlidsvc', 'WlanSvc', | |
'wisvc', 'Winmgmt', 'WiaRpc', 'WerSvc', 'wercplsupport', 'WdiSystemHost', 'WbioSrvc', 'WalletService', | |
'WaaSMedicSvc', 'vmvss', 'vmicvss', 'vmicvmsession', 'vmicshutdown', 'vmicrdv', 'vmickvpexchange', | |
'vmicheartbeat', 'vmicguestinterface', 'VaultSvc', 'UsoSvc', 'UserManager', 'UmRdpService', | |
'TroubleshootingSvc', 'TrkWks', 'TokenBroker', 'Themes', 'TabletInputService', |
=============================================================================================== | |
Client Business Volume ISO Edition List: | |
Windows 10 Education | |
Windows 10 Education N | |
Windows 10 Enterprise | |
Windows 10 Enterprise N | |
Windows 10 Pro | |
Windows 10 Pro N | |
=============================================================================================== |
=============================================================================================== | |
Client Business Volume ISO Edition List: | |
Windows 10 Education | |
Windows 10 Education N | |
Windows 10 Enterprise | |
Windows 10 Enterprise N | |
Windows 10 Pro | |
Windows 10 Pro N |
:: https://stealthpuppy.com/customize-the-windows-default-profile/#.XEfajs17mUm | |
:: https://helgeklein.com/blog/2011/12/customizing-the-default-profile/ | |
:: https://www.reddit.com/r/PowerShell/comments/8rupxv/unloading_registry_hive_with_a_script/ | |
:: https://blogs.technet.microsoft.com/deploymentguys/2009/10/29/configuring-default-user-settings-full-update-for-windows-7-and-windows-server-2008-r2/ | |
:: remove the double colon to activate the code if it is commented out | |
:: disable Cortana | |
:: https://www.addictivetips.com/windows-tips/disable-web-search-windows-10-april-update/ | |
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /d 0 /t REG_DWORD /f | |
:: 5/9/2019 | |
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "DisableWebSearch" /d 1 /t REG_DWORD /f |