mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 06:38:31 +00:00
Compare commits
155 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4dd305084 | ||
|
|
01c808ab42 | ||
|
|
d2c9bc8751 | ||
|
|
7f105a58bb | ||
|
|
838b0c1a1b | ||
|
|
e0118aabe5 | ||
|
|
9535302e6d | ||
|
|
1eba305fab | ||
|
|
74f990028f | ||
|
|
e94742a77d | ||
|
|
fb6ef49a83 | ||
|
|
ab00ff2710 | ||
|
|
50d8a8656b | ||
|
|
1cd918cbe1 | ||
|
|
bc2f6ce8f7 | ||
|
|
c1fe9c6b88 | ||
|
|
d0899b4f29 | ||
|
|
3c8459f31f | ||
|
|
0c38d420ee | ||
|
|
e63d75e398 | ||
|
|
01d24bdf31 | ||
|
|
12abc7f281 | ||
|
|
10906e037e | ||
|
|
b43a712e9b | ||
|
|
ed74dc51b5 | ||
|
|
6b83f1da51 | ||
|
|
24c6706ab2 | ||
|
|
f4703284ef | ||
|
|
0028e439b5 | ||
|
|
37529a5659 | ||
|
|
2dbf3d71c0 | ||
|
|
ef226ac272 | ||
|
|
1f7f653568 | ||
|
|
9bd5a2541d | ||
|
|
c2dbcda2d5 | ||
|
|
0bd333dd47 | ||
|
|
6188447348 | ||
|
|
edfed488e8 | ||
|
|
8d1f7d509a | ||
|
|
0a642be3b4 | ||
|
|
d3f9584892 | ||
|
|
a05034381d | ||
|
|
b1d4eb022c | ||
|
|
3dbd993cb4 | ||
|
|
ec17c085df | ||
|
|
7da4e78d4b | ||
|
|
1943b30ec9 | ||
|
|
6df8ae900c | ||
|
|
a16f4b7d07 | ||
|
|
adaab0ab36 | ||
|
|
c270d25460 | ||
|
|
2bb007b6ff | ||
|
|
34f29dd04c | ||
|
|
ccb43bfe91 | ||
|
|
1d401b2e02 | ||
|
|
d8f6a8c50b | ||
|
|
3da0221fb4 | ||
|
|
a30664002b | ||
|
|
5e78391518 | ||
|
|
2d2497408f | ||
|
|
d2dbf03572 | ||
|
|
88c68fd411 | ||
|
|
e82aaf03f0 | ||
|
|
9a77fed09b | ||
|
|
336ac6fb8f | ||
|
|
72ad35bbd8 | ||
|
|
df17ca4695 | ||
|
|
7f46e8d60d | ||
|
|
9769cafa7d | ||
|
|
42dfc8c82b | ||
|
|
d13295bdd8 | ||
|
|
5fc566b46f | ||
|
|
b493737982 | ||
|
|
7ceb303f00 | ||
|
|
30c9812d37 | ||
|
|
ddc10b0935 | ||
|
|
a2e2395ce9 | ||
|
|
ce5e407a76 | ||
|
|
3fb5c04693 | ||
|
|
58dacd5b0b | ||
|
|
14ad9f7fea | ||
|
|
52afab2252 | ||
|
|
2ba3a5d324 | ||
|
|
f854d14117 | ||
|
|
19204534a2 | ||
|
|
a9d9b148db | ||
|
|
d5d0bf25f0 | ||
|
|
da3fd87f9a | ||
|
|
9e8cefc973 | ||
|
|
a532e9ec9d | ||
|
|
844979fee7 | ||
|
|
78302934ef | ||
|
|
349889b194 | ||
|
|
c619f3a830 | ||
|
|
d005a225a2 | ||
|
|
e79e946e76 | ||
|
|
3b957e1a77 | ||
|
|
d078d67b1d | ||
|
|
191fe95572 | ||
|
|
d10c9413ac | ||
|
|
e93753e5c9 | ||
|
|
5eec99df1c | ||
|
|
7e2ba41b8b | ||
|
|
d3dc3e7976 | ||
|
|
5a4d822710 | ||
|
|
2625478ef3 | ||
|
|
956a544c2e | ||
|
|
50dbf5bd05 | ||
|
|
338c3e7e57 | ||
|
|
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 |
18
.github/CONTRIBUTING.md
vendored
18
.github/CONTRIBUTING.md
vendored
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
||||||
|
|
||||||
* If you're doing code changes, then you can submit a PR to `main` branch, but I am very selective about these.
|
* If you're doing code changes, then you can submit a PR to the `main` branch, but I am very selective about these.
|
||||||
|
|
||||||
!!! warning "Important"
|
!!! warning "Important"
|
||||||
|
|
||||||
@@ -68,9 +68,9 @@ graph TD
|
|||||||
### Fork the Repo
|
### Fork the Repo
|
||||||
* Fork the WinUtil Repository [here](https://github.com/ChrisTitusTech/winutil) to create a copy that will be available in your repository list.
|
* Fork the WinUtil Repository [here](https://github.com/ChrisTitusTech/winutil) to create a copy that will be available in your repository list.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Clone the Fork
|
### Clone the Fork
|
||||||
!!! tip
|
!!! tip
|
||||||
@@ -87,31 +87,31 @@ graph TD
|
|||||||
|
|
||||||
### Testing your changes
|
### Testing your changes
|
||||||
|
|
||||||
* To test to see if your changes work as intended run following commands in a powershell terminal as admin:
|
* To test to see if your changes work as intended, run the following commands in a PowerShell terminal as admin:
|
||||||
|
|
||||||
* Change the directory where you are running the commands to the forked project.
|
* Change the directory where you are running the commands to the forked project.
|
||||||
* `cd {path to the folder with the compile.ps1}`
|
* `cd {path to the folder with the compile.ps1}`
|
||||||
* Run the following command to compile and run WinUtil:
|
* Run the following command to compile and run WinUtil:
|
||||||
* `.\Compile.ps1 -run`
|
* `.\Compile.ps1 -run`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
|
* After seeing that your changes work properly, feel free to commit the changes to the repository and make a PR. For help on that, follow the documentation below.
|
||||||
|
|
||||||
### Committing the changes
|
### Committing the changes
|
||||||
* Before committing your changes, please discard changes made to the `winutil.ps1` file, like the following:
|
* Before committing your changes, please discard changes made to the `winutil.ps1` file, like the following:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Now, commit your changes once you are happy with the result.
|
* Now, commit your changes once you are happy with the result.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
* Push the changes to upload them to your fork on github.com.
|
* Push the changes to upload them to your fork on github.com.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Making a PR
|
### Making a PR
|
||||||
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is not a WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is no WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
||||||
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
||||||
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
|
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
|
||||||
|
|||||||
52
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
52
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@@ -6,57 +6,31 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
# 🐞 **Issue Report**
|
- Remember, we only support Windows 11. If you encounter problems on Windows 10, please consider upgrading to Windows 11.
|
||||||
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
- For general questions, join our Community-driven [Discord Server](https://discord.gg/RUbZUZyByQ).
|
||||||
|
|
||||||
## ⚠️ **IMPORTANT**
|
- type: dropdown
|
||||||
- 🛠️ **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).
|
|
||||||
|
|
||||||
- type: checkboxes
|
|
||||||
attributes:
|
|
||||||
label: ⚙️ Issue Checklist
|
|
||||||
options:
|
|
||||||
- label: I have read the guidelines.
|
|
||||||
- label: I checked for duplicate issues.
|
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this issue.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: input
|
|
||||||
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., Tweaks, etc."
|
options:
|
||||||
|
- Program Install Tab
|
||||||
|
- Tweaks Tab
|
||||||
|
- Config Tab
|
||||||
|
- Updates Tab
|
||||||
|
- Win11 Creator Tab
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: issue_description
|
id: issue_description
|
||||||
attributes:
|
attributes:
|
||||||
label: 📝 Provide a clear and concise description of the issue.
|
label: Provide a clear and concise description of the issue.
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: steps_to_reproduce
|
|
||||||
attributes:
|
|
||||||
label: 🔄 Steps to reproduce the issue.
|
|
||||||
placeholder: "e.g., Step 1: ..., Step 2: ..."
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: error_output
|
id: error_output
|
||||||
attributes:
|
attributes:
|
||||||
label: ❌ Paste the full error output (if available).
|
label: Paste the full error output (if available) or Screenshot.
|
||||||
placeholder: "Include any relevant logs or error messages."
|
placeholder: "Include any relevant logs or error messages."
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context.
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
37
.github/ISSUE_TEMPLATE/feature_request.yaml
vendored
37
.github/ISSUE_TEMPLATE/feature_request.yaml
vendored
@@ -13,45 +13,10 @@ body:
|
|||||||
- 🛠️ **Supported environments only:** We only support Windows 11.
|
- 🛠️ **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
|
|
||||||
attributes:
|
|
||||||
label: ⚙️ Issue Checklist
|
|
||||||
options:
|
|
||||||
- label: I have read the guidelines.
|
|
||||||
- label: I checked for duplicate issues.
|
|
||||||
- label: I searched for existing discussions.
|
|
||||||
- label: I checked for an existing pull request that addresses this request.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: problem_statement
|
|
||||||
attributes:
|
|
||||||
label: ❓ Is your feature request related to a problem?
|
|
||||||
placeholder: "Provide a clear and concise description of the issue you're facing. Example: 'I'm always frustrated when [...]'"
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: proposed_solution
|
id: proposed_solution
|
||||||
attributes:
|
attributes:
|
||||||
label: 💡 Describe the solution you'd like
|
label: 💡 Describe the solution you'd like
|
||||||
placeholder: "Provide a clear and concise description of what you want to happen."
|
placeholder: "Provide a clear and concise description."
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: alternatives
|
|
||||||
attributes:
|
|
||||||
label: 🔄 Describe alternatives you've considered
|
|
||||||
placeholder: "Provide details on any alternative solutions or features you've thought about."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|
||||||
- type: textarea
|
|
||||||
id: additional_context
|
|
||||||
attributes:
|
|
||||||
label: 🖼️ Additional context
|
|
||||||
placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information."
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
|
|||||||
31
.github/workflows/auto-merge-docs.yaml
vendored
Normal file
31
.github/workflows/auto-merge-docs.yaml
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
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 == 'ChrisTitusTech' || 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
|
||||||
|
if: github.event.pull_request.user.login == 'github-actions[bot]'
|
||||||
|
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 --delete-branch --admin
|
||||||
|
env:
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
|
GH_TOKEN: ${{ secrets.AUTO_MERGE }}
|
||||||
41
.github/workflows/docs.yaml
vendored
41
.github/workflows/docs.yaml
vendored
@@ -6,12 +6,16 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
- "config/tweaks.json"
|
||||||
|
- "config/feature.json"
|
||||||
|
- "functions/**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
@@ -26,7 +30,7 @@ jobs:
|
|||||||
if: github.repository == 'ChrisTitusTech/winutil'
|
if: github.repository == 'ChrisTitusTech/winutil'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.147.7
|
HUGO_VERSION: 0.156.0
|
||||||
HUGO_ENVIRONMENT: production
|
HUGO_ENVIRONMENT: production
|
||||||
TZ: America/Chicago
|
TZ: America/Chicago
|
||||||
steps:
|
steps:
|
||||||
@@ -39,9 +43,40 @@ 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@v6
|
||||||
|
|
||||||
|
- 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@v8
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.AUTO_MERGE }}
|
||||||
|
commit-message: 'chore: Update generated dev docs'
|
||||||
|
title: 'chore: Update Generated Dev Docs'
|
||||||
|
body: 'Automated update of generated documentation from JSON sources'
|
||||||
|
branch: docs-update
|
||||||
|
delete-branch: true
|
||||||
|
add-paths: |
|
||||||
|
docs/content/dev/
|
||||||
|
config/tweaks.json
|
||||||
|
config/feature.json
|
||||||
|
labels: |
|
||||||
|
automated
|
||||||
|
documentation
|
||||||
|
|
||||||
|
- 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
|
||||||
@@ -82,4 +117,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v5
|
||||||
|
|||||||
53
.github/workflows/pre-release.yaml
vendored
53
.github/workflows/pre-release.yaml
vendored
@@ -3,6 +3,7 @@ name: Pre-Release WinUtil
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: read
|
actions: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # Manual trigger added
|
workflow_dispatch: # Manual trigger added
|
||||||
@@ -10,23 +11,55 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-runspace:
|
build-runspace:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
outputs:
|
||||||
|
version: ${{ steps.extract_version.outputs.version }}
|
||||||
env:
|
env:
|
||||||
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
CERTIFICATE_BASE64: ${{ secrets.CERTIFICATE_BASE64 }}
|
||||||
steps:
|
steps:
|
||||||
- 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: Compile project
|
- name: Compile project
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
||||||
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
|
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
|
||||||
|
|
||||||
|
- name: Create Pull Request for Updated JSON Links
|
||||||
|
id: cpr
|
||||||
|
uses: peter-evans/create-pull-request@v8
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.AUTO_MERGE }}
|
||||||
|
commit-message: 'chore: Update documentation links in JSON configs'
|
||||||
|
title: 'chore: Update Generated Dev Docs'
|
||||||
|
body: 'Automated update of documentation links in JSON configs from pre-release build'
|
||||||
|
branch: docs-update
|
||||||
|
delete-branch: true
|
||||||
|
add-paths: |
|
||||||
|
config/tweaks.json
|
||||||
|
config/feature.json
|
||||||
|
labels: |
|
||||||
|
automated
|
||||||
|
documentation
|
||||||
|
|
||||||
|
- name: Check outputs
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||||
|
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||||
|
|
||||||
- name: Set Version to Todays Date
|
- name: Set Version to Todays Date
|
||||||
id: extract_version
|
id: extract_version
|
||||||
run: |
|
run: |
|
||||||
$version = (Get-Date -Format "yy.MM.dd")
|
$version = (Get-Date -Format "yy.MM.dd")
|
||||||
echo "VERSION=$version" >> $env:GITHUB_ENV
|
echo "VERSION=$version" >> $env:GITHUB_ENV
|
||||||
|
echo "version=$version" >> $env:GITHUB_OUTPUT
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
@@ -49,9 +82,27 @@ jobs:
|
|||||||
}
|
}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Upload compiled script
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: winutil-ps1
|
||||||
|
path: ./winutil.ps1
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build-runspace
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Download compiled script
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: winutil-ps1
|
||||||
|
|
||||||
|
- name: Set version from build job
|
||||||
|
run: echo "VERSION=${{ needs.build-runspace.outputs.version }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: generate_notes
|
id: generate_notes
|
||||||
uses: release-drafter/release-drafter@v6
|
uses: release-drafter/release-drafter@v7
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
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@v8
|
||||||
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 }}"
|
||||||
|
|||||||
30
Compile.ps1
30
Compile.ps1
@@ -1,5 +1,4 @@
|
|||||||
param (
|
param (
|
||||||
[switch]$Debug,
|
|
||||||
[switch]$Run,
|
[switch]$Run,
|
||||||
[string]$Arguments
|
[string]$Arguments
|
||||||
)
|
)
|
||||||
@@ -104,19 +103,26 @@ $xaml
|
|||||||
'@
|
'@
|
||||||
"@)
|
"@)
|
||||||
|
|
||||||
|
Update-Progress "Adding: autounattend.xml" 95
|
||||||
|
$autounattendRaw = Get-Content "$workingdir\tools\autounattend.xml" -Raw
|
||||||
|
# Strip XML comments (<!-- ... -->, including multi-line)
|
||||||
|
$autounattendRaw = [regex]::Replace($autounattendRaw, '<!--.*?-->', '', [System.Text.RegularExpressions.RegexOptions]::Singleline)
|
||||||
|
# Drop blank lines and trim trailing whitespace per line
|
||||||
|
$autounattendXml = ($autounattendRaw -split "`r?`n" |
|
||||||
|
Where-Object { $_.Trim() -ne '' } |
|
||||||
|
ForEach-Object { $_.TrimEnd() }) -join "`r`n"
|
||||||
|
$script_content.Add(@"
|
||||||
|
`$WinUtilAutounattendXml = @'
|
||||||
|
$autounattendXml
|
||||||
|
'@
|
||||||
|
"@)
|
||||||
|
|
||||||
$script_content.Add($(Get-Content "scripts\main.ps1"))
|
$script_content.Add($(Get-Content "scripts\main.ps1"))
|
||||||
|
|
||||||
if ($Debug) {
|
Update-Progress "Removing temporary files" 99
|
||||||
Update-Progress "Writing debug files" 95
|
Remove-Item "xaml\inputApp.xaml" -ErrorAction SilentlyContinue
|
||||||
$appXamlContent | Out-File -FilePath "xaml\inputApp.xaml" -Encoding ascii
|
Remove-Item "xaml\inputTweaks.xaml" -ErrorAction SilentlyContinue
|
||||||
$tweaksXamlContent | Out-File -FilePath "xaml\inputTweaks.xaml" -Encoding ascii
|
Remove-Item "xaml\inputFeatures.xaml" -ErrorAction SilentlyContinue
|
||||||
$featuresXamlContent | Out-File -FilePath "xaml\inputFeatures.xaml" -Encoding ascii
|
|
||||||
} else {
|
|
||||||
Update-Progress "Removing temporary files" 99
|
|
||||||
Remove-Item "xaml\inputApp.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputTweaks.xaml" -ErrorAction SilentlyContinue
|
|
||||||
Remove-Item "xaml\inputFeatures.xaml" -ErrorAction SilentlyContinue
|
|
||||||
}
|
|
||||||
|
|
||||||
Set-Content -Path "$scriptname" -Value ($script_content -join "`r`n") -Encoding ascii
|
Set-Content -Path "$scriptname" -Value ($script_content -join "`r`n") -Encoding ascii
|
||||||
Write-Progress -Activity "Compiling" -Completed
|
Write-Progress -Activity "Compiling" -Completed
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient.
|
This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## 💡 Usage
|
## 💡 Usage
|
||||||
|
|
||||||
@@ -50,9 +50,9 @@ If you have Issues, refer to [Known Issues](https://winutil.christitus.com/known
|
|||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Winutil is a relatively large script, so it's split into multiple files which're combined into a single `.ps1` file using a custom compiler. This makes maintaining the project a lot easier.
|
> Winutil is a relatively large script, so it's split into multiple files which're combined into a single `.ps1` file using a custom compiler. This makes maintaining the project a lot easier.
|
||||||
|
|
||||||
Get a copy of the source code, this can be done using GitHub UI (`Code -> Download ZIP`), or by cloning (downloading) the repo using git.
|
Get a copy of the source code. This can be done using GitHub UI (**Code** > **Download ZIP**), or by cloning (downloading) the repo using git.
|
||||||
|
|
||||||
If git is installed, run the following commands under a PowerShell window to clone and move into project's directory:
|
If git is installed, run the following commands under a PowerShell window to clone and move into the project's directory:
|
||||||
```ps1
|
```ps1
|
||||||
git clone --depth 1 "https://github.com/ChrisTitusTech/winutil.git"
|
git clone --depth 1 "https://github.com/ChrisTitusTech/winutil.git"
|
||||||
cd winutil
|
cd winutil
|
||||||
@@ -63,10 +63,10 @@ To build the project, run the Compile Script under a PowerShell window (admin pe
|
|||||||
.\Compile.ps1
|
.\Compile.ps1
|
||||||
```
|
```
|
||||||
|
|
||||||
You'll see a new file named `winutil.ps1`, which's created by `Compile.ps1` script, now you can run it as admin and a new window will popup, enjoy your own compiled version of WinUtil :)
|
You'll see a new file named `winutil.ps1`, which was created by `Compile.ps1` script. Now you can run it as admin, and a new window will pop up. Enjoy your own compiled version of WinUtil :)
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> For more info on using WinUtil and how to develop for it, please consider reading [the Contribution Guidelines](https://winutil.christitus.com/contributing/), if you don't know where to start, or have questions, you can ask over on our [Discord Community Server](https://discord.gg/RUbZUZyByQ) and active project members will answer when they can.
|
> For more info on using WinUtil and how to develop for it, please consider reading [the Contribution Guidelines](https://winutil.christitus.com/contributing/). If you don't know where to start, or have questions, you can ask over on our [Discord Community Server](https://discord.gg/RUbZUZyByQ), and active project members will answer when they can.
|
||||||
|
|
||||||
## 💖 Support
|
## 💖 Support
|
||||||
- To morally and mentally support the project, make sure to leave a ⭐️!
|
- To morally and mentally support the project, make sure to leave a ⭐️!
|
||||||
@@ -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/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/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/partybrasil"><img src="https://github.com/partybrasil.png" width="60px" alt="User avatar: Miguel Diaz" /></a><a href="https://github.com/andrewpayne68"><img src="https://github.com/andrewpayne68.png" width="60px" alt="User avatar: Andrew P" /></a><a href="https://github.com/EnzoFerroni"><img src="https://github.com/EnzoFerroni.png" width="60px" alt="User avatar: Enzo Ferroni" /></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
@@ -21,13 +21,13 @@
|
|||||||
"Description": "Upgrade all applications to the latest version"
|
"Description": "Upgrade all applications to the latest version"
|
||||||
},
|
},
|
||||||
"WingetRadioButton": {
|
"WingetRadioButton": {
|
||||||
"Content": "Winget",
|
"Content": "WinGet",
|
||||||
"Category": "__Package Manager",
|
"Category": "__Package Manager",
|
||||||
"Type": "RadioButton",
|
"Type": "RadioButton",
|
||||||
"GroupName": "PackageManagerGroup",
|
"GroupName": "PackageManagerGroup",
|
||||||
"Checked": true,
|
"Checked": true,
|
||||||
"Order": "1",
|
"Order": "1",
|
||||||
"Description": "Use Winget for package management"
|
"Description": "Use WinGet for package management"
|
||||||
},
|
},
|
||||||
"ChocoRadioButton": {
|
"ChocoRadioButton": {
|
||||||
"Content": "Chocolatey",
|
"Content": "Chocolatey",
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
"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": "4",
|
"Order": "4",
|
||||||
@@ -72,5 +72,13 @@
|
|||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"Order": "5",
|
"Order": "5",
|
||||||
"Description": "Show the selected applications"
|
"Description": "Show the selected applications"
|
||||||
|
},
|
||||||
|
"WPFToggleFOSSHighlight": {
|
||||||
|
"Content": "Highlight FOSS",
|
||||||
|
"Category": "__Selection",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"Checked": true,
|
||||||
|
"Order": "6",
|
||||||
|
"Description": "Toggle the green highlight for FOSS applications"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a010_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"NetFx4-AdvSrvs",
|
"NetFx4-AdvSrvs",
|
||||||
"NetFx3"
|
"NetFx3"
|
||||||
@@ -12,12 +11,21 @@
|
|||||||
"InvokeScript": [],
|
"InvokeScript": [],
|
||||||
"link": "https://winutil.christitus.com/dev/features/features/dotnet"
|
"link": "https://winutil.christitus.com/dev/features/features/dotnet"
|
||||||
},
|
},
|
||||||
|
"WPFFixesNTPPool": {
|
||||||
|
"Content": "Configure NTP Server",
|
||||||
|
"Description": "Replaces the default Windows NTP server (time.windows.com) with pool.ntp.org for improved time synchronization accuracy and reliability.",
|
||||||
|
"category": "Fixes",
|
||||||
|
"panel": "1",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesNTPPool",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/fixes/ntppool"
|
||||||
|
},
|
||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a011_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"Microsoft-Hyper-V-All"
|
"Microsoft-Hyper-V-All"
|
||||||
],
|
],
|
||||||
@@ -28,10 +36,9 @@
|
|||||||
},
|
},
|
||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a012_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"WindowsMediaPlayer",
|
"WindowsMediaPlayer",
|
||||||
"MediaPlayback",
|
"MediaPlayback",
|
||||||
@@ -46,7 +53,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a020_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"VirtualMachinePlatform",
|
"VirtualMachinePlatform",
|
||||||
"Microsoft-Windows-Subsystem-Linux"
|
"Microsoft-Windows-Subsystem-Linux"
|
||||||
@@ -59,7 +65,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a014_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"ServicesForNFS-ClientOnly",
|
"ServicesForNFS-ClientOnly",
|
||||||
"ClientForNFS-Infrastructure",
|
"ClientForNFS-Infrastructure",
|
||||||
@@ -79,7 +84,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a017_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
@@ -97,7 +101,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a018_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"bcdedit /set bootmenupolicy legacy"
|
"bcdedit /set bootmenupolicy legacy"
|
||||||
@@ -109,10 +112,9 @@
|
|||||||
"Description": "Disables 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": "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"
|
||||||
},
|
},
|
||||||
@@ -121,7 +123,6 @@
|
|||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a021_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"Containers-DisposableClientVM"
|
"Containers-DisposableClientVM"
|
||||||
],
|
],
|
||||||
@@ -131,71 +132,65 @@
|
|||||||
"Content": "Install Features",
|
"Content": "Install Features",
|
||||||
"category": "Features",
|
"category": "Features",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a060_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFeatureInstall",
|
||||||
"link": "https://winutil.christitus.com/dev/features/features/install"
|
"link": "https://winutil.christitus.com/dev/features/features/install"
|
||||||
},
|
},
|
||||||
"WPFPanelAutologin": {
|
"WPFPanelAutologin": {
|
||||||
"Content": "Set Up Autologin",
|
"Content": "Set Up Autologin",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"Order": "a040_",
|
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFPanelAutologin",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/autologin"
|
"link": "https://winutil.christitus.com/dev/features/fixes/autologin"
|
||||||
},
|
},
|
||||||
"WPFFixesUpdate": {
|
"WPFFixesUpdate": {
|
||||||
"Content": "Reset Windows Update",
|
"Content": "Reset Windows Update",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a041_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesUpdate",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/update"
|
"link": "https://winutil.christitus.com/dev/features/fixes/update"
|
||||||
},
|
},
|
||||||
"WPFFixesNetwork": {
|
"WPFFixesNetwork": {
|
||||||
"Content": "Reset Network",
|
"Content": "Reset Network",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"Order": "a042_",
|
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesNetwork",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/network"
|
"link": "https://winutil.christitus.com/dev/features/fixes/network"
|
||||||
},
|
},
|
||||||
"WPFPanelDISM": {
|
"WPFPanelDISM": {
|
||||||
"Content": "System Corruption Scan",
|
"Content": "System Corruption Scan",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a043_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFSystemRepair",
|
||||||
"link": "https://winutil.christitus.com/dev/features/fixes/dism"
|
"link": "https://winutil.christitus.com/dev/features/fixes/dism"
|
||||||
},
|
},
|
||||||
"WPFFixesWinget": {
|
"WPFFixesWinget": {
|
||||||
"Content": "WinGet Reinstall",
|
"Content": "WinGet Reinstall",
|
||||||
"category": "Fixes",
|
"category": "Fixes",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a044_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFFixesWinget",
|
||||||
"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",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"control"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/control"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/control"
|
||||||
},
|
},
|
||||||
"WPFPanelComputer": {
|
"WPFPanelComputer": {
|
||||||
@@ -204,6 +199,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"compmgmt.msc"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/computer"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/computer"
|
||||||
},
|
},
|
||||||
"WPFPanelNetwork": {
|
"WPFPanelNetwork": {
|
||||||
@@ -212,6 +210,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"ncpa.cpl"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/network"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/network"
|
||||||
},
|
},
|
||||||
"WPFPanelPower": {
|
"WPFPanelPower": {
|
||||||
@@ -220,6 +221,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"powercfg.cpl"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/power"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/power"
|
||||||
},
|
},
|
||||||
"WPFPanelPrinter": {
|
"WPFPanelPrinter": {
|
||||||
@@ -228,6 +232,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"Start-Process 'shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}'"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/printer"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/printer"
|
||||||
},
|
},
|
||||||
"WPFPanelRegion": {
|
"WPFPanelRegion": {
|
||||||
@@ -236,6 +243,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"intl.cpl"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/region"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/region"
|
||||||
},
|
},
|
||||||
"WPFPanelRestore": {
|
"WPFPanelRestore": {
|
||||||
@@ -244,6 +254,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"rstrui.exe"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/restore"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/restore"
|
||||||
},
|
},
|
||||||
"WPFPanelSound": {
|
"WPFPanelSound": {
|
||||||
@@ -252,7 +265,10 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/user"
|
"InvokeScript": [
|
||||||
|
"mmsys.cpl"
|
||||||
|
],
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/sound"
|
||||||
},
|
},
|
||||||
"WPFPanelSystem": {
|
"WPFPanelSystem": {
|
||||||
"Content": "System Properties",
|
"Content": "System Properties",
|
||||||
@@ -260,6 +276,9 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"sysdm.cpl"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/system"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/system"
|
||||||
},
|
},
|
||||||
"WPFPanelTimedate": {
|
"WPFPanelTimedate": {
|
||||||
@@ -268,30 +287,36 @@
|
|||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300",
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"timedate.cpl"
|
||||||
|
],
|
||||||
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/timedate"
|
"link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/timedate"
|
||||||
},
|
},
|
||||||
"WPFWinUtilInstallPSProfile": {
|
"WPFWinUtilInstallPSProfile": {
|
||||||
"Content": "Install CTT PowerShell Profile",
|
"Content": "Install CTT PowerShell Profile",
|
||||||
"category": "Powershell Profile Powershell 7+ Only",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a083_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WinUtilInstallPSProfile",
|
||||||
|
"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 Powershell 7+ Only",
|
"category": "Powershell Profile Powershell 7+ Only",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WinUtilUninstallPSProfile",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/uninstallpsprofile"
|
||||||
},
|
},
|
||||||
"WPFWinUtilSSHServer": {
|
"WPFWinUtilSSHServer": {
|
||||||
"Content": "Enable OpenSSH Server",
|
"Content": "Enable OpenSSH Server",
|
||||||
"category": "Remote Access",
|
"category": "Remote Access",
|
||||||
"panel": "2",
|
"panel": "2",
|
||||||
"Order": "a084_",
|
|
||||||
"Type": "Button",
|
"Type": "Button",
|
||||||
"ButtonWidth": "300"
|
"ButtonWidth": "300",
|
||||||
|
"function": "Invoke-WPFSSHServer",
|
||||||
|
"link": "https://winutil.christitus.com/dev/features/remote-access/sshserver"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
"WPFTweaksDisableExplorerAutoDiscovery",
|
|
||||||
"WPFTweaksWPBT",
|
"WPFTweaksWPBT",
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTelemetry"
|
"WPFTweaksTelemetry"
|
||||||
|
|||||||
@@ -65,10 +65,12 @@
|
|||||||
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
"ButtonTweaksBackgroundColor": "#F7F7F7",
|
||||||
"ButtonConfigBackgroundColor": "#F7F7F7",
|
"ButtonConfigBackgroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
"ButtonUpdatesBackgroundColor": "#F7F7F7",
|
||||||
|
"ButtonWin11ISOBackgroundColor": "#F7F7F7",
|
||||||
"ButtonInstallForegroundColor": "#232629",
|
"ButtonInstallForegroundColor": "#232629",
|
||||||
"ButtonTweaksForegroundColor": "#232629",
|
"ButtonTweaksForegroundColor": "#232629",
|
||||||
"ButtonConfigForegroundColor": "#232629",
|
"ButtonConfigForegroundColor": "#232629",
|
||||||
"ButtonUpdatesForegroundColor": "#232629",
|
"ButtonUpdatesForegroundColor": "#232629",
|
||||||
|
"ButtonWin11ISOForegroundColor": "#232629",
|
||||||
"ButtonBackgroundColor": "#F5F5F5",
|
"ButtonBackgroundColor": "#F5F5F5",
|
||||||
"ButtonBackgroundPressedColor": "#1A1A1A",
|
"ButtonBackgroundPressedColor": "#1A1A1A",
|
||||||
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
"ButtonBackgroundMouseoverColor": "#C2C2C2",
|
||||||
@@ -105,10 +107,12 @@
|
|||||||
"ButtonTweaksBackgroundColor": "#333333",
|
"ButtonTweaksBackgroundColor": "#333333",
|
||||||
"ButtonConfigBackgroundColor": "#444444",
|
"ButtonConfigBackgroundColor": "#444444",
|
||||||
"ButtonUpdatesBackgroundColor": "#555555",
|
"ButtonUpdatesBackgroundColor": "#555555",
|
||||||
|
"ButtonWin11ISOBackgroundColor": "#666666",
|
||||||
"ButtonInstallForegroundColor": "#F7F7F7",
|
"ButtonInstallForegroundColor": "#F7F7F7",
|
||||||
"ButtonTweaksForegroundColor": "#F7F7F7",
|
"ButtonTweaksForegroundColor": "#F7F7F7",
|
||||||
"ButtonConfigForegroundColor": "#F7F7F7",
|
"ButtonConfigForegroundColor": "#F7F7F7",
|
||||||
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
"ButtonUpdatesForegroundColor": "#F7F7F7",
|
||||||
|
"ButtonWin11ISOForegroundColor": "#F7F7F7",
|
||||||
"ButtonBackgroundColor": "#1E3747",
|
"ButtonBackgroundColor": "#1E3747",
|
||||||
"ButtonBackgroundPressedColor": "#F7F7F7",
|
"ButtonBackgroundPressedColor": "#F7F7F7",
|
||||||
"ButtonBackgroundMouseoverColor": "#3B4252",
|
"ButtonBackgroundMouseoverColor": "#3B4252",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@ toc: true
|
|||||||
|
|
||||||
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
* Pull requests are now handled directly on the **MAIN branch**. This was done since we can now select specific releases to launch via releases in GitHub.
|
||||||
|
|
||||||
* If you're doing code changes, then you can submit a PR to `main` branch, but I am very selective about these.
|
* If you're doing code changes, then you can submit a PR to the `main` branch, but I am very selective about these.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN PULL REQUEST!
|
> Do not use a code formatter, make massive amounts of line changes, or make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN PULL REQUEST!
|
||||||
@@ -85,7 +85,7 @@ graph TD
|
|||||||
|
|
||||||
### Testing your changes
|
### Testing your changes
|
||||||
|
|
||||||
* To test to see if your changes work as intended run following commands in a powershell teminal as admin:
|
* To test to see if your changes work as intended, run the following commands in a PowerShell terminal as admin:
|
||||||
|
|
||||||
* Change the directory where you are running the commands to the forked project.
|
* Change the directory where you are running the commands to the forked project.
|
||||||
* `cd {path to the folder with the compile.ps1}`
|
* `cd {path to the folder with the compile.ps1}`
|
||||||
@@ -110,6 +110,6 @@ graph TD
|
|||||||
{{< image src="images/Push-Commit" alt="Push Commit Image" >}}
|
{{< image src="images/Push-Commit" alt="Push Commit Image" >}}
|
||||||
|
|
||||||
### Making a PR
|
### Making a PR
|
||||||
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is not a Winutil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is no Winutil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
|
||||||
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
|
||||||
* Congratulations! You just submitted your first PR. Thank you so much for contributing to Winutil.
|
* Congratulations! You just submitted your first PR. Thank you so much for contributing to Winutil.
|
||||||
|
|||||||
@@ -11,175 +11,57 @@ If `https://christitus.com/win` is not working, or you want to download the code
|
|||||||
irm https://github.com/ChrisTitusTech/Winutil/releases/latest/download/Winutil.ps1 | iex
|
irm https://github.com/ChrisTitusTech/Winutil/releases/latest/download/Winutil.ps1 | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are seeing errors referencing TLS or security, you may be running an older version of Windows where TLS 1.2 is not the default security protocol used for network connections. The following commands will force .NET to use TLS 1.2, and download the script directly using .NET instead of PowerShell:
|
If it still isn't working in your region, it may be due to temporary ISP or network filtering of GitHub content domains. This has been reported by some users in India in the past. See: [Times of India](https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-reports/articleshow/96687992.cms).
|
||||||
|
|
||||||
```
|
If you are still having issues, try using a **VPN**, or changing your **DNS provider** to one of the following two providers:
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
|
||||||
iex https://christitus.com/win | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
If it still isn't working and you live in India, it might be due to India blocking GitHub's content domain and preventing downloads. See more on [Times of India](https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-reports/articleshow/96687992.cms).
|
|
||||||
|
|
||||||
If you are still having issues, try using a **VPN**, or changing your **DNS provider** to one of following two providers:
|
|
||||||
|
|
||||||
| Provider | Primary DNS | Secondary DNS |
|
| Provider | Primary DNS | Secondary DNS |
|
||||||
| :--------: | :---------: | :-----------: |
|
| :--------: | :---------: | :-----------: |
|
||||||
| Cloudflare | `1.1.1.1` | `1.0.0.1` |
|
| Cloudflare | `1.1.1.1` | `1.0.0.1` |
|
||||||
| Google | `8.8.8.8` | `8.8.4.4` |
|
| Google | `8.8.8.8` | `8.8.4.4` |
|
||||||
|
|
||||||
### Script blocked by Execution Policy
|
### Script Won't Run
|
||||||
|
|
||||||
1. Ensure you are running PowerShell as admin: Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
If your PowerShell session is running in **Constrained Language Mode**, some scripts and commands may fail to execute. To check the current language mode, run:
|
||||||
2. In the PowerShell window, type this to allow unsigned code to execute and run the installation script:
|
```powershell
|
||||||
|
$ExecutionContext.SessionState.LanguageMode
|
||||||
|
```
|
||||||
|
If it returns `ConstrainedLanguage`, you may need to switch to `FullLanguage` mode or run the script in a session with administrative privileges. Be aware that some security policies may enforce Constrained Language Mode, especially in corporate or managed environments.
|
||||||
|
|
||||||
```
|
**If the download fails**:
|
||||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
|
||||||
irm https://christitus.com/win | iex
|
|
||||||
```
|
|
||||||
|
|
||||||
## Runtime Issues
|
1. Try the direct GitHub link:
|
||||||
|
|
||||||
### WinGet configuration
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Windows Issues
|
|
||||||
|
|
||||||
### Windows takes longer to shut down
|
|
||||||
|
|
||||||
This could be for a number of reasons:
|
|
||||||
|
|
||||||
- Turn on fast startup: Press `Windows key`+`R`, then type:
|
|
||||||
|
|
||||||
```bat
|
|
||||||
control /name Microsoft.PowerOptions /page pageGlobalSettings
|
|
||||||
```
|
|
||||||
|
|
||||||
If that doesn't work, disable Hibernation:
|
|
||||||
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11. then type:
|
|
||||||
|
|
||||||
```bat
|
|
||||||
powercfg /H off
|
|
||||||
```
|
|
||||||
|
|
||||||
Related issue: [#69](https://github.com/ChrisTitusTech/Winutil/issues/69)
|
|
||||||
|
|
||||||
### Windows Search does not work
|
|
||||||
|
|
||||||
Enable Background Apps. Related issues: [#69](https://github.com/ChrisTitusTech/Winutil/issues/69) [#95](https://github.com/ChrisTitusTech/Winutil/issues/95) [#232](https://github.com/ChrisTitusTech/Winutil/issues/232)
|
|
||||||
|
|
||||||
### Xbox Game Bar Activation Broken
|
|
||||||
|
|
||||||
Set the Xbox Accessory Management Service to Automatic:
|
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic
|
irm https://github.com/ChrisTitusTech/Winutil/releases/latest/download/Winutil.ps1 | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
Related issue: [#198](https://github.com/ChrisTitusTech/Winutil/issues/198)
|
2. Force TLS 1.2:
|
||||||
|
|
||||||
### Windows 11: Quick Settings no longer works
|
```powershell
|
||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
|
irm "https://christitus.com/win" | iex
|
||||||
|
```
|
||||||
|
|
||||||
Launch the Script and click _Enable Action Center_.
|
> [!NOTE]
|
||||||
|
> On Windows 11, you usually do not need the TLS 1.2 command. Use it only if you encounter download or security protocol errors.
|
||||||
|
|
||||||
### Explorer (file browser) no longer launches
|
### Execution Policy Error
|
||||||
|
|
||||||
- Press `Windows key`+`R` then type:
|
If you see an execution policy error when running the downloaded script, you can allow the current session to run unsigned scripts with this command:
|
||||||
|
|
||||||
```bat
|
```powershell
|
||||||
control /name Microsoft.FolderOptions
|
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
||||||
```
|
irm "https://christitus.com/win" | iex
|
||||||
|
```
|
||||||
|
|
||||||
- Change the _Open File Explorer to_ option to _This PC_.
|
This only changes the policy for the current PowerShell process and is safe for one-off runs.
|
||||||
|
|
||||||
### Battery drains too fast
|
### Interface Doesn't Appear
|
||||||
|
|
||||||
If you're using a laptop or tablet and find your battery drains too fast, please try the below troubleshooting steps, and report the results back to the Winutil community.
|
If Winutil downloads, but the GUI does not open or appear, try these steps:
|
||||||
|
|
||||||
1. **Check Battery Health:**
|
1. Check if your antivirus or Windows Defender is blocking the script — add an exclusion if necessary.
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
2. Ensure you launched PowerShell / Terminal as **Administrator**.
|
||||||
- Run the following command to generate a battery report:
|
3. Close and reopen PowerShell, then run the launch command again.
|
||||||
```powershell
|
4. If the script still doesn't show, try running the script in a visible PowerShell window (avoid background/silent shells) to observe output and errors.
|
||||||
powercfg /batteryreport /output "C:\battery_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to review information about battery health and usage. A battery with poor health may hold less charge, discharge faster, or cause other issues.
|
|
||||||
|
|
||||||
2. **Review Power Settings:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Power & sleep_.
|
|
||||||
- Adjust power plan settings based on your preferences and usage patterns.
|
|
||||||
- Click on _Additional power settings_ to access advanced power settings that may help.
|
|
||||||
|
|
||||||
3. **Identify Power-Hungry Apps:**
|
|
||||||
- Right-click on the taskbar and select _Task Manager_.
|
|
||||||
- Navigate to the _Processes_ tab to identify applications with high CPU or memory usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
4. **Update Drivers:**
|
|
||||||
- Visit your device manufacturer's website or use Windows Update to check for driver updates.
|
|
||||||
- Ensure graphics, chipset, and other essential drivers are up to date.
|
|
||||||
|
|
||||||
5. **Check for Windows Updates:**
|
|
||||||
- Open the Settings app, and go to _Update & Security_ > _Windows Update_.
|
|
||||||
- Check for and install any available updates for your operating system.
|
|
||||||
|
|
||||||
6. **Reduce Screen Brightness:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Display_.
|
|
||||||
- Adjust screen brightness based on your preferences and lighting conditions.
|
|
||||||
|
|
||||||
7. **Enable Battery Saver:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Battery_.
|
|
||||||
- Turn on _Battery saver_ to limit background activity and conserve power.
|
|
||||||
|
|
||||||
8. **Check Power Usage in Settings:**
|
|
||||||
- Open the Settings app, and go to _System_ > _Battery_ > _Battery usage by app_.
|
|
||||||
- Review the list of apps and their power usage. Disable or uninstall any you don't need.
|
|
||||||
|
|
||||||
9. **Check Background Apps:**
|
|
||||||
- Open the Settings app, and go to _Privacy_ > _Background apps_.
|
|
||||||
- Disable or uninstall unnecessary apps running in the background.
|
|
||||||
|
|
||||||
10. **Use `powercfg` for Analysis:**
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Run the following command to analyze energy usage and generate a report:
|
|
||||||
```powershell
|
|
||||||
powercfg /energy /output "C:\energy_report.html"
|
|
||||||
```
|
|
||||||
- Open the generated HTML report to identify energy consumption patterns.
|
|
||||||
|
|
||||||
11. **Review Event Logs:**
|
|
||||||
- Open Event Viewer by searching for it in the Start menu.
|
|
||||||
- Navigate to _Windows Logs_ > _System_.
|
|
||||||
- Look for events with the source _Power-Troubleshooter_ to identify power-related events. These may highlight battery, input power, and other issues.
|
|
||||||
|
|
||||||
12. **Check Wake-up Sources:**
|
|
||||||
- Press `Windows Key`+`X` and select _PowerShell (Admin)_ in Windows 10, or `Windows Terminal (Admin)` in Windows 11.
|
|
||||||
- Use the command `powercfg /requests` to identify processes preventing sleep.
|
|
||||||
- Use the command `powercfg /waketimers` to view active wake timers.
|
|
||||||
- Check Task Scheduler to see if any of the discovered processes are scheduled to start on boot or at regular intervals.
|
|
||||||
|
|
||||||
13. **Advanced Identification of Power-Hungry Apps:**
|
|
||||||
- Open Resource Monitor from the Start menu.
|
|
||||||
- Navigate to the _CPU_, _Memory_, _Network_, and other tabs to identify processes with high resource usage.
|
|
||||||
- Consider reconfiguring, closing, disabling, or uninstalling applications that use a lot of resources.
|
|
||||||
|
|
||||||
14. **Disable Activity History:**
|
|
||||||
- Open the Settings app, and go to _Privacy_ > _Activity history_.
|
|
||||||
- Turn off _Let Windows collect my activities from this PC_.
|
|
||||||
|
|
||||||
15. **Prevent Network Adapters From Waking PC:**
|
|
||||||
- Open Device Manager by searching for it in the Start menu.
|
|
||||||
- Locate your network adapter, right-click, and go to _Properties_.
|
|
||||||
- Under the _Power Management_ tab, uncheck the option that allows the device to wake the computer.
|
|
||||||
|
|
||||||
16. **Review Installed Applications:**
|
|
||||||
- Manually review installed applications by searching for _Add or remove programs_ in the Start menu.
|
|
||||||
- Check settings/preferences of individual applications for power-related options.
|
|
||||||
- Uninstall unnecessary or problematic software.
|
|
||||||
|
|
||||||
These troubleshooting steps are generic, but should help in most situations. You should have these key takeaways:
|
|
||||||
|
|
||||||
- Battery health is the most significant limiter on your device's runtime. A battery in poor health usually cannot be made to last like it used to, simply by closing some applications. Consider replacing your battery.
|
|
||||||
- Background applications that use CPU and memory, make lots of or large network requests, read/write to disk frequently, or that keep your PC awake when it could be conserving energy are the next major concern. Avoid installing programs you don't need, only use programs you trust, and configure applications to use as little power and run as infrequently as possible.
|
|
||||||
- Windows performs a lot of tasks that may affect battery life by default. Changing settings, stopping scheduled tasks, and disabling features can help the system stay in lower power states to conserve battery.
|
|
||||||
- Bad chargers, inconsistent power input, and high temperatures will cause batteries to degrade and discharge faster. Use trusted high-quality chargers, ensure input power is steady, clean any fans or airflow ports, and keep the battery/PC cool.
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Welcome to the official documentation for Winutil, your go-to utility for optimi
|
|||||||
|
|
||||||
## Running the latest release of Winutil
|
## Running the latest release of Winutil
|
||||||
|
|
||||||
* You will first need to start a Powershell terminal **as Admin**.
|
* You will first need to start a PowerShell terminal **as Admin**.
|
||||||
* Now you can run the following command:
|
* Now you can run the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -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]
|
||||||
@@ -41,3 +42,11 @@ weight: 3
|
|||||||
### Features
|
### Features
|
||||||
|
|
||||||
{{< autolinks section="dev/features/features" >}}
|
{{< autolinks section="dev/features/features" >}}
|
||||||
|
|
||||||
|
### Remote Access
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/remote-access" >}}
|
||||||
|
|
||||||
|
### Powershell Profile Powershell 7+ Only
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/powershell-profile-powershell-7--only" >}}
|
||||||
|
|||||||
@@ -128,6 +128,154 @@ winutil/
|
|||||||
- CheckBoxes for options
|
- CheckBoxes for options
|
||||||
- ListBoxes for selections
|
- ListBoxes for selections
|
||||||
|
|
||||||
|
## Win11 Creator Architecture
|
||||||
|
|
||||||
|
The **Win11 Creator** is a specialized subsystem within Winutil that creates customized Windows 11 ISOs. It operates independently from the main package installation and tweak system.
|
||||||
|
|
||||||
|
### Win11 Creator Components
|
||||||
|
|
||||||
|
**Core Functions** (`functions/private/`):
|
||||||
|
- `Invoke-WinUtilISO.ps1`: Main orchestrator containing all Win11 Creator functions
|
||||||
|
- `Invoke-WinUtilISOBrowse`: ISO file selection dialog
|
||||||
|
- `Invoke-WinUtilISOMountAndVerify`: Validates and mounts ISO, verifies it's official Windows 11
|
||||||
|
- `Invoke-WinUtilISOModify`: Launches modification in background runspace
|
||||||
|
- `Invoke-WinUtilISOExport`: Handles ISO and USB export
|
||||||
|
- `Invoke-WinUtilISOCheckExistingWork`: Recovers incomplete work sessions
|
||||||
|
- `Invoke-WinUtilISOCleanAndReset`: Cleans up temp directories and resets UI
|
||||||
|
|
||||||
|
- `Invoke-WinUtilISOScript.ps1`: Applies modifications to mounted install.wim
|
||||||
|
- Removes provisioned AppX packages (40+ bloatware apps)
|
||||||
|
- Injects drivers (optional) from the current system
|
||||||
|
- Removes OneDrive setup files
|
||||||
|
- Applies offline registry tweaks (hardware bypass, privacy, telemetry, OOBE)
|
||||||
|
- Deletes telemetry scheduled task definitions
|
||||||
|
- Pre-stages setup scripts from autounattend.xml
|
||||||
|
- Removes unused Windows editions
|
||||||
|
- Cleans component store via DISM
|
||||||
|
|
||||||
|
### Win11 Creator Data Flow
|
||||||
|
|
||||||
|
```
|
||||||
|
User selects official Windows 11 ISO
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOBrowse → OpenFileDialog, validates file size
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOMountAndVerify
|
||||||
|
├─ Mount ISO via Mount-DiskImage
|
||||||
|
├─ Verify install.wim or install.esd exists
|
||||||
|
├─ Check for "Windows 11" in image metadata
|
||||||
|
├─ Extract available editions (Home, Pro, Enterprise, etc.)
|
||||||
|
└─ Store ISO path, drive letter, WIM path, image info in $sync
|
||||||
|
↓
|
||||||
|
User optionally enables the Driver Injection checkbox
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOModify (runs in background runspace)
|
||||||
|
├─ Create work directory: ~WinUtil_Win11ISO_[timestamp]
|
||||||
|
├─ Copy ISO contents to disk (~5-6 GB)
|
||||||
|
├─ Mount install.wim at selected edition/index
|
||||||
|
├─ Invoke-WinUtilISOScript:
|
||||||
|
│ ├─ Remove 40+ bloat AppX packages
|
||||||
|
│ ├─ Export and inject drivers (if enabled)
|
||||||
|
│ ├─ Remove OneDrive setup
|
||||||
|
│ ├─ Load offline registry hives
|
||||||
|
│ ├─ Apply 50+ registry tweaks (hardware bypass, privacy, telemetry, OOBE, etc.)
|
||||||
|
│ ├─ Delete telemetry scheduled task files
|
||||||
|
│ ├─ Pre-stage setup scripts from autounattend.xml to C:\Windows\Setup\Scripts\
|
||||||
|
│ └─ Unload registry hives
|
||||||
|
├─ DISM /Cleanup-Image /StartComponentCleanup /ResetBase (saves 300-800 MB)
|
||||||
|
├─ Dismount and save the modified install.wim (~10+ minutes, slowest step)
|
||||||
|
├─ Export selected edition only (removes all other editions, saves 1-2 GB each)
|
||||||
|
├─ Dismount source ISO
|
||||||
|
└─ Report completion, enable export options
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOExport (user chooses output)
|
||||||
|
├─ Option 1: Save as ISO
|
||||||
|
│ ├─ Build bootable ISO via oscdimg.exe (BIOS/UEFI dual-boot)
|
||||||
|
│ └─ Output: Win11_Modified_[date].iso (2.5-3.5 GB)
|
||||||
|
│
|
||||||
|
└─ Option 2: Write to USB
|
||||||
|
├─ Format USB as GPT
|
||||||
|
├─ Create 512 MB EFI partition
|
||||||
|
├─ Copy modified ISO contents
|
||||||
|
└─ Output: Bootable USB (minimum 8 GB)
|
||||||
|
↓
|
||||||
|
Invoke-WinUtilISOCleanAndReset (optional)
|
||||||
|
└─ Delete temp working directory (~10-15 GB)
|
||||||
|
└─ Reset UI to initial state
|
||||||
|
```
|
||||||
|
|
||||||
|
### Win11 Creator Validation & Safety
|
||||||
|
|
||||||
|
**ISO Validation**:
|
||||||
|
- Only accepts official Microsoft Windows 11 ISOs
|
||||||
|
- Validates presence of install.wim or install.esd
|
||||||
|
- Checks image metadata for "Windows 11" string
|
||||||
|
- Rejects custom, modified, or non-Windows 11 ISOs
|
||||||
|
|
||||||
|
**Work Session Recovery**:
|
||||||
|
- Auto-detects incomplete work from previous sessions
|
||||||
|
- Allows resuming Step 4 (export) without re-running Steps 1-3
|
||||||
|
- Prevents redundant modifications
|
||||||
|
|
||||||
|
**Modification Safety**:
|
||||||
|
- All registry changes are documented in a script (reversible)
|
||||||
|
- Original ISO never modified; only working copy
|
||||||
|
- Logged to `WinUtil_Win11ISO.log` for debugging
|
||||||
|
- DISM handles image dismount with automatic cleanup on error
|
||||||
|
|
||||||
|
### Win11 Creator Registry Tweaks
|
||||||
|
|
||||||
|
The `Invoke-WinUtilISOScript` function applies **50+ offline registry tweaks**:
|
||||||
|
|
||||||
|
**Hardware Bypass**:
|
||||||
|
- TPM 2.0 check bypass
|
||||||
|
- Secure Boot requirement bypass
|
||||||
|
- CPU compatibility bypass
|
||||||
|
- RAM requirement bypass
|
||||||
|
- Storage check bypass
|
||||||
|
|
||||||
|
**Privacy & Telemetry**:
|
||||||
|
- Disable advertising ID
|
||||||
|
- Disable tailored experiences
|
||||||
|
- Disable input personalization
|
||||||
|
- Disable speech online privacy
|
||||||
|
- Disable cloud content suggestions
|
||||||
|
- Disable app suggestion subscriptions
|
||||||
|
- Remove CEIP, Appraiser, WaaSMedic, etc.
|
||||||
|
|
||||||
|
**OOBE & Setup**:
|
||||||
|
- Enable local account setup
|
||||||
|
- Skip Microsoft account requirement
|
||||||
|
- Dark mode by default
|
||||||
|
- Empty taskbar and Start Menu
|
||||||
|
|
||||||
|
**Post-Setup Installations**:
|
||||||
|
- Prevent DevHome auto-installation
|
||||||
|
- Prevent new Outlook Mail app installation
|
||||||
|
- Prevent Teams auto-installation
|
||||||
|
|
||||||
|
**System Features**:
|
||||||
|
- Disable BitLocker and device encryption
|
||||||
|
- Disable Chat icon from the Taskbar
|
||||||
|
- Disable OneDrive folder backup
|
||||||
|
- Disable Copilot
|
||||||
|
- Disable Windows Update during OOBE (re-enabled at first login)
|
||||||
|
|
||||||
|
### Driver Injection Feature
|
||||||
|
|
||||||
|
**Optional Enhancement**: When enabled, exports all drivers from the running system and injects them into both:
|
||||||
|
- `install.wim` (main OS image)
|
||||||
|
- `boot.wim` index 2 (Windows Setup PE environment)
|
||||||
|
|
||||||
|
**Use Case**: Enables offline installation on systems with missing drivers.
|
||||||
|
|
||||||
|
### Disk Space Requirements
|
||||||
|
|
||||||
|
- **Temporary working directory**: ~10-15 GB
|
||||||
|
- **Original ISO**: 4-6 GB
|
||||||
|
- **Modified ISO**: 2.5-3.5 GB
|
||||||
|
- **Total needed**: ~25 GB for safe operation
|
||||||
|
|
||||||
## Data Flow
|
## Data Flow
|
||||||
|
|
||||||
### Application Installation Flow
|
### Application Installation Flow
|
||||||
@@ -139,7 +287,7 @@ Get-WinUtilCheckBoxes → Retrieves selected apps
|
|||||||
↓
|
↓
|
||||||
For each selected app:
|
For each selected app:
|
||||||
↓
|
↓
|
||||||
Check if WinGet/Choco installed
|
Check if WinGet/Choco is installed
|
||||||
↓
|
↓
|
||||||
Install-WinUtilWinget/Choco (if needed)
|
Install-WinUtilWinget/Choco (if needed)
|
||||||
↓
|
↓
|
||||||
@@ -185,7 +333,7 @@ Retrieve "OriginalState" from tweak definition
|
|||||||
↓
|
↓
|
||||||
Invoke-WPFUndoTweak → Restore original values
|
Invoke-WPFUndoTweak → Restore original values
|
||||||
↓
|
↓
|
||||||
Remove from applied tweaks log
|
Remove from the applied tweaks log
|
||||||
↓
|
↓
|
||||||
Update UI
|
Update UI
|
||||||
```
|
```
|
||||||
@@ -194,7 +342,7 @@ Update UI
|
|||||||
|
|
||||||
### applications.json Structure
|
### applications.json Structure
|
||||||
|
|
||||||
```json
|
```json {filename="config/applications.json"}
|
||||||
{
|
{
|
||||||
"WPFInstall<AppName>": {
|
"WPFInstall<AppName>": {
|
||||||
"category": "Browsers",
|
"category": "Browsers",
|
||||||
@@ -217,14 +365,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",
|
||||||
@@ -365,7 +512,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",
|
||||||
@@ -378,12 +525,12 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Recompile: `.\Compile.ps1`
|
2. Recompile: `.\Compile.ps1`
|
||||||
3. The app appears automatically in Install tab
|
3. The app appears automatically in the Install tab
|
||||||
|
|
||||||
### 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",
|
||||||
@@ -403,7 +550,7 @@ $sync.form.Dispatcher.Invoke([action]{
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Recompile: `.\Compile.ps1`
|
2. Recompile: `.\Compile.ps1`
|
||||||
3. Tweak appears in Tweaks tab
|
3. Tweak appears in the Tweaks tab
|
||||||
|
|
||||||
### Adding a New Function
|
### Adding a New Function
|
||||||
|
|
||||||
@@ -464,7 +611,7 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
**Required**:
|
**Required**:
|
||||||
- PowerShell 5.1+
|
- PowerShell 5.1+
|
||||||
- .NET Framework 4.5+
|
- .NET Framework 4.5+
|
||||||
- Windows 10 1809+
|
- Windows 11
|
||||||
|
|
||||||
**Optional (auto-installed)**:
|
**Optional (auto-installed)**:
|
||||||
- WinGet (Windows Package Manager)
|
- WinGet (Windows Package Manager)
|
||||||
@@ -515,6 +662,7 @@ Outputs `winutil.ps1` in the root directory.
|
|||||||
|
|
||||||
- [Contributing Guide](../../contributing/) - How to contribute code
|
- [Contributing Guide](../../contributing/) - How to contribute code
|
||||||
- [User Guide](../../userguide/) - End-user documentation
|
- [User Guide](../../userguide/) - End-user documentation
|
||||||
|
- [Win11 Creator Guide](../../userguide/win11Creator/) - Building customized Windows 11 ISOs
|
||||||
- [FAQ](../../faq/) - Common questions
|
- [FAQ](../../faq/) - Common questions
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
|
|||||||
@@ -2,15 +2,15 @@
|
|||||||
title: "Disable Legacy F8 Boot Recovery"
|
title: "Disable Legacy F8 Boot Recovery"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=110}
|
||||||
"WPFFeatureDisableLegacyRecovery": {
|
"WPFFeatureDisableLegacyRecovery": {
|
||||||
"Content": "Disable Legacy F8 Boot Recovery",
|
"Content": "Disable Legacy F8 Boot Recovery",
|
||||||
"Description": "Disables 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": "a019_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"bcdedit /set bootmenupolicy standard"
|
"bcdedit /set bootmenupolicy standard"
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "Enable Legacy F8 Boot Recovery"
|
title: "Enable Legacy F8 Boot Recovery"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=99}
|
||||||
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a018_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"bcdedit /set bootmenupolicy legacy"
|
"bcdedit /set bootmenupolicy legacy"
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "Enable Daily Registry Backup Task 12.30am"
|
title: "Enable Daily Registry Backup Task 12.30am"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeatureRegBackup": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=82}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a017_",
|
|
||||||
"feature": [],
|
"feature": [],
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "Windows Sandbox"
|
title: "Windows Sandbox"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeaturesSandbox": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=121}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a021_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"Containers-DisposableClientVM"
|
"Containers-DisposableClientVM"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 1
|
|
||||||
title: "Features"
|
title: "Features"
|
||||||
|
weight: 1
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< autolinks section="dev/features/features" >}}
|
{{< autolinks section="dev/features/features" >}}
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
title: "All .Net Framework (2,3,4)"
|
title: "All .Net Framework (2,3,4)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeaturesdotnet": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a010_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"NetFx4-AdvSrvs",
|
"NetFx4-AdvSrvs",
|
||||||
"NetFx3"
|
"NetFx3"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "HyperV Virtualization"
|
title: "HyperV Virtualization"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeatureshyperv": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=24}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a011_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"Microsoft-Hyper-V-All"
|
"Microsoft-Hyper-V-All"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,17 +2,18 @@
|
|||||||
title: "Legacy Media (WMP, DirectPlay)"
|
title: "Legacy Media (WMP, DirectPlay)"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeatureslegacymedia": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=37}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a012_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"WindowsMediaPlayer",
|
"WindowsMediaPlayer",
|
||||||
"MediaPlayback",
|
"MediaPlayback",
|
||||||
"DirectPlay",
|
"DirectPlay",
|
||||||
"LegacyComponents"
|
"LegacyComponents"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "NFS - Network File System"
|
title: "NFS - Network File System"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeaturenfs": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=63}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a014_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"ServicesForNFS-ClientOnly",
|
"ServicesForNFS-ClientOnly",
|
||||||
"ClientForNFS-Infrastructure",
|
"ClientForNFS-Infrastructure",
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
title: "Windows Subsystem for Linux"
|
title: "Windows Subsystem for Linux"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFFeaturewsl": {
|
```json {filename="config/feature.json",linenos=inline,linenostart=51}
|
||||||
|
"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",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a020_",
|
|
||||||
"feature": [
|
"feature": [
|
||||||
"VirtualMachinePlatform",
|
"VirtualMachinePlatform",
|
||||||
"Microsoft-Windows-Subsystem-Linux"
|
"Microsoft-Windows-Subsystem-Linux"
|
||||||
],
|
],
|
||||||
|
"InvokeScript": [],
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Set Up Autologin"
|
title: "Set Up Autologin"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```powershell
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFPanelAutologin {
|
function Invoke-WPFPanelAutologin {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
|
|||||||
@@ -1,143 +0,0 @@
|
|||||||
---
|
|
||||||
title: "System Corruption Scan"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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"
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
```
|
|
||||||
26
docs/content/dev/features/Fixes/DISM.md
Normal file
26
docs/content/dev/features/Fixes/DISM.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
Checks for disk failure using Chkdsk
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
1. Chkdsk - Checks for disk errors, which can cause system file corruption and notifies of early disk failure
|
||||||
|
2. SFC - scans protected system files for corruption and fixes them
|
||||||
|
3. DISM - Repair a corrupted Windows operating system image
|
||||||
|
#>
|
||||||
|
|
||||||
|
Start-Process cmd.exe -ArgumentList "/c chkdsk /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"
|
||||||
|
}
|
||||||
|
```
|
||||||
27
docs/content/dev/features/Fixes/NTPPool.md
Normal file
27
docs/content/dev/features/Fixes/NTPPool.md
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: "Configure NTP Server"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFFixesNTPPool.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFFixesNTPPool {
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Configures Windows to use pool.ntp.org for NTP synchronization
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
Replaces the default Windows NTP server (time.windows.com) with
|
||||||
|
pool.ntp.org for improved time synchronization accuracy and reliability.
|
||||||
|
#>
|
||||||
|
|
||||||
|
Start-Service w32time
|
||||||
|
w32tm /config /update /manualpeerlist:"pool.ntp.org,0x8" /syncfromflags:MANUAL
|
||||||
|
|
||||||
|
Restart-Service w32time
|
||||||
|
w32tm /resync
|
||||||
|
|
||||||
|
Write-Host "================================="
|
||||||
|
Write-Host "-- NTP Configuration Complete ---"
|
||||||
|
Write-Host "================================="
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Reset Network"
|
title: "Reset Network"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```powershell
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesNetwork {
|
function Invoke-WPFFixesNetwork {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
|
|||||||
@@ -1,38 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Remove Adobe Creative Cloud"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```powershell
|
|
||||||
function Invoke-WPFRunAdobeCCCleanerTool {
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
It removes or fixes problem files and resolves permission issues in registry keys.
|
|
||||||
.DESCRIPTION
|
|
||||||
The Creative Cloud Cleaner tool is a utility for experienced users to clean up corrupted installations.
|
|
||||||
#>
|
|
||||||
|
|
||||||
[string]$url="https://swupmf.adobe.com/webfeed/CleanerTool/win/AdobeCreativeCloudCleanerTool.exe"
|
|
||||||
|
|
||||||
Write-Host "The Adobe Creative Cloud Cleaner tool is hosted at"
|
|
||||||
Write-Host "$url"
|
|
||||||
|
|
||||||
try {
|
|
||||||
# Don't show the progress because it will slow down the download speed
|
|
||||||
$ProgressPreference='SilentlyContinue'
|
|
||||||
|
|
||||||
Invoke-WebRequest -Uri $url -OutFile "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -UseBasicParsing -ErrorAction SilentlyContinue -Verbose
|
|
||||||
|
|
||||||
# Revert back the ProgressPreference variable to the default value since we got the file desired
|
|
||||||
$ProgressPreference='Continue'
|
|
||||||
|
|
||||||
Start-Process -FilePath "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Wait -ErrorAction SilentlyContinue -Verbose
|
|
||||||
} catch {
|
|
||||||
Write-Error $_.Exception.Message
|
|
||||||
} finally {
|
|
||||||
if (Test-Path -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe") {
|
|
||||||
Write-Host "Cleaning up..."
|
|
||||||
Remove-Item -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Verbose
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -2,7 +2,8 @@
|
|||||||
title: "Reset Windows Update"
|
title: "Reset Windows Update"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```powershell
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFFixesUpdate.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesUpdate {
|
function Invoke-WPFFixesUpdate {
|
||||||
|
|
||||||
<#
|
<#
|
||||||
@@ -229,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
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,26 +2,27 @@
|
|||||||
title: "WinGet Reinstall"
|
title: "WinGet Reinstall"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```powershell
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFFixesWinget.ps1",linenos=inline,linenostart=1}
|
||||||
function Invoke-WPFFixesWinget {
|
function Invoke-WPFFixesWinget {
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Fixes Winget by running choco install winget
|
Fixes WinGet by running `choco install winget`
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
BravoNorris for the fantastic idea of a button to reinstall winget
|
BravoNorris for the fantastic idea of a button to reinstall WinGet
|
||||||
#>
|
#>
|
||||||
# Install Choco if not already present
|
# Install Choco if not already present
|
||||||
try {
|
try {
|
||||||
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
||||||
Write-Host "==> Starting Winget Repair"
|
Write-Host "==> Starting WinGet Repair"
|
||||||
Install-WinUtilWinget -Force
|
Install-WinUtilWinget
|
||||||
} catch {
|
} catch {
|
||||||
Write-Error "Failed to install winget: $_"
|
Write-Error "Failed to install WinGet: $_"
|
||||||
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
||||||
} finally {
|
} finally {
|
||||||
Write-Host "==> Finished Winget Repair"
|
Write-Host "==> Finished WinGet Repair"
|
||||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 2
|
|
||||||
title: "Fixes"
|
title: "Fixes"
|
||||||
|
weight: 2
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
{{< autolinks section="dev/features/fixes" >}}
|
{{< autolinks section="dev/features/fixes" >}}
|
||||||
|
|||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Computer.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Computer.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Computer Management"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=196}
|
||||||
|
"WPFPanelComputer": {
|
||||||
|
"Content": "Computer Management",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"compmgmt.msc"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Control.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Control.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Control Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=185}
|
||||||
|
"WPFPanelControl": {
|
||||||
|
"Content": "Control Panel",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"control"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Network.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Network.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Network Connections"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=207}
|
||||||
|
"WPFPanelNetwork": {
|
||||||
|
"Content": "Network Connections",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"ncpa.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Power.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Power.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Power Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=218}
|
||||||
|
"WPFPanelPower": {
|
||||||
|
"Content": "Power Panel",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"powercfg.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Printer.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Printer.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Printer Panel"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=229}
|
||||||
|
"WPFPanelPrinter": {
|
||||||
|
"Content": "Printer Panel",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"Start-Process 'shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}'"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Region.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Region.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Region"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=240}
|
||||||
|
"WPFPanelRegion": {
|
||||||
|
"Content": "Region",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"intl.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Restore.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Restore.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Windows Restore"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=251}
|
||||||
|
"WPFPanelRestore": {
|
||||||
|
"Content": "Windows Restore",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"rstrui.exe"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Sound.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Sound.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Sound Settings"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=262}
|
||||||
|
"WPFPanelSound": {
|
||||||
|
"Content": "Sound Settings",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"mmsys.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/System.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/System.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "System Properties"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=273}
|
||||||
|
"WPFPanelSystem": {
|
||||||
|
"Content": "System Properties",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"sysdm.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
16
docs/content/dev/features/Legacy-Windows-Panels/Timedate.md
Normal file
16
docs/content/dev/features/Legacy-Windows-Panels/Timedate.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
title: "Time and Date"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/feature.json",linenos=inline,linenostart=284}
|
||||||
|
"WPFPanelTimedate": {
|
||||||
|
"Content": "Time and Date",
|
||||||
|
"category": "Legacy Windows Panels",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Button",
|
||||||
|
"ButtonWidth": "300",
|
||||||
|
"InvokeScript": [
|
||||||
|
"timedate.cpl"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Control Panel"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Network Connections"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Power Panel"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Printer Settings"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Region"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Sound Settings"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "System Properties"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,32 +0,0 @@
|
|||||||
---
|
|
||||||
title: "User Accounts"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
title: "Install CTT PowerShell Profile"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/private/Invoke-WinUtilInstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WinUtilInstallPSProfile {
|
||||||
|
|
||||||
|
if (Test-Path $Profile) {
|
||||||
|
Rename-Item $Profile -NewName ($Profile + '.bak')
|
||||||
|
}
|
||||||
|
|
||||||
|
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: "Uninstall CTT PowerShell Profile"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/private/Invoke-WinUtilUninstallPSProfile.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WinUtilUninstallPSProfile {
|
||||||
|
if (Test-Path ($Profile + '.bak')) {
|
||||||
|
Remove-Item $Profile
|
||||||
|
Rename-Item ($Profile + '.bak') -NewName $Profile
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Remove-Item $Profile
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: "Powershell Profile Powershell 7+ Only"
|
||||||
|
weight: 5
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/powershell-profile-powershell-7--only" >}}
|
||||||
24
docs/content/dev/features/Remote-Access/SSHServer.md
Normal file
24
docs/content/dev/features/Remote-Access/SSHServer.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
title: "Enable OpenSSH Server"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```powershell {filename="functions/public/Invoke-WPFSSHServer.ps1",linenos=inline,linenostart=1}
|
||||||
|
function Invoke-WPFSSHServer {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.SYNOPSIS
|
||||||
|
Invokes the OpenSSH Server install in a runspace
|
||||||
|
|
||||||
|
#>
|
||||||
|
|
||||||
|
Invoke-WPFRunspace -ScriptBlock {
|
||||||
|
|
||||||
|
Invoke-WinUtilSSHServer
|
||||||
|
|
||||||
|
Write-Host "======================================="
|
||||||
|
Write-Host "-- OpenSSH Server installed! ---"
|
||||||
|
Write-Host "======================================="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
7
docs/content/dev/features/Remote-Access/_index.md
Normal file
7
docs/content/dev/features/Remote-Access/_index.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: "Remote Access"
|
||||||
|
weight: 4
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/remote-access" >}}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
weight: 1
|
|
||||||
title: "Features"
|
title: "Features"
|
||||||
|
weight: 1
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
@@ -14,3 +15,11 @@ title: "Features"
|
|||||||
### Features
|
### Features
|
||||||
|
|
||||||
{{< autolinks section="dev/features/features" >}}
|
{{< autolinks section="dev/features/features" >}}
|
||||||
|
|
||||||
|
### Remote Access
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/remote-access" >}}
|
||||||
|
|
||||||
|
### Powershell Profile Powershell 7+ Only
|
||||||
|
|
||||||
|
{{< autolinks section="dev/features/powershell-profile-powershell-7--only" >}}
|
||||||
|
|||||||
@@ -2,27 +2,28 @@
|
|||||||
title: "Bing Search in Start Menu"
|
title: "Bing Search in Start Menu"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleBingSearch": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2214}
|
||||||
|
"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 enabled, Bing web search results will be included 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).
|
||||||
|
|||||||
@@ -2,30 +2,30 @@
|
|||||||
title: "Dark Theme for Windows"
|
title: "Dark Theme for Windows"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleDarkMode": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2172}
|
||||||
|
"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": [
|
||||||
@@ -47,6 +47,7 @@ description: ""
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 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).
|
||||||
|
|||||||
@@ -2,35 +2,36 @@
|
|||||||
title: "Detailed BSoD"
|
title: "Detailed BSoD"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleDetailedBSoD": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2588}
|
||||||
|
"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, 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,28 +1,29 @@
|
|||||||
---
|
---
|
||||||
title: "Widgets Button in Taskbar"
|
title: "Cross-Device Resume"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleTaskbarWidgets": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2718}
|
||||||
"Content": "Widgets Button in Taskbar",
|
"WPFToggleDisableCrossDeviceResume": {
|
||||||
"Description": "If Enabled then Widgets Button in Taskbar will be shown.",
|
"Content": "Cross-Device Resume",
|
||||||
|
"Description": "This tweak controls the Resume function in Windows 11 24H2 and later, which allows you to resume an activity from a mobile device and vice-versa.",
|
||||||
"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).
|
||||||
@@ -2,22 +2,22 @@
|
|||||||
title: "Show Hidden Files"
|
title: "Show Hidden Files"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleHiddenFiles": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2468}
|
||||||
|
"WPFToggleHiddenFiles": {
|
||||||
"Content": "Show Hidden Files",
|
"Content": "Show Hidden Files",
|
||||||
"Description": "If Enabled then Hidden Files will be shown.",
|
"Description": "If enabled, 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": [
|
||||||
@@ -33,6 +33,7 @@ description: ""
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 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=2338}
|
||||||
|
"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).
|
||||||
@@ -2,43 +2,44 @@
|
|||||||
title: "Mouse Acceleration"
|
title: "Mouse Acceleration"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleMouseAcceleration": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2356}
|
||||||
|
"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, the 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=2450}
|
||||||
|
"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=2408}
|
||||||
|
"WPFToggleNewOutlook": {
|
||||||
|
"Content": "New Outlook",
|
||||||
|
"Description": "If disabled, it removes the new Outlook toggle, disables the new Outlook migration, and ensures the classic Outlook application is used.",
|
||||||
|
"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,36 +1,37 @@
|
|||||||
---
|
---
|
||||||
title: "NumLock on Startup"
|
title: "Num Lock on Startup"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleNumLock": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2250}
|
||||||
"Content": "NumLock on Startup",
|
"WPFToggleNumLock": {
|
||||||
|
"Content": "Num Lock 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).
|
||||||
|
|||||||
29
docs/content/dev/tweaks/Customize-Preferences/S3Sleep.md
Normal file
29
docs/content/dev/tweaks/Customize-Preferences/S3Sleep.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: "S3 Sleep"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2614}
|
||||||
|
"WPFToggleS3Sleep": {
|
||||||
|
"Content": "S3 Sleep",
|
||||||
|
"Description": "Toggles between Modern Standby and S3 Sleep.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power",
|
||||||
|
"Name": "PlatformAoAcOverride",
|
||||||
|
"Value": "0",
|
||||||
|
"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).
|
||||||
@@ -2,22 +2,22 @@
|
|||||||
title: "Show File Extensions"
|
title: "Show File Extensions"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleShowExt": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2496}
|
||||||
|
"WPFToggleShowExt": {
|
||||||
"Content": "Show File Extensions",
|
"Content": "Show File Extensions",
|
||||||
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
|
"Description": "If enabled, 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": [
|
||||||
@@ -33,6 +33,7 @@ description: ""
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 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,38 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Snap Assist Flyout"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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,38 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Snap Assist Suggestion"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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).
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Snap Window"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```json
|
|
||||||
"WPFToggleSnapWindow": {
|
|
||||||
"Content": "Snap Window",
|
|
||||||
"Description": "If enabled you can align windows by dragging them. | Relogin Required",
|
|
||||||
"category": "Customize Preferences",
|
|
||||||
"panel": "2",
|
|
||||||
"Order": "a106_",
|
|
||||||
"Type": "Toggle",
|
|
||||||
"registry": [
|
|
||||||
{
|
|
||||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
|
||||||
"Name": "WindowArrangementActive",
|
|
||||||
"Value": "1",
|
|
||||||
"OriginalValue": "0",
|
|
||||||
"DefaultState": "true",
|
|
||||||
"Type": "String"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
```
|
|
||||||
|
|
||||||
## 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).
|
|
||||||
29
docs/content/dev/tweaks/Customize-Preferences/StandbyFix.md
Normal file
29
docs/content/dev/tweaks/Customize-Preferences/StandbyFix.md
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: "Modern Standby fix"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2232}
|
||||||
|
"WPFToggleStandbyFix": {
|
||||||
|
"Content": "Modern Standby fix",
|
||||||
|
"Description": "Disable network connection during S0 Sleep. If network connectivity is turned on during S0 Sleep it could cause overheating on modern laptops.",
|
||||||
|
"category": "Customize Preferences",
|
||||||
|
"panel": "2",
|
||||||
|
"Type": "Toggle",
|
||||||
|
"registry": [
|
||||||
|
{
|
||||||
|
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Power\\PowerSettings\\f15576e8-98b7-4186-b944-eafa664402d9",
|
||||||
|
"Name": "ACSettingIndex",
|
||||||
|
"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).
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
---
|
||||||
|
title: "Recommendations in Start Menu"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2294}
|
||||||
|
"WPFToggleStartMenuRecommendations": {
|
||||||
|
"Content": "Recommendations in Start Menu",
|
||||||
|
"Description": "If disabled, then you will not see recommendations in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.",
|
||||||
|
"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).
|
||||||
@@ -2,27 +2,28 @@
|
|||||||
title: "Sticky Keys"
|
title: "Sticky Keys"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleStickyKeys": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2390}
|
||||||
|
"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, 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).
|
||||||
|
|||||||
@@ -2,27 +2,28 @@
|
|||||||
title: "Task View Button in Taskbar"
|
title: "Task View Button in Taskbar"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleTaskView": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2542}
|
||||||
|
"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, 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).
|
||||||
|
|||||||
@@ -2,27 +2,38 @@
|
|||||||
title: "Center Taskbar Items"
|
title: "Center Taskbar Items"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleTaskbarAlignment": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2560}
|
||||||
|
"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, 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\"
|
||||||
|
"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"
|
||||||
|
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).
|
||||||
|
|||||||
@@ -2,27 +2,28 @@
|
|||||||
title: "Search Button in Taskbar"
|
title: "Search Button in Taskbar"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleTaskbarSearch": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2524}
|
||||||
|
"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).
|
||||||
|
|||||||
@@ -2,27 +2,28 @@
|
|||||||
title: "Verbose Messages During Logon"
|
title: "Verbose Messages During Logon"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFToggleVerboseLogon": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2276}
|
||||||
|
"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,36 +1,34 @@
|
|||||||
---
|
---
|
||||||
title: Activity History
|
title: "Disable Activity History"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
## code we use:
|
|
||||||
|
|
||||||
```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": "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>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -38,6 +36,6 @@ description: ""
|
|||||||
|
|
||||||
## 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).
|
||||||
|
|||||||
@@ -2,25 +2,26 @@
|
|||||||
title: "Disable ConsumerFeatures"
|
title: "Disable ConsumerFeatures"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1311}
|
||||||
"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).
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "Delete Temporary Files"
|
title: "Delete Temporary Files"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2067}
|
||||||
"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=2663}
|
||||||
|
"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. WARNING! Will disable File Explorer grouping.",
|
||||||
|
"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!
|
||||||
|
"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: "Disable Microsoft Store search results"
|
||||||
|
description: ""
|
||||||
|
---
|
||||||
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=125}
|
||||||
|
"WPFTweaksDisableStoreSearch": {
|
||||||
|
"Content": "Disable Microsoft Store search results",
|
||||||
|
"Description": "Will not display recommended Microsoft Store apps when searching for apps in the Start menu.",
|
||||||
|
"category": "Essential Tweaks",
|
||||||
|
"panel": "1",
|
||||||
|
"InvokeScript": [
|
||||||
|
"icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /deny Everyone:F"
|
||||||
|
],
|
||||||
|
"UndoScript": [
|
||||||
|
"icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /grant Everyone:F"
|
||||||
|
],
|
||||||
|
```
|
||||||
@@ -2,13 +2,13 @@
|
|||||||
title: "Run Disk Cleanup"
|
title: "Run Disk Cleanup"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2054}
|
||||||
"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
|
||||||
|
|||||||
@@ -2,25 +2,26 @@
|
|||||||
title: "Enable End Task With Right Click"
|
title: "Enable End Task With Right Click"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1792}
|
||||||
"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,54 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Disable GameDVR"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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).
|
|
||||||
@@ -2,26 +2,26 @@
|
|||||||
title: "Disable Hibernation"
|
title: "Disable Hibernation"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFTweaksHiber": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
|
||||||
|
"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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -34,6 +34,7 @@ description: ""
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 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,57 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Set Hibernation as default (good for laptops)"
|
|
||||||
description: ""
|
|
||||||
---
|
|
||||||
```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).
|
|
||||||
@@ -2,46 +2,47 @@
|
|||||||
title: "Disable Location Tracking"
|
title: "Disable Location Tracking"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFTweaksLocation": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=138}
|
||||||
|
"WPFTweaksLocation": {
|
||||||
"Content": "Disable Location Tracking",
|
"Content": "Disable Location Tracking",
|
||||||
"Description": "Disables Location Tracking...DUH!",
|
"Description": "Disables Location Tracking.",
|
||||||
"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,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
title: "Disable Powershell 7 Telemetry"
|
title: "Disable PowerShell 7 Telemetry"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFTweaksPowershell7Tele": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1808}
|
||||||
"Content": "Disable Powershell 7 Telemetry",
|
"WPFTweaksPowershell7Tele": {
|
||||||
"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.",
|
"Content": "Disable PowerShell 7 Telemetry",
|
||||||
|
"Description": "Creates 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')"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,20 +2,20 @@
|
|||||||
title: "Create Restore Point"
|
title: "Create Restore Point"
|
||||||
description: ""
|
description: ""
|
||||||
---
|
---
|
||||||
```json
|
|
||||||
"WPFTweaksRestorePoint": {
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=1765}
|
||||||
|
"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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -30,3 +30,9 @@ description: ""
|
|||||||
"
|
"
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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).
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user