mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-03-12 17:51:46 +08:00
Merge branch 'main' of https://github.com/ChrisTitusTech/winutil
This commit is contained in:
@@ -8,22 +8,22 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
"Name": "EnableActivityFeed",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
"Name": "PublishUserActivities",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
"Name": "UploadUserActivities",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
@@ -38,15 +38,15 @@
|
||||
{
|
||||
"Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||
"Name": "HibernateEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
|
||||
"Name": "ShowHibernateOption",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
],
|
||||
@@ -120,7 +120,7 @@
|
||||
Write-Host 'New start menu reverted please restart your computer to take effect'
|
||||
"
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--Advanced-Tweaks---CAUTION/revertstartmenu"
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/revertstartmenu"
|
||||
},
|
||||
"WPFTweaksLocation": {
|
||||
"Content": "Disable Location Tracking",
|
||||
@@ -131,29 +131,29 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location",
|
||||
"Name": "Value",
|
||||
"Type": "String",
|
||||
"Value": "Deny",
|
||||
"Type": "String",
|
||||
"OriginalValue": "Allow"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}",
|
||||
"Name": "SensorPermissionState",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration",
|
||||
"Name": "Status",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\Maps",
|
||||
"Name": "AutoUpdateEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
],
|
||||
@@ -1132,36 +1132,36 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveRewardsDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveWalletDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveVPNDisabled",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveAIChatEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave",
|
||||
"Name": "BraveStatsPingEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
@@ -1176,113 +1176,113 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\EdgeUpdate",
|
||||
"Name": "CreateDesktopShortcutDefault",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "PersonalizationReportingEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallBlocklist",
|
||||
"Name": "1",
|
||||
"Type": "String",
|
||||
"Value": "ofefcgjbeghpigppfmkologfjadafddi",
|
||||
"Type": "String",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "ShowRecommendationsEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "HideFirstRunExperience",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "UserFeedbackAllowed",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "ConfigureDoNotTrack",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "AlternateErrorPagesEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "EdgeCollectionsEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "EdgeShoppingAssistantEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "MicrosoftEdgeInsiderPromotionEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "ShowMicrosoftRewards",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "WebWidgetAllowed",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "DiagnosticData",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "EdgeAssetDeliveryServiceEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "WalletDonationEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
@@ -1296,10 +1296,10 @@
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Name": "DisableWindowsConsumerFeatures",
|
||||
"Value": "1",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/consumerfeatures"
|
||||
@@ -1451,8 +1451,8 @@
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
|
||||
"Name": "RealTimeIsUniversal",
|
||||
"Type": "QWord",
|
||||
"Value": "1",
|
||||
"Type": "QWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
@@ -1539,87 +1539,87 @@
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"Name": "DragFullWindows",
|
||||
"Value": "0",
|
||||
"Type": "String"
|
||||
"Type": "String",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "400",
|
||||
"Name": "MenuShowDelay",
|
||||
"Value": "200",
|
||||
"Type": "String"
|
||||
"Type": "String",
|
||||
"OriginalValue": "400"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop\\WindowMetrics",
|
||||
"OriginalValue": "1",
|
||||
"Name": "MinAnimate",
|
||||
"Value": "0",
|
||||
"Type": "String"
|
||||
"Type": "String",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Keyboard",
|
||||
"OriginalValue": "1",
|
||||
"Name": "KeyboardDelay",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ListviewAlphaSelect",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ListviewShadow",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "TaskbarAnimations",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects",
|
||||
"OriginalValue": "1",
|
||||
"Name": "VisualFXSetting",
|
||||
"Value": "3",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\DWM",
|
||||
"OriginalValue": "1",
|
||||
"Name": "EnableAeroPeek",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "TaskbarMn",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"Name": "ShowTaskViewButton",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||
"OriginalValue": "1",
|
||||
"Name": "SearchboxTaskbarMode",
|
||||
"Value": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -1743,8 +1743,8 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore",
|
||||
"Name": "SystemRestorePointCreationFrequency",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1440"
|
||||
}
|
||||
],
|
||||
@@ -1769,8 +1769,8 @@
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings",
|
||||
"Name": "TaskbarEndTask",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
@@ -1798,8 +1798,8 @@
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy",
|
||||
"Name": "01",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
],
|
||||
@@ -1814,57 +1814,57 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
||||
"Name": "TurnOffWindowsCopilot",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot",
|
||||
"Name": "TurnOffWindowsCopilot",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "ShowCopilotButton",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
||||
"Name": "IsCopilotAvailable",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot",
|
||||
"Name": "CopilotDisabledReason",
|
||||
"Type": "String",
|
||||
"Value": "IsEnabledForGeographicRegionFailed",
|
||||
"Type": "String",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsCopilot",
|
||||
"Name": "AllowCopilotRuntime",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Shell Extensions\\Blocked",
|
||||
"Name": "{CB3B0003-8088-4EDE-8769-8B354AB2FF8C}",
|
||||
"Type": "String",
|
||||
"Value": "",
|
||||
"Type": "String",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Shell\\Copilot\\BingChat",
|
||||
"Name": "IsUserEligible",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
@@ -1900,8 +1900,8 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager",
|
||||
"Name": "DisableWpbtExecution",
|
||||
"Value": "1",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/wpbt"
|
||||
@@ -1916,15 +1916,15 @@
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
||||
"Name": "SearchOrderConfig",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer",
|
||||
"Name": "DisableCoInstallers",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -1957,15 +1957,15 @@
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer",
|
||||
"Name": "DisableNotificationCenter",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications",
|
||||
"Name": "ToastEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
],
|
||||
@@ -2059,8 +2059,8 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||
"Name": "DisabledComponents",
|
||||
"Value": "32",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/ipv46"
|
||||
@@ -2075,8 +2075,8 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||
"Name": "DisabledComponents",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2097,8 +2097,8 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters",
|
||||
"Name": "DisabledComponents",
|
||||
"Value": "255",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2119,8 +2119,8 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\BackgroundAccessApplications",
|
||||
"Name": "GlobalUserDisabled",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablebgapps"
|
||||
@@ -2135,8 +2135,8 @@
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablefso"
|
||||
@@ -2152,17 +2152,17 @@
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
||||
"Name": "AppsUseLightTheme",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
|
||||
"Name": "SystemUsesLightTheme",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2194,9 +2194,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||
"Name": "BingSearchEnabled",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/bingsearch"
|
||||
@@ -2212,17 +2212,17 @@
|
||||
"Path": "HKU:\\.Default\\Control Panel\\Keyboard",
|
||||
"Name": "InitialKeyboardIndicators",
|
||||
"Value": "2",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Keyboard",
|
||||
"Name": "InitialKeyboardIndicators",
|
||||
"Value": "2",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/numlock"
|
||||
@@ -2238,9 +2238,9 @@
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
||||
"Name": "VerboseStatus",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/verboselogon"
|
||||
@@ -2256,25 +2256,25 @@
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start",
|
||||
"Name": "HideRecommendedSection",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education",
|
||||
"Name": "IsEducationEnvironment",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer",
|
||||
"Name": "HideRecommendedSection",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2299,8 +2299,8 @@
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||
"Name": "SettingsPageVisibility",
|
||||
"Type": "String",
|
||||
"Value": "hide:home",
|
||||
"Type": "String",
|
||||
"OriginalValue": "show:home",
|
||||
"DefaultState": "false"
|
||||
}
|
||||
@@ -2318,25 +2318,25 @@
|
||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||
"Name": "MouseSpeed",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||
"Name": "MouseThreshold1",
|
||||
"Value": "6",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||
"Name": "MouseThreshold2",
|
||||
"Value": "10",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/mouseacceleration"
|
||||
@@ -2352,9 +2352,9 @@
|
||||
"Path": "HKCU:\\Control Panel\\Accessibility\\StickyKeys",
|
||||
"Name": "Flags",
|
||||
"Value": "506",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "58",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/stickykeys"
|
||||
@@ -2370,33 +2370,33 @@
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||
"Name": "UseNewOutlook",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||
"Name": "HideNewOutlookToggle",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General",
|
||||
"Name": "DoNewOutlookAutoMigration",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences",
|
||||
"Name": "NewOutlookMigrationUserSetting",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/newoutlook"
|
||||
@@ -2412,9 +2412,9 @@
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm",
|
||||
"Name": "OverlayTestMode",
|
||||
"Value": "5",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/multiplaneoverlay"
|
||||
@@ -2430,9 +2430,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "Hidden",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2458,9 +2458,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "HideFileExt",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "1",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2486,9 +2486,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||
"Name": "SearchboxTaskbarMode",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/taskbarsearch"
|
||||
@@ -2504,9 +2504,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "ShowTaskViewButton",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/taskview"
|
||||
@@ -2522,9 +2522,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"Name": "TaskbarAl",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
@@ -2545,17 +2545,17 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
||||
"Name": "DisplayParameters",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl",
|
||||
"Name": "DisableEmoticon",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/detailedbsod"
|
||||
@@ -2571,9 +2571,9 @@
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power",
|
||||
"Name": "PlatformAoAcOverride",
|
||||
"Value": "0",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "<RemoveEntry>",
|
||||
"DefaultState": "false",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "false"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/s3sleep"
|
||||
@@ -2675,9 +2675,9 @@
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\CrossDeviceResume\\Configuration",
|
||||
"Name": "IsResumeAllowed",
|
||||
"Value": "1",
|
||||
"Type": "DWord",
|
||||
"OriginalValue": "0",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
"DefaultState": "true"
|
||||
}
|
||||
],
|
||||
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/disablecrossdeviceresume"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Disable Legacy F8 Boot Recovery"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=107}
|
||||
"WPFFeatureDisableLegacyRecovery": {
|
||||
"Content": "Disable Legacy F8 Boot Recovery",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Enable Legacy F8 Boot Recovery"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=95}
|
||||
"WPFFeatureEnableLegacyRecovery": {
|
||||
"Content": "Enable Legacy F8 Boot Recovery",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Enable Daily Registry Backup Task 12.30am"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=77}
|
||||
"WPFFeatureRegBackup": {
|
||||
"Content": "Enable Daily Registry Backup Task 12.30am",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Windows Sandbox"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=119}
|
||||
"WPFFeaturesSandbox": {
|
||||
"Content": "Windows Sandbox",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "All .Net Framework (2,3,4)"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=2}
|
||||
"WPFFeaturesdotnet": {
|
||||
"Content": "All .Net Framework (2,3,4)",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "HyperV Virtualization"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=15}
|
||||
"WPFFeatureshyperv": {
|
||||
"Content": "HyperV Virtualization",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Legacy Media (WMP, DirectPlay)"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=29}
|
||||
"WPFFeatureslegacymedia": {
|
||||
"Content": "Legacy Media (WMP, DirectPlay)",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "NFS - Network File System"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=57}
|
||||
"WPFFeaturenfs": {
|
||||
"Content": "NFS - Network File System",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Windows Subsystem for Linux"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/feature.json",linenos=inline,linenostart=44}
|
||||
"WPFFeaturewsl": {
|
||||
"Content": "Windows Subsystem for Linux",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Set Up Autologin"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFPanelAutologin {
|
||||
<#
|
||||
|
||||
@@ -2,142 +2,23 @@
|
||||
title: "System Corruption Scan"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFSystemRepair.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFSystemRepair {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks for system corruption using Chkdsk, SFC, and DISM
|
||||
Checks for system corruption using SFC, and DISM
|
||||
|
||||
.DESCRIPTION
|
||||
1. Chkdsk - Fixes disk and filesystem corruption
|
||||
2. SFC Run 1 - Fixes system file corruption, and fixes DISM if it was corrupted
|
||||
3. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
||||
4. SFC Run 2 - Fixes system file corruption, this time with an almost guaranteed uncorrupted system image
|
||||
1. SFC - Fixes system file corruption, and fixes DISM if it was corrupted
|
||||
2. DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
||||
3. Chkdsk - Checks for disk errors, which can cause system file corruption and notifies of early disk failure
|
||||
#>
|
||||
Start-Process cmd.exe -ArgumentList "/c chkdsk.exe /scan /perf" -NoNewWindow -Wait
|
||||
Start-Process cmd.exe -ArgumentList "/c sfc /scannow" -NoNewWindow -Wait
|
||||
Start-Process cmd.exe -ArgumentList "/c dism /online /cleanup-image /restorehealth" -NoNewWindow -Wait
|
||||
|
||||
function Invoke-Chkdsk {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Runs chkdsk on the system drive
|
||||
.DESCRIPTION
|
||||
Chkdsk /Scan - Runs an online scan on the system drive, attempts to fix any corruption, and queues other corruption for fixing on reboot
|
||||
#>
|
||||
param(
|
||||
[int]$parentProgressId = 0
|
||||
)
|
||||
|
||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running chkdsk..." -PercentComplete 0
|
||||
$oldpercent = 0
|
||||
# 2>&1 redirects stdout, allowing iteration over the output
|
||||
chkdsk.exe /scan /perf 2>&1 | ForEach-Object {
|
||||
Write-Debug $_
|
||||
# Regex to match the total percentage regardless of windows locale (it's always the second percentage in the status output)
|
||||
if ($_ -match "%.*?(\d+)%") {
|
||||
[int]$percent = $matches[1]
|
||||
if ($percent -gt $oldpercent) {
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running chkdsk... ($percent%)" -PercentComplete $percent
|
||||
$oldpercent = $percent
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "chkdsk Completed" -PercentComplete 100 -Completed
|
||||
}
|
||||
|
||||
function Invoke-SFC {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Runs sfc on the system drive
|
||||
.DESCRIPTION
|
||||
SFC /ScanNow - Performs a scan of the system files and fixes any corruption
|
||||
.NOTES
|
||||
ErrorActionPreference is set locally within a script block & {...} to isolate their effects.
|
||||
ErrorActionPreference suppresses false errors caused by sfc.exe output redirection.
|
||||
A bug in SFC output buffering causes progress updates to appear in chunks when redirecting output
|
||||
#>
|
||||
param(
|
||||
[int]$parentProgressId = 0
|
||||
)
|
||||
& {
|
||||
$ErrorActionPreference = "SilentlyContinue"
|
||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running SFC..." -PercentComplete 0
|
||||
$oldpercent = 0
|
||||
sfc.exe /scannow 2>&1 | ForEach-Object {
|
||||
Write-Debug $_
|
||||
if ($_ -ne "") {
|
||||
# sfc.exe /scannow outputs unicode characters, so we directly remove null characters for optimization
|
||||
$utf8line = $_ -replace "`0", ""
|
||||
if ($utf8line -match "(\d+)\s*%") {
|
||||
[int]$percent = $matches[1]
|
||||
if ($percent -gt $oldpercent) {
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running SFC... ($percent%)" -PercentComplete $percent
|
||||
$oldpercent = $percent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "SFC Completed" -PercentComplete 100 -Completed
|
||||
}
|
||||
}
|
||||
|
||||
function Invoke-DISM {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Runs DISM on the system drive
|
||||
.DESCRIPTION
|
||||
DISM - Fixes system image corruption, and fixes SFC's system image if it was corrupted
|
||||
/Online - Fixes the currently running system image
|
||||
/Cleanup-Image - Performs cleanup operations on the image, could remove some unneeded temporary files
|
||||
/Restorehealth - Performs a scan of the image and fixes any corruption
|
||||
#>
|
||||
param(
|
||||
[int]$parentProgressId = 0
|
||||
)
|
||||
Write-Progress -Id 1 -ParentId $parentProgressId -Activity $childProgressBarActivity -Status "Running DISM..." -PercentComplete 0
|
||||
$oldpercent = 0
|
||||
DISM /Online /Cleanup-Image /RestoreHealth | ForEach-Object {
|
||||
Write-Debug $_
|
||||
# Filter for lines that contain a percentage that is greater than the previous one
|
||||
if ($_ -match "(\d+)[.,]\d+%") {
|
||||
[int]$percent = $matches[1]
|
||||
if ($percent -gt $oldpercent) {
|
||||
# Update the progress bar
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "Running DISM... ($percent%)" -PercentComplete $percent
|
||||
$oldpercent = $percent
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Progress -Id 1 -Activity $childProgressBarActivity -Status "DISM Completed" -PercentComplete 100 -Completed
|
||||
}
|
||||
|
||||
try {
|
||||
Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo"
|
||||
|
||||
$childProgressBarActivity = "Scanning for corruption"
|
||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 0
|
||||
# Step 1: Run chkdsk to fix disk and filesystem corruption before proceeding with system file repairs
|
||||
Invoke-Chkdsk
|
||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 25
|
||||
|
||||
# Step 2: Run SFC to fix system file corruption and ensure DISM can operate correctly
|
||||
Invoke-SFC
|
||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 50
|
||||
|
||||
# Step 3: Run DISM to repair the system image, which SFC relies on for accurate repairs
|
||||
Invoke-DISM
|
||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 75
|
||||
|
||||
# Step 4: Run SFC again to ensure system files are repaired using the now-fixed system image
|
||||
Invoke-SFC
|
||||
Write-Progress -Id 0 -Activity "Repairing Windows" -PercentComplete 100 -Completed
|
||||
|
||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||
} catch {
|
||||
Write-Error "An error occurred while repairing the system: $_"
|
||||
Set-WinUtilTaskbaritem -state "Error" -overlay "warning"
|
||||
} finally {
|
||||
Write-Host "==> Finished System Repair"
|
||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||
}
|
||||
|
||||
Write-Host "==> Finished System Repair"
|
||||
Set-WinUtilTaskbaritem -state "None" -overlay "checkmark"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Reset Network"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFFixesNetwork.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFFixesNetwork {
|
||||
<#
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
---
|
||||
title: "Remove Adobe Creative Cloud"
|
||||
description: ""
|
||||
---
|
||||
```powershell {filename="functions/public/Invoke-WPFRunAdobeCCCleanerTool.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFRunAdobeCCCleanerTool {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
It removes or fixes problem files and resolves permission issues in registry keys.
|
||||
.DESCRIPTION
|
||||
The Creative Cloud Cleaner tool is a utility for experienced users to clean up corrupted installations.
|
||||
#>
|
||||
|
||||
[string]$url="https://swupmf.adobe.com/webfeed/CleanerTool/win/AdobeCreativeCloudCleanerTool.exe"
|
||||
|
||||
Write-Host "The Adobe Creative Cloud Cleaner tool is hosted at"
|
||||
Write-Host "$url"
|
||||
|
||||
try {
|
||||
# Don't show the progress because it will slow down the download speed
|
||||
$ProgressPreference='SilentlyContinue'
|
||||
|
||||
Invoke-WebRequest -Uri $url -OutFile "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -UseBasicParsing -ErrorAction SilentlyContinue -Verbose
|
||||
|
||||
# Revert back the ProgressPreference variable to the default value since we got the file desired
|
||||
$ProgressPreference='Continue'
|
||||
|
||||
Start-Process -FilePath "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Wait -ErrorAction SilentlyContinue -Verbose
|
||||
} catch {
|
||||
Write-Error $_.Exception.Message
|
||||
} finally {
|
||||
if (Test-Path -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe") {
|
||||
Write-Host "Cleaning up..."
|
||||
Remove-Item -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Verbose
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Reset Windows Update"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFFixesUpdate.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFFixesUpdate {
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "WinGet Reinstall"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFFixesWinget.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFFixesWinget {
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Computer Management"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Control Panel"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Network Connections"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Power Panel"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Printer Panel"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Region"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Windows Restore"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Sound Settings"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "System Properties"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Time and Date"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFControlPanel.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFControlPanel {
|
||||
<#
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Bing Search in Start Menu"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2194}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2186}
|
||||
"WPFToggleBingSearch": {
|
||||
"Content": "Bing Search in Start Menu",
|
||||
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Dark Theme for Windows"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2152}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2144}
|
||||
"WPFToggleDarkMode": {
|
||||
"Content": "Dark Theme for Windows",
|
||||
"Description": "Enable/Disable Dark Mode.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Detailed BSoD"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2540}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2537}
|
||||
"WPFToggleDetailedBSoD": {
|
||||
"Content": "Detailed BSoD",
|
||||
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Cross-Device Resume"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2670}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2667}
|
||||
"WPFToggleDisableCrossDeviceResume": {
|
||||
"Content": "Cross-Device Resume",
|
||||
"Description": "This tweak controls the Resume function in Windows 11 24H2 and later, which allows you to resume an activity from a mobile device and vice-versa.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Show Hidden Files"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2430}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2422}
|
||||
"WPFToggleHiddenFiles": {
|
||||
"Content": "Show Hidden Files",
|
||||
"Description": "If Enabled then Hidden Files will be shown.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove Settings Home Page"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2300}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2292}
|
||||
"WPFToggleHideSettingsHome": {
|
||||
"Content": "Remove Settings Home Page",
|
||||
"Description": "Removes the Home page in the Windows Settings app.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Mouse Acceleration"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2318}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2310}
|
||||
"WPFToggleMouseAcceleration": {
|
||||
"Content": "Mouse Acceleration",
|
||||
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Multiplane Overlay"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2412}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2404}
|
||||
"WPFToggleMultiplaneOverlay": {
|
||||
"Content": "Disable Multiplane Overlay",
|
||||
"Description": "Disable the Multiplane Overlay which can sometimes cause issues with Graphics Cards.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "New Outlook"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2370}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2362}
|
||||
"WPFToggleNewOutlook": {
|
||||
"Content": "New Outlook",
|
||||
"Description": "If disabled it removes the toggle for new Outlook, disables the new Outlook migration and makes sure the Outlook Application actually uses the old Outlook.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "NumLock on Startup"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2212}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2204}
|
||||
"WPFToggleNumLock": {
|
||||
"Content": "NumLock on Startup",
|
||||
"Description": "Toggle the Num Lock key state when your computer starts.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "S3 Sleep"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2566}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2563}
|
||||
"WPFToggleS3Sleep": {
|
||||
"Content": "S3 Sleep",
|
||||
"Description": "Toggles between Modern Standby and S3 sleep.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Show File Extensions"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2458}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2450}
|
||||
"WPFToggleShowExt": {
|
||||
"Content": "Show File Extensions",
|
||||
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Recommendations in Start Menu"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2256}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2248}
|
||||
"WPFToggleStartMenuRecommendations": {
|
||||
"Content": "Recommendations in Start Menu",
|
||||
"Description": "If disabled then you will not see recommendations in the Start Menu.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Sticky Keys"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2352}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2344}
|
||||
"WPFToggleStickyKeys": {
|
||||
"Content": "Sticky Keys",
|
||||
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
|
||||
@@ -13,7 +14,7 @@ description: ""
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Accessibility\\StickyKeys",
|
||||
"Name": "Flags",
|
||||
"Value": "510",
|
||||
"Value": "506",
|
||||
"OriginalValue": "58",
|
||||
"DefaultState": "true",
|
||||
"Type": "DWord"
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Task View Button in Taskbar"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2504}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2496}
|
||||
"WPFToggleTaskView": {
|
||||
"Content": "Task View Button in Taskbar",
|
||||
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Center Taskbar Items"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2522}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2514}
|
||||
"WPFToggleTaskbarAlignment": {
|
||||
"Content": "Center Taskbar Items",
|
||||
"Description": "[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
|
||||
@@ -19,6 +20,11 @@ description: ""
|
||||
"Type": "DWord"
|
||||
}
|
||||
],
|
||||
"InvokeScript": [
|
||||
"
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
"
|
||||
],
|
||||
```
|
||||
|
||||
## Registry Changes
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Search Button in Taskbar"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2486}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2478}
|
||||
"WPFToggleTaskbarSearch": {
|
||||
"Content": "Search Button in Taskbar",
|
||||
"Description": "If Enabled Search Button will be on the taskbar.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Verbose Messages During Logon"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2238}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2230}
|
||||
"WPFToggleVerboseLogon": {
|
||||
"Content": "Verbose Messages During Logon",
|
||||
"Description": "Show detailed messages during the login process for troubleshooting and diagnostics.",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Disable Activity History"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2}
|
||||
"WPFTweaksActivity": {
|
||||
"Content": "Disable Activity History",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable ConsumerFeatures"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1299}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1291}
|
||||
"WPFTweaksConsumerFeatures": {
|
||||
"Content": "Disable ConsumerFeatures",
|
||||
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Delete Temporary Files"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2047}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2039}
|
||||
"WPFTweaksDeleteTempFiles": {
|
||||
"Content": "Delete Temporary Files",
|
||||
"Description": "Erases TEMP Folders",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Explorer Automatic Folder Discovery"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2615}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2612}
|
||||
"WPFTweaksDisableExplorerAutoDiscovery": {
|
||||
"Content": "Disable Explorer Automatic Folder Discovery",
|
||||
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Run Disk Cleanup"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2034}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2026}
|
||||
"WPFTweaksDiskCleanup": {
|
||||
"Content": "Run Disk Cleanup",
|
||||
"Description": "Runs Disk Cleanup on Drive C: and removes old Windows Updates.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Enable End Task With Right Click"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1771}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1763}
|
||||
"WPFTweaksEndTaskOnTaskbar": {
|
||||
"Content": "Enable End Task With Right Click",
|
||||
"Description": "Enables option to end task when right clicking a program in the taskbar",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Disable Hibernation"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
|
||||
"WPFTweaksHiber": {
|
||||
"Content": "Disable Hibernation",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Location Tracking"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=133}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=125}
|
||||
"WPFTweaksLocation": {
|
||||
"Content": "Disable Location Tracking",
|
||||
"Description": "Disables Location Tracking...DUH!",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Powershell 7 Telemetry"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1787}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1779}
|
||||
"WPFTweaksPowershell7Tele": {
|
||||
"Content": "Disable Powershell 7 Telemetry",
|
||||
"Description": "This will create an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell Powershell 7 to not send Telemetry Data.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Create Restore Point"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1744}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1736}
|
||||
"WPFTweaksRestorePoint": {
|
||||
"Content": "Create Restore Point",
|
||||
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Set Services to Manual"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=170}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=162}
|
||||
"WPFTweaksServices": {
|
||||
"Content": "Set Services to Manual",
|
||||
"Description": "Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Telemetry"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1315}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1307}
|
||||
"WPFTweaksTelemetry": {
|
||||
"Content": "Disable Telemetry",
|
||||
"Description": "Disables Microsoft Telemetry...Duh",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Windows Platform Binary Table (WPBT)"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1901}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1893}
|
||||
"WPFTweaksWPBT": {
|
||||
"Content": "Disable Windows Platform Binary Table (WPBT)",
|
||||
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Remove Widgets"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
|
||||
"WPFTweaksWidget": {
|
||||
"Content": "Remove Widgets",
|
||||
@@ -10,9 +11,11 @@ description: ""
|
||||
"panel": "1",
|
||||
"InvokeScript": [
|
||||
"
|
||||
# Sometimes if you dont stop Widgets Process for removal to work
|
||||
# Sometimes if you dont stop the Widgets process the removal may fail
|
||||
|
||||
Stop-Process -Name Widgets
|
||||
Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers
|
||||
Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers
|
||||
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
Write-Host \"Removed widgets\"
|
||||
@@ -21,7 +24,10 @@ description: ""
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Restoring widgets AppxPackages\"
|
||||
Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\"
|
||||
|
||||
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\" -DisableDevelopmentMode
|
||||
Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\MicrosoftWindows.Client.WebExperience*\\AppxManifest.xml\" -DisableDevelopmentMode
|
||||
|
||||
Invoke-WinUtilExplorerUpdate -action \"restart\"
|
||||
"
|
||||
],
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Add and Activate Ultimate Performance Profile"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||
Function Invoke-WPFUltimatePerformance {
|
||||
<#
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Remove Ultimate Performance Profile"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFUltimatePerformance.ps1",linenos=inline,linenostart=1}
|
||||
Function Invoke-WPFUltimatePerformance {
|
||||
<#
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Adobe Network Block"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1982}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1974}
|
||||
"WPFTweaksBlockAdobeNet": {
|
||||
"Content": "Adobe Network Block",
|
||||
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
|
||||
@@ -11,9 +12,9 @@ description: ""
|
||||
"InvokeScript": [
|
||||
"
|
||||
$hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\"
|
||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
|
||||
Copy-Item $hosts \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
||||
Move-Item $hosts \"$hosts.bak\"
|
||||
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
||||
ipconfig /flushdns
|
||||
|
||||
@@ -22,10 +23,10 @@ description: ""
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
$hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
$backup = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\"
|
||||
$hosts = \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\"
|
||||
|
||||
Remove-Item $hosts
|
||||
Move-Item \"$hosts.bak\" $hosts
|
||||
ipconfig /flushdns
|
||||
|
||||
Write-Host \"Removed Adobe url block list from host file\"
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Brave Debloat"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1134}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1126}
|
||||
"WPFTweaksBraveDebloat": {
|
||||
"Content": "Brave Debloat",
|
||||
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove ALL MS Store Apps - NOT RECOMMENDED"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1655}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1647}
|
||||
"WPFTweaksDeBloat": {
|
||||
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
|
||||
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Background Apps"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2120}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2112}
|
||||
"WPFTweaksDisableBGapps": {
|
||||
"Content": "Disable Background Apps",
|
||||
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Win11",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Fullscreen Optimizations"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2136}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2128}
|
||||
"WPFTweaksDisableFSO": {
|
||||
"Content": "Disable Fullscreen Optimizations",
|
||||
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable IPv6"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2098}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2090}
|
||||
"WPFTweaksDisableIPv6": {
|
||||
"Content": "Disable IPv6",
|
||||
"Description": "Disables IPv6.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Notification Tray/Calendar"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1959}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1951}
|
||||
"WPFTweaksDisableNotifications": {
|
||||
"Content": "Disable Notification Tray/Calendar",
|
||||
"Description": "Disables all Notifications INCLUDING Calendar",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Set Display for Performance"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1542}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1534}
|
||||
"WPFTweaksDisplay": {
|
||||
"Content": "Set Display for Performance",
|
||||
"Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Edge Debloat"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1178}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1170}
|
||||
"WPFTweaksEdgeDebloat": {
|
||||
"Content": "Edge Debloat",
|
||||
"Description": "Disables various telemetry options, popups, and other annoyances in Edge.",
|
||||
@@ -24,10 +25,10 @@ description: ""
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge",
|
||||
"Name": "ofefcgjbeghpigppfmkologfjadafddi",
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallBlocklist",
|
||||
"Name": "1",
|
||||
"Type": "String",
|
||||
"Value": "1",
|
||||
"Value": "ofefcgjbeghpigppfmkologfjadafddi",
|
||||
"OriginalValue": "<RemoveEntry>"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Prefer IPv4 over IPv6"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2060}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2052}
|
||||
"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.",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: "Run OO Shutup 10"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```powershell {filename="functions/public/Invoke-WPFOOSU.ps1",linenos=inline,linenostart=1}
|
||||
function Invoke-WPFOOSU {
|
||||
<#
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Block Razer Software Installs"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1917}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1909}
|
||||
"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.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Microsoft Copilot"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1816}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1808}
|
||||
"WPFTweaksRemoveCopilot": {
|
||||
"Content": "Disable Microsoft Copilot",
|
||||
"Description": "Disables MS Copilot AI built into Windows since 23H2.",
|
||||
@@ -72,11 +73,11 @@ description: ""
|
||||
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
|
||||
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
|
||||
|
||||
$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
|
||||
$Appx = (Get-AppxPackage MicrosoftWindows.Client.CoreAI).PackageFullName
|
||||
|
||||
$Sid = (Get-LocalUser $Env:UserName).Sid.Value
|
||||
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Appx\\AppxAllUserStore\\EndOfLife\\$Sid\\$Appx\" -Force
|
||||
Remove-AppxPackage $Appx
|
||||
}
|
||||
"
|
||||
],
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove Microsoft Edge"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1437}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1429}
|
||||
"WPFTweaksRemoveEdge": {
|
||||
"Content": "Remove Microsoft Edge",
|
||||
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove Gallery from explorer"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1525}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1517}
|
||||
"WPFTweaksRemoveGallery": {
|
||||
"Content": "Remove Gallery from explorer",
|
||||
"Description": "Removes the Gallery from Explorer and sets This PC as default",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove Home from Explorer"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1506}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1498}
|
||||
"WPFTweaksRemoveHome": {
|
||||
"Content": "Remove Home from Explorer",
|
||||
"Description": "Removes the Home from Explorer and sets This PC as default",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove OneDrive"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1469}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1461}
|
||||
"WPFTweaksRemoveOneDrive": {
|
||||
"Content": "Remove OneDrive",
|
||||
"Description": "Denys permission to remove onedrive user files than uses its own uninstaller to remove it than brings back permissions",
|
||||
|
||||
@@ -3,7 +3,7 @@ title: "Revert the new start menu"
|
||||
description: ""
|
||||
---
|
||||
|
||||
```json
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=90}
|
||||
"WPFTweaksRevertStartMenu": {
|
||||
"Content": "Revert the new start menu",
|
||||
"Description": "Uses vivetool to revert the the original start menu from 24h2",
|
||||
@@ -16,7 +16,7 @@ description: ""
|
||||
Expand-Archive ViVeTool.zip
|
||||
Remove-Item ViVeTool.zip
|
||||
|
||||
ViVeTool\\ViVeTool.exe /disable /id:47205210
|
||||
Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/disable /id:47205210' -Wait -NoNewWindow
|
||||
|
||||
Remove-Item ViVeTool -Recurse
|
||||
|
||||
@@ -30,7 +30,7 @@ description: ""
|
||||
Expand-Archive ViVeTool.zip
|
||||
Remove-Item ViVeTool.zip
|
||||
|
||||
ViVeTool\\ViVeTool.exe /enable /id:47205210
|
||||
Start-Process 'ViVeTool\\ViVeTool.exe' -ArgumentList '/enable /id:47205210' -Wait -NoNewWindow
|
||||
|
||||
Remove-Item ViVeTool -Recurse
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Set Classic Right-Click Menu "
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2012}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2004}
|
||||
"WPFTweaksRightClickMenu": {
|
||||
"Content": "Set Classic Right-Click Menu ",
|
||||
"Description": "Great Windows 11 tweak to bring back good context menus when right clicking things in explorer.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Storage Sense"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1800}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1792}
|
||||
"WPFTweaksStorage": {
|
||||
"Content": "Disable Storage Sense",
|
||||
"Description": "Storage Sense deletes temp files automatically.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Disable Teredo"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2076}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2068}
|
||||
"WPFTweaksTeredo": {
|
||||
"Content": "Disable Teredo",
|
||||
"Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Set Time to UTC (Dual Boot)"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1453}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1445}
|
||||
"WPFTweaksUTC": {
|
||||
"Content": "Set Time to UTC (Dual Boot)",
|
||||
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "Remove Xbox & Gaming Components"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1641}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=1633}
|
||||
"WPFTweaksXboxRemoval": {
|
||||
"Content": "Remove Xbox & Gaming Components",
|
||||
"Description": "Removes Xbox services, the Xbox app, Game Bar, and related authentication components.",
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
title: "DNS"
|
||||
description: ""
|
||||
---
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2591}
|
||||
|
||||
```json {filename="config/tweaks.json",linenos=inline,linenostart=2588}
|
||||
"WPFchangedns": {
|
||||
"Content": "DNS",
|
||||
"category": "z__Advanced Tweaks - CAUTION",
|
||||
|
||||
Reference in New Issue
Block a user