mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 14:48:31 +00:00
Compare commits
24 Commits
94d45a30fa
...
aaed116798
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aaed116798 | ||
|
|
354b09ec0d | ||
|
|
cfde1b5a92 | ||
|
|
4ebe1a3535 | ||
|
|
6708756574 | ||
|
|
301059fd3f | ||
|
|
df8d92cf11 | ||
|
|
6cda509604 | ||
|
|
8a8fed517c | ||
|
|
681f0ec3b9 | ||
|
|
4a31af4faf | ||
|
|
4ddb2795ff | ||
|
|
d5b5784492 | ||
|
|
15d0b42165 | ||
|
|
8fc7d30112 | ||
|
|
a12ea71adb | ||
|
|
b00c7b1ea2 | ||
|
|
ef29ab9ffc | ||
|
|
7219329d2c | ||
|
|
27b0a59abb | ||
|
|
457f1820c4 | ||
|
|
414cd139e2 | ||
|
|
e68e190ff3 | ||
|
|
86097572b0 |
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -4,19 +4,13 @@
|
||||
- [ ] New feature
|
||||
- [ ] Bug fix
|
||||
- [ ] Documentation update
|
||||
- [ ] Hotfix
|
||||
- [ ] UI/UX improvement
|
||||
|
||||
<!-- This automatically adds labels to your PR based on the selections above. -->
|
||||
|
||||
## Description
|
||||
<!--[Provide a detailed explanation of the changes you have made. Include the reasons behind these changes and any relevant context. Link any related issues.]-->
|
||||
<!--[What does this PR do? Provide Screenshots when possible.]-->
|
||||
|
||||
## Issue related to PR
|
||||
<!--[What issue/discussion is related to this PR (if any)]-->
|
||||
<!--[List any ISSUES this is related to as it AUTO-CLOSES Them!]-->
|
||||
- Resolves #
|
||||
|
||||
## Checklist
|
||||
- [ ] My code adheres to the coding and style guidelines of the project.
|
||||
- [ ] I have commented my code, particularly in hard-to-understand areas.
|
||||
- [ ] I have made corresponding changes to the documentation.
|
||||
|
||||
2
.github/workflows/label-pr.yaml
vendored
2
.github/workflows/label-pr.yaml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
contents: read # Often needed for github-script
|
||||
steps:
|
||||
- name: Check PR body for Type of Change
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const prBody = context.payload.pull_request.body || '';
|
||||
|
||||
16
Compile.ps1
16
Compile.ps1
@@ -12,12 +12,8 @@ $OFS = "`r`n"
|
||||
$scriptname = "winutil.ps1"
|
||||
$workingdir = $PSScriptRoot
|
||||
|
||||
Push-Location
|
||||
Set-Location $workingdir
|
||||
|
||||
# Variable to sync between runspaces
|
||||
$sync = [Hashtable]::Synchronized(@{})
|
||||
$sync.PSScriptRoot = $workingdir
|
||||
$sync.configs = @{}
|
||||
|
||||
function Update-Progress {
|
||||
@@ -56,7 +52,6 @@ $excludedFiles += @(
|
||||
'.\LICENSE',
|
||||
"$preprocessingFilePath",
|
||||
'*.png',
|
||||
'*.exe',
|
||||
'.\.preprocessor_hashes.json'
|
||||
)
|
||||
|
||||
@@ -132,19 +127,12 @@ try {
|
||||
} catch {
|
||||
Write-Warning "Syntax Validation for 'winutil.ps1' has failed"
|
||||
Write-Host "$($Error[0])" -ForegroundColor Red
|
||||
Pop-Location # Restore previous location before exiting...
|
||||
exit 1
|
||||
}
|
||||
Write-Progress -Activity "Validating" -Completed
|
||||
|
||||
if ($run) {
|
||||
$script = "& '$workingdir\$scriptname' $Arguments"
|
||||
|
||||
$powershellcmd = if (Get-Command pwsh -ErrorAction SilentlyContinue) { "pwsh" } else { "powershell" }
|
||||
$processCmd = if (Get-Command wt.exe -ErrorAction SilentlyContinue) { "wt.exe" } else { $powershellcmd }
|
||||
|
||||
Start-Process $processCmd -ArgumentList "$powershellcmd -NoProfile -Command $script"
|
||||
|
||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
|
||||
.\Winutil.ps1 $Arguments
|
||||
break
|
||||
}
|
||||
Pop-Location
|
||||
|
||||
@@ -555,7 +555,7 @@
|
||||
"ffmpeg": {
|
||||
"category": "Utilities",
|
||||
"choco": "na",
|
||||
"content": "eibol.FFmpegBatchAVConverter",
|
||||
"content": "FFmpeg Batch AV Converter",
|
||||
"description": "FFmpeg Batch AV Converter is a universal audio and video encoder, that allows to use the full potential of ffmpeg command line with a few mouse clicks in a convenient GUI with drag and drop, progress information.",
|
||||
"link": "https://ffmpeg-batch.sourceforge.io/",
|
||||
"winget": "eibol.FFmpegBatchAVConverter"
|
||||
@@ -1592,6 +1592,30 @@
|
||||
"link": "https://owncloud.com/desktop-app/",
|
||||
"winget": "ownCloud.ownCloudDesktop"
|
||||
},
|
||||
"policyplus": {
|
||||
"category": "Multimedia Tools",
|
||||
"choco": "na",
|
||||
"content": "Policy Plus",
|
||||
"description": "Local Group Policy Editor plus more, for all Windows editions.",
|
||||
"link": "https://github.com/Fleex255/PolicyPlus",
|
||||
"winget": "Fleex255.PolicyPlus"
|
||||
},
|
||||
"potplayer": {
|
||||
"category": "Multimedia Tools",
|
||||
"choco": "na",
|
||||
"content": "PotPlayer",
|
||||
"description": "PotPlayer is a free Windows media player with wide format support, high performance, built-in codecs, and extensive customization options.",
|
||||
"link": "https://potplayer.tv/",
|
||||
"winget": "Daum.PotPlayer"
|
||||
},
|
||||
"processexplorer": {
|
||||
"category": "Microsoft Tools",
|
||||
"choco": "na",
|
||||
"content": "Process Explorer",
|
||||
"description": "Process Explorer is a task manager and system monitor.",
|
||||
"link": "https://learn.microsoft.com/sysinternals/downloads/process-explorer",
|
||||
"winget": "Microsoft.Sysinternals.ProcessExplorer"
|
||||
},
|
||||
"Paintdotnet": {
|
||||
"category": "Multimedia Tools",
|
||||
"choco": "paint.net",
|
||||
@@ -1944,6 +1968,14 @@
|
||||
"link": "https://nilesoft.org/",
|
||||
"winget": "Nilesoft.Shell"
|
||||
},
|
||||
"systeminformer": {
|
||||
"category": "Development",
|
||||
"choco": "na",
|
||||
"content": "System Informer",
|
||||
"description": "A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.",
|
||||
"link": "https://systeminformer.com/",
|
||||
"winget": "WinsiderSS.SystemInformer"
|
||||
},
|
||||
"sidequest": {
|
||||
"category": "Games",
|
||||
"choco": "sidequest",
|
||||
@@ -2950,6 +2982,6 @@
|
||||
"content": "Zed",
|
||||
"description": "Zed is a modern, high-performance code editor designed from the ground up for speed and collaboration.",
|
||||
"link": "https://zed.dev/",
|
||||
"winget": "Zed.Zed"
|
||||
"winget": "ZedIndustries.Zed"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
},
|
||||
"WPFWinUtilInstallPSProfile": {
|
||||
"Content": "Install CTT PowerShell Profile",
|
||||
"category": "Powershell Profile",
|
||||
"category": "Powershell Profile Powershell 7+ Only",
|
||||
"panel": "2",
|
||||
"Order": "a083_",
|
||||
"Type": "Button",
|
||||
@@ -280,7 +280,7 @@
|
||||
},
|
||||
"WPFWinUtilUninstallPSProfile": {
|
||||
"Content": "Uninstall CTT PowerShell Profile",
|
||||
"category": "Powershell Profile",
|
||||
"category": "Powershell Profile Powershell 7+ Only",
|
||||
"panel": "2",
|
||||
"Order": "a084_",
|
||||
"Type": "Button",
|
||||
|
||||
@@ -60,6 +60,31 @@
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/hibernation"
|
||||
},
|
||||
"WPFTweaksWidget": {
|
||||
"Content": "Remove Widgets",
|
||||
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a005_",
|
||||
"InvokeScript": [
|
||||
"
|
||||
# Sometimes if you dont stop Widgets Process for removal to work
|
||||
Stop-Process -Name Widgets
|
||||
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
||||
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
Write-Host \"Removed widgets\"
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Restoring widgets AppxPackages\"
|
||||
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
"
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/widgets"
|
||||
},
|
||||
"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",
|
||||
@@ -665,7 +690,7 @@
|
||||
},
|
||||
{
|
||||
"Name": "TermService",
|
||||
"StartupType": "Automatic",
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Manual"
|
||||
},
|
||||
{
|
||||
@@ -725,7 +750,7 @@
|
||||
},
|
||||
{
|
||||
"Name": "VaultSvc",
|
||||
"StartupType": "Automatic",
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Manual"
|
||||
},
|
||||
{
|
||||
@@ -758,6 +783,11 @@
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Manual"
|
||||
},
|
||||
{
|
||||
"Name": "WSAIFabricSvc",
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Automatic"
|
||||
},
|
||||
{
|
||||
"Name": "WSearch",
|
||||
"StartupType": "AutomaticDelayedStart",
|
||||
@@ -1148,7 +1178,8 @@
|
||||
"Value": "0",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
]
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/bravedebloat/"
|
||||
},
|
||||
"WPFTweaksEdgeDebloat": {
|
||||
"Content": "Edge Debloat",
|
||||
@@ -1270,7 +1301,7 @@
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/edgedebloat"
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/edgedebloat"
|
||||
},
|
||||
"WPFTweaksConsumerFeatures": {
|
||||
"Content": "Disable ConsumerFeatures",
|
||||
@@ -1295,303 +1326,90 @@
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a003_",
|
||||
"ScheduledTask": [
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Autochk\\Proxy",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\DiskDiagnostic\\Microsoft-Windows-DiskDiagnosticDataCollector",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClient",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClientOnScenarioDownload",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Windows Error Reporting\\QueueReporting",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\MareBackup",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\StartupAppTask",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\PcaPatchDbTask",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
}
|
||||
],
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
|
||||
"Name": "Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
|
||||
"Name": "TailoredExperiencesWithDiagnosticDataEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
|
||||
"Name": "HasAccepted",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
|
||||
"Name": "Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||
"Name": "RestrictImplicitInkCollection",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||
"Name": "RestrictImplicitTextCollection",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
|
||||
"Name": "HarvestContacts",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
|
||||
"Name": "AcceptedPrivacyPolicy",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "AllowTelemetry",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "AllowTelemetry",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "Start_TrackProgs",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ContentDeliveryAllowed",
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
"Name": "PublishUserActivities",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "OemPreInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PreInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PreInstalledAppsEverEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SilentInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338387Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338388Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338389Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-353698Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SystemPaneSuggestionsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
||||
"OriginalValue": "0",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
|
||||
"Name": "NumberOfSIUFInPeriod",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DoNotShowFeedbackNotifications",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DisableTailoredExperiencesWithDiagnosticData",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DisabledByGroupPolicy",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting",
|
||||
"OriginalValue": "0",
|
||||
"Name": "Disabled",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeliveryOptimization\\Config",
|
||||
"OriginalValue": "1",
|
||||
"Name": "DODownloadMode",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DODownloadMode",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance",
|
||||
"OriginalValue": "1",
|
||||
"Name": "fAllowToGetHelp",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\OperationStatusManager",
|
||||
"OriginalValue": "0",
|
||||
"Name": "EnthusiastMode",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ShowTaskViewButton",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\People",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PeopleBand",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "LaunchTo",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem",
|
||||
"OriginalValue": "0",
|
||||
"Name": "LongPathsEnabled",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SystemResponsiveness",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"Name": "NetworkThrottlingIndex",
|
||||
"Value": "4294967295",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"Name": "AutoEndTasks",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
||||
"OriginalValue": "0",
|
||||
"Name": "ClearPageFileAtShutdown",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\ControlSet001\\Services\\Ndu",
|
||||
"OriginalValue": "1",
|
||||
"Name": "Start",
|
||||
"Value": "2",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters",
|
||||
"OriginalValue": "20",
|
||||
"Name": "IRPStackSize",
|
||||
"Value": "30",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "EnableFeeds",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ShellFeedsTaskbarViewMode",
|
||||
"Value": "2",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "HideSCAMeetNow",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ScoobeSystemSettingEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -1599,8 +1417,28 @@
|
||||
# Disable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 2
|
||||
|
||||
# Disable (Connected User Experiences and Telemetry) Service
|
||||
Set-Service -Name diagtrack -StartupType Disabled
|
||||
|
||||
# Disable (Windows Error Reporting Manager) Service
|
||||
Set-Service -Name wermgr -StartupType Disabled
|
||||
|
||||
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
||||
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
||||
|
||||
Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
# Enable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 1
|
||||
|
||||
# Enable (Connected User Experiences and Telemetry) Service
|
||||
Set-Service -Name diagtrack -StartupType Automatic
|
||||
|
||||
# Enable (Windows Error Reporting Manager) Service
|
||||
Set-Service -Name wermgr -StartupType Automatic
|
||||
"
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/telemetry"
|
||||
@@ -1620,7 +1458,7 @@
|
||||
winget install Microsoft.Edge --source winget
|
||||
"
|
||||
],
|
||||
"link": ""
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeedge"
|
||||
},
|
||||
"WPFTweaksUTC": {
|
||||
"Content": "Set Time to UTC (Dual Boot)",
|
||||
@@ -1661,12 +1499,18 @@
|
||||
|
||||
# Grant back permission to accses OneDrive folder
|
||||
icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
|
||||
|
||||
# Disable OneSyncSvc
|
||||
Set-Service -Name OneSyncSvc -StartupType Disabled
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Installing OneDrive\"
|
||||
winget install Microsoft.Onedrive --source winget
|
||||
|
||||
# Enabled OneSyncSvc
|
||||
Set-Service -Name OneSyncSvc -StartupType Enabled
|
||||
"
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"
|
||||
@@ -1809,9 +1653,24 @@
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/display"
|
||||
},
|
||||
"WPFTweaksXboxRemoval": {
|
||||
"Content": "Remove Xbox & Gaming Components",
|
||||
"Description": "Removes Xbox services, the Xbox app, Game Bar, and related authentication components.",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
"appx": [
|
||||
"Microsoft.XboxIdentityProvider",
|
||||
"Microsoft.XboxSpeechToTextOverlay",
|
||||
"Microsoft.GamingApp",
|
||||
"Microsoft.Xbox.TCUI",
|
||||
"Microsoft.XboxGamingOverlay"
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/xboxremoval"
|
||||
},
|
||||
"WPFTweaksDeBloat": {
|
||||
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
|
||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps other than the essentials onces.",
|
||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
@@ -1826,8 +1685,10 @@
|
||||
"Microsoft.BingFoodAndDrink",
|
||||
"Microsoft.BingHealthAndFitness",
|
||||
"Microsoft.BingTravel",
|
||||
"Microsoft.MinecraftUWP",
|
||||
"Microsoft.GamingServices",
|
||||
"Clipchamp.Clipchamp",
|
||||
"Microsoft.Todos",
|
||||
"MicrosoftCorporationII.QuickAssist",
|
||||
"Microsoft.MicrosoftStickyNotes",
|
||||
"Microsoft.GetHelp",
|
||||
"Microsoft.GetStarted",
|
||||
"Microsoft.Messaging",
|
||||
@@ -2043,11 +1904,12 @@
|
||||
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
|
||||
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
|
||||
|
||||
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
|
||||
$Appx = (Get-AppxPackage *MicrosoftWindows.Client.CoreAI*).PackageFullName
|
||||
if ($Appx) {
|
||||
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
|
||||
|
||||
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
|
||||
Remove-AppxPackage $Appx
|
||||
}
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
@@ -2072,7 +1934,8 @@
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Type": "DWord"
|
||||
}
|
||||
]
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/wpbt"
|
||||
},
|
||||
"WPFTweaksRazerBlock": {
|
||||
"Content": "Block Razer Software Installs",
|
||||
@@ -2115,7 +1978,7 @@
|
||||
icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone
|
||||
"
|
||||
],
|
||||
"link": ""
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/razerblock"
|
||||
},
|
||||
"WPFTweaksDisableNotifications": {
|
||||
"Content": "Disable Notification Tray/Calendar",
|
||||
@@ -2152,7 +2015,7 @@
|
||||
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
|
||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
|
||||
Copy-Item $hosts \"$hosts.bak\"
|
||||
Copy-Item $hosts \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
||||
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
||||
ipconfig /flushdns
|
||||
|
||||
@@ -2162,10 +2025,9 @@
|
||||
"UndoScript": [
|
||||
"
|
||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
$backup = \"$hosts.bak\"
|
||||
$backup = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
||||
|
||||
Copy-Item $backup $hosts
|
||||
Remove-Item $backup
|
||||
Remove-Item $hosts
|
||||
ipconfig /flushdns
|
||||
|
||||
Write-Host \"Removed Adobe url block list from host file\"
|
||||
@@ -2224,51 +2086,6 @@
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/deletetempfiles"
|
||||
},
|
||||
"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": "z__Advanced Tweaks - CAUTION",
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/gamedvr"
|
||||
},
|
||||
"WPFTweaksIPv46": {
|
||||
"Content": "Prefer IPv4 over IPv6",
|
||||
"Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
description: ""
|
||||
date: '{{ .Date }}'
|
||||
draft: true
|
||||
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
---
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Developer Reference
|
||||
weight: 3
|
||||
toc: false
|
||||
---
|
||||
|
||||
> [!NOTE]
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
# Disable Legacy F8 Boot Recovery
|
||||
|
||||
---
|
||||
title: "Disable Legacy F8 Boot Recovery"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeatureEnableLegacyRecovery": {
|
||||
"Content": "Enable Legacy F8 Boot Recovery",
|
||||
"Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||
"WPFFeatureDisableLegacyRecovery": {
|
||||
"Content": "Disable Legacy F8 Boot Recovery",
|
||||
"Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.",
|
||||
"category": "Features",
|
||||
"panel": "1",
|
||||
"Order": "a018_",
|
||||
"Order": "a019_",
|
||||
"feature": [],
|
||||
"InvokeScript": [
|
||||
"bcdedit /set bootmenupolicy standard"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Enable Legacy F8 Boot Recovery
|
||||
|
||||
---
|
||||
title: "Enable Legacy F8 Boot Recovery"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeatureEnableLegacyRecovery": {
|
||||
"Content": "Enable Legacy F8 Boot Recovery",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Enable Daily Registry Backup Task 12.30am
|
||||
|
||||
---
|
||||
title: "Enable Daily Registry Backup Task 12.30am"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeatureRegBackup": {
|
||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Windows Sandbox
|
||||
|
||||
---
|
||||
title: "Windows Sandbox"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeaturesSandbox": {
|
||||
"Content": "Windows Sandbox",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 1
|
||||
title: "Features"
|
||||
weight: 1
|
||||
toc: false
|
||||
---
|
||||
|
||||
{{< autolinks section="dev/features/features" >}}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# All .Net Framework (2,3,4)
|
||||
|
||||
---
|
||||
title: "All .Net Framework (2,3,4)"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeaturesdotnet": {
|
||||
"Content": "All .Net Framework (2,3,4)",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# HyperV Virtualization
|
||||
|
||||
---
|
||||
title: "HyperV Virtualization"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeatureshyperv": {
|
||||
"Content": "HyperV Virtualization",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Legacy Media (WMP, DirectPlay)
|
||||
|
||||
---
|
||||
title: "Legacy Media (WMP, DirectPlay)"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeatureslegacymedia": {
|
||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# NFS - Network File System
|
||||
|
||||
---
|
||||
title: "NFS - Network File System"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeaturenfs": {
|
||||
"Content": "NFS - Network File System",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Windows Subsystem for Linux
|
||||
|
||||
---
|
||||
title: "Windows Subsystem for Linux"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFFeaturewsl": {
|
||||
"Content": "Windows Subsystem for Linux",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Up Autologin
|
||||
|
||||
---
|
||||
title: "Set Up Autologin"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFPanelAutologin {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# System Corruption Scan
|
||||
|
||||
---
|
||||
title: "System Corruption Scan"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFSystemRepair {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Reset Network
|
||||
|
||||
---
|
||||
title: "Reset Network"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFFixesNetwork {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Remove Adobe Creative Cloud
|
||||
|
||||
---
|
||||
title: "Remove Adobe Creative Cloud"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFRunAdobeCCCleanerTool {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Reset Windows Update
|
||||
|
||||
---
|
||||
title: "Reset Windows Update"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFFixesUpdate {
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# WinGet Reinstall
|
||||
|
||||
---
|
||||
title: "WinGet Reinstall"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFFixesWinget {
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 2
|
||||
title: "Fixes"
|
||||
weight: 2
|
||||
toc: false
|
||||
---
|
||||
|
||||
{{< autolinks section="dev/features/fixes" >}}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 3
|
||||
title: "Legacy Windows Panels"
|
||||
weight: 3
|
||||
toc: false
|
||||
---
|
||||
|
||||
{{< autolinks section="dev/features/legacy-windows-panels" >}}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Control Panel
|
||||
|
||||
---
|
||||
title: "Control Panel"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Network Connections
|
||||
|
||||
---
|
||||
title: "Network Connections"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Power Panel
|
||||
|
||||
---
|
||||
title: "Power Panel"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Printer Settings
|
||||
|
||||
---
|
||||
title: "Printer Settings"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Region
|
||||
|
||||
---
|
||||
title: "Region"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Sound Settings
|
||||
|
||||
---
|
||||
title: "Sound Settings"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# System Properties
|
||||
|
||||
---
|
||||
title: "System Properties"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# User Accounts
|
||||
|
||||
---
|
||||
title: "User Accounts"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 1
|
||||
title: "Features"
|
||||
weight: 1
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Fixes
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Bing Search in Start Menu
|
||||
|
||||
---
|
||||
title: "Bing Search in Start Menu"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleBingSearch": {
|
||||
"Content": "Bing Search in Start Menu",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Dark Theme for Windows
|
||||
|
||||
---
|
||||
title: "Dark Theme for Windows"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleDarkMode": {
|
||||
"Content": "Dark Theme for Windows",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Detailed BSoD
|
||||
|
||||
---
|
||||
title: "Detailed BSoD"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleDetailedBSoD": {
|
||||
"Content": "Detailed BSoD",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Show Hidden Files
|
||||
|
||||
---
|
||||
title: "Show Hidden Files"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleHiddenFiles": {
|
||||
"Content": "Show Hidden Files",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Mouse Acceleration
|
||||
|
||||
---
|
||||
title: "Mouse Acceleration"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleMouseAcceleration": {
|
||||
"Content": "Mouse Acceleration",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# NumLock on Startup
|
||||
|
||||
---
|
||||
title: "NumLock on Startup"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleNumLock": {
|
||||
"Content": "NumLock on Startup",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Show File Extensions
|
||||
|
||||
---
|
||||
title: "Show File Extensions"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleShowExt": {
|
||||
"Content": "Show File Extensions",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Snap Assist Flyout
|
||||
|
||||
---
|
||||
title: "Snap Assist Flyout"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleSnapFlyout": {
|
||||
"Content": "Snap Assist Flyout",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Snap Assist Suggestion
|
||||
|
||||
---
|
||||
title: "Snap Assist Suggestion"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleSnapSuggestion": {
|
||||
"Content": "Snap Assist Suggestion",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Snap Window
|
||||
|
||||
---
|
||||
title: "Snap Window"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleSnapWindow": {
|
||||
"Content": "Snap Window",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Sticky Keys
|
||||
|
||||
---
|
||||
title: "Sticky Keys"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleStickyKeys": {
|
||||
"Content": "Sticky Keys",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Task View Button in Taskbar
|
||||
|
||||
---
|
||||
title: "Task View Button in Taskbar"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleTaskView": {
|
||||
"Content": "Task View Button in Taskbar",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Center Taskbar Items
|
||||
|
||||
---
|
||||
title: "Center Taskbar Items"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleTaskbarAlignment": {
|
||||
"Content": "Center Taskbar Items",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Search Button in Taskbar
|
||||
|
||||
---
|
||||
title: "Search Button in Taskbar"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleTaskbarSearch": {
|
||||
"Content": "Search Button in Taskbar",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Widgets Button in Taskbar
|
||||
|
||||
---
|
||||
title: "Widgets Button in Taskbar"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleTaskbarWidgets": {
|
||||
"Content": "Widgets Button in Taskbar",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Verbose Messages During Logon
|
||||
|
||||
---
|
||||
title: "Verbose Messages During Logon"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFToggleVerboseLogon": {
|
||||
"Content": "Verbose Messages During Logon",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 3
|
||||
title: "Customize Preferences"
|
||||
weight: 3
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Customize Preferences
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
# Disable Activity History
|
||||
---
|
||||
title: Activity History
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksActivity": {
|
||||
@@ -33,6 +36,7 @@
|
||||
```
|
||||
|
||||
## 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,5 +1,7 @@
|
||||
# Disable ConsumerFeatures
|
||||
|
||||
---
|
||||
title: "Disable ConsumerFeatures"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksConsumerFeatures": {
|
||||
"Content": "Disable ConsumerFeatures",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Delete Temporary Files
|
||||
|
||||
---
|
||||
title: "Delete Temporary Files"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDeleteTempFiles": {
|
||||
"Content": "Delete Temporary Files",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Run Disk Cleanup
|
||||
|
||||
---
|
||||
title: "Run Disk Cleanup"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDiskCleanup": {
|
||||
"Content": "Run Disk Cleanup",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Enable End Task With Right Click
|
||||
|
||||
---
|
||||
title: "Enable End Task With Right Click"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksEndTaskOnTaskbar": {
|
||||
"Content": "Enable End Task With Right Click",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable GameDVR
|
||||
|
||||
---
|
||||
title: "Disable GameDVR"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDVR": {
|
||||
"Content": "Disable GameDVR",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Hibernation
|
||||
|
||||
---
|
||||
title: "Disable Hibernation"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksHiber": {
|
||||
"Content": "Disable Hibernation",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Prefer IPv4 over IPv6
|
||||
|
||||
---
|
||||
title: "Prefer IPv4 over IPv6"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksIPv46": {
|
||||
"Content": "Prefer IPv4 over IPv6",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Hibernation as default (good for laptops)
|
||||
|
||||
---
|
||||
title: "Set Hibernation as default (good for laptops)"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksLaptopHibernation": {
|
||||
"Content": "Set Hibernation as default (good for laptops)",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Location Tracking
|
||||
|
||||
---
|
||||
title: "Disable Location Tracking"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksLocation": {
|
||||
"Content": "Disable Location Tracking",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Powershell 7 Telemetry
|
||||
|
||||
---
|
||||
title: "Disable Powershell 7 Telemetry"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksPowershell7Tele": {
|
||||
"Content": "Disable Powershell 7 Telemetry",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Create Restore Point
|
||||
|
||||
---
|
||||
title: "Create Restore Point"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksRestorePoint": {
|
||||
"Content": "Create Restore Point",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Services to Manual
|
||||
|
||||
---
|
||||
title: "Set Services to Manual"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksServices": {
|
||||
"Content": "Set Services to Manual",
|
||||
@@ -613,6 +615,11 @@
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Manual"
|
||||
},
|
||||
{
|
||||
"Name": "WSAIFabricSvc",
|
||||
"StartupType": "Manual",
|
||||
"OriginalType": "Automatic"
|
||||
},
|
||||
{
|
||||
"Name": "WSearch",
|
||||
"StartupType": "AutomaticDelayedStart",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Storage Sense
|
||||
|
||||
---
|
||||
title: "Disable Storage Sense"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksStorage": {
|
||||
"Content": "Disable Storage Sense",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Telemetry
|
||||
|
||||
---
|
||||
title: "Disable Telemetry"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksTelemetry": {
|
||||
"Content": "Disable Telemetry",
|
||||
@@ -7,309 +9,125 @@
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a003_",
|
||||
"ScheduledTask": [
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Autochk\\Proxy",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\DiskDiagnostic\\Microsoft-Windows-DiskDiagnosticDataCollector",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClient",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Feedback\\Siuf\\DmClientOnScenarioDownload",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Windows Error Reporting\\QueueReporting",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\MareBackup",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\StartupAppTask",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\PcaPatchDbTask",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
}
|
||||
],
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo",
|
||||
"Name": "Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy",
|
||||
"Name": "TailoredExperiencesWithDiagnosticDataEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy",
|
||||
"Name": "HasAccepted",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC",
|
||||
"Name": "Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||
"Name": "RestrictImplicitInkCollection",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization",
|
||||
"Name": "RestrictImplicitTextCollection",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore",
|
||||
"Name": "HarvestContacts",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings",
|
||||
"Name": "AcceptedPrivacyPolicy",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "AllowTelemetry",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "AllowTelemetry",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "Start_TrackProgs",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ContentDeliveryAllowed",
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
"Name": "PublishUserActivities",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "OemPreInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PreInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PreInstalledAppsEverEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SilentInstalledAppsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338387Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338388Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-338389Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SubscribedContent-353698Enabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SystemPaneSuggestionsEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
||||
"OriginalValue": "0",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules",
|
||||
"Name": "NumberOfSIUFInPeriod",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DoNotShowFeedbackNotifications",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DisableTailoredExperiencesWithDiagnosticData",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DisabledByGroupPolicy",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting",
|
||||
"OriginalValue": "0",
|
||||
"Name": "Disabled",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeliveryOptimization\\Config",
|
||||
"OriginalValue": "1",
|
||||
"Name": "DODownloadMode",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DODownloadMode",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance",
|
||||
"OriginalValue": "1",
|
||||
"Name": "fAllowToGetHelp",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\OperationStatusManager",
|
||||
"OriginalValue": "0",
|
||||
"Name": "EnthusiastMode",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ShowTaskViewButton",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\People",
|
||||
"OriginalValue": "1",
|
||||
"Name": "PeopleBand",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "LaunchTo",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem",
|
||||
"OriginalValue": "0",
|
||||
"Name": "LongPathsEnabled",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SystemResponsiveness",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"Name": "NetworkThrottlingIndex",
|
||||
"Value": "4294967295",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"Name": "AutoEndTasks",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
||||
"OriginalValue": "0",
|
||||
"Name": "ClearPageFileAtShutdown",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\ControlSet001\\Services\\Ndu",
|
||||
"OriginalValue": "1",
|
||||
"Name": "Start",
|
||||
"Value": "2",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters",
|
||||
"OriginalValue": "20",
|
||||
"Name": "IRPStackSize",
|
||||
"Value": "30",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "EnableFeeds",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ShellFeedsTaskbarViewMode",
|
||||
"Value": "2",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "HideSCAMeetNow",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ScoobeSystemSettingEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
"
|
||||
# Disable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 2
|
||||
|
||||
# Disable (Connected User Experiences and Telemetry) Service
|
||||
Set-Service -Name diagtrack -StartupType Disabled
|
||||
|
||||
# Disable (Windows Error Reporting Manager) Service
|
||||
Set-Service -Name wermgr -StartupType Disabled
|
||||
|
||||
$Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB
|
||||
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory
|
||||
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Siuf\Rules" -Name "PeriodInNanoSeconds"
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
# Enable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 1
|
||||
|
||||
# Enable (Connected User Experiences and Telemetry) Service
|
||||
Set-Service -Name diagtrack -StartupType Automatic
|
||||
|
||||
# Enable (Windows Error Reporting Manager) Service
|
||||
Set-Service -Name wermgr -StartupType Automatic
|
||||
"
|
||||
],
|
||||
```
|
||||
|
||||
## Registry Changes
|
||||
|
||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||
|
||||
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).
|
||||
|
||||
28
docs/content/dev/tweaks/Essential-Tweaks/WPBT.md
Normal file
28
docs/content/dev/tweaks/Essential-Tweaks/WPBT.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: "Disable Windows Platform Binary Table (WPBT)"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksWPBT": {
|
||||
"Content": "Disable Windows Platform Binary Table (WPBT)",
|
||||
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a005_",
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager",
|
||||
"Name": "DisableWpbtExecution",
|
||||
"Value": "1",
|
||||
"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).
|
||||
30
docs/content/dev/tweaks/Essential-Tweaks/Widget.md
Normal file
30
docs/content/dev/tweaks/Essential-Tweaks/Widget.md
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
title: "Remove Widgets"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksWidget": {
|
||||
"Content": "Remove Widgets",
|
||||
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a005_",
|
||||
"InvokeScript": [
|
||||
"
|
||||
# Sometimes if you dont stop Widgets Process for removal to work
|
||||
Stop-Process -Name Widgets
|
||||
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
||||
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
Write-Host \"Removed widgets\"
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Restoring widgets AppxPackages\"
|
||||
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
"
|
||||
],
|
||||
```
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 1
|
||||
title: "Essential Tweaks"
|
||||
weight: 1
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Essential Tweaks
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Remove Ultimate Performance Profile
|
||||
|
||||
---
|
||||
title: "Remove Ultimate Performance Profile"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
Function Invoke-WPFUltimatePerformance {
|
||||
<#
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 4
|
||||
title: "Performance Plans"
|
||||
weight: 4
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Performance Plans
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 2
|
||||
title: "Tweaks"
|
||||
weight: 2
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Essential Tweaks
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Adobe Network Block
|
||||
|
||||
---
|
||||
title: "Adobe Network Block"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksBlockAdobeNet": {
|
||||
"Content": "Adobe Network Block",
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: "Debloat Brave"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksBraveDebloat": {
|
||||
"Content": "Brave Debloat",
|
||||
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a022_",
|
||||
"registry": [
|
||||
{
|
||||
"Path":"HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveRewardsDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveWalletDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveVPNDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveAIChatEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveStatsPingEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
```
|
||||
@@ -1,9 +1,11 @@
|
||||
# Remove ALL MS Store Apps - NOT RECOMMENDED
|
||||
|
||||
---
|
||||
title: "Remove ALL MS Store Apps - NOT RECOMMENDED"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDeBloat": {
|
||||
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
|
||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps other than the essentials ones.",
|
||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
@@ -18,8 +20,10 @@
|
||||
"Microsoft.BingFoodAndDrink",
|
||||
"Microsoft.BingHealthAndFitness",
|
||||
"Microsoft.BingTravel",
|
||||
"Microsoft.MinecraftUWP",
|
||||
"Microsoft.GamingServices",
|
||||
"Clipchamp.Clipchamp",
|
||||
"Microsoft.Todos",
|
||||
"MicrosoftCorporationII.QuickAssist",
|
||||
"Microsoft.MicrosoftStickyNotes",
|
||||
"Microsoft.GetHelp",
|
||||
"Microsoft.GetStarted",
|
||||
"Microsoft.Messaging",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Background Apps
|
||||
|
||||
---
|
||||
title: "Disable Background Apps"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDisableBGapps": {
|
||||
"Content": "Disable Background Apps",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Fullscreen Optimizations
|
||||
|
||||
---
|
||||
title: "Disable Fullscreen Optimizations"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDisableFSO": {
|
||||
"Content": "Disable Fullscreen Optimizations",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable IPv6
|
||||
|
||||
---
|
||||
title: "Disable IPv6"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDisableIPv6": {
|
||||
"Content": "Disable IPv6",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Notification Tray/Calendar
|
||||
|
||||
---
|
||||
title: "Disable Notification Tray/Calendar"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDisableNotifications": {
|
||||
"Content": "Disable Notification Tray/Calendar",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Display for Performance
|
||||
|
||||
---
|
||||
title: "Set Display for Performance"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksDisplay": {
|
||||
"Content": "Set Display for Performance",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Debloat Edge
|
||||
|
||||
---
|
||||
title: "Debloat Edge"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksEdgeDebloat": {
|
||||
"Content": "Edge Debloat",
|
||||
@@ -1,5 +1,7 @@
|
||||
# Run OO Shutup 10
|
||||
|
||||
---
|
||||
title: "Run OO Shutup 10"
|
||||
description: ""
|
||||
---
|
||||
```powershell
|
||||
function Invoke-WPFOOSU {
|
||||
<#
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
---
|
||||
title: "Block Razer Software Installs"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksRazerBlock": {
|
||||
"Content": "Block Razer Software Installs",
|
||||
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a021_",
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
||||
"Name": "SearchOrderConfig",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
|
||||
"Name": "DisableCoInstallers",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
"
|
||||
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
|
||||
|
||||
if (Test-Path $RazerPath) {
|
||||
Remove-Item $RazerPath\\* -Recurse -Force
|
||||
}
|
||||
else {
|
||||
New-Item -Path $RazerPath -ItemType Directory
|
||||
}
|
||||
|
||||
icacls $RazerPath /deny \"Everyone:(W)\"
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone
|
||||
"
|
||||
],
|
||||
```
|
||||
|
||||
## 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,5 +1,7 @@
|
||||
# Remove Microsoft Edge
|
||||
|
||||
---
|
||||
title: "Remove Microsoft Edge"
|
||||
description: ""
|
||||
---
|
||||
# Json File
|
||||
```json
|
||||
"WPFTweaksRemoveEdge": {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Remove Gallery from explorer
|
||||
|
||||
---
|
||||
title: "Remove Gallery from explorer"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksRemoveGallery": {
|
||||
"Content": "Remove Gallery from explorer",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Remove Home from explorer
|
||||
|
||||
---
|
||||
title: "Remove Home from explorer"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksRemoveHome": {
|
||||
"Content": "Remove Home from Explorer",
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# Remove OneDrive
|
||||
---
|
||||
title: "Remove OneDrive"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksRemoveOneDrive": {
|
||||
"Content": "Remove OneDrive",
|
||||
@@ -22,12 +26,18 @@
|
||||
|
||||
# Grant back permission to accses OneDrive folder
|
||||
icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
|
||||
|
||||
# Disable OneSyncSvc
|
||||
Set-Service -Name OneSyncSvc -StartupType Disabled
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Installing OneDrive\"
|
||||
winget install Microsoft.Onedrive --source winget
|
||||
|
||||
# Enabled OneSyncSvc
|
||||
Set-Service -Name OneSyncSvc -StartupType Enabled
|
||||
"
|
||||
],
|
||||
```
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Classic Right-Click Menu
|
||||
|
||||
---
|
||||
title: "Set Classic Right-Click Menu"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksRightClickMenu": {
|
||||
"Content": "Set Classic Right-Click Menu ",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Disable Teredo
|
||||
|
||||
---
|
||||
title: "Disable Teredo"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksTeredo": {
|
||||
"Content": "Disable Teredo",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Set Time to UTC (Dual Boot)
|
||||
|
||||
---
|
||||
title: "Set Time to UTC (Dual Boot)"
|
||||
description: ""
|
||||
---
|
||||
```json
|
||||
"WPFTweaksUTC": {
|
||||
"Content": "Set Time to UTC (Dual Boot)",
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: "Remove Xbox & Gaming Components"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
"WPFTweaksXboxRemoval": {
|
||||
"Content": "Remove Xbox & Gaming Components",
|
||||
"Description": "Removes Xbox services, the Xbox app, Game Bar, and related authentication components.",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
"panel": "1",
|
||||
"Order": "a028_",
|
||||
"appx": [
|
||||
"Microsoft.XboxIdentityProvider",
|
||||
"Microsoft.XboxSpeechToTextOverlay",
|
||||
"Microsoft.GamingApp",
|
||||
"Microsoft.Xbox.TCUI",
|
||||
"Microsoft.XboxGamingOverlay"
|
||||
],
|
||||
```
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
weight: 2
|
||||
title: "Advanced Tweaks (CAUTION)"
|
||||
weight: 2
|
||||
toc: false
|
||||
---
|
||||
|
||||
### Advanced Tweaks (CAUTION)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
copyright: "© Chris Titus Tech. All rights reserved."
|
||||
copyright: "© <script>document.write(new Date().getFullYear())</script> <a href='https://christitus.com'>Chris Titus Tech</a>. All rights reserved."
|
||||
|
||||
backToTop: "Scroll to top"
|
||||
changeLanguage: "Change language"
|
||||
|
||||
@@ -6,14 +6,12 @@
|
||||
{{- if eq $pageTitle "" -}}
|
||||
{{- $pageTitle = .File.BaseFileName | humanize | title -}}
|
||||
{{- end -}}
|
||||
{{- if findRE "^# .+" .RawContent -}}
|
||||
{{- $pageTitle = replaceRE "(?s)^# (.+?)\\n.*" "$1" .RawContent -}}
|
||||
{{- end -}}
|
||||
{{- $pages = $pages | append (dict "title" $pageTitle "url" .RelPermalink) -}}
|
||||
{{- $pageDesc := .Description -}}
|
||||
{{- $pages = $pages | append (dict "title" $pageTitle "description" $pageDesc "url" .RelPermalink) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
<ul>
|
||||
{{- range sort $pages "title" "asc" }}
|
||||
<li><a href="{{ .url }}">{{ .title }}</a></li>
|
||||
<li><a href="{{ .url }}">{{ .title }}</a>{{ with .description }} - {{ . }}{{ end }}</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
||||
@@ -45,7 +45,7 @@ Function Get-WinUtilToggleStatus {
|
||||
} else {
|
||||
Write-Debug "$($regentry.Name) is false (state: $regstate, value: $($regentry.Value), original: $($regentry.OriginalValue))"
|
||||
}
|
||||
if (!$regstate) {
|
||||
if ($null -eq $regstate) {
|
||||
switch ($regentry.DefaultState) {
|
||||
"true" {
|
||||
$regstate = $regentry.Value
|
||||
|
||||
@@ -50,30 +50,56 @@ Function Invoke-WinUtilCurrentSystem {
|
||||
|
||||
$Config = $psitem.Name
|
||||
#WPFEssTweaksTele
|
||||
$registryKeys = $sync.configs.tweaks.$Config.registry
|
||||
$scheduledtaskKeys = $sync.configs.tweaks.$Config.scheduledtask
|
||||
$serviceKeys = $sync.configs.tweaks.$Config.service
|
||||
$entry = $sync.configs.tweaks.$Config
|
||||
$registryKeys = $entry.registry
|
||||
$scheduledtaskKeys = $entry.scheduledtask
|
||||
$serviceKeys = $entry.service
|
||||
$appxKeys = $entry.appx
|
||||
$invokeScript = $entry.InvokeScript
|
||||
$entryType = $entry.Type
|
||||
|
||||
if ($registryKeys -or $scheduledtaskKeys -or $serviceKeys) {
|
||||
$Values = @()
|
||||
|
||||
|
||||
Foreach ($tweaks in $registryKeys) {
|
||||
Foreach($tweak in $tweaks) {
|
||||
|
||||
if(test-path $tweak.Path) {
|
||||
$actualValue = Get-ItemProperty -Name $tweak.Name -Path $tweak.Path -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $($tweak.Name)
|
||||
$expectedValue = $tweak.Value
|
||||
if ($expectedValue -eq "<RemoveEntry>") {
|
||||
if ($null -ne $actualValue) {
|
||||
$values += $False
|
||||
}
|
||||
} elseif ($expectedValue -notlike $actualValue) {
|
||||
if ($entryType -eq "Toggle") {
|
||||
if (-not (Get-WinUtilToggleStatus $Config)) {
|
||||
$values += $False
|
||||
}
|
||||
} else {
|
||||
$values += $False
|
||||
$registryMatchCount = 0
|
||||
$registryTotal = 0
|
||||
|
||||
Foreach ($tweaks in $registryKeys) {
|
||||
Foreach ($tweak in $tweaks) {
|
||||
$registryTotal++
|
||||
$regstate = $null
|
||||
|
||||
if (Test-Path $tweak.Path) {
|
||||
$regstate = Get-ItemProperty -Name $tweak.Name -Path $tweak.Path -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $($tweak.Name)
|
||||
}
|
||||
|
||||
if ($null -eq $regstate) {
|
||||
switch ($tweak.DefaultState) {
|
||||
"true" {
|
||||
$regstate = $tweak.Value
|
||||
}
|
||||
"false" {
|
||||
$regstate = $tweak.OriginalValue
|
||||
}
|
||||
default {
|
||||
$regstate = $tweak.OriginalValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($regstate -eq $tweak.Value) {
|
||||
$registryMatchCount++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($registryTotal -gt 0 -and $registryMatchCount -ne $registryTotal) {
|
||||
$values += $False
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,6 +134,10 @@ Function Invoke-WinUtilCurrentSystem {
|
||||
if ($values -notcontains $false) {
|
||||
Write-Output $Config
|
||||
}
|
||||
} else {
|
||||
if ($invokeScript -or $appxKeys) {
|
||||
Write-Debug "Skipping $Config in Get Installed: no detectable registry, scheduled task, or service state."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ function Invoke-WinUtilInstallPSProfile {
|
||||
Rename-Item $Profile -NewName ($Profile + '.bak')
|
||||
}
|
||||
|
||||
Start-Process powershell -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
||||
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
||||
}
|
||||
|
||||
@@ -129,8 +129,8 @@ function Invoke-WinutilThemeChange {
|
||||
}
|
||||
}
|
||||
|
||||
$LightPreferencePath = "$env:LOCALAPPDATA\winutil\LightTheme.ini"
|
||||
$DarkPreferencePath = "$env:LOCALAPPDATA\winutil\DarkTheme.ini"
|
||||
$LightPreferencePath = "$winutildir\LightTheme.ini"
|
||||
$DarkPreferencePath = "$winutildir\DarkTheme.ini"
|
||||
|
||||
if ($init) {
|
||||
Set-WinutilTheme -currentTheme "shared"
|
||||
|
||||
@@ -14,8 +14,8 @@ function Set-PackageManagerPreference {
|
||||
[PackageManagers]$preferredPackageManager
|
||||
)
|
||||
|
||||
$preferencePath = "$env:LOCALAPPDATA\winutil\preferences.ini"
|
||||
$oldChocoPath = "$env:LOCALAPPDATA\winutil\preferChocolatey.ini"
|
||||
$preferencePath = "$winutildir\preferences.ini"
|
||||
$oldChocoPath = "$winutildir\preferChocolatey.ini"
|
||||
|
||||
#Try loading from file if no argument given.
|
||||
if ($null -eq $preferredPackageManager) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user