Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core changes, additions and refactor #127

Merged
merged 64 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
5cb8807
fix: console background color changing
LeDragoX Mar 3, 2023
5f7c715
docs: update ISSUE_TEMPLATEs
LeDragoX Mar 7, 2023
f12fce5
Fix: Tab 1 Panel 2 app order
LeDragoX Mar 7, 2023
47fa1b2
refactor: change script tmp folder to actually be on User Temp
LeDragoX Mar 7, 2023
1e4de34
Delete remaining from old tmp\ folder
LeDragoX Mar 8, 2023
75159ab
arch: rename all powershell scripts to match PS naming
LeDragoX Mar 8, 2023
64aafd6
chore: remove unused code
LeDragoX Mar 8, 2023
129a55c
arch: rename remaining scripts
LeDragoX Mar 8, 2023
92d2650
style: change debloat script order
LeDragoX Mar 8, 2023
b5e43bd
feat: remove old quick assist if the new one is already installed
LeDragoX Mar 8, 2023
298a969
feat: Install Quick Assist by GUI
LeDragoX Mar 8, 2023
0c6e85a
BREAKING CHANGE: Attempt to correctly rename the remaining files (par…
LeDragoX Mar 8, 2023
b8939a0
fix: Attempt to correctly rename the remaining files (part 2)
LeDragoX Mar 8, 2023
6c8c6b8
Merge branch 'main' into develop
LeDragoX Mar 8, 2023
c8aae30
Merge branch 'main' of https://github.com/LeDragoX/Win-10-Smart-Deblo…
LeDragoX Mar 12, 2023
64ecb01
Change CONTRIBUTING to a less strict policy
LeDragoX Mar 12, 2023
81348ce
Fix path not being found while downloading (#95)
LeDragoX Mar 18, 2023
c57ed8e
Fix adwcleaner not working (#95)
LeDragoX Mar 22, 2023
92d5c27
Fix adwcleaner not working (yikes!) (#95)
LeDragoX Apr 6, 2023
86f0bf3
Don't set NVIDIA services to Manual anymore (#98)
LeDragoX Apr 6, 2023
c6d3e8b
Merge branch 'main' into develop
LeDragoX Apr 6, 2023
f120b22
Merge branch 'develop' of https://github.com/LeDragoX/Win-10-Smart-De…
LeDragoX Apr 6, 2023
399314c
Remove more Apps: (#102)
LeDragoX May 4, 2023
e1a585e
Remove useless files and code
LeDragoX May 4, 2023
f0e4431
Prefer using "legacy" Windows 10 context menu on Windows 11
LeDragoX Aug 2, 2023
c204ea4
Stop triggering github actions everyday
LeDragoX Aug 2, 2023
dee62aa
Rename powershell-linter CI
LeDragoX Aug 2, 2023
300547c
Refactor Issue templates
LeDragoX Aug 2, 2023
b977f97
Logs should be divided monthly
LeDragoX Aug 2, 2023
2729bbe
Modify Windows Explorer Navigation Pane behaviors
LeDragoX Sep 13, 2023
63cd565
Merge branch 'main' of https://github.com/LeDragoX/Win-10-Smart-Deblo…
LeDragoX Sep 13, 2023
6594cb9
Making disable expand to folder on navigation pane irreversible
LeDragoX Sep 13, 2023
d1cac6c
Load PSScheduledJob Module before using it's calls (#119)
LeDragoX Sep 18, 2023
2f5a328
Add DELL bloatware to remove
LeDragoX Sep 18, 2023
3986b43
Use less colors on terminal
LeDragoX Sep 28, 2023
697c295
Enable Run Dialog History back (#102)
LeDragoX Sep 28, 2023
2dfb119
Add Hyper-V to Optional Features (#102)
LeDragoX Sep 28, 2023
97a0848
Add Windows Sandbox to Optional Features (#102)
LeDragoX Sep 28, 2023
d061adf
Add new MS Edge Apps to Remove
LeDragoX Sep 28, 2023
989031e
Organize Bloatware list in each category
LeDragoX Sep 28, 2023
f15ea73
Don't remove Dev Home yet, it can't be reinstalled
LeDragoX Sep 29, 2023
56e8bff
Winget and Chocolatey won't install while initializing the script (#110)
LeDragoX Sep 29, 2023
7ddc2f4
Update the message when a package manager was already found before en…
LeDragoX Sep 29, 2023
40b574b
Merge branch 'main' of https://github.com/LeDragoX/Win-10-Smart-Deblo…
LeDragoX Oct 2, 2023
25e8bdb
Switch Xbox app order on list
LeDragoX Oct 2, 2023
3a5c7fc
Update CONTRIBUTING
LeDragoX Oct 2, 2023
a0533a2
Purge Cortana from reinstallable system apps. (#124)
LeDragoX Oct 9, 2023
ad595fb
When removing Microsoft Edge, keep EdgeWebView (#125)
LeDragoX Oct 9, 2023
e455c7c
Keep EdgeCore folder
LeDragoX Oct 9, 2023
756409e
Fix Remove-ItemVerified hardcode
LeDragoX Oct 9, 2023
dee3b61
Revert EdgeCore commit (#125)
LeDragoX Oct 9, 2023
26c2e7f
Move the last package manager related file to /src/lib/package-managers/
LeDragoX Oct 10, 2023
7e9743e
Allow WinDebloatTools to run asking for admin perms +
LeDragoX Oct 10, 2023
25a2f01
Install Winget, Chocolatey and WSL on DEMAND (#110 #112)
LeDragoX Oct 10, 2023
f05df3e
Fix PSScriptAnalyzer note.
LeDragoX Oct 11, 2023
12db49b
Add option to switch Mouse Acceleration (#102)
LeDragoX Oct 11, 2023
9f50a10
Add option to turn on/off Family Safety Features from Task Schedules …
LeDragoX Oct 11, 2023
268773d
Improve Windows Search info (#112)
LeDragoX Oct 11, 2023
c6ece6d
Fix Mouse Acceleration persistance after reboot (#102)
LeDragoX Oct 11, 2023
f63f621
Add Messenger app and Spotify (#102)
LeDragoX Oct 11, 2023
a7c2dfe
Fix missing .URL file association :D (#113)
LeDragoX Oct 12, 2023
842a260
Use -Encoding UTF8 parameter (#118?)
LeDragoX Oct 12, 2023
0a13b25
Load PSScheduledJob Module in Manage-DailyUpgradeJob (#119)
LeDragoX Oct 12, 2023
9cd00a9
Disable Edge Tasks and Services after uninstalling (#123/#125)
LeDragoX Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 7 additions & 23 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ body:
value: |
## Important: Read First

- If some section doesn't apply, use "N/A"
- If some section doesn't apply, use "N/A".
- type: textarea
id: description
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is
description: A clear and concise description of what the bug "is". You can also add Screenshots.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: How can this issue be reproduced?
description: Steps to reproduce the behavior
description: Steps to reproduce the behavior.
placeholder: |
Example:
1. Go to '...'
Expand All @@ -36,7 +36,7 @@ body:
id: expectedBehavior
attributes:
label: Expected behavior?
description: A clear and concise description of what you expected to happen
description: A clear and concise description of what you expected to happen.
validations:
required: false
- type: markdown
Expand All @@ -47,7 +47,7 @@ body:
id: os
attributes:
label: Operating System
description: Versions before Windows 10 are not supported
description: Versions before Windows 10 are not supported.
options:
- Windows 11
- Windows 10
Expand All @@ -57,33 +57,17 @@ body:
id: osVer
attributes:
label: Operating System Version
description: Versions before 1809 are not supported
description: Versions before 1809 are not supported.
placeholder: "Example: 21H2"
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: |
If your issue is better illustrated with screenshots, you may do that here
validations:
required: false
- type: textarea
id: logs
attributes:
label: Logs
description: |
**Only needed if it's error related**
Put your log file from: C:\Users\{ Your User }\AppData\Local\Temp\Win-Debloat-Tools\logs\WinDebloatTools.log
TIP: press `Win + R` and type `%Temp%` then hit `ENTER`, now find the log file
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Info
description: |
Please feel free to add any additional info here
TIP: press `Win + R` and type `%Temp%` then hit `ENTER`, now find the log file.
validations:
required: false
11 changes: 5 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ body:
value: |
## Important: Read First

- If some section doesn't apply, use "N/A"
- If some section doesn't apply, use "N/A".
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what you want to happen
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: reason
attributes:
label: Reason
description: |
Give a reason why you want this feature
Give a reason why you want this feature:
- How will it make things easier for you?
- What does it provide that isn't being provided currently?
- How does it benefit?
Expand All @@ -35,8 +35,7 @@ body:
attributes:
label: Examples
description: |
Provide examples of the feature as implemented by other software

Include screenshots or video if you like to help demonstrate how you'd like this feature to work
Provide examples of the feature as implemented by other software.
Include screenshots or video if you can demonstrate how you'd like this feature to work.
validations:
required: false
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ name: PSScriptAnalyzer
on:
push:
branches:
- main
- develop
- main
- develop
pull_request:
branches:
- main
- develop
schedule:
- cron: '30 12 * * 0-6'

- main
- develop

jobs:
build:
name: PSScriptAnalyzer
Expand All @@ -34,7 +32,7 @@ jobs:
with:
# The below set up runs PSScriptAnalyzer to your entire repository and runs some basic security rules.
path: .\
recurse: true
recurse: true
# Exclude rules that will not be worked on / are invalid
# Command: invoke-scriptanalyzer . -recurse -excludeRule: "PSAvoidUsingInvokeExpression", "PSAvoidUsingWriteHost", "PSUseShouldProcessForStateChangingFunctions"
excludeRule: '"PSAvoidUsingInvokeExpression", "PSAvoidUsingWriteHost", "PSUseShouldProcessForStateChangingFunctions"'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Warning**: this file is subject to changing without notice.

I would be happy to extend the collection of scripts.
If you want to send me a **PULL REQUEST**, you can send PRs to `main` branch, i'll check your code, request changes if necessary or approve, and merge directly unless it's a "Draft PR".
If you want to send me a **PULL REQUEST**, send you PRs to the `develop` branch, select your `local branch (from)` and put into `develop`, i'll check your code, request changes if necessary or approve, and merge directly unless it's a "Draft PR".

## 🖌 Coding Style

Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
- [Import all necessary _modules_ before executing everything](./src/lib/);
- Logs both script runs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs`;
- [Make a Restore Point and Backup the Hosts file](./src/scripts/Backup-System.ps1);
- [Install _Winget/Chocolatey_ package managers by default](./src/scripts/Install-PackageManager.ps1);
- Creates a new Scheduled Task to daily upgrade all available softwares via _Winget_ at **12:00** and _Chocolatey_ at **13:00**;
- Find the Scheduled Task on `Task Scheduler > Microsoft > Windows > PowerShell > ScheduledJobs > Chocolatey/Winget Daily Upgrade`;
- Register daily upgrade logs on `C:\Users\<<USERNAME>>\AppData\Local\Temp\Win-DT-Logs` and remove old log files;
- [Download AdwCleaner and Run the latest version for _Virus/Adware_ scan and from OOShutUp10 and import all Recommended settings from a file](./src/scripts/silent-debloat-softwares.ps1);
- [Disable _non-essential_ Telemetry from Scheduled Tasks and Optimize it](./src/scripts/Optimize-TaskScheduler.ps1);
- [Disable _heavy_ Services, but enable some on SSDs for optimum performance](./src/scripts/Optimize-ServicesRunning.ps1);
Expand Down Expand Up @@ -143,6 +139,7 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
- `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 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;
Expand All @@ -156,15 +153,14 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |

- `Apply Tweaks`: Run every Common Tweak scripts ([Go To **☑️ Common Script Features** section](#%EF%B8%8F-common-script-features));
- `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`](./src/scripts/Remove-MSEdge.ps1): uninstalls Microsoft Edge/WebView, then remove the remaining files;
- [`Remove Microsoft Edge`](./src/scripts/Remove-MSEdge.ps1): uninstalls **Microsoft Edge**, then remove the remaining files, **Edge Web View** files will remain untouched;
- [`Remove OneDrive`](./src/scripts/Remove-OneDrive.ps1): completely removes OneDrive from the System, re-install is possible via Win Store;
- [`Remove Xbox`](./src/scripts/Remove-Xbox.ps1): wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR;

#### Install System Apps ([Can be found here](src/utils/Install-Individual-System-Apps.psm1))

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

- `Cortana`;
- `Dolby Audio`;
- `Microsoft Edge`;
- `OneDrive`;
Expand Down Expand Up @@ -202,6 +198,17 @@ _This section can manually adjust `Optional Features` from the system, working a

### Software Install

- [Install _Winget/Chocolatey_ package managers](./src/lib/package-managers/);

- Be able to install the listed software in this script! Even from System apps.

- [**Create** or **Remove** a Daily Upgrade Task for _Winget/Chocolatey_ packages](./src/lib/package-managers/);

- 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);
Expand Down
Loading