|
32 | 32 | }, |
33 | 33 | "WPFTweaksHiber": { |
34 | 34 | "Content": "Disable Hibernation", |
35 | | - "Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used, but some people are lazy and rely on it. Don't be like Bob. Bob likes hibernation.", |
| 35 | + "Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used", |
36 | 36 | "category": "Essential Tweaks", |
37 | 37 | "panel": "1", |
38 | 38 | "Order": "a005_", |
|
88 | 88 | powercfg.exe /hibernate on |
89 | 89 |
|
90 | 90 | # Set hibernation as the default action |
91 | | - powercfg.exe \"/change standby-timeout-ac 60\" |
92 | | - powercfg.exe \"/change standby-timeout-dc 60\" |
93 | | - powercfg.exe \"/change monitor-timeout-ac 10\" |
94 | | - powercfg.exe \"/change monitor-timeout-dc 1\" |
| 91 | + powercfg.exe change standby-timeout-ac 60 |
| 92 | + powercfg.exe change standby-timeout-dc 60 |
| 93 | + powercfg.exe change monitor-timeout-ac 10 |
| 94 | + powercfg.exe change monitor-timeout-dc 1 |
95 | 95 | " |
96 | 96 | ], |
97 | 97 | "UndoScript": [ |
|
100 | 100 | powercfg.exe /hibernate off |
101 | 101 |
|
102 | 102 | # Set standby to default values |
103 | | - powercfg.exe \"/change standby-timeout-ac 15\" |
104 | | - powercfg.exe \"/change standby-timeout-dc 15\" |
105 | | - powercfg.exe \"/change monitor-timeout-ac 15\" |
106 | | - powercfg.exe \"/change monitor-timeout-dc 15\" |
| 103 | + powercfg.exe change standby-timeout-ac 15 |
| 104 | + powercfg.exe change standby-timeout-dc 15 |
| 105 | + powercfg.exe change monitor-timeout-ac 15 |
| 106 | + powercfg.exe change monitor-timeout-dc 15 |
107 | 107 | " |
108 | 108 | ], |
109 | 109 | "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/laptophibernation" |
|
218 | 218 | "StartupType": "Manual", |
219 | 219 | "OriginalType": "Manual" |
220 | 220 | }, |
221 | | - { |
222 | | - "Name": "Browser", |
223 | | - "StartupType": "Manual", |
224 | | - "OriginalType": "Manual" |
225 | | - }, |
226 | 221 | { |
227 | 222 | "Name": "BthAvctpSvc", |
228 | 223 | "StartupType": "Automatic", |
|
1135 | 1130 | "Value": "1", |
1136 | 1131 | "OriginalValue": "<RemoveEntry>" |
1137 | 1132 | }, |
1138 | | - { |
| 1133 | + { |
1139 | 1134 | "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", |
1140 | 1135 | "Name": "BraveWalletDisabled", |
1141 | 1136 | "Type": "DWord", |
1142 | 1137 | "Value": "1", |
1143 | 1138 | "OriginalValue": "<RemoveEntry>" |
1144 | 1139 | }, |
1145 | | - { |
| 1140 | + { |
1146 | 1141 | "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", |
1147 | 1142 | "Name": "BraveVPNDisabled", |
1148 | 1143 | "Type": "DWord", |
1149 | 1144 | "Value": "1", |
1150 | 1145 | "OriginalValue": "<RemoveEntry>" |
1151 | 1146 | }, |
1152 | | - { |
| 1147 | + { |
1153 | 1148 | "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", |
1154 | 1149 | "Name": "BraveAIChatEnabled", |
1155 | 1150 | "Type": "DWord", |
|
1290 | 1285 | ], |
1291 | 1286 | "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/consumerfeatures" |
1292 | 1287 | }, |
1293 | | - "WPFTweaksTele": { |
| 1288 | + "WPFTweaksTelemetry": { |
1294 | 1289 | "Content": "Disable Telemetry", |
1295 | | - "Description": "Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser.", |
| 1290 | + "Description": "Disables Microsoft Telemetry...Duh", |
1296 | 1291 | "category": "Essential Tweaks", |
1297 | 1292 | "panel": "1", |
1298 | 1293 | "Order": "a003_", |
|
1839 | 1834 | }, |
1840 | 1835 | "WPFTweaksDeBloat": { |
1841 | 1836 | "Content": "Remove ALL MS Store Apps - NOT RECOMMENDED", |
1842 | | - "Description": "USE WITH CAUTION!!!!! This will remove ALL Microsoft store apps other than the essentials to make winget work. Games installed by MS Store ARE INCLUDED!", |
| 1837 | + "Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps other than the essentials onces.", |
1843 | 1838 | "category": "z__Advanced Tweaks - CAUTION", |
1844 | 1839 | "panel": "1", |
1845 | 1840 | "Order": "a028_", |
|
1932 | 1927 | "panel": "1", |
1933 | 1928 | "Checked": "False", |
1934 | 1929 | "Order": "a001_", |
| 1930 | + "registry": [ |
| 1931 | + { |
| 1932 | + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore", |
| 1933 | + "Name": "SystemRestorePointCreationFrequency", |
| 1934 | + "Type": "DWord", |
| 1935 | + "Value": "0", |
| 1936 | + "OriginalValue": "1440" |
| 1937 | + } |
| 1938 | + ], |
1935 | 1939 | "InvokeScript": [ |
1936 | 1940 | " |
1937 | | - # Check if System Restore is enabled for the main drive |
1938 | | - try { |
1939 | | - # Try getting restore points to check if System Restore is enabled |
1940 | | - Enable-ComputerRestore -Drive \"$env:SystemDrive\" |
1941 | | - } catch { |
1942 | | - Write-Host \"An error occurred while enabling System Restore: $_\" |
1943 | | - } |
1944 | | - |
1945 | | - # Check if the SystemRestorePointCreationFrequency value exists |
1946 | | - $exists = Get-ItemProperty -path \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore\" -Name \"SystemRestorePointCreationFrequency\" -ErrorAction SilentlyContinue |
1947 | | - if($null -eq $exists) { |
1948 | | - write-host 'Changing system to allow multiple restore points per day' |
1949 | | - Set-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore\" -Name \"SystemRestorePointCreationFrequency\" -Value \"0\" -Type DWord -Force -ErrorAction Stop | Out-Null |
1950 | | - } |
1951 | | - |
1952 | | - # Attempt to load the required module for Get-ComputerRestorePoint |
1953 | | - try { |
1954 | | - Import-Module Microsoft.PowerShell.Management -ErrorAction Stop |
1955 | | - } catch { |
1956 | | - Write-Host \"Failed to load the Microsoft.PowerShell.Management module: $_\" |
1957 | | - return |
1958 | | - } |
1959 | | - |
1960 | | - # Get all the restore points for the current day |
1961 | | - try { |
1962 | | - $existingRestorePoints = Get-ComputerRestorePoint | Where-Object { $_.CreationTime.Date -eq (Get-Date).Date } |
1963 | | - } catch { |
1964 | | - Write-Host \"Failed to retrieve restore points: $_\" |
1965 | | - return |
1966 | | - } |
1967 | | - |
1968 | | - # Check if there is already a restore point created today |
1969 | | - if ($existingRestorePoints.Count -eq 0) { |
1970 | | - $description = \"System Restore Point created by WinUtil\" |
| 1941 | + if (-not (Get-ComputerRestorePoint)) { |
| 1942 | + Enable-ComputerRestore -Drive $Env:SystemDrive |
| 1943 | + } |
1971 | 1944 |
|
1972 | | - Checkpoint-Computer -Description $description -RestorePointType \"MODIFY_SETTINGS\" |
1973 | | - Write-Host -ForegroundColor Green \"System Restore Point Created Successfully\" |
1974 | | - } |
| 1945 | + Checkpoint-Computer -Description \"System Restore Point created by WinUtil\" -RestorePointType MODIFY_SETTINGS |
| 1946 | + Write-Host \"System Restore Point Created Successfully\" -ForegroundColor Green |
1975 | 1947 | " |
1976 | 1948 | ], |
1977 | 1949 | "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/restorepoint" |
|
1993 | 1965 | ], |
1994 | 1966 | "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar" |
1995 | 1967 | }, |
1996 | | - "WPFTweaksPowershell7": { |
1997 | | - "Content": "Change Windows Terminal default: PowerShell 5 -> PowerShell 7", |
1998 | | - "Description": "This will edit the config file of the Windows Terminal replacing PowerShell 5 with PowerShell 7 and installing PS7 if necessary", |
1999 | | - "category": "z__Advanced Tweaks - CAUTION", |
2000 | | - "panel": "1", |
2001 | | - "Order": "a022_", |
2002 | | - "InvokeScript": [ |
2003 | | - "Invoke-WPFTweakPS7 -action \"PS7\"" |
2004 | | - ], |
2005 | | - "UndoScript": [ |
2006 | | - "Invoke-WPFTweakPS7 -action \"PS5\"" |
2007 | | - ], |
2008 | | - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/powershell7" |
2009 | | - }, |
2010 | 1968 | "WPFTweaksPowershell7Tele": { |
2011 | 1969 | "Content": "Disable Powershell 7 Telemetry", |
2012 | 1970 | "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.", |
|
2174 | 2132 | icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone |
2175 | 2133 | " |
2176 | 2134 | ], |
2177 | | - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/razerblock" |
| 2135 | + "link": "" |
2178 | 2136 | }, |
2179 | 2137 | "WPFTweaksDisableNotifications": { |
2180 | 2138 | "Content": "Disable Notification Tray/Calendar", |
|
2384 | 2342 | } |
2385 | 2343 | ], |
2386 | 2344 | "InvokeScript": [ |
2387 | | - "Disable-NetAdapterBinding -Name \"*\" -ComponentID ms_tcpip6" |
| 2345 | + "Disable-NetAdapterBinding -Name * -ComponentID ms_tcpip6" |
2388 | 2346 | ], |
2389 | 2347 | "UndoScript": [ |
2390 | | - "Enable-NetAdapterBinding -Name \"*\" -ComponentID ms_tcpip6" |
| 2348 | + "Enable-NetAdapterBinding -Name * -ComponentID ms_tcpip6" |
2391 | 2349 | ], |
2392 | 2350 | "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disableipsix" |
2393 | 2351 | }, |
|
0 commit comments