Debloat windows 10 github

Debloat windows 10 github

Debloat Windows 10

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.

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.

Enable execution of PowerShell scripts:

Unblock PowerShell scripts and modules within this directory:

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

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.

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.

Читайте также:  Kiss psycho circus the nightmare child windows 10

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.

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

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

Debloat windows 10 github

Debloat Windows 10

Note about Creators Update: These scripts have not been tested with the Creators Update. Anything may happen, be prepared. I’ll look into relevant changes and recent issues when the update is released / pushed on to everyone.

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.

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.

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.

Enable execution of PowerShell scripts:

Unblock PowerShell scripts and modules within this directory:

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

In the past I included small fixes to make the startmenu more usable, like removing default tiles, disabling web search and so on. This is no longer the case since I am that fed up with it. This fucking menu breaks for apparently know 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 Classic Shell or Start is Back, but stop using that shit.

After running the scripts, the startmenu search-box may no longer work on newly created accounts. It seems like there is an issue with account initilization 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)
Читайте также:  Тип установки linux mint

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 dmwappushserivce is active.

XBox Wireless Adapter

Apprently running the stock remove-default-apps script will cause XBox Wireless Adapters to stop functioning. I suspenc 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 disencourage using Skype, however some people may not have the option to use an alternative. See the #79.

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

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

Debloat windows 10 github

Win10Debloat is a simple powershell script that allows you to remove most pre-installed windows 10 apps, disable bing in windows search, disable tips and suggestions across the OS (such as the lockscreen, startmenu and settings) and declutter the windows explorer by hiding certain folders (such as 3D objects) from the sidebar aswell as disabling certain context menu options that a regular user would likely never use.

You can pick and choose which modifications you want the script to make, but the default settings should be fine for most people. All of the changes can be reverted using the registry files that are included in the ‘Regfiles’ folder, and all of the apps that are removed by default can easily be reinstalled from the microsoft store.

By default, the Win10Debloat script will:

  • Remove all bloatware apps from this list.
  • Hide the 3D objects folder under ‘This pc’ in windows explorer.
  • Disable bing in windows search.
  • Disable tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default)
  • Disable tips, tricks and suggestions in the startmenu and settings.
  • Disable the ‘Include in library’ from context menu.
  • Disable the ‘Give access to’ from context menu.
  • Disable the ‘Share’ from context menu. (Does not remove the onedrive share option)

Or select the ‘Advanced’ option in the menu to customize the script to your needs.

  1. Download the latest version of the script, and extract the .ZIP file to your desired location.
  2. Run the script by right-clicking the ‘Run.ps1’ file and selecting the ‘Run with Powershell’ option.
  3. Accept the windows UAC prompt to run the script as administrator, this is required for the script to function.
  4. Select either default, or advanced setup depending on what changes you want to make. Advanced setup will allow you to choose exactly which changes you want to make, and which changes you want to skip.
  5. Once the script has executed, restart your pc to ensure all changes are properly applied.

This method is a bit more complicated, but it gives you the option to run the script with certain arguments to tailor the behaviour of the script to your specific needs. It also has the added benefit that the script will run without requiring any user input during runtime, allowing you to automate the process.

  1. Download the latest version of the script, and extract the .ZIP file to your desired location.
  2. Open powershell as an administrator.
  3. Enable powershell execution by entering the following command: Set-ExecutionPolicy Unrestricted -Force
  4. In powershell, navigate to the directory where the files were extracted. Example: cd c:\Win10Debloat
  5. Enter this into powershell to run the script: .\Win10Debloat.ps1 To run the script with arguments simply add them at the end, as can be seen in this example: .\Win10Debloat.ps1 -RemoveApps -DisableBingSearches
Читайте также:  Linux lightdm смена пароля
Argument Description
-RunDefaults Run the script with default settings.
-RemoveApps Remove all bloatware apps from this list.
-DisableOnedrive Hide the onedrive folder in the windows explorer sidebar.
-Disable3dObjects Hide the 3D objects folder under ‘This pc’ in windows explorer.
-DisableMusic Hide the music folder under ‘This pc’ in windows explorer.
-DisableBingSearches Disable bing in windows search.
-DisableLockscreenTips Disable tips & tricks on the lockscreen.
-DisableWindowsSuggestions Disable tips, tricks and suggestions in the startmenu and settings.
-DisableIncludeInLibrary Disable the ‘Include in library’ option in the context menu.
-DisableGiveAccessTo Disable the ‘Give access to’ option in the context menu.
-DisableShare Disable the ‘Share’ option in the context menu.

Debloat Windows 10

By default, this script will remove most, but not all of the pre-installed windows 10 applications. You customize which applications are removed by this script by editing the apps list found in the ‘Win10Debloat.ps1’ file.

These apps will be deleted by default:

  • Microsoft.GetHelp
  • Microsoft.Getstarted
  • Microsoft.WindowsFeedbackHub
  • Microsoft.BingNews
  • Microsoft.BingFinance
  • Microsoft.BingSports
  • Microsoft.BingWeather
  • Microsoft.BingTranslator
  • Microsoft.MicrosoftOfficeHub
  • Microsoft.Office.OneNote
  • Microsoft.MicrosoftStickyNotes
  • Microsoft.SkypeApp
  • Microsoft.OneConnect
  • Microsoft.Messaging
  • Microsoft.WindowsSoundRecorder
  • Microsoft.ZuneMusic
  • Microsoft.ZuneVideo
  • Microsoft.MixedReality.Portal
  • Microsoft.3DBuilder
  • Microsoft.Microsoft3DViewer
  • Microsoft.Print3D
  • Microsoft.549981C3F5F10 (Cortana)
  • Microsoft.MicrosoftSolitaireCollection
  • Microsoft.Asphalt8Airborne
  • king.com.BubbleWitch3Saga
  • king.com.CandyCrushSaga
  • king.com.CandyCrushSodaSaga

These apps will NOT be deleted by default:

  • Microsoft.WindowsStore (NOTE: This app cannot be reinstalled!)
  • Microsoft.WindowsCalculator
  • Microsoft.Windows.Photos
  • microsoft.windowscommunicationsapps (Mail & Calendar)
  • Microsoft.People
  • Microsoft.WindowsCamera
  • Microsoft.WindowsAlarms
  • Microsoft.WindowsMaps
  • Microsoft.MSPaint (Paint 3D)
  • Microsoft.ScreenSketch
  • Microsoft.YourPhone
  • Microsoft.Xbox.TCUI
  • Microsoft.XboxApp
  • Microsoft.XboxGameOverlay
  • Microsoft.XboxGamingOverlay
  • Microsoft.XboxIdentityProvider
  • Microsoft.XboxSpeechToTextOverlay (NOTE: This app cannot be reinstalled from the microsoft store!)

Declutter Windows 10

This script can also make various changes to declutter windows 10, such as:

  • Hide the onedrive folder in the windows explorer sidebar.
  • Hide the 3D objects folder under ‘This pc’ in windows explorer.
  • Hide the music folder under ‘This pc’ in windows explorer.
  • Disable bing in windows search.
  • Disable tips & tricks on the lockscreen. (This changes your lockscreen wallpaper to the windows default)
  • Disable tips, tricks and suggestions in the startmenu and settings.
  • Disable the ‘Include in library’ option in the context menu.
  • Disable the ‘Give access to’ option in the context menu.
  • Disable the ‘Share’ from context menu. (Does not remove the onedrive share option)

All of these changes can be reverted with the registry files that are included in the ‘Regfiles’ folder.

About

A simple powershell script to remove bloatware apps from windows 10, disable bing in windows search aswell as perform various other changes to declutter the windows 10 experience.

Оцените статью