mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 06:38:31 +00:00
Compare commits
70 Commits
68ab69a19c
...
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 | ||
|
|
08b24c7187 | ||
|
|
5fcc288037 | ||
|
|
8e8b0bb296 | ||
|
|
be8d20d478 | ||
|
|
9b03b94435 | ||
|
|
9d841687e3 | ||
|
|
20046d4b73 | ||
|
|
b2ccb3669b | ||
|
|
aaed116798 | ||
|
|
354b09ec0d | ||
|
|
cfde1b5a92 | ||
|
|
4ebe1a3535 | ||
|
|
6708756574 | ||
|
|
301059fd3f | ||
|
|
df8d92cf11 | ||
|
|
6cda509604 | ||
|
|
8a8fed517c | ||
|
|
681f0ec3b9 | ||
|
|
4a31af4faf | ||
|
|
4ddb2795ff | ||
|
|
d5b5784492 | ||
|
|
15d0b42165 | ||
|
|
8fc7d30112 | ||
|
|
a12ea71adb | ||
|
|
b00c7b1ea2 | ||
|
|
ef29ab9ffc | ||
|
|
7219329d2c | ||
|
|
27b0a59abb | ||
|
|
457f1820c4 | ||
|
|
414cd139e2 | ||
|
|
e68e190ff3 | ||
|
|
86097572b0 | ||
|
|
94d45a30fa | ||
|
|
fcc5481477 | ||
|
|
ac116d7083 |
4
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
4
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@@ -10,7 +10,7 @@ body:
|
|||||||
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
## ⚠️ **IMPORTANT**
|
||||||
- 🛠️ **Supported environments only:** We only support Windows 11. Custom ISOs that are not made using Microwin are not supported.
|
- 🛠️ **Supported environments only:** We only support Windows 11.
|
||||||
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
- 💡 For general questions, use the [Discussions section](https://github.com/Christitustech/winutil/discussions) or join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
@@ -28,7 +28,7 @@ body:
|
|||||||
id: affected_part
|
id: affected_part
|
||||||
attributes:
|
attributes:
|
||||||
label: 📜 What part of Winutil are you having issues with?
|
label: 📜 What part of Winutil are you having issues with?
|
||||||
placeholder: "e.g., Microwin, Tweaks, etc."
|
placeholder: "e.g., Tweaks, etc."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|||||||
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -4,19 +4,13 @@
|
|||||||
- [ ] New feature
|
- [ ] New feature
|
||||||
- [ ] Bug fix
|
- [ ] Bug fix
|
||||||
- [ ] Documentation update
|
- [ ] Documentation update
|
||||||
- [ ] Hotfix
|
|
||||||
- [ ] UI/UX improvement
|
- [ ] UI/UX improvement
|
||||||
|
|
||||||
<!-- This automatically adds labels to your PR based on the selections above. -->
|
<!-- This automatically adds labels to your PR based on the selections above. -->
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
<!--[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]-->
|
<!--[What does this PR do? Provide Screenshots when possible.]-->
|
||||||
|
|
||||||
## Issue related to PR
|
## Issue related to PR
|
||||||
<!--[What issue/discussion is related to this PR (if any)]-->
|
<!--[List any ISSUES this is related to as it AUTO-CLOSES Them!]-->
|
||||||
- Resolves #
|
- Resolves #
|
||||||
|
|
||||||
## Checklist
|
|
||||||
- [ ] My code adheres to the coding and style guidelines of the project.
|
|
||||||
- [ ] I have commented my code, particularly in hard-to-understand areas.
|
|
||||||
- [ ] I have made corresponding changes to the documentation.
|
|
||||||
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 }}
|
||||||
43
.github/workflows/docs.yaml
vendored
43
.github/workflows/docs.yaml
vendored
@@ -1,37 +1,33 @@
|
|||||||
# Sample workflow for building and deploying a Hugo site to GitHub Pages
|
|
||||||
name: Deploy Hugo site to Pages
|
name: Deploy Hugo site to Pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Runs on pushes targeting the default branch
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- "docs/**" # ONLY triggers if files in the 'docs' folder are changed
|
- "docs/**"
|
||||||
|
- "config/tweaks.json"
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
- "config/feature.json"
|
||||||
|
- "functions/**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
||||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
# Default to bash
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Build job
|
|
||||||
build:
|
build:
|
||||||
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.147.7
|
HUGO_VERSION: 0.147.7
|
||||||
@@ -47,9 +43,33 @@ 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
|
||||||
|
- name: Generate Dev Docs from JSON
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
Set-Location tools
|
||||||
|
./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
|
||||||
@@ -81,6 +101,7 @@ jobs:
|
|||||||
path: ./docs/public
|
path: ./docs/public
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|||||||
8
.github/workflows/label-pr.yaml
vendored
8
.github/workflows/label-pr.yaml
vendored
@@ -13,12 +13,12 @@ jobs:
|
|||||||
contents: read # Often needed for github-script
|
contents: read # Often needed for github-script
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR body for Type of Change
|
- name: Check PR body for Type of Change
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const prBody = context.payload.pull_request.body || '';
|
const prBody = context.payload.pull_request.body || '';
|
||||||
const labelsToAdd = [];
|
const labelsToAdd = [];
|
||||||
|
|
||||||
if (/\[x\]\s*New feature/i.test(prBody)) {
|
if (/\[x\]\s*New feature/i.test(prBody)) {
|
||||||
labelsToAdd.push('new feature');
|
labelsToAdd.push('new feature');
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
if (/\[x\]\s*UI\/UX improvement/i.test(prBody)) {
|
if (/\[x\]\s*UI\/UX improvement/i.test(prBody)) {
|
||||||
labelsToAdd.push('ui update');
|
labelsToAdd.push('ui update');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (labelsToAdd.length > 0) {
|
if (labelsToAdd.length > 0) {
|
||||||
await github.rest.issues.addLabels({
|
await github.rest.issues.addLabels({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
@@ -42,4 +42,4 @@ jobs:
|
|||||||
issue_number: context.payload.pull_request.number,
|
issue_number: context.payload.pull_request.number,
|
||||||
labels: labelsToAdd
|
labels: labelsToAdd
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
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 }}"
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -45,7 +45,6 @@ Microsoft.PowerShell.ConsoleHost.dll
|
|||||||
|
|
||||||
# General
|
# General
|
||||||
.DS_Store
|
.DS_Store
|
||||||
microwin.log
|
|
||||||
True
|
True
|
||||||
test.ps1
|
test.ps1
|
||||||
winutil.ps1
|
winutil.ps1
|
||||||
@@ -60,4 +59,4 @@ binary/
|
|||||||
# Hugo Files
|
# Hugo Files
|
||||||
docs/public/
|
docs/public/
|
||||||
docs/.hugo_build.lock
|
docs/.hugo_build.lock
|
||||||
docs/resources/
|
docs/resources/
|
||||||
|
|||||||
16
Compile.ps1
16
Compile.ps1
@@ -12,12 +12,8 @@ $OFS = "`r`n"
|
|||||||
$scriptname = "winutil.ps1"
|
$scriptname = "winutil.ps1"
|
||||||
$workingdir = $PSScriptRoot
|
$workingdir = $PSScriptRoot
|
||||||
|
|
||||||
Push-Location
|
|
||||||
Set-Location $workingdir
|
|
||||||
|
|
||||||
# Variable to sync between runspaces
|
# Variable to sync between runspaces
|
||||||
$sync = [Hashtable]::Synchronized(@{})
|
$sync = [Hashtable]::Synchronized(@{})
|
||||||
$sync.PSScriptRoot = $workingdir
|
|
||||||
$sync.configs = @{}
|
$sync.configs = @{}
|
||||||
|
|
||||||
function Update-Progress {
|
function Update-Progress {
|
||||||
@@ -56,7 +52,6 @@ $excludedFiles += @(
|
|||||||
'.\LICENSE',
|
'.\LICENSE',
|
||||||
"$preprocessingFilePath",
|
"$preprocessingFilePath",
|
||||||
'*.png',
|
'*.png',
|
||||||
'*.exe',
|
|
||||||
'.\.preprocessor_hashes.json'
|
'.\.preprocessor_hashes.json'
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -132,19 +127,12 @@ try {
|
|||||||
} catch {
|
} catch {
|
||||||
Write-Warning "Syntax Validation for 'winutil.ps1' has failed"
|
Write-Warning "Syntax Validation for 'winutil.ps1' has failed"
|
||||||
Write-Host "$($Error[0])" -ForegroundColor Red
|
Write-Host "$($Error[0])" -ForegroundColor Red
|
||||||
Pop-Location # Restore previous location before exiting...
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
Write-Progress -Activity "Validating" -Completed
|
Write-Progress -Activity "Validating" -Completed
|
||||||
|
|
||||||
if ($run) {
|
if ($run) {
|
||||||
$script = "& '$workingdir\$scriptname' $Arguments"
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
|
||||||
|
.\Winutil.ps1 $Arguments
|
||||||
$powershellcmd = if (Get-Command pwsh -ErrorAction SilentlyContinue) { "pwsh" } else { "powershell" }
|
|
||||||
$processCmd = if (Get-Command wt.exe -ErrorAction SilentlyContinue) { "wt.exe" } else { $powershellcmd }
|
|
||||||
|
|
||||||
Start-Process $processCmd -ArgumentList "$powershellcmd -NoProfile -Command $script"
|
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
Pop-Location
|
|
||||||
|
|||||||
@@ -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
@@ -38,25 +38,47 @@
|
|||||||
"Order": "2",
|
"Order": "2",
|
||||||
"Description": "Use Chocolatey for package management"
|
"Description": "Use Chocolatey for package management"
|
||||||
},
|
},
|
||||||
|
"WPFCollapseAllCategories": {
|
||||||
|
"Content": "Collapse All Categories",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "1",
|
||||||
|
"Description": "Collapse all application categories"
|
||||||
|
},
|
||||||
|
"WPFExpandAllCategories": {
|
||||||
|
"Content": "Expand All Categories",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Button",
|
||||||
|
"Order": "2",
|
||||||
|
"Description": "Expand all application categories"
|
||||||
|
},
|
||||||
"WPFClearInstallSelection": {
|
"WPFClearInstallSelection": {
|
||||||
"Content": "Clear Selection",
|
"Content": "Clear Selection",
|
||||||
"Category": "__Selection",
|
"Category": "__Selection",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "1",
|
"Order": "3",
|
||||||
"Description": "Clear the selection of applications"
|
"Description": "Clear the selection of applications"
|
||||||
},
|
},
|
||||||
"WPFGetInstalled": {
|
"WPFGetInstalled": {
|
||||||
"Content": "Get Installed",
|
"Content": "Show Installed Apps",
|
||||||
"Category": "__Selection",
|
"Category": "__Selection",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "2",
|
"Order": "4",
|
||||||
"Description": "Show installed applications"
|
"Description": "Show installed applications"
|
||||||
},
|
},
|
||||||
"WPFselectedAppsButton": {
|
"WPFselectedAppsButton": {
|
||||||
"Content": "Selected Apps: 0",
|
"Content": "Selected Apps: 0",
|
||||||
"Category": "__Selection",
|
"Category": "__Selection",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "3",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,442 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
|
|
||||||
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=en-US&Locale=en-US&Keyboard=00000409&GeoLocation=244&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&BypassNetworkCheck=true&ComputerNameMode=Random&TimeZoneMode=Implicit&PartitionMode=Interactive&WindowsEditionMode=Unattended&WindowsEdition=pro&UserAccountMode=Unattended&AccountName0=User&AccountPassword0=&AccountGroup0=Administrators&AccountName1=&AccountName2=&AccountName3=&AccountName4=&AutoLogonMode=Own&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=Hidden&DisableWidgets=true&ClassicContextMenu=true&DisableFastStartup=true&EnableLongPaths=true&DisableAppSuggestions=true&PreventDeviceEncryption=true&WifiMode=Skip&ExpressSettings=DisableAll&Remove3DViewer=true&RemoveBingSearch=true&RemoveCamera=true&RemoveClipchamp=true&RemoveClock=true&RemoveCopilot=true&RemoveCortana=true&RemoveDevHome=true&RemoveFamily=true&RemoveFeedbackHub=true&RemoveGetHelp=true&RemoveInternetExplorer=true&RemoveMailCalendar=true&RemoveMaps=true&RemoveMathInputPanel=true&RemoveZuneVideo=true&RemoveNews=true&RemoveNotepad=true&RemoveOffice365=true&RemoveOneDrive=true&RemoveOneNote=true&RemoveOpenSSHClient=true&RemoveOutlook=true&RemovePaint3D=true&RemovePeople=true&RemovePowerAutomate=true&RemoveQuickAssist=true&RemoveSkype=true&RemoveSolitaire=true&RemoveStepsRecorder=true&RemoveStickyNotes=true&RemoveTeams=true&RemoveGetStarted=true&RemoveToDo=true&RemoveVoiceRecorder=true&RemoveWeather=true&RemoveWindowsMediaPlayer=true&RemoveZuneMusic=true&RemoveWordPad=true&WdacMode=Skip-->
|
|
||||||
<settings pass="offlineServicing"></settings>
|
|
||||||
<settings pass="windowsPE">
|
|
||||||
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<SetupUILanguage>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
</SetupUILanguage>
|
|
||||||
<InputLocale>0409:00000409</InputLocale>
|
|
||||||
<SystemLocale>en-US</SystemLocale>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
<UserLocale>en-US</UserLocale>
|
|
||||||
</component>
|
|
||||||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<UserData>
|
|
||||||
<ProductKey>
|
|
||||||
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
|
|
||||||
</ProductKey>
|
|
||||||
<AcceptEula>true</AcceptEula>
|
|
||||||
</UserData>
|
|
||||||
<RunSynchronous>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>3</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
</RunSynchronous>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<settings pass="generalize"></settings>
|
|
||||||
<settings pass="specialize">
|
|
||||||
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<RunSynchronous>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>2</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>3</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "UninstallCopilot" /t REG_SZ /d "powershell.exe -NoProfile -Command \"Get-AppxPackage -Name 'Microsoft.Windows.Ai.Copilot.Provider' | Remove-AppxPackage;\"" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>4</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>5</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>6</Order>
|
|
||||||
<Path>reg.exe delete "HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\DevHomeUpdate" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>7</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>8</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Notepad" /v ShowStoreBanner /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>9</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>10</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>11</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Windows\System32\OneDriveSetup.exe""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>12</Order>
|
|
||||||
<Path>cmd.exe /c "del "C:\Windows\SysWOW64\OneDriveSetup.exe""</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>13</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>14</Order>
|
|
||||||
<Path>reg.exe delete "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>15</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>16</Order>
|
|
||||||
<Path>reg.exe delete "HKLM\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe\OutlookUpdate" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>17</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Communications" /v ConfigureChatAutoInstall /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>18</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "$xml = [xml]::new(); $xml.Load('C:\Windows\Panther\unattend.xml'); $sb = [scriptblock]::Create( $xml.unattend.Extensions.ExtractScript ); Invoke-Command -ScriptBlock $sb -ArgumentList $xml;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>19</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Temp\Microwin-RemovePackages.ps1' -Raw | Invoke-Expression;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>20</Order>
|
|
||||||
<Path>powershell.exe -NoProfile -Command "Get-Content -LiteralPath 'C:\Windows\Temp\remove-caps.ps1' -Raw | Invoke-Expression;"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>21</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>22</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_ProviderSet /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>23</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Start" /v ConfigureStartPins_WinningProvider /t REG_SZ /d B5292708-1619-419B-9923-E5D9F3925E71 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>24</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins /t REG_SZ /d "{ \"pinnedList\": [] }" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>25</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\PolicyManager\providers\B5292708-1619-419B-9923-E5D9F3925E71\default\Device\Start" /v ConfigureStartPins_LastWrite /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>26</Order>
|
|
||||||
<Path>net.exe accounts /maxpwage:UNLIMITED</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>27</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>28</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>29</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>30</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>31</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>32</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>33</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>34</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>35</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>36</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>37</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>38</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>39</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>40</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>41</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>42</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>43</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>44</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>45</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>46</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>47</Order>
|
|
||||||
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>48</Order>
|
|
||||||
<Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\BitLocker" /v "PreventDeviceEncryption" /t REG_DWORD /d 1 /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>49</Order>
|
|
||||||
<Path>reg.exe load "HKU\DefaultUser" "C:\Users\Default\NTUSER.DAT"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>50</Order>
|
|
||||||
<Path>reg.exe add "HKU\DefaultUser\Software\Microsoft\Windows\CurrentVersion\Runonce" /v "ClassicContextMenu" /t REG_SZ /d "reg.exe add \"HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32\" /ve /f" /f</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
<RunSynchronousCommand wcm:action="add">
|
|
||||||
<Order>51</Order>
|
|
||||||
<Path>reg.exe unload "HKU\DefaultUser"</Path>
|
|
||||||
</RunSynchronousCommand>
|
|
||||||
</RunSynchronous>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<settings pass="auditSystem"></settings>
|
|
||||||
<settings pass="auditUser"></settings>
|
|
||||||
<settings pass="oobeSystem">
|
|
||||||
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<InputLocale>0409:00000409</InputLocale>
|
|
||||||
<SystemLocale>en-US</SystemLocale>
|
|
||||||
<UILanguage>en-US</UILanguage>
|
|
||||||
<UserLocale>en-US</UserLocale>
|
|
||||||
</component>
|
|
||||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
|
||||||
<UserAccounts>
|
|
||||||
<LocalAccounts>
|
|
||||||
<LocalAccount wcm:action="add">
|
|
||||||
<Name>User</Name>
|
|
||||||
<Group>Administrators</Group>
|
|
||||||
<Password>
|
|
||||||
<Value></Value>
|
|
||||||
<PlainText>true</PlainText>
|
|
||||||
</Password>
|
|
||||||
</LocalAccount>
|
|
||||||
</LocalAccounts>
|
|
||||||
</UserAccounts>
|
|
||||||
<AutoLogon>
|
|
||||||
<Username>User</Username>
|
|
||||||
<Enabled>true</Enabled>
|
|
||||||
<LogonCount>1</LogonCount>
|
|
||||||
<Password>
|
|
||||||
<Value></Value>
|
|
||||||
<PlainText>true</PlainText>
|
|
||||||
</Password>
|
|
||||||
</AutoLogon>
|
|
||||||
<OOBE>
|
|
||||||
<ProtectYourPC>3</ProtectYourPC>
|
|
||||||
<HideEULAPage>true</HideEULAPage>
|
|
||||||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
|
||||||
</OOBE>
|
|
||||||
<FirstLogonCommands>
|
|
||||||
<SynchronousCommand wcm:action="add">
|
|
||||||
<Order>1</Order>
|
|
||||||
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
|
|
||||||
</SynchronousCommand>
|
|
||||||
</FirstLogonCommands>
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<Extensions xmlns="https://schneegans.de/windows/unattend-generator/">
|
|
||||||
<ExtractScript>
|
|
||||||
param(
|
|
||||||
[xml]$Document
|
|
||||||
);
|
|
||||||
|
|
||||||
$scriptsDir = 'C:\Windows\Setup\Scripts\';
|
|
||||||
foreach( $file in $Document.unattend.Extensions.File ) {
|
|
||||||
$path = [System.Environment]::ExpandEnvironmentVariables(
|
|
||||||
$file.GetAttribute( 'path' )
|
|
||||||
);
|
|
||||||
if( $path.StartsWith( $scriptsDir ) ) {
|
|
||||||
mkdir -Path $scriptsDir -ErrorAction 'SilentlyContinue';
|
|
||||||
}
|
|
||||||
$encoding = switch( [System.IO.Path]::GetExtension( $path ) ) {
|
|
||||||
{ $_ -in '.ps1', '.xml' } { [System.Text.Encoding]::UTF8; }
|
|
||||||
{ $_ -in '.reg', '.vbs', '.js' } { [System.Text.UnicodeEncoding]::new( $false, $true ); }
|
|
||||||
default { [System.Text.Encoding]::Default; }
|
|
||||||
};
|
|
||||||
[System.IO.File]::WriteAllBytes( $path, ( $encoding.GetPreamble() + $encoding.GetBytes( $file.InnerText.Trim() ) ) );
|
|
||||||
}
|
|
||||||
</ExtractScript>
|
|
||||||
<File path="C:\Windows\Temp\Microwin-RemovePackages.ps1">
|
|
||||||
$selectors = @(
|
|
||||||
'Microsoft.Microsoft3DViewer';
|
|
||||||
'Microsoft.BingSearch';
|
|
||||||
'Microsoft.WindowsCamera';
|
|
||||||
'Clipchamp.Clipchamp';
|
|
||||||
'Microsoft.WindowsAlarms';
|
|
||||||
'Microsoft.549981C3F5F10';
|
|
||||||
'Microsoft.Windows.DevHome';
|
|
||||||
'MicrosoftCorporationII.MicrosoftFamily';
|
|
||||||
'Microsoft.WindowsFeedbackHub';
|
|
||||||
'Microsoft.GetHelp';
|
|
||||||
'Microsoft.Getstarted';
|
|
||||||
'microsoft.windowscommunicationsapps';
|
|
||||||
'Microsoft.WindowsMaps';
|
|
||||||
'Microsoft.BingNews';
|
|
||||||
'Microsoft.WindowsNotepad';
|
|
||||||
'Microsoft.MicrosoftOfficeHub';
|
|
||||||
'Microsoft.Office.OneNote';
|
|
||||||
'Microsoft.OutlookForWindows';
|
|
||||||
'Microsoft.MSPaint';
|
|
||||||
'Microsoft.People';
|
|
||||||
'Microsoft.PowerAutomateDesktop';
|
|
||||||
'MicrosoftCorporationII.QuickAssist';
|
|
||||||
'Microsoft.SkypeApp';
|
|
||||||
'Microsoft.MicrosoftSolitaireCollection';
|
|
||||||
'Microsoft.MicrosoftStickyNotes';
|
|
||||||
'MSTeams';
|
|
||||||
'Microsoft.Todos';
|
|
||||||
'Microsoft.WindowsSoundRecorder';
|
|
||||||
'Microsoft.BingWeather';
|
|
||||||
'Microsoft.ZuneMusic';
|
|
||||||
'Microsoft.ZuneVideo';
|
|
||||||
);
|
|
||||||
$getCommand = { Get-AppxProvisionedPackage -Online; };
|
|
||||||
$filterCommand = { $_.DisplayName -eq $selector; };
|
|
||||||
$removeCommand = {
|
|
||||||
[CmdletBinding()]
|
|
||||||
param(
|
|
||||||
[Parameter( Mandatory, ValueFromPipeline )]
|
|
||||||
$InputObject
|
|
||||||
);
|
|
||||||
process {
|
|
||||||
$InputObject | Remove-AppxProvisionedPackage -AllUsers -Online -ErrorAction 'Continue';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$type = 'Package';
|
|
||||||
$logfile = 'C:\Windows\Temp\Microwin-RemovePackages.log';
|
|
||||||
& {
|
|
||||||
$installed = & $getCommand;
|
|
||||||
foreach( $selector in $selectors ) {
|
|
||||||
$result = [ordered] @{
|
|
||||||
Selector = $selector;
|
|
||||||
};
|
|
||||||
$found = $installed | Where-Object -FilterScript $filterCommand;
|
|
||||||
if( $found ) {
|
|
||||||
$result.Output = $found | & $removeCommand;
|
|
||||||
if( $? ) {
|
|
||||||
$result.Message = "$type removed.";
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not removed.";
|
|
||||||
$result.Error = $Error[0];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not installed.";
|
|
||||||
}
|
|
||||||
$result | ConvertTo-Json -Depth 3 -Compress;
|
|
||||||
}
|
|
||||||
} *>&1 >> $logfile;
|
|
||||||
</File>
|
|
||||||
<File path="C:\Windows\Temp\remove-caps.ps1">
|
|
||||||
$selectors = @(
|
|
||||||
'Browser.InternetExplorer';
|
|
||||||
'MathRecognizer';
|
|
||||||
'OpenSSH.Client';
|
|
||||||
'App.Support.QuickAssist';
|
|
||||||
'App.StepsRecorder';
|
|
||||||
'Media.WindowsMediaPlayer';
|
|
||||||
'Microsoft.Windows.WordPad';
|
|
||||||
);
|
|
||||||
$getCommand = { Get-WindowsCapability -Online; };
|
|
||||||
$filterCommand = { ($_.Name -split '~')[0] -eq $selector; };
|
|
||||||
$removeCommand = {
|
|
||||||
[CmdletBinding()]
|
|
||||||
param(
|
|
||||||
[Parameter( Mandatory, ValueFromPipeline )]
|
|
||||||
$InputObject
|
|
||||||
);
|
|
||||||
process {
|
|
||||||
$InputObject | Remove-WindowsCapability -Online -ErrorAction 'Continue';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$type = 'Capability';
|
|
||||||
$logfile = 'C:\Windows\Temp\remove-caps.log';
|
|
||||||
& {
|
|
||||||
$installed = & $getCommand;
|
|
||||||
foreach( $selector in $selectors ) {
|
|
||||||
$result = [ordered] @{
|
|
||||||
Selector = $selector;
|
|
||||||
};
|
|
||||||
$found = $installed | Where-Object -FilterScript $filterCommand;
|
|
||||||
if( $found ) {
|
|
||||||
$result.Output = $found | & $removeCommand;
|
|
||||||
if( $? ) {
|
|
||||||
$result.Message = "$type removed.";
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not removed.";
|
|
||||||
$result.Error = $Error[0];
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$result.Message = "$type not installed.";
|
|
||||||
}
|
|
||||||
$result | ConvertTo-Json -Depth 3 -Compress;
|
|
||||||
}
|
|
||||||
} *>&1 >> $logfile;
|
|
||||||
</File>
|
|
||||||
<File path="C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml"><![CDATA[
|
|
||||||
<LayoutModificationTemplate Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
|
|
||||||
<LayoutOptions StartTileGroupCellWidth="6" />
|
|
||||||
<DefaultLayoutOverride>
|
|
||||||
<StartLayoutCollection>
|
|
||||||
<StartLayout GroupCellWidth="6" xmlns="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" />
|
|
||||||
</StartLayoutCollection>
|
|
||||||
</DefaultLayoutOverride>
|
|
||||||
</LayoutModificationTemplate>
|
|
||||||
]]></File>
|
|
||||||
</Extensions>
|
|
||||||
</unattend>
|
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
"Order": "a019_",
|
"Order": "a019_",
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"bcdedit /set bootmenupolicy standard"
|
"bcdedit /set bootmenupolicy standard"
|
||||||
],
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/features/disablelegacyrecovery"
|
"link": "https://winutil.christitus.com/dev/features/features/disablelegacyrecovery"
|
||||||
},
|
},
|
||||||
@@ -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",
|
||||||
@@ -252,7 +243,7 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/user"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/sound"
|
||||||
},
|
},
|
||||||
"WPFPanelSystem": {
|
"WPFPanelSystem": {
|
||||||
"Content": "System Properties",
|
"Content": "System Properties",
|
||||||
@@ -272,19 +263,21 @@
|
|||||||
},
|
},
|
||||||
"WPFWinUtilInstallPSProfile": {
|
"WPFWinUtilInstallPSProfile": {
|
||||||
"Content": "Install CTT PowerShell Profile",
|
"Content": "Install CTT PowerShell Profile",
|
||||||
"category": "Powershell Profile",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a083_",
|
"Order": "a083_",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/installpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilUninstallPSProfile": {
|
"WPFWinUtilUninstallPSProfile": {
|
||||||
"Content": "Uninstall CTT PowerShell Profile",
|
"Content": "Uninstall CTT PowerShell Profile",
|
||||||
"category": "Powershell Profile",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
"Order": "a084_",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/uninstallpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilSSHServer": {
|
"WPFWinUtilSSHServer": {
|
||||||
"Content": "Enable OpenSSH Server",
|
"Content": "Enable OpenSSH Server",
|
||||||
@@ -292,6 +285,7 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
"Order": "a084_",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/remote-access/sshserver"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"shared":{
|
"shared":{
|
||||||
"AppEntryWidth": "130",
|
"AppEntryWidth": "200",
|
||||||
"AppEntryFontSize": "11",
|
"AppEntryFontSize": "11",
|
||||||
"AppEntryMargin": "1,1,1,1",
|
"AppEntryMargin": "1,0,1,0",
|
||||||
"AppEntryBorderThickness": "0",
|
"AppEntryBorderThickness": "0",
|
||||||
"CustomDialogFontSize": "12",
|
"CustomDialogFontSize": "12",
|
||||||
"CustomDialogFontSizeHeader": "14",
|
"CustomDialogFontSizeHeader": "14",
|
||||||
@@ -25,8 +25,6 @@
|
|||||||
"IconButtonSize": "35",
|
"IconButtonSize": "35",
|
||||||
"SettingsIconFontSize": "18",
|
"SettingsIconFontSize": "18",
|
||||||
"CloseIconFontSize": "18",
|
"CloseIconFontSize": "18",
|
||||||
"MicroWinLogoSize": "10",
|
|
||||||
"MicrowinCheckBoxMargin": "-10,5,0,0",
|
|
||||||
"GroupBorderBackgroundColor": "#232629",
|
"GroupBorderBackgroundColor": "#232629",
|
||||||
"ButtonFontSize": "12",
|
"ButtonFontSize": "12",
|
||||||
"ButtonFontFamily": "Arial",
|
"ButtonFontFamily": "Arial",
|
||||||
@@ -60,7 +58,6 @@
|
|||||||
"ScrollBarHoverColor": "#5A5D62",
|
"ScrollBarHoverColor": "#5A5D62",
|
||||||
"ScrollBarDraggingColor": "#6A6D72",
|
"ScrollBarDraggingColor": "#6A6D72",
|
||||||
|
|
||||||
"MicrowinBusyColor": "#2e77ff",
|
|
||||||
"ProgressBarForegroundColor": "#2e77ff",
|
"ProgressBarForegroundColor": "#2e77ff",
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#232629",
|
"ProgressBarTextColor": "#232629",
|
||||||
@@ -91,7 +88,7 @@
|
|||||||
"AppInstallOverlayBackgroundColor":"#2E3135",
|
"AppInstallOverlayBackgroundColor":"#2E3135",
|
||||||
"ComboBoxForegroundColor": "#F7F7F7",
|
"ComboBoxForegroundColor": "#F7F7F7",
|
||||||
"ComboBoxBackgroundColor": "#1E3747",
|
"ComboBoxBackgroundColor": "#1E3747",
|
||||||
"LabelboxForegroundColor": "#0567ff",
|
"LabelboxForegroundColor": "#5bdcff",
|
||||||
"MainForegroundColor": "#F7F7F7",
|
"MainForegroundColor": "#F7F7F7",
|
||||||
"MainBackgroundColor": "#232629",
|
"MainBackgroundColor": "#232629",
|
||||||
"LabelBackgroundColor": "#232629",
|
"LabelBackgroundColor": "#232629",
|
||||||
@@ -101,7 +98,6 @@
|
|||||||
"ScrollBarHoverColor": "#3B4252",
|
"ScrollBarHoverColor": "#3B4252",
|
||||||
"ScrollBarDraggingColor": "#5E81AC",
|
"ScrollBarDraggingColor": "#5E81AC",
|
||||||
|
|
||||||
"MicrowinBusyColor": "#2e77ff",
|
|
||||||
"ProgressBarForegroundColor": "#222222",
|
"ProgressBarForegroundColor": "#222222",
|
||||||
"ProgressBarBackgroundColor": "Transparent",
|
"ProgressBarBackgroundColor": "Transparent",
|
||||||
"ProgressBarTextColor": "#232629",
|
"ProgressBarTextColor": "#232629",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
description: ""
|
||||||
date: '{{ .Date }}'
|
date: '{{ .Date }}'
|
||||||
draft: true
|
draft: true
|
||||||
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
|
||||||
---
|
---
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 124 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 109 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 108 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB |
@@ -43,51 +43,6 @@ If you are still having issues, try using a **VPN**, or changing your **DNS prov
|
|||||||
|
|
||||||
If you have not installed anything using PowerShell before, you may be prompted to configure WinGet. This requires user interaction on first run. You will need to manually type `y` into the PowerShell console and press enter to continue. Once you do it the first time, you will not be prompted again.
|
If you have not installed anything using PowerShell before, you may be prompted to configure WinGet. This requires user interaction on first run. You will need to manually type `y` into the PowerShell console and press enter to continue. Once you do it the first time, you will not be prompted again.
|
||||||
|
|
||||||
### MicroWin: Error `0x80041031`
|
|
||||||
|
|
||||||
This error code typically indicates an issue related to Windows Management Instrumentation (WMI). Here are a few steps you can try to resolve the issue:
|
|
||||||
|
|
||||||
1. **Reboot Your Computer:**
|
|
||||||
|
|
||||||
Sometimes, a simple reboot can resolve temporary issues. Restart your computer and try mounting the ISO again.
|
|
||||||
|
|
||||||
2. **Check for System Corruption:**
|
|
||||||
|
|
||||||
Run the System File Checker (SFC) utility to scan and repair system files that may be corrupted.
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
sfc /scannow
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Update Your System:**
|
|
||||||
|
|
||||||
Make sure your operating system is up-to-date. Check for Windows updates and install any pending updates.
|
|
||||||
|
|
||||||
4. **Check WMI Service:**
|
|
||||||
|
|
||||||
Ensure that the Windows Management Instrumentation (WMI) service is running. You can do this through the Services application:
|
|
||||||
- Press `Win`+`R` to open the Run dialog.
|
|
||||||
- Type `services.msc` and press Enter.
|
|
||||||
- Locate _Windows Management Instrumentation_ in the list.
|
|
||||||
- Make sure to set its status to "Running" and the startup type to "Automatic".
|
|
||||||
|
|
||||||
5. **Check for Security Software Interference:**
|
|
||||||
|
|
||||||
Security software can sometimes interfere with WMI operations. Temporarily disable your anti-virus or security software and check if the issue persists. WMI is a common attack/infection vector, so many anti-virus programs will limit its usage.
|
|
||||||
|
|
||||||
6. **Event Viewer:**
|
|
||||||
|
|
||||||
Check the Event Viewer for more detailed error information. Look for entries related to the `80041031` error and check if there are any additional details that can help identify the cause.
|
|
||||||
- Press `Win`+`X` and select _Event Viewer_.
|
|
||||||
- Navigate to _Windows Logs_ > _Application_ or _System_.
|
|
||||||
- Look for entries with the source related to WMI or the application use to mount the ISO.
|
|
||||||
|
|
||||||
7. **ISO File Integrity:**
|
|
||||||
|
|
||||||
Ensure that the ISO file you are trying to mount is uncorrupted. Try mounting a different ISO file to see if the issue persists.
|
|
||||||
|
|
||||||
If the problem persists after trying these steps, additional troubleshooting is required. Consider seeking assistance from Microsoft support or community forums for more specific guidance based on your system configuration and the software you use to mount the ISO.
|
|
||||||
|
|
||||||
## Windows Issues
|
## Windows Issues
|
||||||
|
|
||||||
### Windows takes longer to shut down
|
### Windows takes longer to shut down
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ irm "https://christitus.com/win" | iex
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
> [!NOTE]
|
> [!IMPORTANT]
|
||||||
> Winutil is updated frequently as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
|
> Winutil is updated frequently as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Developer Reference
|
title: Developer Reference
|
||||||
weight: 3
|
weight: 3
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
|
|||||||
@@ -55,9 +55,6 @@ winutil/
|
|||||||
│ ├── public/ # User-facing functions
|
│ ├── public/ # User-facing functions
|
||||||
│ │ ├── Initialize-WPFUI.ps1
|
│ │ ├── Initialize-WPFUI.ps1
|
||||||
│ │ └── ...
|
│ │ └── ...
|
||||||
│ └── microwin/ # MicroWin specific functions
|
|
||||||
│ ├── Invoke-Microwin.ps1
|
|
||||||
│ └── ...
|
|
||||||
├── config/ # JSON configuration files
|
├── config/ # JSON configuration files
|
||||||
│ ├── applications.json # Application definitions
|
│ ├── applications.json # Application definitions
|
||||||
│ ├── tweaks.json # Tweak definitions
|
│ ├── tweaks.json # Tweak definitions
|
||||||
@@ -126,7 +123,6 @@ winutil/
|
|||||||
**Purpose**: WPF GUI layout and design.
|
**Purpose**: WPF GUI layout and design.
|
||||||
|
|
||||||
**Structure**:
|
**Structure**:
|
||||||
- TabControl for main tabs (Install, Tweaks, Config, MicroWin)
|
|
||||||
- Buttons with event handlers
|
- Buttons with event handlers
|
||||||
- TextBoxes for input
|
- TextBoxes for input
|
||||||
- CheckBoxes for options
|
- CheckBoxes for options
|
||||||
@@ -198,7 +194,7 @@ Update UI
|
|||||||
|
|
||||||
### applications.json Structure
|
### applications.json Structure
|
||||||
|
|
||||||
```json
|
```json {filename="config/applications.json"}
|
||||||
{
|
{
|
||||||
"WPFInstall<AppName>": {
|
"WPFInstall<AppName>": {
|
||||||
"category": "Browsers",
|
"category": "Browsers",
|
||||||
@@ -221,14 +217,13 @@ Update UI
|
|||||||
|
|
||||||
### tweaks.json Structure
|
### tweaks.json Structure
|
||||||
|
|
||||||
```json
|
```json {filename="config/tweaks.json"}
|
||||||
{
|
{
|
||||||
"WPFTweaksTelemetry": {
|
"WPFTweaksTelemetry": {
|
||||||
"Content": "Disable Telemetry",
|
"Content": "Disable Telemetry",
|
||||||
"Description": "Disables Microsoft Telemetry",
|
"Description": "Disables Microsoft Telemetry",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a003_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||||
@@ -320,22 +315,6 @@ if (!(Get-Command choco -ErrorAction SilentlyContinue)) {
|
|||||||
choco install $app.choco -y
|
choco install $app.choco -y
|
||||||
```
|
```
|
||||||
|
|
||||||
## MicroWin Architecture
|
|
||||||
|
|
||||||
MicroWin operates in phases:
|
|
||||||
|
|
||||||
1. **Mount ISO**: Extract Windows image
|
|
||||||
2. **Modify Image**: Remove components, apply tweaks
|
|
||||||
3. **Inject Drivers**: Add custom drivers (optional)
|
|
||||||
4. **Create Unattend**: Generate automated install configuration
|
|
||||||
5. **Rebuild ISO**: Package modified image into new ISO
|
|
||||||
|
|
||||||
**Key Files**:
|
|
||||||
- `Invoke-Microwin.ps1`: Main orchestration
|
|
||||||
- `Microwin-RemovePackages.ps1`: Remove Windows packages
|
|
||||||
- `Microwin-RemoveFeatures.ps1`: Disable features
|
|
||||||
- `Microwin-NewUnattend.ps1`: Create unattend.xml
|
|
||||||
|
|
||||||
## Error Handling
|
## Error Handling
|
||||||
|
|
||||||
Winutil uses PowerShell error handling:
|
Winutil uses PowerShell error handling:
|
||||||
@@ -385,7 +364,7 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
### Adding a New Application
|
### Adding a New Application
|
||||||
|
|
||||||
1. Edit `config/applications.json`:
|
1. Edit `config/applications.json`:
|
||||||
```json
|
```json {filename="config/applications.json"}
|
||||||
{
|
{
|
||||||
"WPFInstallNewApp": {
|
"WPFInstallNewApp": {
|
||||||
"category": "Utilities",
|
"category": "Utilities",
|
||||||
@@ -403,7 +382,7 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
### Adding a New Tweak
|
### Adding a New Tweak
|
||||||
|
|
||||||
1. Edit `config/tweaks.json`:
|
1. Edit `config/tweaks.json`:
|
||||||
```json
|
```json {filename="config/tweaks.json"}
|
||||||
{
|
{
|
||||||
"WPFTweaksNewTweak": {
|
"WPFTweaksNewTweak": {
|
||||||
"Content": "New Tweak",
|
"Content": "New Tweak",
|
||||||
@@ -489,7 +468,6 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
**Optional (auto-installed)**:
|
**Optional (auto-installed)**:
|
||||||
- WinGet (Windows Package Manager)
|
- WinGet (Windows Package Manager)
|
||||||
- Chocolatey
|
- Chocolatey
|
||||||
- oscdimg.exe (for MicroWin)
|
|
||||||
|
|
||||||
## Performance Considerations
|
## Performance Considerations
|
||||||
|
|
||||||
@@ -546,5 +524,5 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Last Updated**: January 2026
|
**Last Updated**: January 2026
|
||||||
**Maintainers**: Chris Titus Tech and contributors
|
**Maintainers**: Chris Titus Tech and contributors
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
# Disable Legacy F8 Boot Recovery
|
---
|
||||||
|
title: "Disable Legacy F8 Boot Recovery"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=107}
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Disable Legacy F8 Boot Recovery",
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a018_",
|
"Order": "a019_",
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"bcdedit /set bootmenupolicy standard"
|
"bcdedit /set bootmenupolicy standard"
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Enable Legacy F8 Boot Recovery
|
---
|
||||||
|
title: "Enable Legacy F8 Boot Recovery"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=95}
|
||||||
"WPFFeatureEnableLegacyRecovery": {
|
"WPFFeatureEnableLegacyRecovery": {
|
||||||
"Content": "Enable Legacy F8 Boot Recovery",
|
"Content": "Enable Legacy F8 Boot Recovery",
|
||||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Enable Daily Registry Backup Task 12.30am
|
---
|
||||||
|
title: "Enable Daily Registry Backup Task 12.30am"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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",
|
||||||
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
"Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Windows Sandbox
|
---
|
||||||
|
title: "Windows Sandbox"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=119}
|
||||||
"WPFFeaturesSandbox": {
|
"WPFFeaturesSandbox": {
|
||||||
"Content": "Windows Sandbox",
|
"Content": "Windows Sandbox",
|
||||||
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
"Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 1
|
|
||||||
title: "Features"
|
title: "Features"
|
||||||
|
weight: 1
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< autolinks section="dev/features/features" >}}
|
{{< autolinks section="dev/features/features" >}}
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# All .Net Framework (2,3,4)
|
---
|
||||||
|
title: "All .Net Framework (2,3,4)"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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)",
|
||||||
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
"Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
@@ -11,4 +14,5 @@
|
|||||||
"NetFx4-AdvSrvs",
|
"NetFx4-AdvSrvs",
|
||||||
"NetFx3"
|
"NetFx3"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# HyperV Virtualization
|
---
|
||||||
|
title: "HyperV Virtualization"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=15}
|
||||||
"WPFFeatureshyperv": {
|
"WPFFeatureshyperv": {
|
||||||
"Content": "HyperV Virtualization",
|
"Content": "HyperV Virtualization",
|
||||||
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
"Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Legacy Media (WMP, DirectPlay)
|
---
|
||||||
|
title: "Legacy Media (WMP, DirectPlay)"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=29}
|
||||||
"WPFFeatureslegacymedia": {
|
"WPFFeatureslegacymedia": {
|
||||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
"Content": "Legacy Media (WMP, DirectPlay)",
|
||||||
"Description": "Enables legacy programs from previous versions of windows",
|
"Description": "Enables legacy programs from previous versions of windows",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
@@ -13,4 +16,5 @@
|
|||||||
"DirectPlay",
|
"DirectPlay",
|
||||||
"LegacyComponents"
|
"LegacyComponents"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# NFS - Network File System
|
---
|
||||||
|
title: "NFS - Network File System"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=57}
|
||||||
"WPFFeaturenfs": {
|
"WPFFeaturenfs": {
|
||||||
"Content": "NFS - Network File System",
|
"Content": "NFS - Network File System",
|
||||||
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
"Description": "Network File System (NFS) is a mechanism for storing files on a network.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# Windows Subsystem for Linux
|
---
|
||||||
|
title: "Windows Subsystem for Linux"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/feature.json",linenos=inline,linenostart=44}
|
||||||
"WPFFeaturewsl": {
|
"WPFFeaturewsl": {
|
||||||
"Content": "Windows Subsystem for Linux",
|
"Content": "Windows Subsystem for Linux",
|
||||||
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
"Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
@@ -11,4 +14,5 @@
|
|||||||
"VirtualMachinePlatform",
|
"VirtualMachinePlatform",
|
||||||
"Microsoft-Windows-Subsystem-Linux"
|
"Microsoft-Windows-Subsystem-Linux"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# Set Up Autologin
|
---
|
||||||
|
title: "Set Up Autologin"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFPanelAutologin {
|
function Invoke-WPFPanelAutologin {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
|
|||||||
@@ -1,141 +0,0 @@
|
|||||||
# System Corruption Scan
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFSystemRepair {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Checks for system corruption using Chkdsk, SFC, and DISM
|
|
||||||
|
|
||||||
.DESCRIPTION
|
|
||||||
1. Chkdsk - Fixes disk and filesystem corruption
|
|
||||||
2. SFC Run 1 - Fixes system file corruption, and fixes DISM if it was corrupted
|
|
||||||
3. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
|
||||||
4. SFC Run 2 - Fixes system file corruption, this time with an almost guaranteed uncorrupted system image
|
|
||||||
#>
|
|
||||||
|
|
||||||
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"
|
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
```
|
|
||||||
24
docs/content/dev/features/Fixes/DISM.md
Normal file
24
docs/content/dev/features/Fixes/DISM.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
title: "System Corruption Scan"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFSystemRepair.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFSystemRepair {
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Checks for system corruption using SFC, and DISM
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
1. SFC - 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. Chkdsk - Checks for disk errors, which can cause system file corruption and notifies of early disk failure
|
||||||
|
#>
|
||||||
|
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
|
||||||
|
|
||||||
|
Write-Host "==> Finished System Repair"
|
||||||
|
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Reset Network
|
---
|
||||||
|
title: "Reset Network"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesNetwork {
|
function Invoke-WPFFixesNetwork {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
# Remove Adobe Creative Cloud
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Reset Windows Update
|
---
|
||||||
|
title: "Reset Windows Update"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFFixesUpdate.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesUpdate {
|
function Invoke-WPFFixesUpdate {
|
||||||
|
|
||||||
<#
|
<#
|
||||||
@@ -227,5 +230,4 @@ function Invoke-WPFFixesUpdate {
|
|||||||
Write-Progress -Id 9 -Activity "Starting Windows Update Services" -Completed
|
Write-Progress -Id 9 -Activity "Starting Windows Update Services" -Completed
|
||||||
Write-Progress -Id 10 -Activity "Forcing discovery" -Completed
|
Write-Progress -Id 10 -Activity "Forcing discovery" -Completed
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
# WinGet Reinstall
|
---
|
||||||
|
title: "WinGet Reinstall"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFFixesWinget.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesWinget {
|
function Invoke-WPFFixesWinget {
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 2
|
|
||||||
title: "Fixes"
|
title: "Fixes"
|
||||||
|
weight: 2
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< autolinks section="dev/features/fixes" >}}
|
{{< autolinks section="dev/features/fixes" >}}
|
||||||
|
|||||||
33
docs/content/dev/features/Legacy-Windows-Panels/Computer.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/Computer.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Computer Management"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Network Connections
|
---
|
||||||
|
title: "Control Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
33
docs/content/dev/features/Legacy-Windows-Panels/Network.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/Network.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Network Connections"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Control Panel
|
---
|
||||||
|
title: "Power Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Power Panel
|
---
|
||||||
|
title: "Printer Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Printer Settings
|
---
|
||||||
|
title: "Region"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFControlPanel {
|
function Invoke-WPFControlPanel {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
33
docs/content/dev/features/Legacy-Windows-Panels/Restore.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/Restore.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Windows Restore"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
33
docs/content/dev/features/Legacy-Windows-Panels/Sound.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/Sound.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Sound Settings"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
33
docs/content/dev/features/Legacy-Windows-Panels/System.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/System.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "System Properties"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
33
docs/content/dev/features/Legacy-Windows-Panels/Timedate.md
Normal file
33
docs/content/dev/features/Legacy-Windows-Panels/Timedate.md
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Time and Date"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFControlPanel {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Opens the requested legacy panel
|
||||||
|
|
||||||
|
.PARAMETER Panel
|
||||||
|
The panel to open
|
||||||
|
|
||||||
|
#>
|
||||||
|
param($Panel)
|
||||||
|
|
||||||
|
switch ($Panel) {
|
||||||
|
"WPFPanelControl" {control}
|
||||||
|
"WPFPanelComputer" {compmgmt.msc}
|
||||||
|
"WPFPanelNetwork" {ncpa.cpl}
|
||||||
|
"WPFPanelPower" {powercfg.cpl}
|
||||||
|
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
||||||
|
"WPFPanelRegion" {intl.cpl}
|
||||||
|
"WPFPanelRestore" {rstrui.exe}
|
||||||
|
"WPFPanelSound" {mmsys.cpl}
|
||||||
|
"WPFPanelSystem" {sysdm.cpl}
|
||||||
|
"WPFPanelTimedate" {timedate.cpl}
|
||||||
|
"WPFPanelUser" {control userpasswords2}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 3
|
|
||||||
title: "Legacy Windows Panels"
|
title: "Legacy Windows Panels"
|
||||||
|
weight: 3
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< autolinks section="dev/features/legacy-windows-panels" >}}
|
{{< autolinks section="dev/features/legacy-windows-panels" >}}
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
# Region
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelControl" {control}
|
|
||||||
"WPFPanelComputer" {compmgmt.msc}
|
|
||||||
"WPFPanelNetwork" {ncpa.cpl}
|
|
||||||
"WPFPanelPower" {powercfg.cpl}
|
|
||||||
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
||||||
"WPFPanelRegion" {intl.cpl}
|
|
||||||
"WPFPanelRestore" {rstrui.exe}
|
|
||||||
"WPFPanelSound" {mmsys.cpl}
|
|
||||||
"WPFPanelSystem" {sysdm.cpl}
|
|
||||||
"WPFPanelTimedate" {timedate.cpl}
|
|
||||||
"WPFPanelUser" {control userpasswords2}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# Sound Settings
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelControl" {control}
|
|
||||||
"WPFPanelComputer" {compmgmt.msc}
|
|
||||||
"WPFPanelNetwork" {ncpa.cpl}
|
|
||||||
"WPFPanelPower" {powercfg.cpl}
|
|
||||||
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
||||||
"WPFPanelRegion" {intl.cpl}
|
|
||||||
"WPFPanelRestore" {rstrui.exe}
|
|
||||||
"WPFPanelSound" {mmsys.cpl}
|
|
||||||
"WPFPanelSystem" {sysdm.cpl}
|
|
||||||
"WPFPanelTimedate" {timedate.cpl}
|
|
||||||
"WPFPanelUser" {control userpasswords2}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# System Properties
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelControl" {control}
|
|
||||||
"WPFPanelComputer" {compmgmt.msc}
|
|
||||||
"WPFPanelNetwork" {ncpa.cpl}
|
|
||||||
"WPFPanelPower" {powercfg.cpl}
|
|
||||||
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
||||||
"WPFPanelRegion" {intl.cpl}
|
|
||||||
"WPFPanelRestore" {rstrui.exe}
|
|
||||||
"WPFPanelSound" {mmsys.cpl}
|
|
||||||
"WPFPanelSystem" {sysdm.cpl}
|
|
||||||
"WPFPanelTimedate" {timedate.cpl}
|
|
||||||
"WPFPanelUser" {control userpasswords2}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# User Accounts
|
|
||||||
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFControlPanel {
|
|
||||||
<#
|
|
||||||
|
|
||||||
.SYNOPSIS
|
|
||||||
Opens the requested legacy panel
|
|
||||||
|
|
||||||
.PARAMETER Panel
|
|
||||||
The panel to open
|
|
||||||
|
|
||||||
#>
|
|
||||||
param($Panel)
|
|
||||||
|
|
||||||
switch ($Panel) {
|
|
||||||
"WPFPanelControl" {control}
|
|
||||||
"WPFPanelComputer" {compmgmt.msc}
|
|
||||||
"WPFPanelNetwork" {ncpa.cpl}
|
|
||||||
"WPFPanelPower" {powercfg.cpl}
|
|
||||||
"WPFPanelPrinter" {Start-Process "shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}"}
|
|
||||||
"WPFPanelRegion" {intl.cpl}
|
|
||||||
"WPFPanelRestore" {rstrui.exe}
|
|
||||||
"WPFPanelSound" {mmsys.cpl}
|
|
||||||
"WPFPanelSystem" {sysdm.cpl}
|
|
||||||
"WPFPanelTimedate" {timedate.cpl}
|
|
||||||
"WPFPanelUser" {control userpasswords2}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 1
|
|
||||||
title: "Features"
|
title: "Features"
|
||||||
|
weight: 1
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Bing Search in Start Menu
|
---
|
||||||
|
title: "Bing Search in Start Menu"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a101_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,29 +1,31 @@
|
|||||||
# Dark Theme for Windows
|
---
|
||||||
|
title: "Dark Theme for Windows"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a100_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
@@ -45,6 +47,7 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,34 +1,37 @@
|
|||||||
# Detailed BSoD
|
---
|
||||||
|
title: "Detailed BSoD"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a205_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Widgets Button in Taskbar
|
---
|
||||||
|
title: "Cross-Device Resume"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2667}
|
||||||
"WPFToggleTaskbarWidgets": {
|
"WPFToggleDisableCrossDeviceResume": {
|
||||||
"Content": "Widgets Button in Taskbar",
|
"Content": "Cross-Device Resume",
|
||||||
"Description": "If Enabled then Widgets Button in Taskbar will be shown.",
|
"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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a204_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\CrossDeviceResume\\Configuration",
|
||||||
"Name": "TaskbarDa",
|
"Name": "IsResumeAllowed",
|
||||||
"Value": "1",
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
"OriginalValue": "0",
|
"OriginalValue": "0",
|
||||||
"DefaultState": "true",
|
"DefaultState": "true"
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,21 +1,23 @@
|
|||||||
# Show Hidden Files
|
---
|
||||||
|
title: "Show Hidden Files"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a200_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
@@ -31,6 +33,7 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: "Remove Settings Home Page"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2292}
|
||||||
|
"WPFToggleHideSettingsHome": {
|
||||||
|
"Content": "Remove Settings Home Page",
|
||||||
|
"Description": "Removes the Home page in the Windows Settings app.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||||
|
"Name": "SettingsPageVisibility",
|
||||||
|
"Value": "hide:home",
|
||||||
|
"Type": "String",
|
||||||
|
"OriginalValue": "show:home",
|
||||||
|
"DefaultState": "false"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,42 +1,45 @@
|
|||||||
# Mouse Acceleration
|
---
|
||||||
|
title: "Mouse Acceleration"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a109_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: "Disable Multiplane Overlay"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2404}
|
||||||
|
"WPFToggleMultiplaneOverlay": {
|
||||||
|
"Content": "Disable Multiplane Overlay",
|
||||||
|
"Description": "Disable the Multiplane Overlay which can sometimes cause issues with Graphics Cards.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm",
|
||||||
|
"Name": "OverlayTestMode",
|
||||||
|
"Value": "5",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>",
|
||||||
|
"DefaultState": "false"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
53
docs/content/dev/tweaks/Customize-Preferences/NewOutlook.md
Normal file
53
docs/content/dev/tweaks/Customize-Preferences/NewOutlook.md
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
---
|
||||||
|
title: "New Outlook"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2362}
|
||||||
|
"WPFToggleNewOutlook": {
|
||||||
|
"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.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||||
|
"Name": "UseNewOutlook",
|
||||||
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "0",
|
||||||
|
"DefaultState": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||||
|
"Name": "HideNewOutlookToggle",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1",
|
||||||
|
"DefaultState": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||||
|
"Name": "DoNewOutlookAutoMigration",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "0",
|
||||||
|
"DefaultState": "false"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||||
|
"Name": "NewOutlookMigrationUserSetting",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>",
|
||||||
|
"DefaultState": "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,34 +1,37 @@
|
|||||||
# NumLock on Startup
|
---
|
||||||
|
title: "NumLock on Startup"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a102_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Snap Window
|
---
|
||||||
|
title: "S3 Sleep"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2563}
|
||||||
"WPFToggleSnapWindow": {
|
"WPFToggleS3Sleep": {
|
||||||
"Content": "Snap Window",
|
"Content": "S3 Sleep",
|
||||||
"Description": "If enabled you can align windows by dragging them. | Relogin Required",
|
"Description": "Toggles between Modern Standby and S3 sleep.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a106_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power",
|
||||||
"Name": "WindowArrangementActive",
|
"Name": "PlatformAoAcOverride",
|
||||||
"Value": "1",
|
"Value": "0",
|
||||||
"OriginalValue": "0",
|
"Type": "DWord",
|
||||||
"DefaultState": "true",
|
"OriginalValue": "<RemoveEntry>",
|
||||||
"Type": "String"
|
"DefaultState": "false"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,21 +1,23 @@
|
|||||||
# Show File Extensions
|
---
|
||||||
|
title: "Show File Extensions"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a201_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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": [
|
||||||
@@ -31,6 +33,7 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
# Snap Assist Flyout
|
|
||||||
|
|
||||||
```json
|
|
||||||
"WPFToggleSnapFlyout": {
|
|
||||||
"Content": "Snap Assist Flyout",
|
|
||||||
"Description": "If disabled then Snap preview is disabled when maximize button is hovered.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a107_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
|
||||||
"Name": "EnableSnapAssistFlyout",
|
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"DefaultState": "true",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
||||||
"
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
## Registry Changes
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
# Snap Assist Suggestion
|
|
||||||
|
|
||||||
```json
|
|
||||||
"WPFToggleSnapSuggestion": {
|
|
||||||
"Content": "Snap Assist Suggestion",
|
|
||||||
"Description": "If enabled then you will get suggestions to snap other applications in the left over spaces.",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a108_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
|
||||||
"Name": "SnapAssist",
|
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"DefaultState": "true",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"
|
|
||||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
|
||||||
"
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
## Registry Changes
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
---
|
||||||
|
title: "Recommendations in Start Menu"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2248}
|
||||||
|
"WPFToggleStartMenuRecommendations": {
|
||||||
|
"Content": "Recommendations in Start Menu",
|
||||||
|
"Description": "If disabled then you will not see recommendations in the Start Menu.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start",
|
||||||
|
"Name": "HideRecommendedSection",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1",
|
||||||
|
"DefaultState": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education",
|
||||||
|
"Name": "IsEducationEnvironment",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1",
|
||||||
|
"DefaultState": "true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer",
|
||||||
|
"Name": "HideRecommendedSection",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "1",
|
||||||
|
"DefaultState": "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
|
"
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,26 +1,29 @@
|
|||||||
# Sticky Keys
|
---
|
||||||
|
title: "Sticky Keys"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a110_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Task View Button in Taskbar
|
---
|
||||||
|
title: "Task View Button in Taskbar"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a203_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,34 @@
|
|||||||
# Center Taskbar Items
|
---
|
||||||
|
title: "Center Taskbar Items"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a204_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Search Button in Taskbar
|
---
|
||||||
|
title: "Search Button in Taskbar"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a202_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
# Verbose Messages During Logon
|
---
|
||||||
|
title: "Verbose Messages During Logon"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Customize Preferences",
|
"category": "Customize Preferences",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a103_",
|
|
||||||
"Type": "Toggle",
|
"Type": "Toggle",
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 3
|
|
||||||
title: "Customize Preferences"
|
title: "Customize Preferences"
|
||||||
|
weight: 3
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
### Customize Preferences
|
### Customize Preferences
|
||||||
|
|||||||
@@ -1,38 +1,41 @@
|
|||||||
# Disable Activity History
|
---
|
||||||
|
title: "Disable Activity History"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2}
|
||||||
"WPFTweaksActivity": {
|
"WPFTweaksActivity": {
|
||||||
"Content": "Disable Activity History",
|
"Content": "Disable Activity History",
|
||||||
"Description": "This erases recent docs, clipboard, and run history.",
|
"Description": "This erases recent docs, clipboard, and run history.",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a005_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,24 +1,27 @@
|
|||||||
# Disable ConsumerFeatures
|
---
|
||||||
|
title: "Disable ConsumerFeatures"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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)",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a003_",
|
|
||||||
"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>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
# Delete Temporary Files
|
---
|
||||||
|
title: "Delete Temporary Files"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a002_",
|
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
Remove-Item -Path \"$Env:Temp\\*\" -Recurse -Force
|
Remove-Item -Path \"$Env:Temp\\*\" -Recurse -Force
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
---
|
||||||
|
title: "Disable Explorer Automatic Folder Discovery"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2612}
|
||||||
|
"WPFTweaksDisableExplorerAutoDiscovery": {
|
||||||
|
"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.",
|
||||||
|
"category": "Essential Tweaks",
|
||||||
|
"panel": "1",
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
# Previously detected folders
|
||||||
|
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
||||||
|
|
||||||
|
# Folder types lookup table
|
||||||
|
$bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"
|
||||||
|
|
||||||
|
# Flush Explorer view database
|
||||||
|
Remove-Item -Path $bags -Recurse -Force
|
||||||
|
Write-Host \"Removed $bags\"
|
||||||
|
|
||||||
|
Remove-Item -Path $bagMRU -Recurse -Force
|
||||||
|
Write-Host \"Removed $bagMRU\"
|
||||||
|
|
||||||
|
# Every folder
|
||||||
|
$allFolders = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\"
|
||||||
|
|
||||||
|
if (!(Test-Path $allFolders)) {
|
||||||
|
New-Item -Path $allFolders -Force
|
||||||
|
Write-Host \"Created $allFolders\"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Generic view
|
||||||
|
New-ItemProperty -Path $allFolders -Name \"FolderType\" -Value \"NotSpecified\" -PropertyType String -Force
|
||||||
|
Write-Host \"Set FolderType to NotSpecified\"
|
||||||
|
|
||||||
|
Write-Host Please sign out and back in, or restart your computer to apply the changes!
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
# Previously detected folders
|
||||||
|
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
||||||
|
|
||||||
|
# Folder types lookup table
|
||||||
|
$bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"
|
||||||
|
|
||||||
|
# Flush Explorer view database
|
||||||
|
Remove-Item -Path $bags -Recurse -Force
|
||||||
|
Write-Host \"Removed $bags\"
|
||||||
|
|
||||||
|
Remove-Item -Path $bagMRU -Recurse -Force
|
||||||
|
Write-Host \"Removed $bagMRU\"
|
||||||
|
|
||||||
|
Write-Host Please sign out and back in, or restart your computer to apply the changes!
|
||||||
|
"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -1,12 +1,14 @@
|
|||||||
# Run Disk Cleanup
|
---
|
||||||
|
title: "Run Disk Cleanup"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a009_",
|
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
cleanmgr.exe /d C: /VERYLOWDISK
|
cleanmgr.exe /d C: /VERYLOWDISK
|
||||||
|
|||||||
@@ -1,24 +1,27 @@
|
|||||||
# Enable End Task With Right Click
|
---
|
||||||
|
title: "Enable End Task With Right Click"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a006_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,52 +0,0 @@
|
|||||||
# Disable GameDVR
|
|
||||||
|
|
||||||
```json
|
|
||||||
"WPFTweaksDVR": {
|
|
||||||
"Content": "Disable GameDVR",
|
|
||||||
"Description": "GameDVR is a Windows App that is a dependency for some Store Games. I've never met someone that likes it, but it's there for the XBOX crowd.",
|
|
||||||
"category": "Essential Tweaks",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a005_",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\System\\GameConfigStore",
|
|
||||||
"Name": "GameDVR_FSEBehavior",
|
|
||||||
"Value": "2",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\System\\GameConfigStore",
|
|
||||||
"Name": "GameDVR_Enabled",
|
|
||||||
"Value": "0",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\System\\GameConfigStore",
|
|
||||||
"Name": "GameDVR_HonorUserFSEBehaviorMode",
|
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\System\\GameConfigStore",
|
|
||||||
"Name": "GameDVR_EFSEFeatureFlags",
|
|
||||||
"Value": "0",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\GameDVR",
|
|
||||||
"Name": "AllowGameDVR",
|
|
||||||
"Value": "0",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
## Registry Changes
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
|
||||||
@@ -1,25 +1,27 @@
|
|||||||
# Disable Hibernation
|
---
|
||||||
|
title: "Disable Hibernation"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
|
||||||
"WPFTweaksHiber": {
|
"WPFTweaksHiber": {
|
||||||
"Content": "Disable Hibernation",
|
"Content": "Disable Hibernation",
|
||||||
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used",
|
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a005_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -30,8 +32,9 @@
|
|||||||
"powercfg.exe /hibernate on"
|
"powercfg.exe /hibernate on"
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# Set Hibernation as default (good for laptops)
|
|
||||||
|
|
||||||
```json
|
|
||||||
"WPFTweaksLaptopHibernation": {
|
|
||||||
"Content": "Set Hibernation as default (good for laptops)",
|
|
||||||
"Description": "Most modern laptops have connected standby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399",
|
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a030_",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "Attributes",
|
|
||||||
"Value": "2",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\abfc2519-3608-4c2a-94ea-171b0ed546ab\\94ac6d29-73ce-41a6-809f-6363ba21b47e",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "Attributes ",
|
|
||||||
"Value": "2",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"InvokeScript": [
|
|
||||||
"
|
|
||||||
Write-Host \"Turn on Hibernation\"
|
|
||||||
powercfg.exe /hibernate on
|
|
||||||
|
|
||||||
# Set hibernation as the default action
|
|
||||||
powercfg.exe change standby-timeout-ac 60
|
|
||||||
powercfg.exe change standby-timeout-dc 60
|
|
||||||
powercfg.exe change monitor-timeout-ac 10
|
|
||||||
powercfg.exe change monitor-timeout-dc 1
|
|
||||||
"
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"
|
|
||||||
Write-Host \"Turn off Hibernation\"
|
|
||||||
powercfg.exe /hibernate off
|
|
||||||
|
|
||||||
# Set standby to default values
|
|
||||||
powercfg.exe change standby-timeout-ac 15
|
|
||||||
powercfg.exe change standby-timeout-dc 15
|
|
||||||
powercfg.exe change monitor-timeout-ac 15
|
|
||||||
powercfg.exe change monitor-timeout-dc 15
|
|
||||||
"
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
## Registry Changes
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
|
||||||
@@ -1,45 +1,48 @@
|
|||||||
# Disable Location Tracking
|
---
|
||||||
|
title: "Disable Location Tracking"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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!",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a005_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
## Registry Changes
|
## Registry Changes
|
||||||
|
|
||||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
# Disable Powershell 7 Telemetry
|
---
|
||||||
|
title: "Disable Powershell 7 Telemetry"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a005_",
|
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
|
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,19 +1,21 @@
|
|||||||
# Create Restore Point
|
---
|
||||||
|
title: "Create Restore Point"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Checked": "False",
|
"Checked": "False",
|
||||||
"Order": "a001_",
|
|
||||||
"registry": [
|
"registry": [
|
||||||
{
|
{
|
||||||
"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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -28,3 +30,9 @@
|
|||||||
"
|
"
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
# Set Services to Manual
|
---
|
||||||
|
title: "Set Services to Manual"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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.",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a014_",
|
|
||||||
"service": [
|
"service": [
|
||||||
{
|
{
|
||||||
"Name": "ALG",
|
"Name": "ALG",
|
||||||
@@ -520,7 +522,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "TermService",
|
"Name": "TermService",
|
||||||
"StartupType": "Automatic",
|
"StartupType": "Manual",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Manual"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -580,7 +582,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "VaultSvc",
|
"Name": "VaultSvc",
|
||||||
"StartupType": "Automatic",
|
"StartupType": "Manual",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Manual"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -613,6 +615,11 @@
|
|||||||
"StartupType": "Manual",
|
"StartupType": "Manual",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Manual"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "WSAIFabricSvc",
|
||||||
|
"StartupType": "Manual",
|
||||||
|
"OriginalType": "Automatic"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "WSearch",
|
"Name": "WSearch",
|
||||||
"StartupType": "AutomaticDelayedStart",
|
"StartupType": "AutomaticDelayedStart",
|
||||||
@@ -961,7 +968,7 @@
|
|||||||
],
|
],
|
||||||
```
|
```
|
||||||
#Function
|
#Function
|
||||||
```powershell
|
```powershell {filename="functions/private/Set-WinUtilService.ps1",linenos=inline,linenostart=1}
|
||||||
Function Set-WinUtilService {
|
Function Set-WinUtilService {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
|
|||||||
@@ -1,315 +1,133 @@
|
|||||||
# Disable Telemetry
|
---
|
||||||
|
title: "Disable Telemetry"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```json
|
```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",
|
||||||
"category": "Essential Tweaks",
|
"category": "Essential Tweaks",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a003_",
|
|
||||||
"ScheduledTask": [
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Autochk\\Proxy",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\DiskDiagnostic\\Microsoft-Windows-DiskDiagnosticDataCollector",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClient",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClientOnScenarioDownload",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Windows Error Reporting\\QueueReporting",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Application Experience\\MareBackup",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Application Experience\\StartupAppTask",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "Microsoft\\Windows\\Application Experience\\PcaPatchDbTask",
|
|
||||||
"State": "Disabled",
|
|
||||||
"OriginalState": "Enabled"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"registry": [
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
|
||||||
|
"Name": "Enabled",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
|
||||||
|
"Name": "TailoredExperiencesWithDiagnosticDataEnabled",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
|
||||||
|
"Name": "HasAccepted",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
|
||||||
|
"Name": "Enabled",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||||
|
"Name": "RestrictImplicitInkCollection",
|
||||||
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||||
|
"Name": "RestrictImplicitTextCollection",
|
||||||
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
|
||||||
|
"Name": "HarvestContacts",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
|
||||||
|
"Name": "AcceptedPrivacyPolicy",
|
||||||
|
"Value": "0",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "AllowTelemetry",
|
"Name": "AllowTelemetry",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||||
"OriginalValue": "<RemoveEntry>",
|
"Name": "Start_TrackProgs",
|
||||||
"Name": "AllowTelemetry",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||||
"OriginalValue": "1",
|
"Name": "PublishUserActivities",
|
||||||
"Name": "ContentDeliveryAllowed",
|
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
"Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "OemPreInstalledAppsEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "PreInstalledAppsEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "PreInstalledAppsEverEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SilentInstalledAppsEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SubscribedContent-338387Enabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SubscribedContent-338388Enabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SubscribedContent-338389Enabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SubscribedContent-353698Enabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SystemPaneSuggestionsEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "NumberOfSIUFInPeriod",
|
"Name": "NumberOfSIUFInPeriod",
|
||||||
"Value": "0",
|
"Value": "0",
|
||||||
"Type": "DWord"
|
"Type": "DWord",
|
||||||
},
|
"OriginalValue": "<RemoveEntry>"
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "DoNotShowFeedbackNotifications",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "DisableTailoredExperiencesWithDiagnosticData",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "DisabledByGroupPolicy",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "Disabled",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeliveryOptimization\\Config",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "DODownloadMode",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "DODownloadMode",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "fAllowToGetHelp",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\OperationStatusManager",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "EnthusiastMode",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ShowTaskViewButton",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\People",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "PeopleBand",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "LaunchTo",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "LongPathsEnabled",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "SystemResponsiveness",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "NetworkThrottlingIndex",
|
|
||||||
"Value": "4294967295",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "AutoEndTasks",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"Name": "ClearPageFileAtShutdown",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\ControlSet001\\Services\\Ndu",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "Start",
|
|
||||||
"Value": "2",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters",
|
|
||||||
"OriginalValue": "20",
|
|
||||||
"Name": "IRPStackSize",
|
|
||||||
"Value": "30",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "EnableFeeds",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ShellFeedsTaskbarViewMode",
|
|
||||||
"Value": "2",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
|
||||||
"OriginalValue": "<RemoveEntry>",
|
|
||||||
"Name": "HideSCAMeetNow",
|
|
||||||
"Value": "1",
|
|
||||||
"Type": "DWord"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement",
|
|
||||||
"OriginalValue": "1",
|
|
||||||
"Name": "ScoobeSystemSettingEnabled",
|
|
||||||
"Value": "0",
|
|
||||||
"Type": "DWord"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
# Disable Defender Auto Sample Submission
|
# Disable Defender Auto Sample Submission
|
||||||
Set-MpPreference -SubmitSamplesConsent 2
|
Set-MpPreference -SubmitSamplesConsent 2
|
||||||
|
|
||||||
|
# Disable (Connected User Experiences and Telemetry) Service
|
||||||
|
Set-Service -Name diagtrack -StartupType Disabled
|
||||||
|
|
||||||
|
# Disable (Windows Error Reporting Manager) Service
|
||||||
|
Set-Service -Name wermgr -StartupType Disabled
|
||||||
|
|
||||||
|
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
||||||
|
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
||||||
|
|
||||||
|
Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
# Enable Defender Auto Sample Submission
|
||||||
|
Set-MpPreference -SubmitSamplesConsent 1
|
||||||
|
|
||||||
|
# Enable (Connected User Experiences and Telemetry) Service
|
||||||
|
Set-Service -Name diagtrack -StartupType Automatic
|
||||||
|
|
||||||
|
# Enable (Windows Error Reporting Manager) Service
|
||||||
|
Set-Service -Name wermgr -StartupType Automatic
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
|
|||||||
27
docs/content/dev/tweaks/Essential-Tweaks/WPBT.md
Normal file
27
docs/content/dev/tweaks/Essential-Tweaks/WPBT.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: "Disable Windows Platform Binary Table (WPBT)"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1893}
|
||||||
|
"WPFTweaksWPBT": {
|
||||||
|
"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.",
|
||||||
|
"category": "Essential Tweaks",
|
||||||
|
"panel": "1",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager",
|
||||||
|
"Name": "DisableWpbtExecution",
|
||||||
|
"Value": "1",
|
||||||
|
"Type": "DWord",
|
||||||
|
"OriginalValue": "<RemoveEntry>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
|
## Registry Changes
|
||||||
|
|
||||||
|
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||||
|
|
||||||
|
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||||
34
docs/content/dev/tweaks/Essential-Tweaks/Widget.md
Normal file
34
docs/content/dev/tweaks/Essential-Tweaks/Widget.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
title: "Remove Widgets"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
|
||||||
|
"WPFTweaksWidget": {
|
||||||
|
"Content": "Remove Widgets",
|
||||||
|
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
|
||||||
|
"category": "Essential Tweaks",
|
||||||
|
"panel": "1",
|
||||||
|
"InvokeScript": [
|
||||||
|
"
|
||||||
|
# Sometimes if you dont stop the Widgets process the removal may fail
|
||||||
|
|
||||||
|
Stop-Process -Name Widgets
|
||||||
|
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
||||||
|
Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers
|
||||||
|
|
||||||
|
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||||
|
Write-Host \"Removed widgets\"
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
Write-Host \"Restoring widgets AppxPackages\"
|
||||||
|
|
||||||
|
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\"
|
||||||
|
"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 1
|
|
||||||
title: "Essential Tweaks"
|
title: "Essential Tweaks"
|
||||||
|
weight: 1
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
### Essential Tweaks
|
### Essential Tweaks
|
||||||
|
|||||||
91
docs/content/dev/tweaks/Performance-Plans/AddUltPerf.md
Normal file
91
docs/content/dev/tweaks/Performance-Plans/AddUltPerf.md
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
---
|
||||||
|
title: "Add and Activate Ultimate Performance Profile"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||||
|
Function Invoke-WPFUltimatePerformance {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Enables or disables the Ultimate Performance power scheme based on its GUID.
|
||||||
|
|
||||||
|
.PARAMETER State
|
||||||
|
Specifies whether to "Enable" or "Disable" the Ultimate Performance power scheme.
|
||||||
|
|
||||||
|
#>
|
||||||
|
param(
|
||||||
|
[Parameter(Mandatory = $true)]
|
||||||
|
[ValidateSet("Enable", "Disable")]
|
||||||
|
[string]$State
|
||||||
|
)
|
||||||
|
|
||||||
|
try {
|
||||||
|
# GUID of the Ultimate Performance power plan
|
||||||
|
$ultimateGUID = "e9a42b02-d5df-448d-aa00-03f14749eb61"
|
||||||
|
|
||||||
|
switch ($State) {
|
||||||
|
"Enable" {
|
||||||
|
# Duplicate the Ultimate Performance power plan using its GUID
|
||||||
|
$duplicateOutput = powercfg /duplicatescheme $ultimateGUID
|
||||||
|
|
||||||
|
$guid = $null
|
||||||
|
$nameFromFile = "ChrisTitus - Ultimate Power Plan"
|
||||||
|
$description = "Ultimate Power Plan, added via WinUtils"
|
||||||
|
|
||||||
|
# Extract the new GUID from the duplicateOutput
|
||||||
|
foreach ($line in $duplicateOutput) {
|
||||||
|
if ($line -match "\b[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\b") {
|
||||||
|
$guid = $matches[0] # $matches[0] will contain the first match, which is the GUID
|
||||||
|
Write-Output "GUID: $guid has been extracted and stored in the variable."
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (-not $guid) {
|
||||||
|
Write-Output "No GUID found in the duplicateOutput. Check the output format."
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Change the name of the power plan and set its description
|
||||||
|
$changeNameOutput = powercfg /changename $guid "$nameFromFile" "$description"
|
||||||
|
Write-Output "The power plan name and description have been changed. Output:"
|
||||||
|
Write-Output $changeNameOutput
|
||||||
|
|
||||||
|
# Set the duplicated Ultimate Performance plan as active
|
||||||
|
$setActiveOutput = powercfg /setactive $guid
|
||||||
|
Write-Output "The power plan has been set as active. Output:"
|
||||||
|
Write-Output $setActiveOutput
|
||||||
|
|
||||||
|
Write-Host "> Ultimate Performance plan installed and set as active."
|
||||||
|
}
|
||||||
|
"Disable" {
|
||||||
|
# Check if the Ultimate Performance plan is installed by GUID
|
||||||
|
$installedPlan = powercfg -list | Select-String -Pattern "ChrisTitus - Ultimate Power Plan"
|
||||||
|
|
||||||
|
if ($installedPlan) {
|
||||||
|
# Extract the GUID of the installed Ultimate Performance plan
|
||||||
|
$ultimatePlanGUID = $installedPlan.Line.Split()[3]
|
||||||
|
|
||||||
|
# Set a different power plan as active before deleting the Ultimate Performance plan
|
||||||
|
$balancedPlanGUID = "381b4222-f694-41f0-9685-ff5bb260df2e"
|
||||||
|
powercfg -setactive $balancedPlanGUID
|
||||||
|
|
||||||
|
# Delete the Ultimate Performance plan by GUID
|
||||||
|
powercfg -delete $ultimatePlanGUID
|
||||||
|
|
||||||
|
Write-Host "Ultimate Performance plan has been uninstalled."
|
||||||
|
Write-Host "> Balanced plan is now active."
|
||||||
|
} else {
|
||||||
|
Write-Host "Ultimate Performance plan is not installed."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
default {
|
||||||
|
Write-Host "Invalid state. Please use 'Enable' or 'Disable'."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
Write-Error "Error occurred: $_"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
# Remove Ultimate Performance Profile
|
---
|
||||||
|
title: "Remove Ultimate Performance Profile"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
```powershell
|
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||||
Function Invoke-WPFUltimatePerformance {
|
Function Invoke-WPFUltimatePerformance {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user