Skip to content

Commit

Permalink
May Update... and Thoughts (#164)
Browse files Browse the repository at this point in the history
* fix: console background color changing
- Add new background colors which works greatly with Powershell and Windows Terminal

* docs: update ISSUE_TEMPLATEs
- Log folder location
- change label to only Feature Request

* Fix: Tab 1 Panel 2 app order

* refactor: change script tmp folder to actually be on User Temp
- Get the Script Temp folder using a new function

* Delete remaining from old tmp\ folder

* arch: rename all powershell scripts to match PS naming
- Even if it isn't approved

* chore: remove unused code
- Install-HEVCSupport function which doesn't work anymore

* arch: rename remaining scripts
- Also fix an name warning from PSScriptAnalyzer
- Remove Main() functions

* style: change debloat script order
- Remove useless code from Remove-CapabilitiesList

* feat: remove old quick assist if the new one is already installed

* feat: Install Quick Assist by GUI
- Remove some console output which wasn't important

* BREAKING CHANGE: Attempt to correctly rename the remaining files (part 1)

* fix: Attempt to correctly rename the remaining files (part 2)

* Change CONTRIBUTING to a less strict policy

* Fix path not being found while downloading (#95)
- This is not a complete fix

* Fix adwcleaner not working (#95)
- Organize imports (yes, again)

* Fix adwcleaner not working (yikes!) (#95)

* Don't set NVIDIA services to Manual anymore (#98)
- Solves issues with GeForce Experience and Control Panel

* Remove more Apps: (#102)
- WhatsApp
- Amazon Prime Video
- TikTok
- Facebook
- Instagram

Spotify will not be removed, as i don't want to :v

* Remove useless files and code
- The lib Grant-RegistryPermission isn't working at all
- Removing all references from this handmade lib

* Prefer using "legacy" Windows 10 context menu on Windows 11
- If you dislike it you can click twice on "Enable Legacy Context Menu" to restore the default
- Less laggy

* Stop triggering github actions everyday

* Rename powershell-linter CI

* Refactor Issue templates
- Need less info
- Fixed punctuation.

* Logs should be divided monthly

* Modify Windows Explorer Navigation Pane behaviors
- Hide Duplicated Removable Devices
- Disable Expand to folder on navigation pane

(Seems to solve: Explorer opening as the primary window without any reason)

* Making disable expand to folder on navigation pane irreversible
- The default is already disabled

* Load PSScheduledJob Module before using it's calls (#119)

* Add DELL bloatware to remove
- Add Alienware apps, but keep them commented
.
.
.
I've been thinking about this for a long time...

* Use less colors on terminal
> This is not Cyberpunk 2077
- Change credits location

* Enable Run Dialog History back (#102)
- Press Win + R, then type something, you should see more stuff now.

* Add Hyper-V to Optional Features (#102)

* Add Windows Sandbox to Optional Features (#102)

* Add new MS Edge Apps to Remove

* Organize Bloatware list in each category
- Add Dev Home to MSApps

* Don't remove Dev Home yet, it can't be reinstalled

* Winget and Chocolatey won't install while initializing the script (#110)
- Every Winget/Chocolatey operation was moved to Software Install Tab.
- To be able to install apps again, you need to install individually Winget and Chocolatey.
- Also, you can Add or Remove Daily Upgrade for Winget and Chocolatey.
- Chocolatey can now be Uninstalled! *(Be aware to uninstall everything before)*

infra: Manage-Software and every code related to package managers were moved to /src/lib/package-managers/

* Update the message when a package manager was already found before enabling daily upgrade

* Switch Xbox app order on list
- Replace comments

No code changes.

* Update CONTRIBUTING
- I thought i made this change before, sorry for the inconvenience.

* Purge Cortana from reinstallable system apps. (#124)

* When removing Microsoft Edge, keep EdgeWebView (#125)

* Keep EdgeCore folder
- Testing to Remove Edge but keep EdgeWebView working

* Fix Remove-ItemVerified hardcode

* Revert EdgeCore commit (#125)
- Refactor what folders are removed (The Exclude param was broken)

* Move the last package manager related file to /src/lib/package-managers/

* Allow WinDebloatTools to run asking for admin perms +
+ Run Windows Terminal or PowerShell depending on winget.
- If script is in the wrong folder, it'll be able to detect and correct it.

* Install Winget, Chocolatey and WSL on DEMAND (#110 #112)
- If the user wants to install something, instead of going directly to an error, install the missing package manager.
- The 1st time installing will prompt a bigger message (I don't know how this happened)

* Fix PSScriptAnalyzer note.
- The cmdlet 'Install-Software' returns an object of type 'System.Management.Automation.ScriptBlock' but this type is not declared in the OutputType attribute.

* Add option to switch Mouse Acceleration (#102)

* Add option to turn on/off Family Safety Features from Task Schedules (#104)

* Improve Windows Search info (#112)
- Use lib to disable/enable service for WSearch service
- Isolate WSearch tweak on Services category

* Fix Mouse Acceleration persistance after reboot (#102)
- Changed Type to String.

* Add Messenger app and Spotify (#102)
- Spotify line was uncommented

* Fix missing .URL file association :D (#113)
- Took a long time to find out, I'm not doing this again
- All .reg files should wait until finished
- Add "None" type to Set-ItemPropertyVerified
  - Used to a specific case where REG_NONE was needed
- Check if system is Windows 10, then only apply on it
- Added other comment to Windows Photos App, because it's the same as Video Editor (2 apps in 1)
- Create new reg file to bypass perms, solving the .url file disassociation
- In Enable-LegacyContextMenu suppress the New-Item command output

* Use -Encoding UTF8 parameter (#118?)

* Load PSScheduledJob Module in Manage-DailyUpgradeJob (#119)
- For some reason the import was missing again.

* Disable Edge Tasks and Services after uninstalling (#123/#125)
- Add a disclaimer to the message before Removing Edge
- Fixed wildcard usage '*' in Set-ScheduledTaskState function

* Update script GUI

* Fix Powershell workflow badge

* Truly fix PSScriptAnalizer badge
- .yml -> yaml

* Update README info to match all functionalities

* Fix Randomize System Color function call

* Don't enable Net Framework 4.8 Advanced Services

* Rename function "Use-DebloatSoftware" to "Invoke-DebloatSoftware"

* Disable reserved storage
- Gives more storage space

* Add ROADMAP file, containing major changes
- This was moved from the Projects tab

* docs: Shorten unnecessary parts
- Test new markdown feature.

* Fix formatting when using highlighted blockquotes

* Fix UI button inconsistencies
- Change Date format and how opened scripts are shown.

* Added Disk cleanup scripts
- Remove-TemporaryFiles
- Remove-WindowsOld
- Start-DiskCleanUp
*NOTE: These are not integrated with the Apply Tweaks button as some of then delete occurring install/update files and should be done separately or while you're aware

* GUI: Display version [DATE] rather than [File name] [DATE]

* Remove Windows.old folder after cleaning

* Fix CLI mode not working if not admin (#136)

* Add "Power Automate" to the Bloatware list

* Do not enable .NET strong cryptography (#130)
- Better off than enabled
- All users still need to remove it manually.

* Fix value from mouse hover time
- This registry key is using milliseconds unit to define the time

* Use firefox version from Chocolatey
- Winget version seems a mix from MS Store, which can't open some URLs

* Increase Mouse Hover time to 100ms
- 10ms was pretty unstable

* Add option to Disable and Enable News And Interest (Win10)

* NewsAndInterest: Remove the key value rather than putting value forced to 1

* Add title to PowerShell window
- Fix wrong location warning color
- Make last Personal Tweak one line

* cleanup: Remove useless date line

* Only set High Performance power plan to DESKTOP PCs (Laptops and other types will be ignored)
- Avoid thermonuclear mobile devices (reduces performance and BATTERY drain in these devices)

* Add my (LeDragoX) Pix as a donation method (Just copy and remove the 2 first words + "-")
- Allow Brazilians to donate easily

* Update Request-FileDownload.psm1 (#140)

Had to dig deeper... 
If the the path "$(Get-TempScriptFolder)\downloads" is not existent. An has to be created, the script will fail. 
Cause of the error was a non-captured output in this function at corrected line.

* Update Invoke-DebloatSoftware.ps1 (#141)

Some minor optimization on cleaning after tool download & execution.

* Fix OneDrive install
- Remove whitespace

* Fix OneDrive reinstall*

* Use doubled quotation marks ( " ) instead of single ( ' )
- Add quotation marks when a component "was not found".

* Fix Windows Update always notifying (return to normal behavior)
- Will updates be automatic?
- Set Scheduled Update to be 3AM (was 4AM)

* Update README

* Update README Warning

* fix: Return to default WU automatic updates policies when enabling it
I messed up automatic updates, as it waited for 3AM to reach, but never happened

* Add an option to Enable Location Services settings (#133)
- Fix "lfsvc" service tweak, the parameter was named "EnableStatus", not "Status"

* Move Winget/Chocolatey Settings to new tab "Settings"

* Rename Location tweak type to "Privacy"

* Improve Set-ItemPropertyVerified lib
- Use less hardcode
- Check if $null before inserting parameters
- Binary types need a special input
- Allow to input multiple Paths

* Check $null before inserting parameters on Remove-ItemVerified lib
- Add a Write-Verbose line to check the command processed

* Make available the Uninstall option to Microsoft Edge natively
- Added the tweak to Remove-MSEdge
  * This may help with edge cmd uninstall, as it unlocks the software uninstall option.

Inspired by: "How Difficult is it to Uninstall Microsoft Edge?" from Endermanch

* Comment Whatsapp, as it couldn't be instantly removed from Windows
- This is one of the apps by demand, which start just as a link/stub to download

* fix: DNS over HTTPS internet slowdown setting (10s+ loading)
- All settings must be set to $false
- Added the -DohTemplate to fulfill the parameters.

* README: don't want to be the next Yuz- (hope this helps on the legal part)
- Added a link to new Discussion in case you got any question or concern

* Update Emulation section
- Remove BSnes HD
- Remove Project 64
- Add Duckstation
- Install PPSSPP via Chocolatey (newer)

* Increase MouseHoverTime a bit

* Add Support to Windows 11 23H2 (#137)
- Add tweak to keep the show desktop button enabled
- When uninstalling WSL, also uninstall the optional feature
- Insert Windows version for some tweaks
- Update ROADMAP

* Add an option to enable/disable Windows Spotlight (#156)
- Allows the user to enable Windows Spotlight as Desktop Background

* chore(deps): bump github/codeql-action from 2 to 3 (#145)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs: update link to ps1 file (#159)

* docs: update link to ps1 file

Update link from silent-debloat-softwares.ps1 to Use-DebloatSoftware.ps1, reading the script this file looks the right one now.

* Update file name to `Invoke-DebloatSoftware.ps1`

- related to develop branch

---------

Co-authored-by: Plínio Larrubia <[email protected]>

* Remove other Funding.yml option

* Restore Sleep Button (#158)
- Also restoring the default Hibernate type (Full)

* chore(deps): bump github/codeql-action from 2 to 3 (#161)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix: Restore sleep button
- Remove space after path

* Make function Remove-ItemPropertyVerified
- Serves to verify empty paths while removing properties from registry

* Update README documentation

* Enable NDU back, allowing the  task manager to show network usage per process

* Remove old linux versions for WSL
- Removed Ubuntu 18 and 20 too

* Bypass the Restore Point limit (#131)

* Fix OneDrive removal (#147)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: 747DB66FBC <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Italo A <[email protected]>
Co-authored-by: 5p3ctra <[email protected]>
  • Loading branch information
5 people committed Sep 8, 2024
1 parent 2481d93 commit f6863be
Show file tree
Hide file tree
Showing 35 changed files with 785 additions and 375 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/powershell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
145 changes: 60 additions & 85 deletions README.md

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
### Future

- [ ] Unpin All "mocked" apps (Apps on the Start Menu which are not installed, but are there).
- [ ] Install Winget via Chocolatey as an another option.

### 2023v2

- [x] Rename all powershell scripts to match it's naming convention.
- [x] Add more features do the GUI by category (Scheduled Tasks, Services, Optional Features, Windows Capabilities, etc).
- [x] Improve Remove MS Edge script.
- [x] Improve Remove Xbox script.
- [x] Fix a few hardcoded scripts.
- [x] Fix issue with URL files.
- [x] Remove DELL and SAMSUNG bloatware apps.
- [x] Add Windows 11 specific tweaks.
- [x] Make Winget/Chocolatey/WSL to install manually.
- [x] Do not add Daily Upgrade tasks to Winget/Chocolatey automatically.
- [x] Only install Winget/Chocolatey/WSL on demand, lower startup time and get strict to the point.

### 2023v1

- [x] Remove more Apps
- [x] Change Windows Update automatic download and install behavior.
- [x] Add NEW script icon.
- [x] Optimize all image files to weight a lot less.
- [x] Update OOShutUp10 settings file.
- [x] Improve lib structure, added `debloat-helper` folder for all debloat tweak related lib.
- [x] Add a script to remove Windows Capabilities.
- [x] Refactor overly complex functions.
- [x] Add new lib to manage Folder/Registry Paths.
- [x] Fix all imports.
- [x] Allow usage of wildcards (*) to select a wider range of apps.
- [x] Add autocomplete to most lib functions.
- [x] Fix Winget and Chocolatey installation.
- [x] Fix the UI from GUI version, allowing more resolutions, and window expansion and shrinking.
- [x] Add a lot of effects to console output, helping visually while debloating.
- [x] Refactor the GUI to get colors through a function.
- [x] Change configuration from Microsoft Edge to prevent running in background.

### 2022v3

- [x] Encrypted DNS is NOT enabled anymore, needed OFF when using public Wi-Fi with redirect to login page or Pi-hole.
- [x] Fixed Xbox Game Bar and DVR tweaks.
- [x] Fixed policies related to Phone Linking.
- [x] Finally added a good design to be the script banner.

### 2022v2

- [x] GUI should scale with DPI with 1 monitor.
- If the hardware has more than 1 monitor, choose the 2nd method to select the screen resolution (doesn't take DPI).
- [x] The **winget package manager** should install manually and wait if any error appeared.
- [x] Clean up `src/utils` to use one file with `individual tweaks`.
- Also moved some scripts to `src/scripts/other-scripts/`
- [x] When applying performance tweaks, leave no duplicated power plan on the system.
- Moved that to `src/lib` as a function.
- [x] Fixed all PATHS when selecting a file location on `download-web-file.psm1` and `open-file.psm1`.
- [x] It is now possible to Re-install Xbox (mostly).
- Removed XBOX apps from `remove-bloatware-apps.ps1`
- [x] It is possible to **recover** or **disable** some system apps and other features that was only applied on the scripts through GUI.
- [x] As prompted, the script does NOT remove OneDrive automatically, it is located on the GUI now.

### 2022v1

- [x] Update the GUI design to finally look like a real "program", not a weird non-symmetrical interface, which allows to add even more tweaks.
- [x] Added CI to scan the PowerShell files, then show warnings and errors to fix.
- [x] Show system specs easily on the Window Title.
- [x] Doesn't need workarounds with a lot of Global Variables anymore, only the essential.
- [x] Revert tweaks now works properly.
- [x] Ease of life to create and import GPG and SSH keys, as setting a git account.
- [x] Added logging to help in debugging.
- [x] Redesign the GUI, improve the color palette and contrast.
- [x] Allow multi software install at the same time.
- [x] Programs can now be properly uninstalled.
- [x] Fix elements inside panel margin
- [x] Adapt GUI to scale with the resolution (following the native DPI)
- [x] Create libs to change status from `scheduled tasks`, `services` and `optional-windows-features`.
- [x] Use tabs to move through pages on GUI.
- [x] Upgrade all apps through GUI

### 2021v2

- [x] Join other scripts that are helpful inside `src/utils` and `src/utils/DIY` folders.
- [x] Use `Winget` and `Chocolatey`, and update softwares daily, using `winget` as the main package manager.
- [x] Refactor the GUI layout until it's easy to maintain.
- [x] Create functions to generate GUI elements.
- [x] Debloating the debloater.
- [x] Keep `SysMain` and `WSearch` enabled if the "C:" device is a SSD.
- [x] Added option to Remove Xbox (mostly).
- [x] Easy full install of WSL2 for Windows 11.

### 2021v1

- [x] Port the remaining W4RH4WK's code into `src/scripts`, then improve what i tought that should've been improved.
- [x] Put the credits to each person from who i collected the scripts.
- [x] Create local libs to:
- Grab the hardware/system specs ;
- Show a message box with Ok, Yes and No;
- Print special sections on the console;
- Change script policy;
- Create a GUI layout;
- Install Softwares easily via package manager;
- [x] Split `all-in-one-tweaks.ps1` to other files, so `Win10Script.ps1` could make more sense.
- [x] Removed some of the _thirdy-party_ software running with the script and only keep AdwCleaner and OOShutUp10 that could be automated.
- [x] Introduced a GUI to the script, fixed most GUI related bugs, this way it make scripts more accessible and Software Installations A LOT easier.

### 2020v1

- [x] Switch to the `main` branch.
- [x] Refactor all possible `Command Prompt/Registry` code into `Powershell` code
- [x] Translate everything from `PT-BR` to `ENG`, to help all the people around the world.
- [x] Make sure every Windows machine will do anything automated, leaving the configurations to the code itself.
- [x] Separate each essential tweak part into a file to understand with ease it's process, making it more reliable and manutenable.
- [x] Make possible reverting almost all the tweaks made by the script with one click.
- [x] Add a great variety of popular software to install with one click.

## 2018/19 v1

- [x] "Fork" W4RH4WK's script and do personal modifications.
- [x] Check if all the code is safe and can evolve.
- [x] Add an shortcut to open `PowerShell` as an Admin in the same folder.
- [x] Join and Run all Scripts from `src/scripts/` folder into one (`Win10Script.ps1`), running one after another.
- [x] Do a system backup before running every script that change a lot of settings.
- [x] Change the terminal window style to be more cool.
- [x] Only change stuff that will not destroy `Windows` and can be safely reverted (manually).
Loading

0 comments on commit f6863be

Please sign in to comment.