├── STORY.md ├── MakeWindows10GreatAgain.ps1 ├── README.md └── MakeWindows10GreatAgain.reg /STORY.md: -------------------------------------------------------------------------------- 1 | # Backstory 2 | 3 | The year is 2016 and peak Microsoft Windows has been reached. Despite the numerous security enhancements and newly added features in Windows 10, the prevalence of ads and annoyances plaguing the operating system renders it borderline unusable and breeds suspicion and hostility from users (or from me at least). 4 | 5 | Real talk though, this shit is getting out of control. Even [Ars Technica agrees with me](https://arstechnica.com/information-technology/2017/03/microsoft-put-gross-ads-in-windows-explorer-and-i-dont-have-the-energy-to-be-angry/) and honestly that's all the validation I need. Not to worry though, at least now you can boot straight into a Bash shell now and forget Windows exists until you want to play Rocket League. 6 | -------------------------------------------------------------------------------- /MakeWindows10GreatAgain.ps1: -------------------------------------------------------------------------------- 1 | # Check to see if Anniversary Update is installed 2 | if ([System.Environment]::OSVersion.Version.Build -lt 14393) { 3 | Write-Host "Anniversary Update is required and not installed. Exiting." 4 | Exit 5 | } 6 | 7 | # Import the registry keys 8 | Write-Host "Importing registry keys..." 9 | regedit /s MakeWindows10GreatAgain.reg 10 | 11 | # Install Powershell Help items 12 | Update-Help -Force -ErrorAction SilentlyContinue 13 | 14 | # Remove OneDrive from the System 15 | taskkill /f /im OneDrive.exe 16 | c:\Windows\SysWOW64\OneDriveSetup.exe /uninstall 17 | 18 | # Disable SMBv1 19 | Set-SmbServerConfiguration -EnableSMB1Protocol $false -Confirm:$false 20 | 21 | # Remove all pinned items from Start Menu 22 | # https://community.spiceworks.com/topic/post/7417573 23 | (New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items()| foreach { ($_).Verbs() | ?{$_.Name.Replace('&', '') -match 'From "Start" UnPin|Unpin from Start'} | %{$_.DoIt()} } 24 | 25 | # Install Linux Subsystem 26 | Write-Host "Installing the Linux Subsystem..." 27 | Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux" 28 | 29 | # Disable WPAD 30 | # https://docs.microsoft.com/en-us/security-updates/securitybulletins/2016/ms16-077#workarounds 31 | Add-Content "c:\windows\system32\drivers\etc\hosts" " 255.255.255.255 wpad." 32 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Make Windows 10 Great Again 2 | Tweaks to make Windows 10 less annoying and more usable. 3 | 4 | Here's what this script does: 5 | 6 | 1. Disables Cortana 7 | 2. Disables Notification Center 8 | 3. Disables automatic reboots after Windows Updates have been installed 9 | 4. Disables Microsoft.com accounts from Windows Login 10 | 5. Shows file extensions for known file types 11 | 6. Sets Explorer to open to "This PC" 12 | 7. Shows hidden files (not including OS files) 13 | 8. Uninstalls OneDrive 14 | 9. Shows "This PC" icon on Desktop 15 | 10. Enables developer mode (required for Linux Subsystem) 16 | 11. Installs the Linux Subsystem 17 | 12. Updates the Powershell Get-Help items 18 | 13. Disables SMBv1 19 | 14. Unpin all Start Menu items 20 | 15. Disables WPAD 21 | 22 | ## Installation 23 | Unfortunately you'll have to set your execution policy to unrestricted to use this script. 24 | 25 | From an Administrator Powershell prompt: 26 | ``` 27 | Set-ExecutionPolicy Unrestricted 28 | cd MakeWindows10GreatAgain 29 | .\MakeWindows10GreatAgain.ps1 30 | Set-ExecutionPolicy Restricted 31 | ``` 32 | 33 | ## Notes 34 | I considered adding some tweaks to remove the default apps/tiles that come installed with the Win10 start menu, but I've been pleasantly surprised by [Classic Shell](http://classicshell.net/). It's an excellent start menu replacement for Win10. I recommend just installing that. 35 | 36 | This script doesn't address any of the privacy issues of Windows 10 because there are already a [bunch of tools](http://www.ghacks.net/2015/08/14/comparison-of-windows-10-privacy-tools/) that already do that. 37 | -------------------------------------------------------------------------------- /MakeWindows10GreatAgain.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | # Disable Cortana (Windows search still remains) 4 | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] 5 | "AllowCortana"=dword:00000000 6 | 7 | # Disable Notification Center 8 | [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer] 9 | "DisableNotificationCenter"=dword:00000001 10 | 11 | # Don't reboot when users are logged in for Windows updates 12 | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU] 13 | "NoAutoRebootWithLoggedOnUsers"=dword:00000001 14 | 15 | # Disable Microsoft.com accounts 16 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] 17 | "NoConnectedUser"=dword:00000003 18 | 19 | # Show all file extensions 20 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] 21 | "HideFileExt"=dword:00000000 22 | 23 | # Set explorer to open to "This PC" for new windows 24 | [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] 25 | "LaunchTo"=dword:00000001 26 | 27 | # Show hidden files (not including OS files) 28 | [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] 29 | "Hidden"=dword:00000001 30 | 31 | # Show "This PC" on Desktop 32 | # Created by: Shawn Brink 33 | # http://www.tenforums.com 34 | [HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] 35 | "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 36 | 37 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] 38 | "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 39 | 40 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] 41 | "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000 42 | 43 | # Enable Developer Mode (prerequisite for Linux subsystem) 44 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock] 45 | "AllowDevelopmentWithoutDevLicense"=dword:00000001 46 | 47 | # Disable WPAD 48 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Wpad] 49 | "WpadOverride"=dword:00000001 50 | 51 | # Disable Microsoft People icon from taskbar 52 | # https://technicalustad.com/remove-people-icon-from-taskbar-in-windows-10/ 53 | [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People] 54 | "PeopleBand"=dword:00000000 55 | --------------------------------------------------------------------------------