mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 14:48:31 +00:00
Compare commits
35 Commits
08b24c7187
...
26.02.18
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a0e084d7e | ||
|
|
89147414a0 | ||
|
|
ae4b3f3ac7 | ||
|
|
043ec9abe0 | ||
|
|
5c92fcbde5 | ||
|
|
b1094c9177 | ||
|
|
9ab1c6bbd3 | ||
|
|
97d3ada895 | ||
|
|
8212b3ed5e | ||
|
|
d410667c6d | ||
|
|
e51e345438 | ||
|
|
3404f185f1 | ||
|
|
f15c212df5 | ||
|
|
152c157b51 | ||
|
|
80e54a0ea5 | ||
|
|
7fb1643378 | ||
|
|
f6c0c9682c | ||
|
|
b7ef73cb10 | ||
|
|
0b76ab3aa4 | ||
|
|
436e3c353e | ||
|
|
50ca97575b | ||
|
|
618561e5cf | ||
|
|
725244c28e | ||
|
|
d4c768315b | ||
|
|
e909d1a847 | ||
|
|
dcfa68476a | ||
|
|
60d31a1fe0 | ||
|
|
5476cd928f | ||
|
|
84f2046912 | ||
|
|
586fd56603 | ||
|
|
70a94abe02 | ||
|
|
0e41122d89 | ||
|
|
4e7416a2dc | ||
|
|
61a6265cf9 | ||
|
|
5582c3cb44 |
30
.github/workflows/auto-merge-docs.yaml
vendored
Normal file
30
.github/workflows/auto-merge-docs.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Auto-merge Docs PRs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto-merge:
|
||||||
|
if: github.event.pull_request.head.ref == 'docs-update' && github.event.pull_request.user.login == 'github-actions[bot]'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Auto-approve PR
|
||||||
|
run: gh pr review "$PR_NUMBER" --approve
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.AUTO_MERGE }}
|
||||||
|
|
||||||
|
- name: Enable auto-merge
|
||||||
|
run: gh pr merge "$PR_NUMBER" --squash --auto --delete-branch
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
22
.github/workflows/docs.yaml
vendored
22
.github/workflows/docs.yaml
vendored
@@ -12,9 +12,10 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
@@ -42,6 +43,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v5
|
||||||
@@ -50,6 +52,24 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
Set-Location tools
|
Set-Location tools
|
||||||
./devdocs-generator.ps1
|
./devdocs-generator.ps1
|
||||||
|
|
||||||
|
- name: Create Pull Request 🚀
|
||||||
|
id: cpr
|
||||||
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
commit-message: 'Update generated documentation'
|
||||||
|
title: 'chore: Update Generated Dev Docs'
|
||||||
|
body: 'Automated update of generated documentation from JSON sources'
|
||||||
|
branch: docs-update
|
||||||
|
delete-branch: true
|
||||||
|
labels: automated
|
||||||
|
|
||||||
|
- name: Check outputs
|
||||||
|
run: |
|
||||||
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||||
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: "cd docs && [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
run: "cd docs && [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||||
- name: Cache Restore
|
- name: Cache Restore
|
||||||
|
|||||||
19
.github/workflows/pre-release.yaml
vendored
19
.github/workflows/pre-release.yaml
vendored
@@ -16,6 +16,25 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Generate Dev Docs and Update JSON Links
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
Set-Location tools
|
||||||
|
./devdocs-generator.ps1
|
||||||
|
|
||||||
|
- name: Commit Updated JSON Links
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add config/tweaks.json config/feature.json
|
||||||
|
$changes = git diff --cached --quiet; if ($LASTEXITCODE -ne 0) {
|
||||||
|
git commit -m "Update documentation links in JSON configs"
|
||||||
|
git push
|
||||||
|
} else {
|
||||||
|
Write-Host "No JSON link changes to commit"
|
||||||
|
}
|
||||||
|
|
||||||
- name: Compile project
|
- name: Compile project
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
22
.github/workflows/sponsors.yaml
vendored
22
.github/workflows/sponsors.yaml
vendored
@@ -5,6 +5,7 @@ on:
|
|||||||
- cron: 30 15 * * 0-6
|
- cron: 30 15 * * 0-6
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -12,6 +13,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Generate Sponsors 💖
|
- name: Generate Sponsors 💖
|
||||||
uses: JamesIves/github-sponsors-readme-action@v1
|
uses: JamesIves/github-sponsors-readme-action@v1
|
||||||
@@ -19,8 +22,19 @@ jobs:
|
|||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
file: 'README.md'
|
file: 'README.md'
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages 🚀
|
- name: Create Pull Request 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
id: cpr
|
||||||
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
branch: main
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
folder: '.'
|
commit-message: 'Update sponsors in README'
|
||||||
|
title: 'chore: Update Sponsors README'
|
||||||
|
body: 'Automated update of sponsors section'
|
||||||
|
branch: sponsors-update
|
||||||
|
delete-branch: true
|
||||||
|
labels: automated
|
||||||
|
|
||||||
|
- name: Check outputs
|
||||||
|
run: |
|
||||||
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||||
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ You'll see a new file named `winutil.ps1`, which's created by `Compile.ps1` scri
|
|||||||
|
|
||||||
These are the sponsors that help keep this project alive with monthly contributions.
|
These are the sponsors that help keep this project alive with monthly contributions.
|
||||||
|
|
||||||
<!-- sponsors --><a href="https://github.com/markamos"><img src="https://github.com/markamos.png" width="60px" alt="User avatar: Mark Amos" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave J (WhamGeek)" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DwayneTheRockLobster1"><img src="https://github.com/DwayneTheRockLobster1.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/KieraKujisawa"><img src="https://github.com/KieraKujisawa.png" width="60px" alt="User avatar: Kiera Meredith" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><!-- sponsors -->
|
||||||
|
|
||||||
## 🏅 Thanks to all Contributors
|
## 🏅 Thanks to all Contributors
|
||||||
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -72,5 +72,13 @@
|
|||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "5",
|
"Order": "5",
|
||||||
"Description": "Show the selected applications"
|
"Description": "Show the selected applications"
|
||||||
|
},
|
||||||
|
"WPFToggleFOSSHighlight": {
|
||||||
|
"Content": "Highlight FOSS",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"Checked": true,
|
||||||
|
"Order": "6",
|
||||||
|
"Description": "Toggle the green highlight for FOSS applications"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -181,15 +181,6 @@
|
|||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/winget"
|
"link": "https://winutil.christitus.com/dev/features/fixes/winget"
|
||||||
},
|
},
|
||||||
"WPFRunAdobeCCCleanerTool": {
|
|
||||||
"Content": "Remove Adobe Creative Cloud",
|
|
||||||
"category": "Fixes",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a045_",
|
|
||||||
"Type": "Button",
|
|
||||||
"ButtonWidth": "300",
|
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/runadobecccleanertool"
|
|
||||||
},
|
|
||||||
"WPFPanelControl": {
|
"WPFPanelControl": {
|
||||||
"Content": "Control Panel",
|
"Content": "Control Panel",
|
||||||
"category": "Legacy Windows Panels",
|
"category": "Legacy Windows Panels",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@
|
|||||||
title: "Disable Legacy F8 Boot Recovery"
|
title: "Disable Legacy F8 Boot Recovery"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=107}
|
```json {filename="config/feature.json",linenos=inline,linenostart=107}
|
||||||
"WPFFeatureDisableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
"Content": "Disable Legacy F8 Boot Recovery",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Enable Legacy F8 Boot Recovery"
|
title: "Enable Legacy F8 Boot Recovery"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=95}
|
```json {filename="config/feature.json",linenos=inline,linenostart=95}
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureEnableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Enable Legacy F8 Boot Recovery",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Enable Daily Registry Backup Task 12.30am"
|
title: "Enable Daily Registry Backup Task 12.30am"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=77}
|
```json {filename="config/feature.json",linenos=inline,linenostart=77}
|
||||||
"WPFFeatureRegBackup": {
|
"WPFFeatureRegBackup": {
|
||||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
"Content": "Enable Daily Registry Backup Task 12.30am",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Windows Sandbox"
|
title: "Windows Sandbox"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=119}
|
```json {filename="config/feature.json",linenos=inline,linenostart=119}
|
||||||
"WPFFeaturesSandbox": {
|
"WPFFeaturesSandbox": {
|
||||||
"Content": "Windows Sandbox",
|
"Content": "Windows Sandbox",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "All .Net Framework (2,3,4)"
|
title: "All .Net Framework (2,3,4)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
||||||
"WPFFeaturesdotnet": {
|
"WPFFeaturesdotnet": {
|
||||||
"Content": "All .Net Framework (2,3,4)",
|
"Content": "All .Net Framework (2,3,4)",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "HyperV Virtualization"
|
title: "HyperV Virtualization"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=15}
|
```json {filename="config/feature.json",linenos=inline,linenostart=15}
|
||||||
"WPFFeatureshyperv": {
|
"WPFFeatureshyperv": {
|
||||||
"Content": "HyperV Virtualization",
|
"Content": "HyperV Virtualization",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Legacy Media (WMP, DirectPlay)"
|
title: "Legacy Media (WMP, DirectPlay)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=29}
|
```json {filename="config/feature.json",linenos=inline,linenostart=29}
|
||||||
"WPFFeatureslegacymedia": {
|
"WPFFeatureslegacymedia": {
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
"Content": "Legacy Media (WMP, DirectPlay)",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "NFS - Network File System"
|
title: "NFS - Network File System"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=57}
|
```json {filename="config/feature.json",linenos=inline,linenostart=57}
|
||||||
"WPFFeaturenfs": {
|
"WPFFeaturenfs": {
|
||||||
"Content": "NFS - Network File System",
|
"Content": "NFS - Network File System",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Windows Subsystem for Linux"
|
title: "Windows Subsystem for Linux"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/feature.json",linenos=inline,linenostart=44}
|
```json {filename="config/feature.json",linenos=inline,linenostart=44}
|
||||||
"WPFFeaturewsl": {
|
"WPFFeaturewsl": {
|
||||||
"Content": "Windows Subsystem for Linux",
|
"Content": "Windows Subsystem for Linux",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Set Up Autologin"
|
title: "Set Up Autologin"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFPanelAutologin {
|
function Invoke-WPFPanelAutologin {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,142 +2,23 @@
|
|||||||
title: "System Corruption Scan"
|
title: "System Corruption Scan"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFSystemRepair.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFSystemRepair.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFSystemRepair {
|
function Invoke-WPFSystemRepair {
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Checks for system corruption using Chkdsk, SFC, and DISM
|
Checks for system corruption using SFC, and DISM
|
||||||
|
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
1. Chkdsk - Fixes disk and filesystem corruption
|
1. SFC - Fixes system file corruption, and fixes DISM if it was corrupted
|
||||||
2. SFC Run 1 - Fixes system file corruption, and fixes DISM if it was corrupted
|
2. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
||||||
3. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
3. Chkdsk - Checks for disk errors, which can cause system file corruption and notifies of early disk failure
|
||||||
4. SFC Run 2 - Fixes system file corruption, this time with an almost guaranteed uncorrupted system image
|
|
||||||
#>
|
#>
|
||||||
|
Start-Process cmd.exe -ArgumentList "/c chkdsk.exe /scan /perf" -NoNewWindow -Wait
|
||||||
|
Start-Process cmd.exe -ArgumentList "/c sfc /scannow" -NoNewWindow -Wait
|
||||||
|
Start-Process cmd.exe -ArgumentList "/c dism /online /cleanup-image /restorehealth" -NoNewWindow -Wait
|
||||||
|
|
||||||
function Invoke-Chkdsk {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Runs chkdsk on the system drive
|
|
||||||
.DESCRIPTION
|
|
||||||
Chkdsk /Scan - Runs an online scan on the system drive, attempts to fix any corruption, and queues other corruption for fixing on reboot
|
|
||||||
#>
|
|
||||||
param(
|
|
||||||
[int]$parentProgressId = 0
|
|
||||||
)
|
|
||||||
|
|
||||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running chkdsk..." -PercentComplete 0
|
|
||||||
$oldpercent = 0
|
|
||||||
# 2>&1 redirects stdout, allowing iteration over the output
|
|
||||||
chkdsk.exe /scan /perf 2>&1 | ForEach-Object {
|
|
||||||
Write-Debug $_
|
|
||||||
# Regex to match the total percentage regardless of windows locale (it's always the second percentage in the status output)
|
|
||||||
if ($_ -match "%.*?(\d+)%") {
|
|
||||||
[int]$percent = $matches[1]
|
|
||||||
if ($percent -gt $oldpercent) {
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running chkdsk... ($percent%)" -PercentComplete $percent
|
|
||||||
$oldpercent = $percent
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "chkdsk Completed" -PercentComplete 100 -Completed
|
|
||||||
}
|
|
||||||
|
|
||||||
function Invoke-SFC {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Runs sfc on the system drive
|
|
||||||
.DESCRIPTION
|
|
||||||
SFC /ScanNow - Performs a scan of the system files and fixes any corruption
|
|
||||||
.NOTES
|
|
||||||
ErrorActionPreference is set locally within a script block & {...} to isolate their effects.
|
|
||||||
ErrorActionPreference suppresses false errors caused by sfc.exe output redirection.
|
|
||||||
A bug in SFC output buffering causes progress updates to appear in chunks when redirecting output
|
|
||||||
#>
|
|
||||||
param(
|
|
||||||
[int]$parentProgressId = 0
|
|
||||||
)
|
|
||||||
& {
|
|
||||||
$ErrorActionPreference = "SilentlyContinue"
|
|
||||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running SFC..." -PercentComplete 0
|
|
||||||
$oldpercent = 0
|
|
||||||
sfc.exe /scannow 2>&1 | ForEach-Object {
|
|
||||||
Write-Debug $_
|
|
||||||
if ($_ -ne "") {
|
|
||||||
# sfc.exe /scannow outputs unicode characters, so we directly remove null characters for optimization
|
|
||||||
$utf8line = $_ -replace "`0", ""
|
|
||||||
if ($utf8line -match "(\d+)\s*%") {
|
|
||||||
[int]$percent = $matches[1]
|
|
||||||
if ($percent -gt $oldpercent) {
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running SFC... ($percent%)" -PercentComplete $percent
|
|
||||||
$oldpercent = $percent
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "SFC Completed" -PercentComplete 100 -Completed
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function Invoke-DISM {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Runs DISM on the system drive
|
|
||||||
.DESCRIPTION
|
|
||||||
DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
|
||||||
/Online - Fixes the currently running system image
|
|
||||||
/Cleanup-Image - Performs cleanup operations on the image, could remove some unneeded temporary files
|
|
||||||
/Restorehealth - Performs a scan of the image and fixes any corruption
|
|
||||||
#>
|
|
||||||
param(
|
|
||||||
[int]$parentProgressId = 0
|
|
||||||
)
|
|
||||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running DISM..." -PercentComplete 0
|
|
||||||
$oldpercent = 0
|
|
||||||
DISM /Online /Cleanup-Image /RestoreHealth | ForEach-Object {
|
|
||||||
Write-Debug $_
|
|
||||||
# Filter for lines that contain a percentage that is greater than the previous one
|
|
||||||
if ($_ -match "(\d+)[.,]\d+%") {
|
|
||||||
[int]$percent = $matches[1]
|
|
||||||
if ($percent -gt $oldpercent) {
|
|
||||||
# Update the progress bar
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running DISM... ($percent%)" -PercentComplete $percent
|
|
||||||
$oldpercent = $percent
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "DISM Completed" -PercentComplete 100 -Completed
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
|
||||||
|
|
||||||
$childProgressBarActivity = "Scanning for corruption"
|
|
||||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 0
|
|
||||||
# Step 1: Run chkdsk to fix disk and filesystem corruption before proceeding with system file repairs
|
|
||||||
Invoke-Chkdsk
|
|
||||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 25
|
|
||||||
|
|
||||||
# Step 2: Run SFC to fix system file corruption and ensure DISM can operate correctly
|
|
||||||
Invoke-SFC
|
|
||||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 50
|
|
||||||
|
|
||||||
# Step 3: Run DISM to repair the system image, which SFC relies on for accurate repairs
|
|
||||||
Invoke-DISM
|
|
||||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 75
|
|
||||||
|
|
||||||
# Step 4: Run SFC again to ensure system files are repaired using the now-fixed system image
|
|
||||||
Invoke-SFC
|
|
||||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 100 -Completed
|
|
||||||
|
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
|
||||||
} catch {
|
|
||||||
Write-Error "An error occurred while repairing the system: $_"
|
|
||||||
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
|
||||||
} finally {
|
|
||||||
Write-Host "==> Finished System Repair"
|
Write-Host "==> Finished System Repair"
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Reset Network"
|
title: "Reset Network"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesNetwork {
|
function Invoke-WPFFixesNetwork {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,38 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Remove Adobe Creative Cloud"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFRunAdobeCCCleanerTool.ps1",linenos=inline,linenostart=1}
|
|
||||||
function Invoke-WPFRunAdobeCCCleanerTool {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
It removes or fixes problem files and resolves permission issues in registry keys.
|
|
||||||
.DESCRIPTION
|
|
||||||
The Creative Cloud Cleaner tool is a utility for experienced users to clean up corrupted installations.
|
|
||||||
#>
|
|
||||||
|
|
||||||
[string]$url="https://swupmf.adobe.com/webfeed/CleanerTool/win/AdobeCreativeCloudCleanerTool.exe"
|
|
||||||
|
|
||||||
Write-Host "The Adobe Creative Cloud Cleaner tool is hosted at"
|
|
||||||
Write-Host "$url"
|
|
||||||
|
|
||||||
try {
|
|
||||||
# Don't show the progress because it will slow down the download speed
|
|
||||||
$ProgressPreference='SilentlyContinue'
|
|
||||||
|
|
||||||
Invoke-WebRequest -Uri $url -OutFile "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -UseBasicParsing -ErrorAction SilentlyContinue -Verbose
|
|
||||||
|
|
||||||
# Revert back the ProgressPreference variable to the default value since we got the file desired
|
|
||||||
$ProgressPreference='Continue'
|
|
||||||
|
|
||||||
Start-Process -FilePath "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Wait -ErrorAction SilentlyContinue -Verbose
|
|
||||||
} catch {
|
|
||||||
Write-Error $_.Exception.Message
|
|
||||||
} finally {
|
|
||||||
if (Test-Path -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe") {
|
|
||||||
Write-Host "Cleaning up..."
|
|
||||||
Remove-Item -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Verbose
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Reset Windows Update"
|
title: "Reset Windows Update"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFFixesUpdate.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFFixesUpdate.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesUpdate {
|
function Invoke-WPFFixesUpdate {
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "WinGet Reinstall"
|
title: "WinGet Reinstall"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFFixesWinget.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFFixesWinget.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesWinget {
|
function Invoke-WPFFixesWinget {
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Computer Management"
|
title: "Computer Management"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Control Panel"
|
title: "Control Panel"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Network Connections"
|
title: "Network Connections"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Power Panel"
|
title: "Power Panel"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Printer Panel"
|
title: "Printer Panel"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Region"
|
title: "Region"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Windows Restore"
|
title: "Windows Restore"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Sound Settings"
|
title: "Sound Settings"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "System Properties"
|
title: "System Properties"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Time and Date"
|
title: "Time and Date"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Bing Search in Start Menu"
|
title: "Bing Search in Start Menu"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2194}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2186}
|
||||||
"WPFToggleBingSearch": {
|
"WPFToggleBingSearch": {
|
||||||
"Content": "Bing Search in Start Menu",
|
"Content": "Bing Search in Start Menu",
|
||||||
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
|
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||||
"Name": "BingSearchEnabled",
|
"Name": "BingSearchEnabled",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Dark Theme for Windows"
|
title: "Dark Theme for Windows"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2152}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2144}
|
||||||
"WPFToggleDarkMode": {
|
"WPFToggleDarkMode": {
|
||||||
"Content": "Dark Theme for Windows",
|
"Content": "Dark Theme for Windows",
|
||||||
"Description": "Enable/Disable Dark Mode.",
|
"Description": "Enable/Disable Dark Mode.",
|
||||||
@@ -14,17 +15,17 @@ description: ""
|
|||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
||||||
"Name": "AppsUseLightTheme",
|
"Name": "AppsUseLightTheme",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
||||||
"Name": "SystemUsesLightTheme",
|
"Name": "SystemUsesLightTheme",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Detailed BSoD"
|
title: "Detailed BSoD"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2540}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2537}
|
||||||
"WPFToggleDetailedBSoD": {
|
"WPFToggleDetailedBSoD": {
|
||||||
"Content": "Detailed BSoD",
|
"Content": "Detailed BSoD",
|
||||||
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
|
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
|
||||||
@@ -14,17 +15,17 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
||||||
"Name": "DisplayParameters",
|
"Name": "DisplayParameters",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
||||||
"Name": "DisableEmoticon",
|
"Name": "DisableEmoticon",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Cross-Device Resume"
|
title: "Cross-Device Resume"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2670}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2667}
|
||||||
"WPFToggleDisableCrossDeviceResume": {
|
"WPFToggleDisableCrossDeviceResume": {
|
||||||
"Content": "Cross-Device Resume",
|
"Content": "Cross-Device Resume",
|
||||||
"Description": "This tweak controls the Resume function in Windows 11 24H2 and later, which allows you to resume an activity from a mobile device and vice-versa.",
|
"Description": "This tweak controls the Resume function in Windows 11 24H2 and later, which allows you to resume an activity from a mobile device and vice-versa.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\CrossDeviceResume\\Configuration",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\CrossDeviceResume\\Configuration",
|
||||||
"Name": "IsResumeAllowed",
|
"Name": "IsResumeAllowed",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Show Hidden Files"
|
title: "Show Hidden Files"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2430}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2422}
|
||||||
"WPFToggleHiddenFiles": {
|
"WPFToggleHiddenFiles": {
|
||||||
"Content": "Show Hidden Files",
|
"Content": "Show Hidden Files",
|
||||||
"Description": "If Enabled then Hidden Files will be shown.",
|
"Description": "If Enabled then Hidden Files will be shown.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"Name": "Hidden",
|
"Name": "Hidden",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove Settings Home Page"
|
title: "Remove Settings Home Page"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2300}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2292}
|
||||||
"WPFToggleHideSettingsHome": {
|
"WPFToggleHideSettingsHome": {
|
||||||
"Content": "Remove Settings Home Page",
|
"Content": "Remove Settings Home Page",
|
||||||
"Description": "Removes the Home page in the Windows Settings app.",
|
"Description": "Removes the Home page in the Windows Settings app.",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||||
"Name": "SettingsPageVisibility",
|
"Name": "SettingsPageVisibility",
|
||||||
"Type": "String",
|
|
||||||
"Value": "hide:home",
|
"Value": "hide:home",
|
||||||
|
"Type": "String",
|
||||||
"OriginalValue": "show:home",
|
"OriginalValue": "show:home",
|
||||||
"DefaultState": "false"
|
"DefaultState": "false"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Mouse Acceleration"
|
title: "Mouse Acceleration"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2318}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2310}
|
||||||
"WPFToggleMouseAcceleration": {
|
"WPFToggleMouseAcceleration": {
|
||||||
"Content": "Mouse Acceleration",
|
"Content": "Mouse Acceleration",
|
||||||
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
|
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
|
||||||
@@ -14,25 +15,25 @@ description: ""
|
|||||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||||
"Name": "MouseSpeed",
|
"Name": "MouseSpeed",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||||
"Name": "MouseThreshold1",
|
"Name": "MouseThreshold1",
|
||||||
"Value": "6",
|
"Value": "6",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||||
"Name": "MouseThreshold2",
|
"Name": "MouseThreshold2",
|
||||||
"Value": "10",
|
"Value": "10",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Multiplane Overlay"
|
title: "Disable Multiplane Overlay"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2412}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2404}
|
||||||
"WPFToggleMultiplaneOverlay": {
|
"WPFToggleMultiplaneOverlay": {
|
||||||
"Content": "Disable Multiplane Overlay",
|
"Content": "Disable Multiplane Overlay",
|
||||||
"Description": "Disable the Multiplane Overlay which can sometimes cause issues with Graphics Cards.",
|
"Description": "Disable the Multiplane Overlay which can sometimes cause issues with Graphics Cards.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm",
|
||||||
"Name": "OverlayTestMode",
|
"Name": "OverlayTestMode",
|
||||||
"Value": "5",
|
"Value": "5",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
"OriginalValue": "<RemoveEntry>",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "New Outlook"
|
title: "New Outlook"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2370}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2362}
|
||||||
"WPFToggleNewOutlook": {
|
"WPFToggleNewOutlook": {
|
||||||
"Content": "New Outlook",
|
"Content": "New Outlook",
|
||||||
"Description": "If disabled it removes the toggle for new Outlook, disables the new Outlook migration and makes sure the Outlook Application actually uses the old Outlook.",
|
"Description": "If disabled it removes the toggle for new Outlook, disables the new Outlook migration and makes sure the Outlook Application actually uses the old Outlook.",
|
||||||
@@ -14,33 +15,33 @@ description: ""
|
|||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||||
"Name": "UseNewOutlook",
|
"Name": "UseNewOutlook",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
"Path": "HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||||
"Name": "HideNewOutlookToggle",
|
"Name": "HideNewOutlookToggle",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||||
"Name": "DoNewOutlookAutoMigration",
|
"Name": "DoNewOutlookAutoMigration",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||||
"Name": "NewOutlookMigrationUserSetting",
|
"Name": "NewOutlookMigrationUserSetting",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
"OriginalValue": "<RemoveEntry>",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "NumLock on Startup"
|
title: "NumLock on Startup"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2212}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2204}
|
||||||
"WPFToggleNumLock": {
|
"WPFToggleNumLock": {
|
||||||
"Content": "NumLock on Startup",
|
"Content": "NumLock on Startup",
|
||||||
"Description": "Toggle the Num Lock key state when your computer starts.",
|
"Description": "Toggle the Num Lock key state when your computer starts.",
|
||||||
@@ -14,17 +15,17 @@ description: ""
|
|||||||
"Path": "HKU:\\.Default\\Control Panel\\Keyboard",
|
"Path": "HKU:\\.Default\\Control Panel\\Keyboard",
|
||||||
"Name": "InitialKeyboardIndicators",
|
"Name": "InitialKeyboardIndicators",
|
||||||
"Value": "2",
|
"Value": "2",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Keyboard",
|
"Path": "HKCU:\\Control Panel\\Keyboard",
|
||||||
"Name": "InitialKeyboardIndicators",
|
"Name": "InitialKeyboardIndicators",
|
||||||
"Value": "2",
|
"Value": "2",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "S3 Sleep"
|
title: "S3 Sleep"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2566}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2563}
|
||||||
"WPFToggleS3Sleep": {
|
"WPFToggleS3Sleep": {
|
||||||
"Content": "S3 Sleep",
|
"Content": "S3 Sleep",
|
||||||
"Description": "Toggles between Modern Standby and S3 sleep.",
|
"Description": "Toggles between Modern Standby and S3 sleep.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power",
|
||||||
"Name": "PlatformAoAcOverride",
|
"Name": "PlatformAoAcOverride",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
"OriginalValue": "<RemoveEntry>",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Show File Extensions"
|
title: "Show File Extensions"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2458}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2450}
|
||||||
"WPFToggleShowExt": {
|
"WPFToggleShowExt": {
|
||||||
"Content": "Show File Extensions",
|
"Content": "Show File Extensions",
|
||||||
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
|
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"Name": "HideFileExt",
|
"Name": "HideFileExt",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Recommendations in Start Menu"
|
title: "Recommendations in Start Menu"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2256}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2248}
|
||||||
"WPFToggleStartMenuRecommendations": {
|
"WPFToggleStartMenuRecommendations": {
|
||||||
"Content": "Recommendations in Start Menu",
|
"Content": "Recommendations in Start Menu",
|
||||||
"Description": "If disabled then you will not see recommendations in the Start Menu.",
|
"Description": "If disabled then you will not see recommendations in the Start Menu.",
|
||||||
@@ -14,25 +15,25 @@ description: ""
|
|||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start",
|
||||||
"Name": "HideRecommendedSection",
|
"Name": "HideRecommendedSection",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education",
|
||||||
"Name": "IsEducationEnvironment",
|
"Name": "IsEducationEnvironment",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer",
|
||||||
"Name": "HideRecommendedSection",
|
"Name": "HideRecommendedSection",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1",
|
"OriginalValue": "1",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Sticky Keys"
|
title: "Sticky Keys"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2352}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2344}
|
||||||
"WPFToggleStickyKeys": {
|
"WPFToggleStickyKeys": {
|
||||||
"Content": "Sticky Keys",
|
"Content": "Sticky Keys",
|
||||||
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
|
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
|
||||||
@@ -13,10 +14,10 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Accessibility\\StickyKeys",
|
"Path": "HKCU:\\Control Panel\\Accessibility\\StickyKeys",
|
||||||
"Name": "Flags",
|
"Name": "Flags",
|
||||||
"Value": "510",
|
"Value": "506",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "58",
|
"OriginalValue": "58",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Task View Button in Taskbar"
|
title: "Task View Button in Taskbar"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2504}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2496}
|
||||||
"WPFToggleTaskView": {
|
"WPFToggleTaskView": {
|
||||||
"Content": "Task View Button in Taskbar",
|
"Content": "Task View Button in Taskbar",
|
||||||
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
|
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"Name": "ShowTaskViewButton",
|
"Name": "ShowTaskViewButton",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Center Taskbar Items"
|
title: "Center Taskbar Items"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2522}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2514}
|
||||||
"WPFToggleTaskbarAlignment": {
|
"WPFToggleTaskbarAlignment": {
|
||||||
"Content": "Center Taskbar Items",
|
"Content": "Center Taskbar Items",
|
||||||
"Description": "[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
|
"Description": "[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
|
||||||
@@ -14,11 +15,16 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"Name": "TaskbarAl",
|
"Name": "TaskbarAl",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
|
"
|
||||||
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Search Button in Taskbar"
|
title: "Search Button in Taskbar"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2486}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2478}
|
||||||
"WPFToggleTaskbarSearch": {
|
"WPFToggleTaskbarSearch": {
|
||||||
"Content": "Search Button in Taskbar",
|
"Content": "Search Button in Taskbar",
|
||||||
"Description": "If Enabled Search Button will be on the taskbar.",
|
"Description": "If Enabled Search Button will be on the taskbar.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||||
"Name": "SearchboxTaskbarMode",
|
"Name": "SearchboxTaskbarMode",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Verbose Messages During Logon"
|
title: "Verbose Messages During Logon"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2238}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2230}
|
||||||
"WPFToggleVerboseLogon": {
|
"WPFToggleVerboseLogon": {
|
||||||
"Content": "Verbose Messages During Logon",
|
"Content": "Verbose Messages During Logon",
|
||||||
"Description": "Show detailed messages during the login process for troubleshooting and diagnostics.",
|
"Description": "Show detailed messages during the login process for troubleshooting and diagnostics.",
|
||||||
@@ -14,9 +15,9 @@ description: ""
|
|||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
||||||
"Name": "VerboseStatus",
|
"Name": "VerboseStatus",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "false",
|
"DefaultState": "false"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Disable Activity History"
|
title: "Disable Activity History"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2}
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2}
|
||||||
"WPFTweaksActivity": {
|
"WPFTweaksActivity": {
|
||||||
"Content": "Disable Activity History",
|
"Content": "Disable Activity History",
|
||||||
@@ -12,22 +13,22 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||||
"Name": "EnableActivityFeed",
|
"Name": "EnableActivityFeed",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||||
"Name": "PublishUserActivities",
|
"Name": "PublishUserActivities",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||||
"Name": "UploadUserActivities",
|
"Name": "UploadUserActivities",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable ConsumerFeatures"
|
title: "Disable ConsumerFeatures"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1299}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1291}
|
||||||
"WPFTweaksConsumerFeatures": {
|
"WPFTweaksConsumerFeatures": {
|
||||||
"Content": "Disable ConsumerFeatures",
|
"Content": "Disable ConsumerFeatures",
|
||||||
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
|
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
|
||||||
@@ -11,10 +12,10 @@ description: ""
|
|||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "DisableWindowsConsumerFeatures",
|
"Name": "DisableWindowsConsumerFeatures",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Delete Temporary Files"
|
title: "Delete Temporary Files"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2047}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2039}
|
||||||
"WPFTweaksDeleteTempFiles": {
|
"WPFTweaksDeleteTempFiles": {
|
||||||
"Content": "Delete Temporary Files",
|
"Content": "Delete Temporary Files",
|
||||||
"Description": "Erases TEMP Folders",
|
"Description": "Erases TEMP Folders",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Explorer Automatic Folder Discovery"
|
title: "Disable Explorer Automatic Folder Discovery"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2615}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2612}
|
||||||
"WPFTweaksDisableExplorerAutoDiscovery": {
|
"WPFTweaksDisableExplorerAutoDiscovery": {
|
||||||
"Content": "Disable Explorer Automatic Folder Discovery",
|
"Content": "Disable Explorer Automatic Folder Discovery",
|
||||||
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience.",
|
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Run Disk Cleanup"
|
title: "Run Disk Cleanup"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2034}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2026}
|
||||||
"WPFTweaksDiskCleanup": {
|
"WPFTweaksDiskCleanup": {
|
||||||
"Content": "Run Disk Cleanup",
|
"Content": "Run Disk Cleanup",
|
||||||
"Description": "Runs Disk Cleanup on Drive C: and removes old Windows Updates.",
|
"Description": "Runs Disk Cleanup on Drive C: and removes old Windows Updates.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Enable End Task With Right Click"
|
title: "Enable End Task With Right Click"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1771}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1763}
|
||||||
"WPFTweaksEndTaskOnTaskbar": {
|
"WPFTweaksEndTaskOnTaskbar": {
|
||||||
"Content": "Enable End Task With Right Click",
|
"Content": "Enable End Task With Right Click",
|
||||||
"Description": "Enables option to end task when right clicking a program in the taskbar",
|
"Description": "Enables option to end task when right clicking a program in the taskbar",
|
||||||
@@ -12,8 +13,8 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings",
|
||||||
"Name": "TaskbarEndTask",
|
"Name": "TaskbarEndTask",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Disable Hibernation"
|
title: "Disable Hibernation"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
|
||||||
"WPFTweaksHiber": {
|
"WPFTweaksHiber": {
|
||||||
"Content": "Disable Hibernation",
|
"Content": "Disable Hibernation",
|
||||||
@@ -12,15 +13,15 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
|
"Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||||
"Name": "HibernateEnabled",
|
"Name": "HibernateEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
|
||||||
"Name": "ShowHibernateOption",
|
"Name": "ShowHibernateOption",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Location Tracking"
|
title: "Disable Location Tracking"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=133}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=125}
|
||||||
"WPFTweaksLocation": {
|
"WPFTweaksLocation": {
|
||||||
"Content": "Disable Location Tracking",
|
"Content": "Disable Location Tracking",
|
||||||
"Description": "Disables Location Tracking...DUH!",
|
"Description": "Disables Location Tracking...DUH!",
|
||||||
@@ -12,29 +13,29 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location",
|
||||||
"Name": "Value",
|
"Name": "Value",
|
||||||
"Type": "String",
|
|
||||||
"Value": "Deny",
|
"Value": "Deny",
|
||||||
|
"Type": "String",
|
||||||
"OriginalValue": "Allow"
|
"OriginalValue": "Allow"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}",
|
||||||
"Name": "SensorPermissionState",
|
"Name": "SensorPermissionState",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration",
|
||||||
"Name": "Status",
|
"Name": "Status",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SYSTEM\\Maps",
|
"Path": "HKLM:\\SYSTEM\\Maps",
|
||||||
"Name": "AutoUpdateEnabled",
|
"Name": "AutoUpdateEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Powershell 7 Telemetry"
|
title: "Disable Powershell 7 Telemetry"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1787}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1779}
|
||||||
"WPFTweaksPowershell7Tele": {
|
"WPFTweaksPowershell7Tele": {
|
||||||
"Content": "Disable Powershell 7 Telemetry",
|
"Content": "Disable Powershell 7 Telemetry",
|
||||||
"Description": "This will create an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell Powershell 7 to not send Telemetry Data.",
|
"Description": "This will create an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell Powershell 7 to not send Telemetry Data.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Create Restore Point"
|
title: "Create Restore Point"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1744}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1736}
|
||||||
"WPFTweaksRestorePoint": {
|
"WPFTweaksRestorePoint": {
|
||||||
"Content": "Create Restore Point",
|
"Content": "Create Restore Point",
|
||||||
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications",
|
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore",
|
||||||
"Name": "SystemRestorePointCreationFrequency",
|
"Name": "SystemRestorePointCreationFrequency",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1440"
|
"OriginalValue": "1440"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Set Services to Manual"
|
title: "Set Services to Manual"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=170}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=162}
|
||||||
"WPFTweaksServices": {
|
"WPFTweaksServices": {
|
||||||
"Content": "Set Services to Manual",
|
"Content": "Set Services to Manual",
|
||||||
"Description": "Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand.",
|
"Description": "Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Telemetry"
|
title: "Disable Telemetry"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1315}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1307}
|
||||||
"WPFTweaksTelemetry": {
|
"WPFTweaksTelemetry": {
|
||||||
"Content": "Disable Telemetry",
|
"Content": "Disable Telemetry",
|
||||||
"Description": "Disables Microsoft Telemetry...Duh",
|
"Description": "Disables Microsoft Telemetry...Duh",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Windows Platform Binary Table (WPBT)"
|
title: "Disable Windows Platform Binary Table (WPBT)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1901}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1893}
|
||||||
"WPFTweaksWPBT": {
|
"WPFTweaksWPBT": {
|
||||||
"Content": "Disable Windows Platform Binary Table (WPBT)",
|
"Content": "Disable Windows Platform Binary Table (WPBT)",
|
||||||
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
|
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager",
|
||||||
"Name": "DisableWpbtExecution",
|
"Name": "DisableWpbtExecution",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Remove Widgets"
|
title: "Remove Widgets"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
|
||||||
"WPFTweaksWidget": {
|
"WPFTweaksWidget": {
|
||||||
"Content": "Remove Widgets",
|
"Content": "Remove Widgets",
|
||||||
@@ -10,9 +11,11 @@ description: ""
|
|||||||
"panel": "1",
|
"panel": "1",
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
# Sometimes if you dont stop Widgets Process for removal to work
|
# Sometimes if you dont stop the Widgets process the removal may fail
|
||||||
|
|
||||||
Stop-Process -Name Widgets
|
Stop-Process -Name Widgets
|
||||||
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
||||||
|
Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers
|
||||||
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
Write-Host \"Removed widgets\"
|
Write-Host \"Removed widgets\"
|
||||||
@@ -21,7 +24,10 @@ description: ""
|
|||||||
"UndoScript": [
|
"UndoScript": [
|
||||||
"
|
"
|
||||||
Write-Host \"Restoring widgets AppxPackages\"
|
Write-Host \"Restoring widgets AppxPackages\"
|
||||||
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
|
|
||||||
|
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\" -DisableDevelopmentMode
|
||||||
|
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\MicrosoftWindows.Client.WebExperience*\\AppxManifest.xml\" -DisableDevelopmentMode
|
||||||
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Add and Activate Ultimate Performance Profile"
|
title: "Add and Activate Ultimate Performance Profile"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||||
Function Invoke-WPFUltimatePerformance {
|
Function Invoke-WPFUltimatePerformance {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Remove Ultimate Performance Profile"
|
title: "Remove Ultimate Performance Profile"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||||
Function Invoke-WPFUltimatePerformance {
|
Function Invoke-WPFUltimatePerformance {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Adobe Network Block"
|
title: "Adobe Network Block"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1982}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1974}
|
||||||
"WPFTweaksBlockAdobeNet": {
|
"WPFTweaksBlockAdobeNet": {
|
||||||
"Content": "Adobe Network Block",
|
"Content": "Adobe Network Block",
|
||||||
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
|
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
|
||||||
@@ -11,9 +12,9 @@ description: ""
|
|||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
|
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
|
||||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||||
|
|
||||||
Copy-Item $hosts \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
Move-Item $hosts \"$hosts.bak\"
|
||||||
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
||||||
ipconfig /flushdns
|
ipconfig /flushdns
|
||||||
|
|
||||||
@@ -22,10 +23,10 @@ description: ""
|
|||||||
],
|
],
|
||||||
"UndoScript": [
|
"UndoScript": [
|
||||||
"
|
"
|
||||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||||
$backup = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
|
||||||
|
|
||||||
Remove-Item $hosts
|
Remove-Item $hosts
|
||||||
|
Move-Item \"$hosts.bak\" $hosts
|
||||||
ipconfig /flushdns
|
ipconfig /flushdns
|
||||||
|
|
||||||
Write-Host \"Removed Adobe url block list from host file\"
|
Write-Host \"Removed Adobe url block list from host file\"
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Brave Debloat"
|
title: "Brave Debloat"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1134}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1126}
|
||||||
"WPFTweaksBraveDebloat": {
|
"WPFTweaksBraveDebloat": {
|
||||||
"Content": "Brave Debloat",
|
"Content": "Brave Debloat",
|
||||||
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
|
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
|
||||||
@@ -12,36 +13,36 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||||
"Name": "BraveRewardsDisabled",
|
"Name": "BraveRewardsDisabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||||
"Name": "BraveWalletDisabled",
|
"Name": "BraveWalletDisabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||||
"Name": "BraveVPNDisabled",
|
"Name": "BraveVPNDisabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||||
"Name": "BraveAIChatEnabled",
|
"Name": "BraveAIChatEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||||
"Name": "BraveStatsPingEnabled",
|
"Name": "BraveStatsPingEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove ALL MS Store Apps - NOT RECOMMENDED"
|
title: "Remove ALL MS Store Apps - NOT RECOMMENDED"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1655}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1647}
|
||||||
"WPFTweaksDeBloat": {
|
"WPFTweaksDeBloat": {
|
||||||
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
|
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
|
||||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
|
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Background Apps"
|
title: "Disable Background Apps"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2120}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2112}
|
||||||
"WPFTweaksDisableBGapps": {
|
"WPFTweaksDisableBGapps": {
|
||||||
"Content": "Disable Background Apps",
|
"Content": "Disable Background Apps",
|
||||||
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Win11",
|
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Win11",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\BackgroundAccessApplications",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\BackgroundAccessApplications",
|
||||||
"Name": "GlobalUserDisabled",
|
"Name": "GlobalUserDisabled",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Fullscreen Optimizations"
|
title: "Disable Fullscreen Optimizations"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2136}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2128}
|
||||||
"WPFTweaksDisableFSO": {
|
"WPFTweaksDisableFSO": {
|
||||||
"Content": "Disable Fullscreen Optimizations",
|
"Content": "Disable Fullscreen Optimizations",
|
||||||
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen",
|
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKCU:\\System\\GameConfigStore",
|
"Path": "HKCU:\\System\\GameConfigStore",
|
||||||
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable IPv6"
|
title: "Disable IPv6"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2098}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2090}
|
||||||
"WPFTweaksDisableIPv6": {
|
"WPFTweaksDisableIPv6": {
|
||||||
"Content": "Disable IPv6",
|
"Content": "Disable IPv6",
|
||||||
"Description": "Disables IPv6.",
|
"Description": "Disables IPv6.",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||||
"Name": "DisabledComponents",
|
"Name": "DisabledComponents",
|
||||||
"Value": "255",
|
"Value": "255",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Notification Tray/Calendar"
|
title: "Disable Notification Tray/Calendar"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1959}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1951}
|
||||||
"WPFTweaksDisableNotifications": {
|
"WPFTweaksDisableNotifications": {
|
||||||
"Content": "Disable Notification Tray/Calendar",
|
"Content": "Disable Notification Tray/Calendar",
|
||||||
"Description": "Disables all Notifications INCLUDING Calendar",
|
"Description": "Disables all Notifications INCLUDING Calendar",
|
||||||
@@ -12,15 +13,15 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer",
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer",
|
||||||
"Name": "DisableNotificationCenter",
|
"Name": "DisableNotificationCenter",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications",
|
||||||
"Name": "ToastEnabled",
|
"Name": "ToastEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Set Display for Performance"
|
title: "Set Display for Performance"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1542}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1534}
|
||||||
"WPFTweaksDisplay": {
|
"WPFTweaksDisplay": {
|
||||||
"Content": "Set Display for Performance",
|
"Content": "Set Display for Performance",
|
||||||
"Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.",
|
"Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.",
|
||||||
@@ -11,87 +12,87 @@ description: ""
|
|||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "DragFullWindows",
|
"Name": "DragFullWindows",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "String"
|
"Type": "String",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||||
"OriginalValue": "400",
|
|
||||||
"Name": "MenuShowDelay",
|
"Name": "MenuShowDelay",
|
||||||
"Value": "200",
|
"Value": "200",
|
||||||
"Type": "String"
|
"Type": "String",
|
||||||
|
"OriginalValue": "400"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop\\WindowMetrics",
|
"Path": "HKCU:\\Control Panel\\Desktop\\WindowMetrics",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "MinAnimate",
|
"Name": "MinAnimate",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "String"
|
"Type": "String",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Keyboard",
|
"Path": "HKCU:\\Control Panel\\Keyboard",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "KeyboardDelay",
|
"Name": "KeyboardDelay",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ListviewAlphaSelect",
|
"Name": "ListviewAlphaSelect",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ListviewShadow",
|
"Name": "ListviewShadow",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "TaskbarAnimations",
|
"Name": "TaskbarAnimations",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "VisualFXSetting",
|
"Name": "VisualFXSetting",
|
||||||
"Value": "3",
|
"Value": "3",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\DWM",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\DWM",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "EnableAeroPeek",
|
"Name": "EnableAeroPeek",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "TaskbarMn",
|
"Name": "TaskbarMn",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ShowTaskViewButton",
|
"Name": "ShowTaskViewButton",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SearchboxTaskbarMode",
|
"Name": "SearchboxTaskbarMode",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Edge Debloat"
|
title: "Edge Debloat"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1178}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1170}
|
||||||
"WPFTweaksEdgeDebloat": {
|
"WPFTweaksEdgeDebloat": {
|
||||||
"Content": "Edge Debloat",
|
"Content": "Edge Debloat",
|
||||||
"Description": "Disables various telemetry options, popups, and other annoyances in Edge.",
|
"Description": "Disables various telemetry options, popups, and other annoyances in Edge.",
|
||||||
@@ -12,113 +13,113 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\EdgeUpdate",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\EdgeUpdate",
|
||||||
"Name": "CreateDesktopShortcutDefault",
|
"Name": "CreateDesktopShortcutDefault",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "PersonalizationReportingEnabled",
|
"Name": "PersonalizationReportingEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallBlocklist",
|
||||||
"Name": "ofefcgjbeghpigppfmkologfjadafddi",
|
"Name": "1",
|
||||||
|
"Value": "ofefcgjbeghpigppfmkologfjadafddi",
|
||||||
"Type": "String",
|
"Type": "String",
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "ShowRecommendationsEnabled",
|
"Name": "ShowRecommendationsEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "HideFirstRunExperience",
|
"Name": "HideFirstRunExperience",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "UserFeedbackAllowed",
|
"Name": "UserFeedbackAllowed",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "ConfigureDoNotTrack",
|
"Name": "ConfigureDoNotTrack",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "AlternateErrorPagesEnabled",
|
"Name": "AlternateErrorPagesEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "EdgeCollectionsEnabled",
|
"Name": "EdgeCollectionsEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "EdgeShoppingAssistantEnabled",
|
"Name": "EdgeShoppingAssistantEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "MicrosoftEdgeInsiderPromotionEnabled",
|
"Name": "MicrosoftEdgeInsiderPromotionEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "ShowMicrosoftRewards",
|
"Name": "ShowMicrosoftRewards",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "WebWidgetAllowed",
|
"Name": "WebWidgetAllowed",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "DiagnosticData",
|
"Name": "DiagnosticData",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "EdgeAssetDeliveryServiceEnabled",
|
"Name": "EdgeAssetDeliveryServiceEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||||
"Name": "WalletDonationEnabled",
|
"Name": "WalletDonationEnabled",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Prefer IPv4 over IPv6"
|
title: "Prefer IPv4 over IPv6"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2060}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2052}
|
||||||
"WPFTweaksIPv46": {
|
"WPFTweaksIPv46": {
|
||||||
"Content": "Prefer IPv4 over IPv6",
|
"Content": "Prefer IPv4 over IPv6",
|
||||||
"Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
|
"Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||||
"Name": "DisabledComponents",
|
"Name": "DisabledComponents",
|
||||||
"Value": "32",
|
"Value": "32",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
title: "Run OO Shutup 10"
|
title: "Run OO Shutup 10"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
|
|
||||||
```powershell {filename="functions/public/Invoke-WPFOOSU.ps1",linenos=inline,linenostart=1}
|
```powershell {filename="functions/public/Invoke-WPFOOSU.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFOOSU {
|
function Invoke-WPFOOSU {
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Block Razer Software Installs"
|
title: "Block Razer Software Installs"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1917}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1909}
|
||||||
"WPFTweaksRazerBlock": {
|
"WPFTweaksRazerBlock": {
|
||||||
"Content": "Block Razer Software Installs",
|
"Content": "Block Razer Software Installs",
|
||||||
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.",
|
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.",
|
||||||
@@ -13,15 +14,15 @@ description: ""
|
|||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
||||||
"Name": "SearchOrderConfig",
|
"Name": "SearchOrderConfig",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"OriginalValue": "1",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
|
||||||
"Name": "DisableCoInstallers",
|
"Name": "DisableCoInstallers",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Microsoft Copilot"
|
title: "Disable Microsoft Copilot"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1816}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1808}
|
||||||
"WPFTweaksRemoveCopilot": {
|
"WPFTweaksRemoveCopilot": {
|
||||||
"Content": "Disable Microsoft Copilot",
|
"Content": "Disable Microsoft Copilot",
|
||||||
"Description": "Disables MS Copilot AI built into Windows since 23H2.",
|
"Description": "Disables MS Copilot AI built into Windows since 23H2.",
|
||||||
@@ -12,57 +13,57 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
||||||
"Name": "TurnOffWindowsCopilot",
|
"Name": "TurnOffWindowsCopilot",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
||||||
"Name": "TurnOffWindowsCopilot",
|
"Name": "TurnOffWindowsCopilot",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"Name": "ShowCopilotButton",
|
"Name": "ShowCopilotButton",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
||||||
"Name": "IsCopilotAvailable",
|
"Name": "IsCopilotAvailable",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
||||||
"Name": "CopilotDisabledReason",
|
"Name": "CopilotDisabledReason",
|
||||||
"Type": "String",
|
|
||||||
"Value": "IsEnabledForGeographicRegionFailed",
|
"Value": "IsEnabledForGeographicRegionFailed",
|
||||||
|
"Type": "String",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsCopilot",
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsCopilot",
|
||||||
"Name": "AllowCopilotRuntime",
|
"Name": "AllowCopilotRuntime",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Blocked",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Blocked",
|
||||||
"Name": "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}",
|
"Name": "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}",
|
||||||
"Type": "String",
|
|
||||||
"Value": "",
|
"Value": "",
|
||||||
|
"Type": "String",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot\\BingChat",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot\\BingChat",
|
||||||
"Name": "IsUserEligible",
|
"Name": "IsUserEligible",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "<RemoveEntry>"
|
"OriginalValue": "<RemoveEntry>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -72,8 +73,8 @@ description: ""
|
|||||||
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
|
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
|
||||||
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
|
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
|
||||||
|
|
||||||
$Appx = (Get-AppxPackage *MicrosoftWindows.Client.CoreAI*).PackageFullName
|
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
|
||||||
if ($Appx) {
|
|
||||||
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
|
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
|
||||||
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
|
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
|
||||||
Remove-AppxPackage $Appx
|
Remove-AppxPackage $Appx
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove Microsoft Edge"
|
title: "Remove Microsoft Edge"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1437}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1429}
|
||||||
"WPFTweaksRemoveEdge": {
|
"WPFTweaksRemoveEdge": {
|
||||||
"Content": "Remove Microsoft Edge",
|
"Content": "Remove Microsoft Edge",
|
||||||
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
|
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove Gallery from explorer"
|
title: "Remove Gallery from explorer"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1525}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1517}
|
||||||
"WPFTweaksRemoveGallery": {
|
"WPFTweaksRemoveGallery": {
|
||||||
"Content": "Remove Gallery from explorer",
|
"Content": "Remove Gallery from explorer",
|
||||||
"Description": "Removes the Gallery from Explorer and sets This PC as default",
|
"Description": "Removes the Gallery from Explorer and sets This PC as default",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove Home from Explorer"
|
title: "Remove Home from Explorer"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1506}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1498}
|
||||||
"WPFTweaksRemoveHome": {
|
"WPFTweaksRemoveHome": {
|
||||||
"Content": "Remove Home from Explorer",
|
"Content": "Remove Home from Explorer",
|
||||||
"Description": "Removes the Home from Explorer and sets This PC as default",
|
"Description": "Removes the Home from Explorer and sets This PC as default",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove OneDrive"
|
title: "Remove OneDrive"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1469}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1461}
|
||||||
"WPFTweaksRemoveOneDrive": {
|
"WPFTweaksRemoveOneDrive": {
|
||||||
"Content": "Remove OneDrive",
|
"Content": "Remove OneDrive",
|
||||||
"Description": "Denys permission to remove onedrive user files than uses its own uninstaller to remove it than brings back permissions",
|
"Description": "Denys permission to remove onedrive user files than uses its own uninstaller to remove it than brings back permissions",
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: "Revert the new start menu"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=90}
|
||||||
|
"WPFTweaksRevertStartMenu": {
|
||||||
|
"Content": "Revert the new start menu",
|
||||||
|
"Description": "Uses vivetool to revert the the original start menu from 24h2",
|
||||||
|
"category": "z__Advanced Tweaks - CAUTION",
|
||||||
|
"panel": "1",
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
Invoke-WebRequest https://github.com/thebookisclosed/ViVe/releases/download/v0.3.4/ViVeTool-v0.3.4-IntelAmd.zip -OutFile ViVeTool.zip
|
||||||
|
|
||||||
|
Expand-Archive ViVeTool.zip
|
||||||
|
Remove-Item ViVeTool.zip
|
||||||
|
|
||||||
|
Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/disable /id:47205210' -Wait -NoNewWindow
|
||||||
|
|
||||||
|
Remove-Item ViVeTool -Recurse
|
||||||
|
|
||||||
|
Write-Host 'Old start menu reverted please restart your computer to take effect'
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
Invoke-WebRequest https://github.com/thebookisclosed/ViVe/releases/download/v0.3.4/ViVeTool-v0.3.4-IntelAmd.zip -OutFile ViVeTool.zip
|
||||||
|
|
||||||
|
Expand-Archive ViVeTool.zip
|
||||||
|
Remove-Item ViVeTool.zip
|
||||||
|
|
||||||
|
Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/enable /id:47205210' -Wait -NoNewWindow
|
||||||
|
|
||||||
|
Remove-Item ViVeTool -Recurse
|
||||||
|
|
||||||
|
Write-Host 'New start menu reverted please restart your computer to take effect'
|
||||||
|
"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Set Classic Right-Click Menu "
|
title: "Set Classic Right-Click Menu "
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2012}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2004}
|
||||||
"WPFTweaksRightClickMenu": {
|
"WPFTweaksRightClickMenu": {
|
||||||
"Content": "Set Classic Right-Click Menu ",
|
"Content": "Set Classic Right-Click Menu ",
|
||||||
"Description": "Great Windows 11 tweak to bring back good context menus when right clicking things in explorer.",
|
"Description": "Great Windows 11 tweak to bring back good context menus when right clicking things in explorer.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Storage Sense"
|
title: "Disable Storage Sense"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1800}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1792}
|
||||||
"WPFTweaksStorage": {
|
"WPFTweaksStorage": {
|
||||||
"Content": "Disable Storage Sense",
|
"Content": "Disable Storage Sense",
|
||||||
"Description": "Storage Sense deletes temp files automatically.",
|
"Description": "Storage Sense deletes temp files automatically.",
|
||||||
@@ -12,8 +13,8 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy",
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy",
|
||||||
"Name": "01",
|
"Name": "01",
|
||||||
"Type": "DWord",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "1"
|
"OriginalValue": "1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Disable Teredo"
|
title: "Disable Teredo"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2076}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2068}
|
||||||
"WPFTweaksTeredo": {
|
"WPFTweaksTeredo": {
|
||||||
"Content": "Disable Teredo",
|
"Content": "Disable Teredo",
|
||||||
"Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games",
|
"Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games",
|
||||||
@@ -13,8 +14,8 @@ description: ""
|
|||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||||
"Name": "DisabledComponents",
|
"Name": "DisabledComponents",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"Type": "DWord"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Set Time to UTC (Dual Boot)"
|
title: "Set Time to UTC (Dual Boot)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1453}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1445}
|
||||||
"WPFTweaksUTC": {
|
"WPFTweaksUTC": {
|
||||||
"Content": "Set Time to UTC (Dual Boot)",
|
"Content": "Set Time to UTC (Dual Boot)",
|
||||||
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
||||||
@@ -12,8 +13,8 @@ description: ""
|
|||||||
{
|
{
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
|
||||||
"Name": "RealTimeIsUniversal",
|
"Name": "RealTimeIsUniversal",
|
||||||
"Type": "QWord",
|
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "QWord",
|
||||||
"OriginalValue": "0"
|
"OriginalValue": "0"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Remove Xbox & Gaming Components"
|
title: "Remove Xbox & Gaming Components"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1641}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1633}
|
||||||
"WPFTweaksXboxRemoval": {
|
"WPFTweaksXboxRemoval": {
|
||||||
"Content": "Remove Xbox & Gaming Components",
|
"Content": "Remove Xbox & Gaming Components",
|
||||||
"Description": "Removes Xbox services, the Xbox app, Game Bar, and related authentication components.",
|
"Description": "Removes Xbox services, the Xbox app, Game Bar, and related authentication components.",
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "DNS"
|
title: "DNS"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2591}
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2588}
|
||||||
"WPFchangedns": {
|
"WPFchangedns": {
|
||||||
"Content": "DNS",
|
"Content": "DNS",
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
"category": "z__Advanced Tweaks - CAUTION",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
copyright: "© <script>document.write(new Date().getFullYear())</script> <a href='https://christitus.com'> Chris Titus Tech</a>. All rights reserved."
|
copyright: "© <script>document.write(new Date().getFullYear())</script> <a href='https://christitus.com'>Chris Titus Tech</a>. All rights reserved."
|
||||||
|
|
||||||
backToTop: "Scroll to top"
|
backToTop: "Scroll to top"
|
||||||
changeLanguage: "Change language"
|
changeLanguage: "Change language"
|
||||||
|
|||||||
@@ -1,92 +0,0 @@
|
|||||||
Function Get-WinUtilCheckBoxes {
|
|
||||||
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Finds all checkboxes that are checked on the specific tab and inputs them into a script.
|
|
||||||
|
|
||||||
.PARAMETER unCheck
|
|
||||||
Whether to uncheck the checkboxes that are checked. Defaults to true
|
|
||||||
|
|
||||||
.OUTPUTS
|
|
||||||
A List containing the name of each checked checkbox
|
|
||||||
|
|
||||||
.EXAMPLE
|
|
||||||
Get-WinUtilCheckBoxes "WPFInstall"
|
|
||||||
|
|
||||||
#>
|
|
||||||
|
|
||||||
Param(
|
|
||||||
[boolean]$unCheck = $false
|
|
||||||
)
|
|
||||||
|
|
||||||
$Output = @{
|
|
||||||
Install = @()
|
|
||||||
WPFTweaks = @()
|
|
||||||
WPFFeature = @()
|
|
||||||
WPFInstall = @()
|
|
||||||
WPFToggle = @()
|
|
||||||
}
|
|
||||||
|
|
||||||
$CheckBoxes = $sync.GetEnumerator() | Where-Object { $_.Value -is [System.Windows.Controls.CheckBox] }
|
|
||||||
|
|
||||||
# Collect toggle switch states
|
|
||||||
foreach ($CheckBox in $CheckBoxes) {
|
|
||||||
if ($CheckBox.Key -like "WPFToggle*" -and $CheckBox.Value.IsChecked -eq $true) {
|
|
||||||
$Output["WPFToggle"] += $CheckBox.Key
|
|
||||||
Write-Debug "Adding toggle: $($CheckBox.Key)"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# First check and add WPFTweaksRestorePoint if checked
|
|
||||||
$RestorePoint = $CheckBoxes | Where-Object { $_.Key -eq 'WPFTweaksRestorePoint' -and $_.Value.IsChecked -eq $true }
|
|
||||||
if ($RestorePoint) {
|
|
||||||
$Output["WPFTweaks"] = @('WPFTweaksRestorePoint')
|
|
||||||
Write-Debug "Adding WPFTweaksRestorePoint as first in WPFTweaks"
|
|
||||||
|
|
||||||
if ($unCheck) {
|
|
||||||
$RestorePoint.Value.IsChecked = $false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach ($CheckBox in $CheckBoxes) {
|
|
||||||
if ($CheckBox.Key -eq 'WPFTweaksRestorePoint') { continue } # Skip since it's already handled
|
|
||||||
|
|
||||||
$group = if ($CheckBox.Key.StartsWith("WPFInstall")) { "Install" }
|
|
||||||
elseif ($CheckBox.Key.StartsWith("WPFTweaks")) { "WPFTweaks" }
|
|
||||||
elseif ($CheckBox.Key.StartsWith("WPFFeature")) { "WPFFeature" }
|
|
||||||
if ($group) {
|
|
||||||
if ($CheckBox.Value.IsChecked -eq $true) {
|
|
||||||
$feature = switch ($group) {
|
|
||||||
"Install" {
|
|
||||||
# Get the winget value
|
|
||||||
[PsCustomObject]@{
|
|
||||||
winget="$($sync.configs.applications.$($CheckBox.Name).winget)";
|
|
||||||
choco="$($sync.configs.applications.$($CheckBox.Name).choco)";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
default {
|
|
||||||
$CheckBox.Name
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (-not $Output.ContainsKey($group)) {
|
|
||||||
$Output[$group] = @()
|
|
||||||
}
|
|
||||||
if ($group -eq "Install") {
|
|
||||||
$Output["WPFInstall"] += $CheckBox.Name
|
|
||||||
Write-Debug "Adding: $($CheckBox.Name) under: WPFInstall"
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Debug "Adding: $($feature) under: $($group)"
|
|
||||||
$Output[$group] += $feature
|
|
||||||
|
|
||||||
if ($unCheck) {
|
|
||||||
$CheckBox.Value.IsChecked = $false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $Output
|
|
||||||
}
|
|
||||||
@@ -41,16 +41,19 @@ function Initialize-InstallAppEntry {
|
|||||||
})
|
})
|
||||||
|
|
||||||
$checkBox = New-Object Windows.Controls.CheckBox
|
$checkBox = New-Object Windows.Controls.CheckBox
|
||||||
$checkBox.Name = $appKey
|
# Sanitize the name for WPF
|
||||||
|
$checkBox.Name = $appKey -replace '-', '_'
|
||||||
|
# Store the original appKey in Tag
|
||||||
|
$checkBox.Tag = $appKey
|
||||||
$checkbox.Style = $sync.Form.Resources.AppEntryCheckboxStyle
|
$checkbox.Style = $sync.Form.Resources.AppEntryCheckboxStyle
|
||||||
$checkbox.Add_Checked({
|
$checkbox.Add_Checked({
|
||||||
Invoke-WPFSelectedAppsUpdate -type "Add" -checkbox $this
|
Invoke-WPFSelectedCheckboxesUpdate -type "Add" -checkboxName $this.Parent.Tag
|
||||||
$borderElement = $this.Parent
|
$borderElement = $this.Parent
|
||||||
$borderElement.SetResourceReference([Windows.Controls.Control]::BackgroundProperty, "AppInstallSelectedColor")
|
$borderElement.SetResourceReference([Windows.Controls.Control]::BackgroundProperty, "AppInstallSelectedColor")
|
||||||
})
|
})
|
||||||
|
|
||||||
$checkbox.Add_Unchecked({
|
$checkbox.Add_Unchecked({
|
||||||
Invoke-WPFSelectedAppsUpdate -type "Remove" -checkbox $this
|
Invoke-WPFSelectedCheckboxesUpdate -type "Remove" -checkboxName $this.Parent.Tag
|
||||||
$borderElement = $this.Parent
|
$borderElement = $this.Parent
|
||||||
$borderElement.SetResourceReference([Windows.Controls.Control]::BackgroundProperty, "AppInstallUnselectedColor")
|
$borderElement.SetResourceReference([Windows.Controls.Control]::BackgroundProperty, "AppInstallUnselectedColor")
|
||||||
})
|
})
|
||||||
@@ -60,6 +63,12 @@ function Initialize-InstallAppEntry {
|
|||||||
$appName.Style = $sync.Form.Resources.AppEntryNameStyle
|
$appName.Style = $sync.Form.Resources.AppEntryNameStyle
|
||||||
$appName.Text = $Apps.$appKey.content
|
$appName.Text = $Apps.$appKey.content
|
||||||
|
|
||||||
|
# Change color to Green if FOSS
|
||||||
|
if ($Apps.$appKey.foss -eq $true) {
|
||||||
|
$appName.SetResourceReference([Windows.Controls.Control]::ForegroundProperty, "FOSSColor")
|
||||||
|
$appName.FontWeight = "Bold"
|
||||||
|
}
|
||||||
|
|
||||||
# Add the name to the Checkbox
|
# Add the name to the Checkbox
|
||||||
$checkBox.Content = $appName
|
$checkBox.Content = $appName
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Function Invoke-WinUtilCurrentSystem {
|
|||||||
Checks to see what tweaks have already been applied and what programs are installed, and checks the according boxes
|
Checks to see what tweaks have already been applied and what programs are installed, and checks the according boxes
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
Get-WinUtilCheckBoxes "WPFInstall"
|
InvokeWinUtilCurrentSystem -Checkbox "winget"
|
||||||
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
|||||||
@@ -174,6 +174,18 @@ function Invoke-WinutilThemeChange {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Set FOSS Highlight Color
|
||||||
|
$fossEnabled = $true
|
||||||
|
if ($sync.WPFToggleFOSSHighlight) {
|
||||||
|
$fossEnabled = $sync.WPFToggleFOSSHighlight.IsChecked
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($fossEnabled) {
|
||||||
|
$sync.Form.Resources["FOSSColor"] = [Windows.Media.SolidColorBrush]::new([Windows.Media.Color]::FromRgb(76, 175, 80)) # #4CAF50
|
||||||
|
} else {
|
||||||
|
$sync.Form.Resources["FOSSColor"] = $sync.Form.Resources["MainForegroundColor"]
|
||||||
|
}
|
||||||
|
|
||||||
# Update the theme selector button with the appropriate icon
|
# Update the theme selector button with the appropriate icon
|
||||||
$ThemeButton = $sync.Form.FindName("ThemeButton")
|
$ThemeButton = $sync.Form.FindName("ThemeButton")
|
||||||
$ThemeButton.Content = [string]$themeButtonIcon
|
$ThemeButton.Content = [string]$themeButtonIcon
|
||||||
|
|||||||
75
functions/private/Reset-WPFCheckBoxes.ps1
Normal file
75
functions/private/Reset-WPFCheckBoxes.ps1
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
function Reset-WPFCheckBoxes {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Set winutil checkboxs to match $sync.selected values.
|
||||||
|
Should only need to be run if $sync.selected updated outside of UI (i.e. presets or import)
|
||||||
|
|
||||||
|
.PARAMETER doToggles
|
||||||
|
Whether or not to set UI toggles. WARNING: they will trigger if altered
|
||||||
|
|
||||||
|
.PARAMETER checkboxfilterpattern
|
||||||
|
The Pattern to use when filtering through CheckBoxes, defaults to "**"
|
||||||
|
Used to make reset blazingly fast.
|
||||||
|
#>
|
||||||
|
|
||||||
|
param (
|
||||||
|
[Parameter(position=0)]
|
||||||
|
[bool]$doToggles = $false,
|
||||||
|
|
||||||
|
[Parameter(position=1)]
|
||||||
|
[string]$checkboxfilterpattern = "**"
|
||||||
|
)
|
||||||
|
|
||||||
|
$CheckBoxesToCheck = $sync.selectedApps + $sync.selectedTweaks + $sync.selectedFeatures
|
||||||
|
$CheckBoxes = ($sync.GetEnumerator()).where{ $_.Value -is [System.Windows.Controls.CheckBox] -and $_.Name -notlike "WPFToggle*" -and $_.Name -like "$checkboxfilterpattern"}
|
||||||
|
Write-Debug "Getting checkboxes to set, number of checkboxes: $($CheckBoxes.Count)"
|
||||||
|
|
||||||
|
if ($CheckBoxesToCheck -ne "") {
|
||||||
|
$debugMsg = "CheckBoxes to Check are: "
|
||||||
|
$CheckBoxesToCheck | ForEach-Object { $debugMsg += "$_, " }
|
||||||
|
$debugMsg = $debugMsg -replace (',\s*$', '')
|
||||||
|
Write-Debug "$debugMsg"
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($CheckBox in $CheckBoxes) {
|
||||||
|
$checkboxName = $CheckBox.Key
|
||||||
|
if (-not $CheckBoxesToCheck) {
|
||||||
|
$sync.$checkBoxName.IsChecked = $false
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check if the checkbox name exists in the flattened JSON hashtable
|
||||||
|
if ($CheckBoxesToCheck -contains $checkboxName) {
|
||||||
|
# If it exists, set IsChecked to true
|
||||||
|
$sync.$checkboxName.IsChecked = $true
|
||||||
|
Write-Debug "$checkboxName is checked"
|
||||||
|
} else {
|
||||||
|
# If it doesn't exist, set IsChecked to false
|
||||||
|
$sync.$checkboxName.IsChecked = $false
|
||||||
|
Write-Debug "$checkboxName is not checked"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Update Installs tab UI values
|
||||||
|
$count = $sync.SelectedApps.Count
|
||||||
|
$sync.WPFselectedAppsButton.Content = "Selected Apps: $count"
|
||||||
|
# On every change, remove all entries inside the Popup Menu. This is done, so we can keep the alphabetical order even if elements are selected in a random way
|
||||||
|
$sync.selectedAppsstackPanel.Children.Clear()
|
||||||
|
$sync.selectedApps | Foreach-Object { Add-SelectedAppsMenuItem -name $($sync.configs.applicationsHashtable.$_.Content) -key $_ }
|
||||||
|
|
||||||
|
if($doToggles) {
|
||||||
|
# Restore toggle switch states
|
||||||
|
$importedToggles = $sync.selectedToggles
|
||||||
|
$allToggles = $sync.GetEnumerator() | Where-Object { $_.Key -like "WPFToggle*" -and $_.Value -is [System.Windows.Controls.CheckBox] }
|
||||||
|
foreach ($toggle in $allToggles) {
|
||||||
|
if ($importedToggles -contains $toggle.Key) {
|
||||||
|
$sync[$toggle.Key].IsChecked = $true
|
||||||
|
Write-Debug "Restoring toggle: $($toggle.Key) = checked"
|
||||||
|
} else {
|
||||||
|
$sync[$toggle.Key].IsChecked = $false
|
||||||
|
Write-Debug "Restoring toggle: $($toggle.Key) = unchecked"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
59
functions/private/Update-WinUtilSelections.ps1
Normal file
59
functions/private/Update-WinUtilSelections.ps1
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
function Update-WinUtilSelections {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Updates the $sync.selected variables with a given preset.
|
||||||
|
|
||||||
|
.PARAMETER flatJson
|
||||||
|
The flattened json list of $sync values to select.
|
||||||
|
#>
|
||||||
|
|
||||||
|
param (
|
||||||
|
$flatJson
|
||||||
|
)
|
||||||
|
|
||||||
|
Write-Debug "JSON to import: $($flatJson)"
|
||||||
|
|
||||||
|
foreach ($cbkey in $flatJson) {
|
||||||
|
$group = if ($cbkey.StartsWith("WPFInstall")) { "Install" }
|
||||||
|
elseif ($cbkey.StartsWith("WPFTweaks")) { "Tweaks" }
|
||||||
|
elseif ($cbkey.StartsWith("WPFToggle")) { "Toggle" }
|
||||||
|
elseif ($cbkey.StartsWith("WPFFeature")) { "Feature" }
|
||||||
|
else { "na" }
|
||||||
|
|
||||||
|
switch ($group) {
|
||||||
|
"Install" {
|
||||||
|
if (!$sync.selectedApps.Contains($cbkey)) {
|
||||||
|
$sync.selectedApps.Add($cbkey)
|
||||||
|
# The List type needs to be specified again, because otherwise Sort-Object will convert the list to a string if there is only a single entry
|
||||||
|
[System.Collections.Generic.List[pscustomobject]]$sync.selectedApps = $sync.SelectedApps | Sort-Object
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"Tweaks" {
|
||||||
|
if (!$sync.selectedTweaks.Contains($cbkey)) {
|
||||||
|
$sync.selectedTweaks.Add($cbkey)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"Toggle" {
|
||||||
|
if (!$sync.selectedToggles.Contains($cbkey)) {
|
||||||
|
$sync.selectedToggles.Add($cbkey)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"Feature" {
|
||||||
|
if (!$sync.selectedFeatures.Contains($cbkey)) {
|
||||||
|
$sync.selectedFeatures.Add($cbkey)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
default {
|
||||||
|
Write-Host "Unknown group for checkbox: $($cbkey)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Debug "-------------------------------------"
|
||||||
|
Write-Debug "Selected Apps: $($sync.selectedApps)"
|
||||||
|
Write-Debug "Selected Tweaks: $($sync.selectedTweaks)"
|
||||||
|
Write-Debug "Selected Toggles: $($sync.selectedToggles)"
|
||||||
|
Write-Debug "Selected Features: $($sync.selectedFeatures)"
|
||||||
|
Write-Debug "--------------------------------------"
|
||||||
|
}
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
function Invoke-AutoConfigDialog {
|
|
||||||
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Sets the automatic configuration file based on a specified JSON file
|
|
||||||
#>
|
|
||||||
|
|
||||||
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") | Out-Null
|
|
||||||
$OFD = New-Object System.Windows.Forms.OpenFileDialog
|
|
||||||
$OFD.Filter = "JSON Files (*.json)|*.json"
|
|
||||||
$OFD.ShowDialog()
|
|
||||||
|
|
||||||
if ($OFD.FileName -eq "")
|
|
||||||
{
|
|
||||||
Write-Host "No automatic config file has been selected. Continuing without one..."
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
return $OFD.FileName
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user