Code Monkey home page Code Monkey logo

windows-debloater's Introduction

Windows Debloater

A simple powershell script to debloat Windows.

How to Use:

  1. Download/clone this repo.
  2. Right Click on start button & open Powershell(Admin)
  3. This step depends on where you have downloaded the script. We will assume that you have downloaded this scipt in downloads.
    cd ..
    cd C:\Users\<Your Windows username>\Downloads\
    cd .\Windows-Debloater-main\Windows-Debloater-main\
    
  4. Type the following commands :
    Set-ExecutionPolicy Unrestricted
    
    .\debloat.ps1
    

Note : Make sure to enable/disable the features you don't need by commenting/uncommenting them out.

What this script can do :

  1. Enable/Disable Telemetry
  2. Enable/Disable Wi-Fi Sense
  3. Enable/Disable SmartScreen Filter
  4. Enable/Disable Bing Search in Start Menu
  5. Enable/Disable Location Tracking
  6. Enable/Disable Feedback
  7. Enable/Disable Advertising ID
  8. Enable/Disable Cortana
  9. Restrict Windows Update P2P only to local network
  10. Remove AutoLogger file & restrict directory
  11. Stop & disable Diagnostics Tracking Service
  12. Lower/Raise UAC level
  13. Enable/Disable sharing mapped drives between users
  14. Enable/Disable Firewall
  15. Enable/Disable Windows Defender
  16. Enable/Disable Windows Update automatic restart
  17. Stop & disable Home Groups services
  18. Enable/Disable Remote Assistance
  19. Enable/Disable Remote Desktop w/o Network Level Authentication
  20. Enable/Disable Action Center
  21. Enable/Disable Lock screen
  22. Enable/Disable Autoplay
  23. Enable/Disable Autorun for all drives
  24. Enable/Disable Sticky keys prompt
  25. Hide/Show Search button / box
  26. Hide/Show Task View button
  27. Hide/Show small/large icons in taskbar
  28. Hide/Show titles in taskbar
  29. Hide/Show all tray icons
  30. Hide/Show known file extensions
  31. Change default Explorer view to "Computer"/"Quick Access"
  32. Hide/Show Computer shortcut on desktop
  33. Remove Desktop icon from computer namespace
  34. Remove Documents icon from computer namespace
  35. Remove Downloads icon from computer namespace
  36. Remove Downloads icon to computer namespace
  37. Remove Music icon from computer namespace
  38. Remove Pictures icon from computer namespace
  39. Remove Videos icon from computer namespace
  40. Remove secondary en-US keyboard
  41. Enable/Disable/Uninstall OneDrive
  42. Install/Uninstall default Microsoft applications
  43. Uninstall Work Folders Client
  44. Enable/Disable unwanted Windows services
  45. Enable/Disable many of the default apps.
  46. Prevents Apps from re-installing
  47. Remove/Set Password Age Limit
  48. Enable/Disable Privacy Settings Experience
  49. Sets Windows to Dark Mode

Defaults:

By default this script has options enabled for a normal user.

  1. Telemetry is disabled.
  2. Wi-Fi sense is disabled.
  3. SmartScreen Filter is disabled.
  4. Bing Search diabled in Start Menu.
  5. Location Tracking is disabled.
  6. Feedback is disabled.
  7. Advertising ID is disabled.
  8. Cortana is disabled.
  9. Restricted Windows Update P2P only to local network.
  10. Removed AutoLogger file and restrict directory.
  11. Stopped and disabled Diagnostics Tracking Service.
  12. Disabled Windows Update automatic restart.
  13. Stoped and disabled Home Groups services.
  14. Show known file extensions.
  15. Change default Explorer view to "Computer"
  16. Disabled OneDrive.
  17. It removes some of the bloatware bundled with Windows 10 :
    1. 3DBuilder
    2. BingFinance
    3. BingNews
    4. BingSports
    5. BingWeather
    6. Getstarted
    7. People
    8. SkypeApp
    9. WindowsMaps
    10. WindowsPhone
    11. WindowsSoundRecorder
    12. AppConnector
    13. Messaging
    14. CommsPhone
    15. CandyCrushSodaSaga
    16. WindowsFeedbackHub
    17. Wallet
    18. GetHelp
    19. MixedReality
    20. Everything Office related.
    21. Everything Xbox related.
    22. WindowsCamera
  18. Disables all settings in Privacy Experience.
  19. Disable Remote Assistance
  20. Disable Remote Desktop

Credits :

@Disassembler0. Craft Computing. Windows Debloat Video URL : https://www.youtube.com/watch?v=PdKMiFKGQuc

windows-debloater's People

Contributors

aatu-s avatar jhalag avatar michelproy avatar n1snt avatar richarm4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows-debloater's Issues

RFE - remove crap added by Windows 11

Hello

I think it would be awesome if the script would be extended so as to be able to remove the crap added by Windows 11. There are at least half a dozen of new apps, among which Spotify, Whatsapp, Instagram, Adobe Express are obvious candidates.

A lot of errors executing the script.

The script works just fine, it does what i need and all, however, there are a lot of error messages popping up on powershell.
A lof of "this is not a known cmd-let" and "undefined variable on x line".
Would be nice to have those fixed, specially because it clutters the comand line and just looks bad.

imagen

Edit: formatting

Windows-Debloater-main is now Windows-Debloater

In the first step, it looks like the file name has changed,
cd..
cd C:\Users<Your Windows username>\Downloads
cd .\Windows-Debloater-main\Windows-Debloater-main\

Using git clone the download came up as this. without the <-main> ending and the subfolder

  "C:\Users\<Your Windows username>\Downloads\Windows-Debloater"

missing helper scripts

Seems relevant for OneDrive removal:

Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\New-FolderForced.psm1

can't sysprep if script remove "Microsoft.ScreenSketch"

Hello,
I was unable to sysprep my debloated windows 10 21h2, the issued was caused by "Microsoft.ScreenSketch"

line 716 i put a comment and i fix the mistake

Redstone 5 apps

"Microsoft.MixedReality.Portal"
#"Microsoft.ScreenSketch"

Missing LICENSE

I see you have no LICENSE file for this project. The default is copyright.

I would suggest releasing the code under the GPL-3.0-or-later or AGPL-3.0-or-later license so that others are encouraged to contribute changes back to your project.

Windows-Decrapifier + software

I ran the latest version Windows-Decrapifier a couple of days ago and noticing today that I cannot open certain software. For example, FoxIt reader for pdf files as well as Word, Excel and some others. I checked through the list and can't figure out which option might've caused the issue. I reinstalled FoxIt reader multiple times and the issue persists.

Polite/inclusive script & repository name

It has come to my attention that during the governmental check of my small business, equipped with de crap ified Windows 10 Pro installed using OEI envelopes (couldn't get LTSC due to embargo), i got a concern from one of the technical experts that came with the governmental check group. He pondered about the absence of the UWP apps after they checked Winver, finding out I have a Pro, not an LTSC. They asked how I did that, and I responded by saying "I used the DeCRAPifier". In result I got fined for $50 due to foul language usage in enterprise accounting practice. I thought the exclusive way to prevent this casus is to ask for a polite name directly in the issue list of the prime script. Will you change the name of the script and repository? "Depoopifier" is a bit inserious and childish-smelling, so not counting "De - faeces synonym - ifier" as a viable name change. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.