mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
[Docs 02] Auto dev-docs & more (#2481)
* Compile Winutil * pre-Releases (#1) * Create pre-release.yaml * Update release.yaml * Update pre-release.yaml * Create release-drafter.yml * Update release-drafter.yml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update pre-release.yaml * Update release-drafter.yml * Update pre-release.yaml * Update release-drafter.yml * Update pre-release.yaml * Update release-drafter.yml * Update release-drafter.yml * Update pre-release.yaml * Update pre-release.yaml * Update release-drafter.yml * Update release-drafter.yml * Update release.yaml * Update release-drafter.yml * Update release-drafter.yml * Update pre-release.yaml * Compile Winutil * fixed end task with right click * Compile Winutil * code generator & compile integration * Compile Winutil * finish - add autogenerated table of content page named "Dev Docs", with table of content to all .md files - added invokescript & undoscript - generate documentation files * oops, remove dublicates * undo winutil.ps1 * remove prefixes WPF WinUtil Toggle $category Features Tweaks Panel Fixes * fixes - fix inconsistency in Featurenaming - add "Enable" & "Disable" as prefix to remove * fix spellin mistake * remove unneccesary whitespaces update info remove unnecessary whitespaces by only adding stuff to the md if it actually exists * rewrite prefix removal into one line definition * added taskscheduler support * add support for function calling add support for functioncalling - replace code formatting for invoke & undo script from json to powershell * content instead of displayname * add last modified date * contributing + docs generator - moved contribute.md to root CONTRIBUTING.md - referenced CONTRIBUTING.md in contribute.md - added toggle & button reference to functions - added function references in functions - changed mkdocs site styling * Use HashSet for processedFunctions Use HashSet for processedFunctions: - Ensures dynamic addition of functions without duplication. Recursive Function Scanning: - Includes all nested functions called by InvokeScript, UndoScript, ToggleScript, and ButtonScript. * follow github standards - add code of conduct - reference code of conduct in docs - regrouped docs navigation - add comment about the sourced md file * small fixes * change color from teal to blue in light mode * add links to tweaks * add archiving feature to autodocs * administrative - add script to releases and remove from compile - move link from after description to after category * small fixes - add S in feature.json - fix dating - move link to after category * fix links * undo link bc of bugs * add progress bar to script - add progress like in compile - moved archive folder creation to the beginning of the script * Simple improvements to 'auto-devdocs' branch (#3) * Fix links for tweaks & features * Make New Line characters work for Json Snippet * Change NewLine Character from Unix Style (LF) to Windows/DOS Style (CRLF) * rerun script * und workflows & rearrange navigation items * layer out itemname cutout * rework links & temp removal of archivation * fix adding link in json root not adding link member to root in json files * fix json generation replace '\r\n',"`r`n" with ('\n',"`n") * add features to auto md docs * add minify plugin * regex hotfix * refractor * add changelog to about section add link to changelog in docs for about section * undo changelog * Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature (#4) * Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature * Fix NewLine character replace in 'devdocs-generator.ps1' * run script * run script * Fix 'itemnametocut' RegEx in 'devdocs-generator.ps1' (#5) * rerun script * rework nav + remove code of conduct * undo workflow changes * run script * remove changelog --------- Co-authored-by: MyDrift-user <MyDrift-user@users.noreply.github.com> Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
This commit is contained in:
830
docs/dev/tweaks/Essential-Tweaks/Tele.md
Normal file
830
docs/dev/tweaks/Essential-Tweaks/Tele.md
Normal file
@ -0,0 +1,830 @@
|
||||
# Disable Telemetry
|
||||
|
||||
Last Updated: 2024-08-07
|
||||
|
||||
|
||||
!!! info
|
||||
The Development Documentation is auto generated for every compilation of WinUtil, meaning a part of it will always stay up-to-date. **Developers do have the ability to add custom content, which won't be updated automatically.**
|
||||
## Description
|
||||
|
||||
Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser.
|
||||
|
||||
<!-- BEGIN CUSTOM CONTENT -->
|
||||
|
||||
<!-- END CUSTOM CONTENT -->
|
||||
|
||||
<details>
|
||||
<summary>Preview Code</summary>
|
||||
|
||||
```json
|
||||
{
|
||||
"Content": "Disable Telemetry",
|
||||
"Description": "Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser.",
|
||||
"category": "Essential Tweaks",
|
||||
"panel": "1",
|
||||
"Order": "a003_",
|
||||
"ScheduledTask": [
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\ProgramDataUpdater",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Maps\\MapsUpdateTask",
|
||||
"State": "Disabled",
|
||||
"OriginalState": "Enabled"
|
||||
}
|
||||
],
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Name": "AllowTelemetry",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "1",
|
||||
"Name": "AllowTelemetry",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ContentDeliveryAllowed",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"Name": "NumberOfSIUFInPeriod",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "0",
|
||||
"Name": "DoNotShowFeedbackNotifications",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "0",
|
||||
"Name": "DisableTailoredExperiencesWithDiagnosticData",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo",
|
||||
"OriginalValue": "0",
|
||||
"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": "1",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"_Comment": "Driver searching is a function that should be left in",
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SearchOrderConfig",
|
||||
"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": "MenuShowDelay",
|
||||
"Value": "1",
|
||||
"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": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "400",
|
||||
"Name": "MouseHoverTime",
|
||||
"Value": "400",
|
||||
"Type": "String"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters",
|
||||
"OriginalValue": "20",
|
||||
"Name": "IRPStackSize",
|
||||
"Value": "30",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds",
|
||||
"OriginalValue": "1",
|
||||
"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": "1",
|
||||
"Name": "HideSCAMeetNow",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ScoobeSystemSettingEnabled",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
"
|
||||
bcdedit /set `{current`} bootmenupolicy Legacy | Out-Null
|
||||
If ((get-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\" -Name CurrentBuild).CurrentBuild -lt 22557) {
|
||||
$taskmgr = Start-Process -WindowStyle Hidden -FilePath taskmgr.exe -PassThru
|
||||
Do {
|
||||
Start-Sleep -Milliseconds 100
|
||||
$preferences = Get-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\TaskManager\" -Name \"Preferences\" -ErrorAction SilentlyContinue
|
||||
} Until ($preferences)
|
||||
Stop-Process $taskmgr
|
||||
$preferences.Preferences[28] = 0
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\TaskManager\" -Name \"Preferences\" -Type Binary -Value $preferences.Preferences
|
||||
}
|
||||
Remove-Item -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}\" -Recurse -ErrorAction SilentlyContinue
|
||||
|
||||
# Fix Managed by your organization in Edge if regustry path exists then remove it
|
||||
|
||||
If (Test-Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\") {
|
||||
Remove-Item -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\" -Recurse -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
# Group svchost.exe processes
|
||||
$ram = (Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1kb
|
||||
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name \"SvcHostSplitThresholdInKB\" -Type DWord -Value $ram -Force
|
||||
|
||||
$autoLoggerDir = \"$env:PROGRAMDATA\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\"
|
||||
If (Test-Path \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\") {
|
||||
Remove-Item \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\"
|
||||
}
|
||||
icacls $autoLoggerDir /deny SYSTEM:`(OI`)`(CI`)F | Out-Null
|
||||
|
||||
# Disable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 2 -ErrorAction SilentlyContinue | Out-Null
|
||||
"
|
||||
],
|
||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/Tele"
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## Invoke Script
|
||||
|
||||
```powershell
|
||||
|
||||
bcdedit /set `{current`} bootmenupolicy Legacy | Out-Null
|
||||
If ((get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name CurrentBuild).CurrentBuild -lt 22557) {
|
||||
$taskmgr = Start-Process -WindowStyle Hidden -FilePath taskmgr.exe -PassThru
|
||||
Do {
|
||||
Start-Sleep -Milliseconds 100
|
||||
$preferences = Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager" -Name "Preferences" -ErrorAction SilentlyContinue
|
||||
} Until ($preferences)
|
||||
Stop-Process $taskmgr
|
||||
$preferences.Preferences[28] = 0
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\TaskManager" -Name "Preferences" -Type Binary -Value $preferences.Preferences
|
||||
}
|
||||
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" -Recurse -ErrorAction SilentlyContinue
|
||||
|
||||
# Fix Managed by your organization in Edge if regustry path exists then remove it
|
||||
|
||||
If (Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge") {
|
||||
Remove-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Recurse -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
# Group svchost.exe processes
|
||||
$ram = (Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1kb
|
||||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control" -Name "SvcHostSplitThresholdInKB" -Type DWord -Value $ram -Force
|
||||
|
||||
$autoLoggerDir = "$env:PROGRAMDATA\Microsoft\Diagnosis\ETLLogs\AutoLogger"
|
||||
If (Test-Path "$autoLoggerDir\AutoLogger-Diagtrack-Listener.etl") {
|
||||
Remove-Item "$autoLoggerDir\AutoLogger-Diagtrack-Listener.etl"
|
||||
}
|
||||
icacls $autoLoggerDir /deny SYSTEM:`(OI`)`(CI`)F | Out-Null
|
||||
|
||||
# Disable Defender Auto Sample Submission
|
||||
Set-MpPreference -SubmitSamplesConsent 2 -ErrorAction SilentlyContinue | Out-Null
|
||||
|
||||
|
||||
```
|
||||
## 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).
|
||||
|
||||
### Registry Key: AllowTelemetry
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: AllowTelemetry
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: ContentDeliveryAllowed
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: OemPreInstalledAppsEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: PreInstalledAppsEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: PreInstalledAppsEverEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SilentInstalledAppsEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SubscribedContent-338387Enabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SubscribedContent-338388Enabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SubscribedContent-338389Enabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SubscribedContent-353698Enabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: SystemPaneSuggestionsEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: NumberOfSIUFInPeriod
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: DoNotShowFeedbackNotifications
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: DisableTailoredExperiencesWithDiagnosticData
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: DisabledByGroupPolicy
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: Disabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: DODownloadMode
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: fAllowToGetHelp
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: EnthusiastMode
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: ShowTaskViewButton
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: PeopleBand
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: LaunchTo
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: LongPathsEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: SearchOrderConfig
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: SystemResponsiveness
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: NetworkThrottlingIndex
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 4294967295
|
||||
|
||||
### Registry Key: MenuShowDelay
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: AutoEndTasks
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: ClearPageFileAtShutdown
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 0
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: Start
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 2
|
||||
|
||||
### Registry Key: MouseHoverTime
|
||||
|
||||
**Type:** String
|
||||
|
||||
**Original Value:** 400
|
||||
|
||||
**New Value:** 400
|
||||
|
||||
### Registry Key: IRPStackSize
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 20
|
||||
|
||||
**New Value:** 30
|
||||
|
||||
### Registry Key: EnableFeeds
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
### Registry Key: ShellFeedsTaskbarViewMode
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 2
|
||||
|
||||
### Registry Key: HideSCAMeetNow
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 1
|
||||
|
||||
### Registry Key: ScoobeSystemSettingEnabled
|
||||
|
||||
**Type:** DWord
|
||||
|
||||
**Original Value:** 1
|
||||
|
||||
**New Value:** 0
|
||||
|
||||
|
||||
## Scheduled Task Changes
|
||||
|
||||
Windows scheduled tasks are used to run scripts or programs at specific times or events. Disabling unnecessary tasks can improve system performance and reduce unwanted background activity.
|
||||
|
||||
|
||||
You can find information about scheduled tasks on [Wikipedia](https://www.wikiwand.com/en/Windows_Task_Scheduler) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/desktop/taskschd/about-the-task-scheduler).
|
||||
|
||||
### Task Name: Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Application Experience\ProgramDataUpdater
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Autochk\Proxy
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Customer Experience Improvement Program\Consolidator
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Customer Experience Improvement Program\UsbCeip
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Feedback\Siuf\DmClient
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Windows Error Reporting\QueueReporting
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Application Experience\MareBackup
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Application Experience\StartupAppTask
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Application Experience\PcaPatchDbTask
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
### Task Name: Microsoft\Windows\Maps\MapsUpdateTask
|
||||
|
||||
**State:** Disabled
|
||||
|
||||
**Original State:** Enabled
|
||||
|
||||
|
||||
|
||||
<!-- BEGIN SECOND CUSTOM CONTENT -->
|
||||
|
||||
<!-- END SECOND CUSTOM CONTENT -->
|
||||
|
||||
|
||||
[View the JSON file](https://github.com/ChrisTitusTech/winutil/tree/main/config/tweaks.json)
|
||||
|
Reference in New Issue
Block a user