Giter VIP home page Giter VIP logo

ledragox / win-debloat-tools Goto Github PK

View Code? Open in Web Editor NEW
4.9K 63.0 246.0 47.82 MB

Re-imagining Windows like a minimal OS install, already debloated with minimal impact for most functionality.

License: MIT License

Batchfile 0.53% PowerShell 99.47%
powershell powershell-scripts windows-10-debloat bloatware-removal tweaks gui-application virus-scanning chocolatey windows-11-debloat windows-debloat

win-debloat-tools's Introduction

PSScriptAnalyzer GitHub issues GitHub license Commit rate GitHub last commit (branch) GitHub code size in bytes

This Project was adapted from W4RH4WK's Project

Re-imagining Windows like a minimal OS install, already debloated with minimal impact for most functionality.

Warning

DISCLAIMER: You're doing this at your own risk, I am not responsible for any data loss or damage that may occur. It's not guaranteed that every feature removed from the system can be easily restored.

๐Ÿš€ Download Latest Version

Code located in the main branch is considered stable, the develop branch contains the most recent features.

Important

Use on a fresh Windows install to notice the differences. Using an admin account is recommended to avoid any compatibility issues.

Branch to Download Version(s) Supported Edition(s) PowerShell Version
(Stable) 23H2 or Older Home / Pro v5.1+
(Newer)

โœจ Usage

To run a variant of the script, follow these steps:

  • Extract the entire .zip file to another folder.
  • Run OpenTerminalHere.cmd (try to run as admin if nothing happens at all).
  • Copy and Paste one of the lines below on your Terminal to unblock the scripts and execute it:

GUI Version

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1"

Script GUI The Apply Tweaks button is the main one for debloating.

CLI Version (Straight to debloat)

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"WinDebloatTools.ps1" 'CLI'

Scripts can be run individually, pick what you need.

๐Ÿ”„๏ธ Roll-Back

If something breaks you can rely on:

  1. If you want (almost) everything to it's original state, use the Undo Tweaks button on WinDebloatTools.ps1.
  2. A restoration point done by the script itself;
  3. The Repair Windows button on WinDebloatTools.ps1;

โ˜‘๏ธ Common Script Features

Click to expand

This part is also valid to the Apply Tweaks button on the GUI.

  • Import all necessary modules before executing everything (Source);
  • Logs both script runs on C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs;
  • Make a Restore Point and Backup the Hosts file (Source);
  • Download AdwCleaner and Run the latest version for Virus/Adware scan and from OOShutUp10 and import all Recommended settings from a file (Source);
  • Disable non-essential Telemetry from Scheduled Tasks and Optimize it (Source);
  • Disable heavy Services, but enable some on SSDs for optimum performance (Source);
  • Remove some of the legacy system components called as "Capabilities", except the most popular ones (Source);
  • Remove Bloatware UWP Apps that comes with Windows 10+, except from my choice (Source);
  • Optimize Privacy by disabling more telemetry parts and changing GPOs, all through changing registry keys (Source);
  • Optimize Performance by changing away from default settings that slowdowns the system, utilizing PowerShell commands and changing registries to disable features (Source);
  • Apply Personalization tweaks on UI and System Settings via Registry and PowerShell commands (Source);
  • Help improve the Security of Windows while maintaining performance (Source);
  • Disable obsolete Windows optional features and enable some that might help (Source);

โœ… GUI Script Features

Click to expand

System Tweaks

Customize System Features (Can be found here)

  • Enable/Disable Dark Theme: Apply Dark Theme or Light Theme on Windows;
  • Enable/Disable Activity History: Manages the Activity History setting;
  • Enable/Disable Background Apps: Manages ALL the Background Apps settings;
  • Enable/Disable Clipboard History: Manages the Clipboard History setting, that keeps a history from your clipboard pressing Windows + V key;
  • Enable/Disable Clipboard Sync Across Devices: Manages the Clipboard Sync Across Devices setting, which allows to use the same clipboard for multiple devices (must be using a MS account);
  • Enable/Disable Cortana: Manages the Cortana setting;
  • Enable/Disable Hibernate: Manages the Hibernate setting;
  • Enable/Disable Legacy Context Menu: Bring back the Windows 10 context menu from right-clicking or default on Windows 11;
  • Enable/Disable Location Tracking: Allow or block location sensors and trackers on Windows;
  • Enable/Disable News And Interest: Show or hide the temperature and climate on the taskbar;
  • Enable/Disable Old Volume Control: Manages the Old Volume Control (Win 7/8.1) setting;
  • Enable/Disable Online Speech Recognition: Manages the Online Speech Recognition setting, by pressing the keys Windows + H you can speak through your mic, then use it to type text using your voice;
  • Enable/Disable Phone Link: Manages the Phone Link setting, which can link your Android/iPhone devices notifications to Windows;
  • Enable/Disable Photo Viewer: Enables or Disables the old Photo Viewer (Win 7/8.1);
  • Enable/Disable Search App for Unknown Ext.: When running a unknown extension file, be able to search through MS Store for an App that can open it.
  • Enable/Disable Telemetry: Manages the Windows Telemetry Level setting;
  • Enable/Disable WSearch Service: Manages the Windows Search Service setting;
  • Enable/Disable Windows Spotlight: Manages the spotlight setting in personalization settings, giving a new desktop and lockscreen wallpaper daily;
  • Enable/Disable Xbox Game Bar/DVR/Mode: Manages the Xbox Game Bar/DVR/Mode setting, that can open Game Bar anywhere, record clips from games and change Game Mode;

System Debloat Tools

  • Apply Tweaks: Run every Common Tweak scripts (Go To โ˜‘๏ธ Common Script Features section);
  • Undo Tweaks: Re-apply some tweaks and Revert all possible ones, covering the, ShutUp10 settings, Scheduled Tasks, Services, Privacy and Performance, Personal and Optional Features tweaks, then try to Reinstall Pre-Installed Apps;
  • Remove Microsoft Edge: uninstalls Microsoft Edge, disables Scheduled Tasks and Services related to Edge, then remove the remaining files, Edge Web View files will remain untouched, but apps which depends on WebView2 will not install unless you install Microsoft Edge;
  • Remove OneDrive: completely removes OneDrive from the System, re-install is possible via Win Store;
  • Remove Xbox: wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;

Install System Apps (Can be found here)

This section contains options to restore the system apps, by downloading them from the MS Store (mostly) and doing Stock configurations (for some Apps).

The Xbox button uses a script to restore functionalities and reinstall the Xbox Apps available on MS Store.

Other Tools

This section contains tools to solve some Windows problems and get info about how much debloated the system is.

  • Randomize System Color: Changes the Windows color pallette to a random generated hex color;
  • Reinstall Pre-Installed Apps: Rebloat Windows with all the Pre-Installed Apps;
  • Repair Windows: Try to Completely fix the Windows worst problems via Command Line;
  • Show Debloat Info: Make an overall check-up from disabled and enabled Windows Components (Compare before and after applying tweaks, it's a great difference);

Windows Update (Can be found here)

  • Enable/Disable Automatic Windows Update: Set Windows updates to automatic or manual;

Optional Features/Task Scheduler/Services/Windows Capabilities (Can be found here)

These sections can manually adjust Features from the system, working as a ON/OFF toggle.

Miscellaneous Features (Can be found here)

  • Enable/Disable Encrypted DNS: Sets the DNS Client Servers to Cloudflare's and Google's (ipv4 and ipv6), and enables DNS Over HTTPS on Windows 11.
  • Enable/Disable God Mode: Manages the hidden Desktop folder called "God Mode";
  • Enable/Disable Mouse Acceleration: Manages the Enhance Pointer Precision setting from mouse settings;
  • Enable/Disable Mouse Natural Scroll: Sets the mac-like mouse scrolling behavior, basically reverts mouse scroll direction;
  • Enable/Disable Take Ownership menu: Enables or Disables the Take Ownership context menu;
  • Enable/Disable Shutdown PC shortcut: Manages the Shutdown Computer desktop shortcut;

Software Install

  • Install Winget/Chocolatey package managers;

    • Be able to install the listed software in this script! Even from System apps.
    • Importante Note: When proceeding to install a new app, the script will automatically install the required package manager for that operation.
  • Create or Remove a Daily Upgrade Task for Winget/Chocolatey packages;

    • Creates a new Scheduled Job to daily upgrade all available softwares via Winget at 12:00 and Chocolatey at 13:00;
    • Register daily upgrade logs on C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs and remove old log files;
  • Remove All Chocolatey Packages: List all packages from Chocolatey which are installed and remove everything at once;

  • Upgrade All Softwares: Upgrades all Softwares installed on your machine installed through Winget and Chocolatey.

    • WSL will only update itself, not the distros installed.
  • Install Selected: Install the selected apps by marking the checkbox(es);

  • Uninstall Mode: Default as OFF, clicking this will switch the Install Selected button to Uninstall Selected and uninstall every selected apps (Advice: differently colored buttons may not be able to uninstall completely and WSL UWP Apps, but WSL Distros will be unregistered);

โž• Contributing

FIRST of all, if have any questions or concerns about the project, please refer to the DISCUSSION page, not the ISSUES, this helps keeping the project organized, thanks! Found a bug or want a new feature? You can open a new Issue here. Wanting to add improvements or fixes? Please check out the CONTRIBUTING.md file.

๐Ÿค Credits

๐Ÿ›ฃ๏ธ Roadmap

List of all changes made on the script since the beginning, the file can be accessed here.

๐Ÿ… Recommended Alternative

The scripts are designed to run without any user interaction. Modify them beforehand. If you want a more interactive approach (also more maintained) then check out:

๐Ÿ“ Legal / License

This project is NOT associated to MalwareBytes and O&O Software GmbH in any form. MalwareBytes AdwCleaner and O&O ShutUp10++ have their own licenses.

Licensed under the MIT license.

win-debloat-tools's People

Contributors

4oo4 avatar angelsl avatar aramboi avatar atroxes avatar austinmroczek avatar basictheprogram avatar bgraeb avatar chirishman avatar dependabot[bot] avatar diox8tony avatar diyachan avatar erikves avatar keescbakker avatar kyedavey avatar ledragox avatar luffitys avatar mabananet avatar maci0 avatar mmikeww avatar ogmios-voice avatar parker-stephens avatar paulohpf avatar pythontryhard avatar simeononsecurity avatar sr229 avatar timi7007 avatar tumpio avatar urras avatar w4rh4wk avatar zpfln 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  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

win-debloat-tools's Issues

Clipboard history `cannot be enabled` even when enabling it in GUI

Describe the Bug

Clipboard history is greyed out ("manage by my organization") eventhough I enabled it in the GUI before applying tweaks

How can this issue be reproduced?

Preconditions

  1. Run GUI
  2. Click "โœ… Enable Clipboard History"
  3. Click "โœ”๏ธ Apply Tweaks"
  4. Wait for script to finish
  5. (Optional) Restart system

Actions

  1. Try to use Cliboard with "Ctrl" + "V"
  2. Open clipboard settings

Expected behavior?

  1. Clipboard history opening with "Ctrl" + "V"
  2. Clipboard settings being accessible and changeable or at least clipboard history being enabled

Observed behaviour

  1. Emoji Selector will open (Usually is "Ctrl" + "."); (After restart) It will not show at all
  2. Settings are greyed out, disabled and "managed by my organization"

Operating System

Windows 11

Operating System Version

21H2

Screenshots

What opens instead on "Ctrl" + "V":
image

Greyed out clipboard settings
image

Logs

No response

Additional Info

No response

Question: Windows update disabled?

Description

In one of the videos in the "Used code references" section, it was mentioned, that Windows updates are being disabled. Is this also the case in the "Win Debloat Tools" version that is distributed using this repository? If so, is it still possible to update Windows using the "Windows Update" Tab in the settings?

I used the Apply Tweaks Button.
I am using Windows 11 Pro.

Thanks for the reply in advance.

Reason

N/A

Examples

N/A

Acquire `Store versions` of WSL2 instead

Description

Right now we're using the legacy feature version which isn't going to be updated as much. The Store version is updated more frequently and independent of the system so you'll want that installed instead.

Reason

The Blog post explains why we'd want the preview version more.

Examples

N/A

Script to remove Windows 10 April 2022 `search Highlights`

Description

Windows 10 April 2022 update added a new search highlights
The script below remove they search highlight. (need logout/login)
see https://4sysops.com/archives/turn-off-windows-search-enhancements/ for example.

Reason

No more distraction!

Examples

New-Item "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Force
New-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "EnableDynamicContentInWSB" -PropertyType DWORD -Value 0

Update supported version from `21H2 to 22H2`

Describe the Bug

Readme says 21h2

How can this issue be reproduced?

Look at readme

Expected behavior?

Pretty sure the script works on 22h2

Operating System

Windows 11

Operating System Version

22h2

Screenshots

No response

Logs

No response

Additional Info

I've had friends use your script on windows 11 22h2 and it works. Is the readme out-of-date?

Xbox Game Bar `keyboard + controller shortcuts` aren't working

Describe the Bug

I'm having issues with the xbox game bar opening when using windows key + G as well as pressing the button on my controller to open it after using Apply tweaks from the win-debloat-tools. I've done an 'undo tweaks' and I have even rolled back using the recovery option. It's something I use so much I can't even imagine not having it as a option. I'd appreciate help on fixing the issue.

I've reset the gamebar/xbox app, I've uninstalled/reinstalled both of them as well via powershell. It does not work at all.

How can this issue be reproduced?

Just use the apply tweaks... It breaks the listening part of the xbox game bar app for both the controller button press and the win+G button press. If I press the controller button with steam open, the steam app auto triggers big picture mode so I know the controllers functions aren't affected. Just the game bar's ability to listen for the event.

Expected behavior?

No response

Operating System

Windows 10

Operating System Version

21H2

Screenshots

No response

Logs

No response

Additional Info

No response

Use `Winget` instead of Chocolatey

Description

Sinse win10, winget is the official package manager for installing and controlling installed apps in windows.
It has became much more complete and mature sinse win11.
Why not have the option to have it as the background installer instead of chocolatey?

Reason

We already have winget installed and running on win11 by default, don't need to install another package manager.

Examples

N/A

Remove carbon aware crap

Description

Please find a way to remove the "carbon aware" crap. I'm sick of looking at it.

Reason

It's annoying

Examples

No response

Keeps `deleting` important system files

Describe the Bug

Xbox stuff is required to play Minecraft now as Microsoft owns it
using the debloater on a fresh un-updated install of windows lead to winget uninstalling
on a seperate install, after using the pc for a while winget fuckin vanished anyway
don't know what to do at this point I'm considering not using this thing anymore
in a previous update save Xbox option didn't even work
services fail to start after getting changed by the debloater don't know how or why
also microsoft live support ass so couldnt reach them
no contact links either so I couldn't get a community to ask questions

How can this issue be reproduced?

its every time
image
how

Expected behavior?

"a clear and concise description of what you expected to happen"
i expected it not to fuck up my pc i dont know how to explain it

Operating System

Windows 10

Operating System Version

21h2

Date Executed

2022/7/1 y/m/d

Screenshots

linked a screenshot in the other textbox

Logs

i really dont have the logs anymore temp files clear every restart

Additional Info

fix it please. will be appreciated.

Problems with `Taskbar and Explorer` after running Revert Tweaks on Windows 10

Bug Report

What's the issue you encountered?

After clicking on Revert Tweaks and rebooting on Windows 10, opening the Explorer returns an error.
This won't occur on Windows 11.

How can this issue be reproduced?

Step-by-Step to reproduce the behavior:

  1. Open Win10ScriptGUI.ps1
  2. Click on 'Revert Tweaks'
  3. Reboot after finished
  4. See error using the taskbar and Windows explorer

Expected behavior?

It should open normally, including taskbar apps.

Environment?

  • System Specs:
    • OS: Windows 10
    • Version: 21H1
  • Date Executed: 2021-08-15

Disable `Bing Search` in Start Menu

Description

To disable Bing search in the start menu in Windows 10 version 2004 or later, the following steps need to be done:

For Windows 10 version 2004 or later:

  1. Navigate to "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows" on the left side of the Registry Editor window.
  2. If the key "Explorer" already exists below the key "Windows", click on it. Otherwise, create this key by right-clicking on "Windows" and clicking on "New" -> "Key". After you've entered the name "Explorer", confirm it by pressing Enter.
  3. Then right-click in the free area on the right and create another DWORD value by clicking on "New" -> "DWORD (32-bit) Value". Type "DisableSearchBoxSuggestions" for the name and press Enter.
  4. Double click on this new entry and set the value to 1. Confirm the change by pressing Enter.
  5. Reboot

Source:

This could be done analogously in PowerShell:

function Disable-BingSearch() {
    Write-Status -Types "-", "Misc" -Status "Disabling Bing Search in Start Menu..."
    If (!(Test-Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer")) {
        New-Item -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Force | Out-Null
    }
    Set-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name "DisableSearchBoxSuggestions" -Type DWord -Value 1
}

Reason

Current implementation only sets "CortanaConsent" and "BingSearchEnabled" in "KEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" to 0. This is not sufficient for newer Windows versions.

Examples

No response

`Security` and `Network` optimisations

Description

Performance optimizations: https://www.speedguide.net/downloads.php. I have been using this tool for quite a while now, and I think it has some nice things that could be integrated into your script, like setting the system responsiveness to 10 and disabling Nagle's algorithm as a gaming tweak.

Security Optimisations: https://github.com/AndyFul/Hard_Configurator. I think this tool is lovely regarding the security hardening of windows, it has configuration files for all windows versions, so you could run and apply them just like shutup10.
Another option would be to use https://github.com/beerisgood/Windows11_Hardening as a basis and follow the official Microsoft documentation to mimic the "Basic_Recommended_Settings" of Hard_Configurator.

While I don't think the TCP optimizer tweaks have to be thoroughly tested since they are well documented, I would heavily suggest making a new branch if you want to include the windows hardening recommendations and let them be tested very thoroughly since when misconfigured, they can break a lot of things.

Reason

Performance optimizations and security improvements.

Examples

No response

Windows stopped `sharing clipboard history` across devices

Describe the Bug

After running the debloat script, I can no longer share the clipboard history between 2 Windows computer logged in the same Microsoft account.

How can this issue be reproduced?

  1. Run debloat script.
  2. Copy from machine 1
  3. Paste in machine 2
  4. Unable to paste

Expected behavior?

Machine 2 should be able to get a copy of the machine 1 clipboard and paste it on machine 2.

Operating System

Windows 11

Operating System Version

21H1

Screenshots

No response

Logs

No response

Additional Info

No response

`Hibernation option` gone

Describe the Bug

Hi, after applying the tweaks the hibernation option disappears. How do I re-enable it ?

How can this issue be reproduced?

apply tweaks

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Seems error when debloat

Describe the Bug

[?] [UWP] Microsoft.GamingServices was already removed or not found...                                                  [?] [UWP] Microsoft.XboxApp was already removed or not found...                                                         [-] [UWP] Trying to remove Microsoft.XboxGameCallableUI from ALL users...                                               Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.   (Exception from HRESULT: 0x80073CFA)                                                                                    error 0x80070032: AppX Deployment Remove operation on package                                                           Microsoft.XboxGameCallableUI_1000.22621.1.0_neutral_neutral_cw5n1h2txyewy from:                                         C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2txyewy failed. This app is part of Windows and cannot be      uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows    Features on or off. However, it may not be possible to uninstall the app.                                               NOTE: For additional information, look for [ActivityId] 06e90e50-308b-0000-ba89-ea068b30d901 in the Event Log or use    the command line Get-AppPackageLog -ActivityID 06e90e50-308b-0000-ba89-ea068b30d901                                     At C:\Users\cpanel\Downloads\Win-Debloat-Tools-main\src\lib\remove-uwp-appx.psm1:13 char:60                             + ... t-AppxPackage -AllUsers -Name $AppxPackage | Remove-AppxPackage # App                                             +                                                  ~~~~~~~~~~~~~~~~~~                                                       + CategoryInfo          : WriteError: (Microsoft.XboxG...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException      + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand                                                                                                                           [-] [UWP] Trying to remove Microsoft.XboxGameOverlay from ALL users...                                                  [-] [UWP] Trying to remove Microsoft.XboxSpeechToTextOverlay from ALL users...                                          [-] [UWP] Trying to remove Microsoft.XboxGamingOverlay from ALL users...    

Seems error when debloat

How can this issue be reproduced?

Run GUI. Remove Xbox

Expected behavior?

No error

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

`MouseHoverTime` registry entry gets `incorrectly` converted to DWORD.

Describe the Bug

In line 109 from optimize-performance, the script changes the DWord entry "MouseHoverTime" to 10, from 400.

Write-Status -Types "+", $TweakType -Status "Reducing mouse hover time events to 10ms..."
Set-ItemProperty -Path "HKCU:\Control Panel\Mouse" -Name "MouseHoverTime" -Type DWord -Value 10 # Default: 400

But MouseHoverTime is originally a String Value. By changing it's type, Windows ignores this value and defaults to 0, which, for example, causes the Widgets and Task View hover events to trigger instantly if you happen to go over them while trying to reach the start button with your mouse.

How can this issue be reproduced?

Execute the optimize-performance script.

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

22H2 (Build 22621.1194)

Screenshots

No response

Logs

No response

Additional Info

No response

`Lost Access` to Folders after using your Debloater, Win11

I GOT THIS FROM MY EMAIL! The author asked to remove his name.

Bug Report

Lost Access to Folders after using your Debloater, Win11

"Hi, i tryed it two times after clean reinstall of Win11.
Everytime after I used your debloater - i have no access to Valorant "Windows cannot access the specified path, file ... ..."
If i can help you with any files or logs, tell me plz...
greetings
"

"With Secureboot enabled and TPM enabled i can reproduce the error with disabling indexing and search. But only after invest a lot of time and installed all software/games. Even if i strip manually some things on the installed win11 iso i can forced this error. Btw i installed from a fresh uup-dump. This was on all build versions before and .346 build.
Do you need any logs? Procmon? Tell me what exactly and i will try to help you fix this... Tryed it since launch if win11 - if i debloat - it breaks. One time it shows message that the security panel cannot open cuz my admin changed some privileges of it (damn i am the admin. lol)

Have seen a lot of privilege and access errors after try to debloat. If i leave it all untouched i am fine.. the usuall solutions to gain privileges for folder access again, wont work with valorant for me."

Screenshot-073029
Photo from the original author

What's the issue you encountered?

i have no access to Valorant "Windows cannot access the specified path, file ... ..."

Expected behavior?

Should normally load and play the game.

Environment?

  • System Specs:
    • OS: Windows 11 (Insider?)
    • Version: 21H2
  • Date Executed: 2021-11-21 (Email date)

Rename Streamlabs OBS to `Streamlabs`

Description

Rename Streamlabs OBS to just Streamlabs.

Reason

There is a very clear difference between streamlabs and OBS plus slobs recently rebranded their software to just streamlabs.

Renaming slobs to streamlabs would help with diferentiating between the 2 programs.

Personally I would like to see slobs removed entirely since its just obs but in electron.

Examples

No response

opt-out toggle for automatic updates

Description

A toggle or checkbox that is enabled by default for the automatic updates registry tweak.

Reason

I personally have automatic updates on, but I have to go into the registry manually to remove the changes every time I run this script on a PC I am setting up.

Making the tweak enabled by default and having an option to disable it seems like a good idea to me.

Examples

No response

`Screenshots` aren't behaving properly

Describe the Bug

I'm not sure if this is caused by the script but I think Snipping Tool / Snip and Sketch might be removed using this script. It might be considered as a preinstalled app, however it breaks functionality with the native Windows + Shift + S feature. After taking a screenshot using that native keyboard shortcut, the notification for editing / saving the screenshot doesn't appear, it only allows you to paste the image.

How can this issue be reproduced?

Run the script, making sure that you're uninstalling preinstalled apps. Using Windows + Shift + S will no longer give you a notification, allowing you to modify and save the screenshot.

Expected behavior?

The script shouldn't uninstall Snipping Tool / Snip and Sketch, as it provides support for the native screenshotting functionality.

Operating System

Windows 11 (64bit)

Operating System Version

Win11 build 22000

Date Executed

2021-12-12

Screenshots

No response

Additional Info

Reinstalling Snip and Sketch from the Microsoft Store fixed the issue. I think the script just needs to stop removing this app.

Edge `managed by Organization`

Bug Report

After applying tweaks, edge reports that's managed by organization and all the policies are set to false.

Environment?

  • System Specs:

    • OS: Windows 11
  • Date Executed: 20-10-21

Found as a `Trojan`

Describe the Bug

Windows defender detect it as :
image

How can this issue be reproduced?

Download it

Expected behavior?

No response

Operating System

Windows 11 (64bit)

Operating System Version

21H2 build 22000.348

Date Executed

28/11/2021

Screenshots

No response

Additional Info

No response

Disable `automatic reboot` after Windows 11 Update

Description

Is there a way to stop Windows 11 from automatically restarting after installing Updates, using this tool?
If not, do you know any tool that supports doing it?

I don't want disable Updates. I just want to restart Windows whenever I ready, and not while I'm away from the PC.

I used to be able to do this by replacing the Reboot file with a folder inside C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator, but they keep changing these things, so it's not possible anymore.

Thank you!

Reason

N/A

Examples

N/A

Window `size` of GUI

Describe the Bug

When I launched the GUI it seems to have a fixed window width of several thousand pixels, possibly because I am running three monitors? The window size appears to be unchangable.

How can this issue be reproduced?

run the gui from powershell as instructed, fresh win10 install.

Expected behavior?

No response

Operating System

Windows 10

Operating System Version

10.0.19044

Date Executed

25-JULY-2022

Screenshots

No response

Logs

No response

Additional Info

No response

`Widget restore` troubleshoot didn't work

Hi,

It's a great program you made but now I'm missing "Widgets" would you have a solution to bring it back.

I tried your fix "Taskbar Widgets disappeared (Windows 11)." without success.

I think it would be cool to integrate it directly into the program.

Thanks in advance

Don't have all the features shown in the gif ?

Describe the Bug

In the gif its shown alot of features and you can scroll down , however using the script i have , i cant scroll down and only some features are available.

How can this issue be reproduced?

.

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Bug on RunTweaksForRegistry function that `breaks Windows Update`

File: ./scripts/all-in-one-tweaks.ps1
Description: Some RunTweaksForRegistry code makes the Windows Update unable to download or install the updates.
In some cases it gets 100% installed, but gives an error message in the final.

Cases:

  • 1: Sometimes it shows a Repeat button, but nothing solves
  • 2: Before downloading anything returns a message to Enable Wi-Fi to download, but it is in a wired connection.
  • 3: Clicking the Download button don't download anything in some cases.

Anytime the script runs, `winget is not found` and install with errors

Describe the Bug

image

How can this issue be reproduced?

step 1. uninstall winget
step 2. run the debloater

Expected behavior?

expected behavior should be that app installs without an error.

Operating System

Windows 10

Operating System Version

21H2

Screenshots

image
image

Logs

Win10ScriptGUI_2022-08-06_22-23-11.log

Additional Info

i should have mentioned beforehand i run windows to go and i boot from external media
dont know if its really different but versions matter

way to do it is by flashing the official windows 10 iso in windows to go mode
i used rufus, not sure if you can do it any other way
if you chose to do it use mbr partitioning settings

`Cannot` connect to the internet

Describe the Bug

The internet is available, but the connection time out on every request. Cannot use browser or everything that needs access with the internet

How can this issue be reproduced?

Run the script

Expected behavior?

No response

Operating System

Windows 10

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Script Freezes at `Task Manager Details`

Describe the Bug

Hi,
Just ran the GUI version of the script on a fresh install of the latest Windows 11 Insider build 25131.
I hit the 'Apply Tweaks' button and the script works up until the personal tweaks section, where it freezes on 'Showing task manager details'.
I think this may be due to the new task manager in Windows Insider builds.

How can this issue be reproduced?

  1. Run GUI version of script using the instructions in the README
  2. Click 'Apply Tweaks' to start

Expected behavior?

No response

Operating System

Windows 11 (64-bits)

Operating System Version

22H2

Date Executed

2022-06-09

Screenshots

Screenshot 2022-06-09 014735

Logs

No response

Additional Info

No response

Check state of particular util in GUI version

Description

Great tool. Thanks for your effort. One thing that I'm missing and confuses me is lack of clear division between bloatware that's been disabled and active Windows fuctions/services/apps etc. Checkboxes are not showing current state of system. I know it's basically bunch of scripts, not really designed to do this, but i feel like such feature would make things easier - not only for newbies.

Reason

How will it make things easier for you?
Remove redundancy when running the script.
What does it provide that isn't being provided currently?
Make "interface" more intuituve.
How does it benefit?
Larger userbase and overall quality of this tool.

Examples

No response

`Brightness` control stopped working in laptop

Describe the Bug

After running the scripts and after a restart my brightness control didn't work, I tried reversing the tweaks from the app but it still didn't work, it was a fresh install of windows 11

How can this issue be reproduced?

I just ran the script and after a restart it didn't work

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

from system information, version 10.0.22000 build 22000

Date Executed

19/7/2022

Screenshots

No response

Logs

No response

Additional Info

No response

Can connect to wifi but cannot use internet everything is TIMED OUT

Describe the Bug

After running these tools, I can no longer connect to the internet.

Razer laptop with Windows 11.

How can this issue be reproduced?

Run the scripts.

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Stopped halfway through and `recovery isn't working`

Describe the Bug

it began running and then about half way through it seemed to die and take down a good bit with it as suddenly now my computer is stating i no longer have an nvidia card connected to my display, i very much so do. So i went and tried to do the recovery but i am not good at it whatsoever so I ask for help in doing so given that i am not good with computers but any sort of help is appreciated =[

How can this issue be reproduced?

run it as directed then watch it randomly die even though you specifically avoid touching keyboard

Expected behavior?

No response

Operating System

Windows 10 (64-bits)

Operating System Version

21h1

Date Executed

2022-06-02

Screenshots

No response

Logs

No response

Additional Info

I am sorry for bad english, very worried about computer =[[[

Script to remove `new weather app` in task bar

Description

New windows 10 version add a weather app in bottom right of the task bar.
After applying your script in CLI mode I saw this weather app was not removed.
Please find below a powershell I used to remove it (after reboot)

Reason

Just remove uneeded noise of weather :)

Examples

$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds"
$Name = "EnableFeeds"
$value = "0"
if (!(Test-Path $registryPath)) {
New-Item -Path $registryPath -Force | Out-Null
New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null
}
else {
New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null
}

Remove Cortana `completely`

Description

I'd like to be able to completely remove Cortana, instead of just disabling it. There is a PowerShell command you can use to do this.

Reason

Cortana is always running. If it's disabled, the icon remains in the start menu, and you can still open Cortana. It would be nicer if it was just gone.

Examples

Get-AppxPackage -AllUsers Microsoft.549981C3F5F10 | Remove-AppPackage

This command removes Cortana completely. Windows search is a different app and is untouched.

Onedrive uninstall but still have folder inside user

Describe the Bug

When we uninstall onedrive with script or manually this will remove onedrive from everywhere expect from user profile.

problme is desktop files save at loction /username/onedrive/desktop
and same for documents

How can this issue be reproduced?

go to
C:\Users\username
select Onedrive from list
Delete it with all permission
after that when restart computer it will regenerate onedrive folder

Expected behavior?

No response

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Just doesn't work, stops when gets to uninstalling "YourPhone", doesn't continue, no error messages.

Describe the Bug

When running the debloater, when it uninstalls the default windows apps, when it gets to the YourPhone app, it doesnt continue. It doesnt display an error message, it just pauses.

How can this issue be reproduced?

  1. run debloater

Expected behavior?

this debloater should actually work

Operating System

Windows 11

Operating System Version

22H2

Screenshots

No response

Logs

No response

Additional Info

No response

Don't include `OneDrive` and `encrypted DNS` by default

Description

Both encrypted DNS and Onedrive shouldn't be enabled/deleted by default since it is not necessarily an improvement for the user, depending on the configuration. Instead, there should be a checkbox for both of them to have them enabled or not when running the script.

Reason

For example, someone could use a pi-hole as their DNS server or some Adult filtering DNS server, so changing the DNS records is not an "improvement" for them.

The same goes for OneDrive; many people rely on it as their cloud storage, so it should only be deleted when the user has been asked before.

Examples

No response

Removing `My Phone` without prompt and `Game DVR` disabled

Describe the Bug

This shouldn't happen, at least not without confirmation. No option to restore it in the app

How can this issue be reproduced?

  1. Click Apply Tweaks

Expected behavior?

Ask user what to remove

Operating System

Windows 11

Operating System Version

21H2

Screenshots

No response

Logs

No response

Additional Info

No response

Remove "Feedback Hub" bloat app

Description

An app that this script misses is the windows "Feedback Hub"

Reason

The feedback hub is a bloat app

Examples

No response

`LibreOffice` package not found

Describe the Bug

LibreOffice package not found.

How can this issue be reproduced?

  1. Open GUI script
  2. Go to Software Install Tab
  3. Check LibreOffice box
  4. Click Install Selected

Expected behavior?

Install LibreOffice to local machine

Operating System

Windows 11 (64-bits)

Operating System Version

21H2

Date Executed

2022-06-27

Screenshots

image

Logs

No response

Additional Info

No response

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.