• Stars
    star
    5,959
  • Rank 6,479 (Top 0.2 %)
  • Language
    PowerShell
  • License
    Other
  • Created almost 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps

Debloat Windows 10

ATTENTION! Apparently there is an issue where running the scripts results in a broken user account / system. So far, there is only little information what actually causes this. See the corresponding issue.

Note about Windows 11: This project does not directly support Windows 11. Things might work, or might not work - find out if you are brave. Do not expect this project to transition to Windows 11 as the maintainer lacks the time to do so.

This project collects PowerShell scripts which help to debloat Windows 10, tweak common settings and install basic software components.

I test these scripts on a Windows 10 Professional 64-Bit (English) virtual machine. Please let me know if you encounter any issues. Home Edition and different languages are not supported. These scripts are intended for tech-savvy administrators, who know what they are doing and just want to automate this phase of their setup. If this profile does not fit you, I recommend using a different (more interactive) tool -- and there are a lot of them out there.

Also, note that gaming-related apps and services will be removed/disabled. If you intend to use your system for gaming, adjust the scripts accordingly.

There is no undo, I recommend only using these scripts on a fresh installation (including Windows Updates). Test everything after running them before doing anything else. Also, there is no guarantee that everything will work after future updates since I cannot predict what Microsoft will do next.

Translations

Interactivity

The scripts are designed to run without any user interaction. Modify them beforehand. If you want a more interactive approach check out DisableWinTracking from 10se1ucgo.

Download Latest Version

Code located in the master branch is always considered under development, but you'll probably want the most recent version anyway.

Execution

Enable execution of PowerShell scripts:

PS> Set-ExecutionPolicy Unrestricted -Scope CurrentUser

Unblock PowerShell scripts and modules within this directory:

PS> ls -Recurse *.ps*1 | Unblock-File

Usage

Scripts can be run individually, pick what you need.

  1. Install all available updates for your system.
  2. Edit the scripts to fit your need.
  3. Run the scripts you want to apply from a PowerShell with administrator privileges (Explorer Files > Open Windows PowerShell > Open Windows PowerShell as administrator)
  4. PS > Restart-Computer
  5. Run disable-windows-defender.ps1 one more time if you ran it in step 3
  6. PS > Restart-Computer

Start menu

In the past I included small fixes to make the start menu more usable, like removing default tiles, disabling web search and so on. This is no longer the case since I am fed up with it. This fucking menu breaks for apparently no reason, is slow, is a pain to configure / script and even shows ads out of the box!

Please replace it with something better, either use Open Shell or Start is Back, but stop using that shit.

Known Issues

Start menu Search

After running the scripts, the start menu search-box may no longer work on newly created accounts. It seems like there is an issue with account initialization that is triggered when disabling the GeoLocation service. Following workaround has been discovered by BK from Atlanta:

  1. Delete registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lfsvc\TriggerInfo\3
  2. Re-enable GeoLocation service (set startup type to Automatic)
  3. Reboot
  4. Login with the account having the stated issue
  5. Start Cortana and set your preferences accordingly (web search and whatnot)

You may now disable the GeoLocation service again, the search box should remain functional.

Sysprep will hang

If you are deploying images with MDT and running these scripts, the sysprep step will hang unless dmwappushservice is active.

Xbox Wireless Adapter

Apparently running the stock remove-default-apps script will cause Xbox Wireless Adapters to stop functioning. I suspect one should not remove the Xbox App when wanting to use one. But I haven't confirmed this yet, and there is a workaround to re-enable it afterwards. See #78.

Issues with Skype

Some of the domains blocked by adding them to the hosts-file are required for Skype. I highly discourage using Skype, however some people may not have the option to use an alternative. See the #79.

Fingerprint Reader / Facial Detection not Working

Ensure Windows Biometric Service is running. See #189.

Liability

All scripts are provided as-is and you use them at your own risk.

Contribute

I would be happy to extend the collection of scripts. Just open an issue or send me a pull request.

Thanks To

License

"THE BEER-WARE LICENSE" (Revision 42):

As long as you retain this notice you can do whatever you want with this
stuff. If we meet someday, and you think this stuff is worth it, you can
buy us a beer in return.

This project is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

More Repositories

1

MinimalFileManager

A minimalist file manager with Bootstrap / JQuery / PHP
JavaScript
100
star
2

Raygun

Simple Game Engine Focusing on Vulkan Ray Tracing
C++
37
star
3

THOR

The Horrific Omnipotent Rootkit
C
23
star
4

Sekiro-Refresh-Rate-Fix

DXGI wrapper to prevent refresh rate changes
C++
13
star
5

UIBK-703004-C-Programming

Introduction to Programming (2016)
C
9
star
6

cpp-init

How to Start C++ Development?
C++
7
star
7

BlobDetector

A Color Blob Detector for Android using OpenCV
Java
5
star
8

ETnM

Exploitation Techniques and Mitigations
C
4
star
9

souffle-syntax

3
star
10

Dogx

Documentation Generator X
HTML
2
star
11

GameConfigs

Collection of my video game configs
2
star
12

periboard-335-disassembly

PERIBOARD-335 disassembly guide
2
star
13

vscode-fruits

Another vibrant dark theme
1
star
14

Misc

Collection of my old GitHub repositories
CSS
1
star
15

dotVim

My NeoVim Config
Vim Script
1
star
16

dotConfig

Smarty
1
star
17

DIFAS

Dependency Installer for Archaic Systems
Shell
1
star
18

M.Sc.-Thesis

Insieme's Haskell-based Analysis Toolkit
HTML
1
star
19

B.Sc.-Thesis

Improved On-Board Communication for Low-Cost Mobile Robots
C
1
star
20

static-page-generators

Static Page Generator Experiments
Makefile
1
star
21

n1ghth4wk

Homebrew Shadowrunâ„¢ rules
HTML
1
star
22

EnTT-SceneGraph

C++
1
star
23

crap

C Recap And Co
TeX
1
star
24

insiemebot

Insieme Discord Bot
Python
1
star
25

readall

Read all data from stdin into memory
C
1
star
26

CMake-Tpl

Basic CMake Template for single module projects
CMake
1
star
27

LogToast

Simple and Delicious
C
1
star
28

Anker

Prototype implementation for a metroidvania-style game
C++
1
star