diff --git a/config/feature.json b/config/feature.json index 28acdb71..2c32d299 100644 --- a/config/feature.json +++ b/config/feature.json @@ -9,7 +9,7 @@ "NetFx3" ], "InvokeScript": [], - "link": "https://winutil.christitus.com/dev/features/features/dotnet" + "link": "https://winutil.christitus.com/code-reference/features/features/dotnet" }, "WPFFixesNTPPool": { "Content": "NTP Server - Enable", @@ -19,7 +19,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFFixesNTPPool", - "link": "https://winutil.christitus.com/dev/features/fixes/ntppool" + "link": "https://winutil.christitus.com/code-reference/features/fixes/ntppool" }, "WPFFeatureshyperv": { "Content": "Hyper-V - Enable", @@ -29,7 +29,7 @@ "feature": [ "Microsoft-Hyper-V-All" ], - "link": "https://winutil.christitus.com/dev/features/features/hyperv" + "link": "https://winutil.christitus.com/code-reference/features/features/hyperv" }, "WPFFeatureslegacymedia": { "Content": "Legacy Media Components (WMP, DirectPlay) - Enable", @@ -43,7 +43,7 @@ "LegacyComponents" ], "InvokeScript": [], - "link": "https://winutil.christitus.com/dev/features/features/legacymedia" + "link": "https://winutil.christitus.com/code-reference/features/features/legacymedia" }, "WPFFeaturewsl": { "Content": "Windows Subsystem for Linux (WSL) - Enable", @@ -55,7 +55,7 @@ "Microsoft-Windows-Subsystem-Linux" ], "InvokeScript": [], - "link": "https://winutil.christitus.com/dev/features/features/wsl" + "link": "https://winutil.christitus.com/code-reference/features/features/wsl" }, "WPFFeaturenfs": { "Content": "Network File System (NFS) - Enable", @@ -74,7 +74,7 @@ "nfsadmin client start", "nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i" ], - "link": "https://winutil.christitus.com/dev/features/features/nfs" + "link": "https://winutil.christitus.com/code-reference/features/features/nfs" }, "WPFFeatureRegBackup": { "Content": "Registry Backup (Daily Task 12:30am) - Enable", @@ -91,7 +91,7 @@ Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System' " ], - "link": "https://winutil.christitus.com/dev/features/features/regbackup" + "link": "https://winutil.christitus.com/code-reference/features/features/regbackup" }, "WPFFeatureEnableLegacyRecovery": { "Content": "Legacy F8 Boot Recovery - Enable", @@ -102,7 +102,7 @@ "InvokeScript": [ "bcdedit /set bootmenupolicy legacy" ], - "link": "https://winutil.christitus.com/dev/features/features/enablelegacyrecovery" + "link": "https://winutil.christitus.com/code-reference/features/features/enablelegacyrecovery" }, "WPFFeatureDisableLegacyRecovery": { "Content": "Legacy F8 Boot Recovery - Disable", @@ -113,7 +113,7 @@ "InvokeScript": [ "bcdedit /set bootmenupolicy standard" ], - "link": "https://winutil.christitus.com/dev/features/features/disablelegacyrecovery" + "link": "https://winutil.christitus.com/code-reference/features/features/disablelegacyrecovery" }, "WPFFeaturesSandbox": { "Content": "Windows Sandbox - Enable", @@ -123,7 +123,7 @@ "feature": [ "Containers-DisposableClientVM" ], - "link": "https://winutil.christitus.com/dev/features/features/sandbox" + "link": "https://winutil.christitus.com/code-reference/features/features/sandbox" }, "WPFFeatureInstall": { "Content": "Install Features", @@ -132,7 +132,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFFeatureInstall", - "link": "https://winutil.christitus.com/dev/features/features/install" + "link": "https://winutil.christitus.com/code-reference/features/features/install" }, "WPFPanelAutologin": { "Content": "AutoLogon - Run", @@ -141,7 +141,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFPanelAutologin", - "link": "https://winutil.christitus.com/dev/features/fixes/autologin" + "link": "https://winutil.christitus.com/code-reference/features/fixes/autologin" }, "WPFFixesUpdate": { "Content": "Windows Update - Reset", @@ -150,7 +150,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFFixesUpdate", - "link": "https://winutil.christitus.com/dev/features/fixes/update" + "link": "https://winutil.christitus.com/code-reference/features/fixes/update" }, "WPFFixesNetwork": { "Content": "Network - Reset", @@ -159,7 +159,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFFixesNetwork", - "link": "https://winutil.christitus.com/dev/features/fixes/network" + "link": "https://winutil.christitus.com/code-reference/features/fixes/network" }, "WPFPanelDISM": { "Content": "System Corruption Scan - Run", @@ -168,7 +168,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFSystemRepair", - "link": "https://winutil.christitus.com/dev/features/fixes/dism" + "link": "https://winutil.christitus.com/code-reference/features/fixes/dism" }, "WPFFixesWinget": { "Content": "WinGet - Reinstall", @@ -177,7 +177,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFFixesWinget", - "link": "https://winutil.christitus.com/dev/features/fixes/winget" + "link": "https://winutil.christitus.com/code-reference/features/fixes/winget" }, "WPFPanelComputer": { "Content": "Computer Management", @@ -188,7 +188,7 @@ "InvokeScript": [ "compmgmt.msc" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/computer" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/computer" }, "WPFPanelControl": { "Content": "Control Panel", @@ -199,7 +199,7 @@ "InvokeScript": [ "control" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/control" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/control" }, "WPFPanelMouse": { "Content": "Mouse Properties", @@ -210,7 +210,7 @@ "InvokeScript": [ "main.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/mouse" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/mouse" }, "WPFPanelNetwork": { "Content": "Network Connections", @@ -221,7 +221,7 @@ "InvokeScript": [ "ncpa.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/network" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/network" }, "WPFPanelPower": { "Content": "Power Panel", @@ -232,7 +232,7 @@ "InvokeScript": [ "powercfg.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/power" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/power" }, "WPFPanelPrinter": { "Content": "Printer Panel", @@ -243,7 +243,7 @@ "InvokeScript": [ "Start-Process 'shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}'" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/printer" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/printer" }, "WPFPanelPrograms": { "Content": "Programs and Features", @@ -254,7 +254,7 @@ "InvokeScript": [ "appwiz.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/programs" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/programs" }, "WPFPanelRegion": { "Content": "Region", @@ -265,7 +265,7 @@ "InvokeScript": [ "intl.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/region" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/region" }, "WPFPanelSecurity": { "Content": "Security and Maintenance", @@ -276,7 +276,7 @@ "InvokeScript": [ "wscui.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/security" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/security" }, "WPFPanelSound": { "Content": "Sound Settings", @@ -287,7 +287,7 @@ "InvokeScript": [ "mmsys.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/sound" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/sound" }, "WPFPanelSystem": { "Content": "System Properties", @@ -298,7 +298,7 @@ "InvokeScript": [ "sysdm.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/system" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/system" }, "WPFPanelTimedate": { "Content": "Time and Date", @@ -309,7 +309,7 @@ "InvokeScript": [ "timedate.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/timedate" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/timedate" }, "WPFPanelFirewall": { "Content": "Windows Defender Firewall", @@ -320,7 +320,7 @@ "InvokeScript": [ "firewall.cpl" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/firewall" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/firewall" }, "WPFPanelRestore": { "Content": "Windows Restore", @@ -331,7 +331,7 @@ "InvokeScript": [ "rstrui.exe" ], - "link": "https://winutil.christitus.com/dev/features/legacy-windows-panels/restore" + "link": "https://winutil.christitus.com/code-reference/features/legacy-windows-panels/restore" }, "WPFWinUtilInstallPSProfile": { "Content": "CTT PowerShell Profile - Install", @@ -340,7 +340,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WinUtilInstallPSProfile", - "link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/installpsprofile" + "link": "https://winutil.christitus.com/code-reference/features/powershell-profile-powershell-7--only/installpsprofile" }, "WPFWinUtilUninstallPSProfile": { "Content": "CTT PowerShell Profile - Remove", @@ -349,7 +349,7 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WinUtilUninstallPSProfile", - "link": "https://winutil.christitus.com/dev/features/powershell-profile-powershell-7--only/uninstallpsprofile" + "link": "https://winutil.christitus.com/code-reference/features/powershell-profile-powershell-7--only/uninstallpsprofile" }, "WPFWinUtilSSHServer": { "Content": "OpenSSH Server - Enable", @@ -358,6 +358,6 @@ "Type": "Button", "ButtonWidth": "300", "function": "Invoke-WPFSSHServer", - "link": "https://winutil.christitus.com/dev/features/remote-access/sshserver" + "link": "https://winutil.christitus.com/code-reference/features/remote-access/sshserver" } } diff --git a/config/tweaks.json b/config/tweaks.json index 32a09bbb..625d986e 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -27,7 +27,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/activity" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/activity" }, "WPFTweaksHiber": { "Content": "Hibernation - Disable", @@ -56,7 +56,7 @@ "UndoScript": [ "powercfg.exe /hibernate on" ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/hiber" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/hiber" }, "WPFTweaksWidget": { "Content": "Widgets - Remove", @@ -75,7 +75,7 @@ Write-Host \"Removed widgets\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/widget" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/widget" }, "WPFTweaksRevertStartMenu": { "Content": "Start Menu Previous Layout - Enable", @@ -91,7 +91,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/revertstartmenu" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/revertstartmenu" }, "WPFTweaksDisableStoreSearch": { "Content": "Microsoft Store Recommended Search Results - Disable", @@ -104,7 +104,7 @@ "UndoScript": [ "icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /grant Everyone:F" ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablestoresearch" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/disablestoresearch" }, "WPFTweaksLocation": { "Content": "Location Tracking - Disable", @@ -141,7 +141,7 @@ "OriginalValue": "1" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/location" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/location" }, "WPFTweaksServices": { "Content": "Services - Set to Manual", @@ -181,7 +181,7 @@ Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/services" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/services" }, "WPFTweaksBraveDebloat": { "Content": "Brave Browser - Debloat", @@ -274,7 +274,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/bravedebloat" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/bravedebloat" }, "WPFTweaksDisableWarningForUnsignedRdp": { "Content": "RDP Unsigned File Warnings - Disable", @@ -297,7 +297,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablewarningforunsignedrdp" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/disablewarningforunsignedrdp" }, "WPFTweaksEdgeDebloat": { "Content": "Microsoft Edge - Debloat", @@ -425,7 +425,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/edgedebloat" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/edgedebloat" }, "WPFTweaksConsumerFeatures": { "Content": "ConsumerFeatures - Disable", @@ -441,7 +441,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/consumerfeatures" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/consumerfeatures" }, "WPFTweaksTelemetry": { "Content": "Telemetry - Disable", @@ -566,7 +566,7 @@ [Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine') " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/telemetry" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/telemetry" }, "WPFTweaksDeliveryOptimization": { "Content": "Delivery Optimization - Disable", @@ -582,7 +582,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/deliveryoptimization" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/deliveryoptimization" }, "WPFTweaksRemoveEdge": { "Content": "Microsoft Edge - Remove", @@ -608,7 +608,7 @@ winget install Microsoft.Edge --source winget " ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeedge" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/removeedge" }, "WPFTweaksDisableBitLocker": { "Content": "BitLocker - Disable", @@ -621,7 +621,7 @@ "UndoScript": [ "Enable-BitLocker -MountPoint $Env:SystemDrive" ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablebitlocker" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/disablebitlocker" }, "WPFTweaksUTC": { "Content": "Date & Time - Set Time to UTC", @@ -637,7 +637,7 @@ "OriginalValue": "0" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/utc" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/utc" }, "WPFTweaksRemoveOneDrive": { "Content": "Microsoft OneDrive - Remove", @@ -681,7 +681,7 @@ Set-Service -Name OneSyncSvc -StartupType Automatic " ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/removeonedrive" }, "WPFTweaksRemoveHomeAndGallery": { "Content": "File Explorer Home and Gallery - Disable", @@ -711,7 +711,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removehomeandgallery" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/removehomeandgallery" }, "WPFTweaksDisplay": { "Content": "Visual Effects - Set to Best Performance", @@ -810,7 +810,7 @@ "UndoScript": [ "Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\"" ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/display" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/display" }, "WPFTweaksReservedStorage": { "Content": "Disable Reserved Storage", @@ -823,7 +823,7 @@ "UndoScript": [ "DISM /Online /Set-ReservedStorageState /State:Enabled" ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/reservedstorage" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/reservedstorage" }, "WPFTweaksRestorePoint": { "Content": "Restore Point - Create", @@ -850,7 +850,7 @@ Write-Host \"System Restore Point Created Successfully\" -ForegroundColor Green " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/restorepoint" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/restorepoint" }, "WPFTweaksEndTaskOnTaskbar": { "Content": "End Task With Right Click - Enable", @@ -866,7 +866,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/endtaskontaskbar" }, "WPFTweaksStorage": { "Content": "Storage Sense - Disable", @@ -882,7 +882,7 @@ "OriginalValue": "1" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/storage" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/storage" }, "WPFTweaksWindowsAI": { "Content": "Windows AI - Disable And Remove", @@ -926,7 +926,7 @@ Write-Host \"Windows AI Disabled\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/windowsai" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/windowsai" }, "WPFTweaksWPBT": { "Content": "Windows Platform Binary Table (WPBT) - Disable", @@ -942,7 +942,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/wpbt" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/wpbt" }, "WPFTweaksPreventDeviceMetadataFromNetwork": { "Content": "Prevent Device Companion Apps", @@ -958,7 +958,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/preventdevicemetadatafromnetwork" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/preventdevicemetadatafromnetwork" }, "WPFTweaksRazerBlock": { "Content": "Razer Software Auto-Install - Disable", @@ -999,7 +999,7 @@ icacls \"$Env:SystemRoot\\Installer\\Razer\" /remove:d Everyone " ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/razerblock" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/razerblock" }, "WPFTweaksDisableNotifications": { "Content": "System Tray Notifications & Calendar - Disable", @@ -1022,7 +1022,7 @@ "OriginalValue": "1" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablenotifications" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/disablenotifications" }, "WPFTweaksBlockAdobeNet": { "Content": "Adobe URL Block List - Enable", @@ -1048,7 +1048,7 @@ Write-Host 'Removed Adobe url block list from host file' " ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/blockadobenet" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/blockadobenet" }, "WPFTweaksRightClickMenu": { "Content": "Right-Click Menu Previous Layout - Enable", @@ -1064,7 +1064,7 @@ "UndoScript": [ "Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse" ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/rightclickmenu" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/rightclickmenu" }, "WPFTweaksDiskCleanup": { "Content": "Disk Cleanup - Run", @@ -1077,7 +1077,7 @@ Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/diskcleanup" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/diskcleanup" }, "WPFTweaksDeleteTempFiles": { "Content": "Temporary Files - Remove", @@ -1090,7 +1090,7 @@ Remove-Item -Path \"$Env:SystemRoot\\Temp\\*\" -Recurse -Force " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/deletetempfiles" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/deletetempfiles" }, "WPFTweaksIPv46": { "Content": "IPv6 - Set IPv4 as Preferred", @@ -1106,7 +1106,7 @@ "OriginalValue": "0" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/ipv46" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/ipv46" }, "WPFTweaksTeredo": { "Content": "Teredo - Disable", @@ -1128,7 +1128,7 @@ "UndoScript": [ "netsh interface teredo set state default" ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/teredo" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/teredo" }, "WPFTweaksDisableIPv6": { "Content": "IPv6 - Disable", @@ -1150,7 +1150,7 @@ "UndoScript": [ "Enable-NetAdapterBinding -Name * -ComponentID ms_tcpip6" ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disableipv6" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/disableipv6" }, "WPFTweaksDisableBGapps": { "Content": "Background Apps - Disable", @@ -1166,7 +1166,7 @@ "OriginalValue": "0" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablebgapps" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/disablebgapps" }, "WPFTweaksDisableFSO": { "Content": "Fullscreen Optimizations - Disable", @@ -1182,7 +1182,7 @@ "OriginalValue": "0" } ], - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablefso" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/disablefso" }, "WPFTweaksDisableExplorerAutoDiscovery": { "Content": "File Explorer Automatic Folder Discovery - Disable", @@ -1237,7 +1237,7 @@ Write-Host Please sign out and back in, or restart your computer to apply the changes! " ], - "link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/disableexplorerautodiscovery" + "link": "https://winutil.christitus.com/code-reference/tweaks/essential-tweaks/disableexplorerautodiscovery" }, "WPFToggleDetailedBSoD": { "Content": "BSoD Verbose Mode", @@ -1263,7 +1263,7 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/detailedbsod" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/detailedbsod" }, "WPFToggleBatteryPercentage": { "Content": "System Tray Battery Percentage", @@ -1281,7 +1281,7 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/batterypercentage" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/batterypercentage" }, "WPFToggleDarkMode": { "Content": "Dark Theme for Windows", @@ -1323,7 +1323,7 @@ } " ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/darkmode" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/darkmode" }, "WPFToggleShowExt": { "Content": "File Explorer File Extensions", @@ -1351,7 +1351,7 @@ Invoke-WinUtilExplorerUpdate -action \"restart\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/showext" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/showext" }, "WPFToggleHiddenFiles": { "Content": "File Explorer Hidden Files", @@ -1379,7 +1379,7 @@ Invoke-WinUtilExplorerUpdate -action \"restart\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/hiddenfiles" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/hiddenfiles" }, "WPFToggleVerboseLogon": { "Content": "Logon Verbose Mode", @@ -1397,7 +1397,7 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/verboselogon" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/verboselogon" }, "WPFToggleNewOutlook": { "Content": "Microsoft Outlook New Version", @@ -1439,7 +1439,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/newoutlook" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/newoutlook" }, "WPFToggleScrollbars": { "Content": "Scrollbars Always Visible", @@ -1458,7 +1458,7 @@ "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/scrollbars" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/scrollbars" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/scrollbars" }, "WPFToggleMultiplaneOverlay": { "Content": "Multiplane Overlay", @@ -1484,7 +1484,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/multiplaneoverlay" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/multiplaneoverlay" }, "WPFToggleMouseAcceleration": { "Content": "Mouse Acceleration", @@ -1518,7 +1518,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/mouseacceleration" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/mouseacceleration" }, "WPFToggleNumLock": { "Content": "Num Lock on Startup", @@ -1544,7 +1544,7 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/numlock" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/numlock" }, "WPFToggleWindowSnapping": { "Content": "Window Snapping", @@ -1562,7 +1562,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/windowsnapping" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/windowsnapping" }, "WPFToggleStandbyFix": { "Content": "S0 Sleep Network Connectivity", @@ -1580,7 +1580,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/standbyfix" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/standbyfix" }, "WPFToggleS3Sleep": { "Content": "S3 Sleep", @@ -1598,7 +1598,7 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/s3sleep" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/s3sleep" }, "WPFToggleHideSettingsHome": { "Content": "Settings Home Page", @@ -1616,7 +1616,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/hidesettingshome" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/hidesettingshome" }, "WPFToggleBingSearch": { "Content": "Start Menu Bing Search", @@ -1634,7 +1634,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/bingsearch" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/bingsearch" }, "WPFToggleLoginBlur": { "Content": "Logon Screen Acrylic Blur", @@ -1652,7 +1652,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/loginblur" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/loginblur" }, "WPFTweaksDisableLockscreen": { "Content": "Lock Screen - Disable", @@ -1669,7 +1669,7 @@ "OriginalValue": "" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/disablelockscreen" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/disablelockscreen" }, "WPFToggleStartMenuRecommendations": { "Content": "Start Menu Recommendations", @@ -1713,7 +1713,7 @@ Invoke-WinUtilExplorerUpdate -action \"restart\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/startmenurecommendations" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/startmenurecommendations" }, "WPFToggleStickyKeys": { "Content": "Sticky Keys", @@ -1731,7 +1731,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/stickykeys" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/stickykeys" }, "WPFToggleTaskbarAlignment": { "Content": "Taskbar Centered Icons", @@ -1759,7 +1759,7 @@ Invoke-WinUtilExplorerUpdate -action \"restart\" " ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/taskbaralignment" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/taskbaralignment" }, "WPFToggleTaskbarSearch": { "Content": "Taskbar Search Icon", @@ -1777,7 +1777,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/taskbarsearch" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/taskbarsearch" }, "WPFToggleTaskView": { "Content": "Taskbar Task View Icon", @@ -1795,7 +1795,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/taskview" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/taskview" }, "WPFToggleGameMode": { "Content": "Game Mode", @@ -1821,7 +1821,7 @@ "DefaultState": "true" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/gamemode" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/gamemode" }, "WPFToggleLongPaths": { "Content": "Enable Long Paths", @@ -1839,14 +1839,14 @@ "DefaultState": "false" } ], - "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/longpaths" + "link": "https://winutil.christitus.com/code-reference/tweaks/customize-preferences/longpaths" }, "WPFOOSUbutton": { "Content": "O&O ShutUp10++ - Run", "category": "z__Advanced Tweaks - CAUTION", "panel": "1", "Type": "Button", - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/oosubutton" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/oosubutton" }, "WPFchangedns": { "Content": "DNS - Set to:", @@ -1854,7 +1854,7 @@ "panel": "1", "Type": "Combobox", "ComboItems": "Default DHCP Google Cloudflare Cloudflare_Malware Cloudflare_Malware_Adult Open_DNS Quad9 AdGuard_Ads_Trackers AdGuard_Ads_Trackers_Malware_Adult", - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/changedns" + "link": "https://winutil.christitus.com/code-reference/tweaks/z--advanced-tweaks---caution/changedns" }, "WPFAddUltPerf": { "Content": "Ultimate Performance Profile - Enable", @@ -1862,7 +1862,7 @@ "panel": "2", "Type": "Button", "ButtonWidth": "300", - "link": "https://winutil.christitus.com/dev/tweaks/performance-plans---not-for-laptops/addultperf" + "link": "https://winutil.christitus.com/code-reference/tweaks/performance-plans---not-for-laptops/addultperf" }, "WPFRemoveUltPerf": { "Content": "Ultimate Performance Profile - Disable", @@ -1870,6 +1870,6 @@ "panel": "2", "Type": "Button", "ButtonWidth": "300", - "link": "https://winutil.christitus.com/dev/tweaks/performance-plans---not-for-laptops/removeultperf" + "link": "https://winutil.christitus.com/code-reference/tweaks/performance-plans---not-for-laptops/removeultperf" } } diff --git a/docs/src/content/docs/code-reference/features/Features/DisableLegacyRecovery.mdx b/docs/src/content/docs/code-reference/features/Features/DisableLegacyRecovery.mdx new file mode 100644 index 00000000..bec1ec95 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/DisableLegacyRecovery.mdx @@ -0,0 +1,21 @@ +--- +title: "Legacy F8 Boot Recovery - Disable" +description: "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeatureDisableLegacyRecovery": { + "Content": "Legacy F8 Boot Recovery - Disable", + "Description": "Disables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.", + "category": "Features", + "panel": "1", + "feature": [], + "InvokeScript": [ + "bcdedit /set bootmenupolicy standard" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/EnableLegacyRecovery.mdx b/docs/src/content/docs/code-reference/features/Features/EnableLegacyRecovery.mdx new file mode 100644 index 00000000..34391693 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/EnableLegacyRecovery.mdx @@ -0,0 +1,21 @@ +--- +title: "Legacy F8 Boot Recovery - Enable" +description: "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeatureEnableLegacyRecovery": { + "Content": "Legacy F8 Boot Recovery - Enable", + "Description": "Enables Advanced Boot Options screen that lets you start Windows in advanced troubleshooting modes.", + "category": "Features", + "panel": "1", + "feature": [], + "InvokeScript": [ + "bcdedit /set bootmenupolicy legacy" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/RegBackup.mdx b/docs/src/content/docs/code-reference/features/Features/RegBackup.mdx new file mode 100644 index 00000000..5d7331d7 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/RegBackup.mdx @@ -0,0 +1,27 @@ +--- +title: "Registry Backup (Daily Task 12:30am) - Enable" +description: "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeatureRegBackup": { + "Content": "Registry Backup (Daily Task 12:30am) - Enable", + "Description": "Enables daily registry backup, previously disabled by Microsoft in Windows 10 1803.", + "category": "Features", + "panel": "1", + "feature": [], + "InvokeScript": [ + " + New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'EnablePeriodicBackup' -Type DWord -Value 1 -Force + New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Configuration Manager' -Name 'BackupCount' -Type DWord -Value 2 -Force + $action = New-ScheduledTaskAction -Execute 'schtasks' -Argument '/run /i /tn \"\\Microsoft\\Windows\\Registry\\RegIdleBackup\"' + $trigger = New-ScheduledTaskTrigger -Daily -At 00:30 + Register-ScheduledTask -Action $action -Trigger $trigger -TaskName 'AutoRegBackup' -Description 'Create System Registry Backups' -User 'System' + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/Sandbox.mdx b/docs/src/content/docs/code-reference/features/Features/Sandbox.mdx new file mode 100644 index 00000000..2c28998c --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/Sandbox.mdx @@ -0,0 +1,20 @@ +--- +title: "Windows Sandbox - Enable" +description: "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeaturesSandbox": { + "Content": "Windows Sandbox - Enable", + "Description": "Windows Sandbox is a lightweight virtual machine that provides a temporary desktop environment to safely run applications and programs in isolation.", + "category": "Features", + "panel": "1", + "feature": [ + "Containers-DisposableClientVM" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/dotnet.mdx b/docs/src/content/docs/code-reference/features/Features/dotnet.mdx new file mode 100644 index 00000000..258186c8 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/dotnet.mdx @@ -0,0 +1,22 @@ +--- +title: ".NET Framework (Versions 2, 3, 4) - Enable" +description: ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeaturesdotnet": { + "Content": ".NET Framework (Versions 2, 3, 4) - Enable", + "Description": ".NET and .NET Framework is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.", + "category": "Features", + "panel": "1", + "feature": [ + "NetFx4-AdvSrvs", + "NetFx3" + ], + "InvokeScript": [], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/hyperv.mdx b/docs/src/content/docs/code-reference/features/Features/hyperv.mdx new file mode 100644 index 00000000..b32bdda6 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/hyperv.mdx @@ -0,0 +1,20 @@ +--- +title: "Hyper-V - Enable" +description: "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeatureshyperv": { + "Content": "Hyper-V - Enable", + "Description": "Hyper-V is a hardware virtualization product developed by Microsoft that allows users to create and manage virtual machines.", + "category": "Features", + "panel": "1", + "feature": [ + "Microsoft-Hyper-V-All" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/legacymedia.mdx b/docs/src/content/docs/code-reference/features/Features/legacymedia.mdx new file mode 100644 index 00000000..b8996411 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/legacymedia.mdx @@ -0,0 +1,24 @@ +--- +title: "Legacy Media Components (WMP, DirectPlay) - Enable" +description: "Enables legacy programs from previous versions of Windows." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeatureslegacymedia": { + "Content": "Legacy Media Components (WMP, DirectPlay) - Enable", + "Description": "Enables legacy programs from previous versions of Windows.", + "category": "Features", + "panel": "1", + "feature": [ + "WindowsMediaPlayer", + "MediaPlayback", + "DirectPlay", + "LegacyComponents" + ], + "InvokeScript": [], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/nfs.mdx b/docs/src/content/docs/code-reference/features/Features/nfs.mdx new file mode 100644 index 00000000..a4920de2 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/nfs.mdx @@ -0,0 +1,29 @@ +--- +title: "Network File System (NFS) - Enable" +description: "Network File System (NFS) is a mechanism for storing files on a network." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeaturenfs": { + "Content": "Network File System (NFS) - Enable", + "Description": "Network File System (NFS) is a mechanism for storing files on a network.", + "category": "Features", + "panel": "1", + "feature": [ + "ServicesForNFS-ClientOnly", + "ClientForNFS-Infrastructure", + "NFS-Administration" + ], + "InvokeScript": [ + "nfsadmin client stop", + "Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousUID' -Type DWord -Value 0", + "Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default' -Name 'AnonymousGID' -Type DWord -Value 0", + "nfsadmin client start", + "nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Features/wsl.mdx b/docs/src/content/docs/code-reference/features/Features/wsl.mdx new file mode 100644 index 00000000..67079cf9 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Features/wsl.mdx @@ -0,0 +1,22 @@ +--- +title: "Windows Subsystem for Linux (WSL) - Enable" +description: "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting." +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFFeaturewsl": { + "Content": "Windows Subsystem for Linux (WSL) - Enable", + "Description": "Windows Subsystem for Linux is an optional feature of Windows that allows Linux programs to run natively on Windows without the need for a separate virtual machine or dual booting.", + "category": "Features", + "panel": "1", + "feature": [ + "VirtualMachinePlatform", + "Microsoft-Windows-Subsystem-Linux" + ], + "InvokeScript": [], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/Autologin.mdx b/docs/src/content/docs/code-reference/features/Fixes/Autologin.mdx new file mode 100644 index 00000000..653ff932 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/Autologin.mdx @@ -0,0 +1,15 @@ +--- +title: "AutoLogon - Run" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFPanelAutologin.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFPanelAutologin.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFPanelAutologin.ps1" +function Invoke-WPFPanelAutologin { + Invoke-WebRequest -Uri https://live.sysinternals.com/Autologon.exe -OutFile "$winutildir\autologin.exe" + Start-Process -FilePath "$winutildir\autologin.exe" -ArgumentList /accepteula +} +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/DISM.mdx b/docs/src/content/docs/code-reference/features/Fixes/DISM.mdx new file mode 100644 index 00000000..f79f7da8 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/DISM.mdx @@ -0,0 +1,30 @@ +--- +title: "System Corruption Scan - Run" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFSystemRepair.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFSystemRepair.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFSystemRepair.ps1" +function Invoke-WPFSystemRepair { + <# + .SYNOPSIS + Checks for system corruption using SFC, and DISM + Checks for disk failure using Chkdsk + + .DESCRIPTION + 1. Chkdsk - Checks for disk errors, which can cause system file corruption and notifies of early disk failure + 2. SFC - scans protected system files for corruption and fixes them + 3. DISM - Repair a corrupted Windows operating system image + #> + + Start-Process cmd.exe -ArgumentList "/c chkdsk /scan /perf" -NoNewWindow -Wait + Start-Process cmd.exe -ArgumentList "/c sfc /scannow" -NoNewWindow -Wait + Start-Process cmd.exe -ArgumentList "/c dism /online /cleanup-image /restorehealth" -NoNewWindow -Wait + + Write-Host "==> Finished System Repair" + Set-WinUtilTaskbaritem -state "None" -overlay "checkmark" +} +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/NTPPool.mdx b/docs/src/content/docs/code-reference/features/Fixes/NTPPool.mdx new file mode 100644 index 00000000..d996b304 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/NTPPool.mdx @@ -0,0 +1,31 @@ +--- +title: "NTP Server - Enable" +description: "Replaces the default Windows NTP server (time.windows.com) with pool.ntp.org for improved time synchronization accuracy and reliability." +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFFixesNTPPool.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFFixesNTPPool.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFFixesNTPPool.ps1" +function Invoke-WPFFixesNTPPool { + <# + .SYNOPSIS + Configures Windows to use pool.ntp.org for NTP synchronization + + .DESCRIPTION + Replaces the default Windows NTP server (time.windows.com) with + pool.ntp.org for improved time synchronization accuracy and reliability. + #> + + Start-Service w32time + w32tm /config /update /manualpeerlist:"pool.ntp.org,0x8" /syncfromflags:MANUAL + + Restart-Service w32time + w32tm /resync + + Write-Host "=================================" + Write-Host "-- NTP Configuration Complete ---" + Write-Host "=================================" +} +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/Network.mdx b/docs/src/content/docs/code-reference/features/Fixes/Network.mdx new file mode 100644 index 00000000..c7b8ec2b --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/Network.mdx @@ -0,0 +1,16 @@ +--- +title: "Network - Reset" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFFixesNetwork.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFFixesNetwork.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFFixesNetwork.ps1" +function Invoke-WPFFixesNetwork { + netsh winsock reset + netsh int ip reset + Write-Host "Network Configuration has been Reset. Please restart your computer." +} +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/Update.mdx b/docs/src/content/docs/code-reference/features/Fixes/Update.mdx new file mode 100644 index 00000000..895d86d6 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/Update.mdx @@ -0,0 +1,237 @@ +--- +title: "Windows Update - Reset" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFFixesUpdate.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFFixesUpdate.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFFixesUpdate.ps1" +function Invoke-WPFFixesUpdate { + + <# + + .SYNOPSIS + Performs various tasks in an attempt to repair Windows Update + + .DESCRIPTION + 1. (Aggressive Only) Scans the system for corruption using the Invoke-WPFSystemRepair function + 2. Stops Windows Update Services + 3. Remove the QMGR Data file, which stores BITS jobs + 4. (Aggressive Only) Renames the DataStore and CatRoot2 folders + DataStore - Contains the Windows Update History and Log Files + CatRoot2 - Contains the Signatures for Windows Update Packages + 5. Renames the Windows Update Download Folder + 6. Deletes the Windows Update Log + 7. (Aggressive Only) Resets the Security Descriptors on the Windows Update Services + 8. Reregisters the BITS and Windows Update DLLs + 9. Removes the WSUS client settings + 10. Resets WinSock + 11. Gets and deletes all BITS jobs + 12. Sets the startup type of the Windows Update Services then starts them + 13. Forces Windows Update to check for updates + + .PARAMETER Aggressive + If specified, the script will take additional steps to repair Windows Update that are more dangerous, take a significant amount of time, or are generally unnecessary + + #> + + param($Aggressive = $false) + + Write-Progress -Id 0 -Activity "Repairing Windows Update" -PercentComplete 0 + Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo" + Write-Host "Starting Windows Update Repair..." + # Wait for the first progress bar to show, otherwise the second one won't show + Start-Sleep -Milliseconds 200 + + if ($Aggressive) { + Invoke-WPFSystemRepair + } + + + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Stopping Windows Update Services..." -PercentComplete 10 + # Stop the Windows Update Services + Write-Progress -Id 2 -ParentId 0 -Activity "Stopping Services" -Status "Stopping BITS..." -PercentComplete 0 + Stop-Service -Name BITS -Force + Write-Progress -Id 2 -ParentId 0 -Activity "Stopping Services" -Status "Stopping wuauserv..." -PercentComplete 20 + Stop-Service -Name wuauserv -Force + Write-Progress -Id 2 -ParentId 0 -Activity "Stopping Services" -Status "Stopping appidsvc..." -PercentComplete 40 + Stop-Service -Name appidsvc -Force + Write-Progress -Id 2 -ParentId 0 -Activity "Stopping Services" -Status "Stopping cryptsvc..." -PercentComplete 60 + Stop-Service -Name cryptsvc -Force + Write-Progress -Id 2 -ParentId 0 -Activity "Stopping Services" -Status "Completed" -PercentComplete 100 + + + # Remove the QMGR Data file + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Renaming/Removing Files..." -PercentComplete 20 + Write-Progress -Id 3 -ParentId 0 -Activity "Renaming/Removing Files" -Status "Removing QMGR Data files..." -PercentComplete 0 + Remove-Item "$env:allusersprofile\Application Data\Microsoft\Network\Downloader\qmgr*.dat" -ErrorAction SilentlyContinue + + + if ($Aggressive) { + # Rename the Windows Update Log and Signature Folders + Write-Progress -Id 3 -ParentId 0 -Activity "Renaming/Removing Files" -Status "Renaming the Windows Update Log, Download, and Signature Folder..." -PercentComplete 20 + Rename-Item $env:systemroot\SoftwareDistribution\DataStore DataStore.bak -ErrorAction SilentlyContinue + Rename-Item $env:systemroot\System32\Catroot2 catroot2.bak -ErrorAction SilentlyContinue + } + + # Rename the Windows Update Download Folder + Write-Progress -Id 3 -ParentId 0 -Activity "Renaming/Removing Files" -Status "Renaming the Windows Update Download Folder..." -PercentComplete 20 + Rename-Item $env:systemroot\SoftwareDistribution\Download Download.bak -ErrorAction SilentlyContinue + + # Delete the legacy Windows Update Log + Write-Progress -Id 3 -ParentId 0 -Activity "Renaming/Removing Files" -Status "Removing the old Windows Update log..." -PercentComplete 80 + Remove-Item $env:systemroot\WindowsUpdate.log -ErrorAction SilentlyContinue + Write-Progress -Id 3 -ParentId 0 -Activity "Renaming/Removing Files" -Status "Completed" -PercentComplete 100 + + + if ($Aggressive) { + # Reset the Security Descriptors on the Windows Update Services + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Resetting the WU Service Security Descriptors..." -PercentComplete 25 + Write-Progress -Id 4 -ParentId 0 -Activity "Resetting the WU Service Security Descriptors" -Status "Resetting the BITS Security Descriptor..." -PercentComplete 0 + Start-Process -NoNewWindow -FilePath "sc.exe" -ArgumentList "sdset", "bits", "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" -Wait + Write-Progress -Id 4 -ParentId 0 -Activity "Resetting the WU Service Security Descriptors" -Status "Resetting the wuauserv Security Descriptor..." -PercentComplete 50 + Start-Process -NoNewWindow -FilePath "sc.exe" -ArgumentList "sdset", "wuauserv", "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" -Wait + Write-Progress -Id 4 -ParentId 0 -Activity "Resetting the WU Service Security Descriptors" -Status "Completed" -PercentComplete 100 + } + + + # Reregister the BITS and Windows Update DLLs + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Reregistering DLLs..." -PercentComplete 40 + $oldLocation = Get-Location + Set-Location $env:systemroot\system32 + $i = 0 + $DLLs = @( + "atl.dll", "urlmon.dll", "mshtml.dll", "shdocvw.dll", "browseui.dll", + "jscript.dll", "vbscript.dll", "scrrun.dll", "msxml.dll", "msxml3.dll", + "msxml6.dll", "actxprxy.dll", "softpub.dll", "wintrust.dll", "dssenh.dll", + "rsaenh.dll", "gpkcsp.dll", "sccbase.dll", "slbcsp.dll", "cryptdlg.dll", + "oleaut32.dll", "ole32.dll", "shell32.dll", "initpki.dll", "wuapi.dll", + "wuaueng.dll", "wuaueng1.dll", "wucltui.dll", "wups.dll", "wups2.dll", + "wuweb.dll", "qmgr.dll", "qmgrprxy.dll", "wucltux.dll", "muweb.dll", "wuwebv.dll" + ) + foreach ($dll in $DLLs) { + Write-Progress -Id 5 -ParentId 0 -Activity "Reregistering DLLs" -Status "Registering $dll..." -PercentComplete ($i / $DLLs.Count * 100) + $i++ + Start-Process -NoNewWindow -FilePath "regsvr32.exe" -ArgumentList "/s", $dll + } + Set-Location $oldLocation + Write-Progress -Id 5 -ParentId 0 -Activity "Reregistering DLLs" -Status "Completed" -PercentComplete 100 + + + # Remove the WSUS client settings + if (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate") { + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Removing WSUS client settings..." -PercentComplete 60 + Write-Progress -Id 6 -ParentId 0 -Activity "Removing WSUS client settings" -PercentComplete 0 + Start-Process -NoNewWindow -FilePath "REG" -ArgumentList "DELETE", "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "/v", "AccountDomainSid", "/f" -RedirectStandardError "NUL" + Start-Process -NoNewWindow -FilePath "REG" -ArgumentList "DELETE", "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "/v", "PingID", "/f" -RedirectStandardError "NUL" + Start-Process -NoNewWindow -FilePath "REG" -ArgumentList "DELETE", "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate", "/v", "SusClientId", "/f" -RedirectStandardError "NUL" + Write-Progress -Id 6 -ParentId 0 -Activity "Removing WSUS client settings" -Status "Completed" -PercentComplete 100 + } + + # Remove Group Policy Windows Update settings + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Removing Group Policy Windows Update settings..." -PercentComplete 60 + Write-Progress -Id 7 -ParentId 0 -Activity "Removing Group Policy Windows Update settings" -PercentComplete 0 + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "ExcludeWUDriversInQualityUpdate" -ErrorAction SilentlyContinue + Write-Host "Defaulting driver offering through Windows Update..." + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata" -Name "PreventDeviceMetadataFromNetwork" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" -Name "DontPromptForWindowsUpdate" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" -Name "DontSearchWindowsUpdate" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching" -Name "DriverUpdateWizardWuSearchEnabled" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Name "ExcludeWUDriversInQualityUpdate" -ErrorAction SilentlyContinue + Write-Host "Defaulting Windows Update automatic restart..." + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoRebootWithLoggedOnUsers" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUPowerManagement" -ErrorAction SilentlyContinue + Write-Host "Clearing ANY Windows Update Policy settings..." + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "BranchReadinessLevel" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferFeatureUpdatesPeriodInDays" -ErrorAction SilentlyContinue + Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferQualityUpdatesPeriodInDays" -ErrorAction SilentlyContinue + Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKCU:\Software\Microsoft\WindowsSelfHost" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKCU:\Software\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\Microsoft\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\Microsoft\WindowsSelfHost" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\WOW6432Node\Microsoft\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" -Recurse -Force -ErrorAction SilentlyContinue + Remove-Item -Path "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" -Recurse -Force -ErrorAction SilentlyContinue + Start-Process -NoNewWindow -FilePath "secedit" -ArgumentList "/configure", "/cfg", "$env:windir\inf\defltbase.inf", "/db", "defltbase.sdb", "/verbose" -Wait + Start-Process -NoNewWindow -FilePath "cmd.exe" -ArgumentList "/c RD /S /Q $env:WinDir\System32\GroupPolicyUsers" -Wait + Start-Process -NoNewWindow -FilePath "cmd.exe" -ArgumentList "/c RD /S /Q $env:WinDir\System32\GroupPolicy" -Wait + Start-Process -NoNewWindow -FilePath "gpupdate" -ArgumentList "/force" -Wait + Write-Progress -Id 7 -ParentId 0 -Activity "Removing Group Policy Windows Update settings" -Status "Completed" -PercentComplete 100 + + + # Reset WinSock + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Resetting WinSock..." -PercentComplete 65 + Write-Progress -Id 7 -ParentId 0 -Activity "Resetting WinSock" -Status "Resetting WinSock..." -PercentComplete 0 + Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winsock", "reset" + Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "winhttp", "reset", "proxy" + Start-Process -NoNewWindow -FilePath "netsh" -ArgumentList "int", "ip", "reset" + Write-Progress -Id 7 -ParentId 0 -Activity "Resetting WinSock" -Status "Completed" -PercentComplete 100 + + + # Get and delete all BITS jobs + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Deleting BITS jobs..." -PercentComplete 75 + Write-Progress -Id 8 -ParentId 0 -Activity "Deleting BITS jobs" -Status "Deleting BITS jobs..." -PercentComplete 0 + Get-BitsTransfer | Remove-BitsTransfer + Write-Progress -Id 8 -ParentId 0 -Activity "Deleting BITS jobs" -Status "Completed" -PercentComplete 100 + + + # Change the startup type of the Windows Update Services and start them + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Starting Windows Update Services..." -PercentComplete 90 + Write-Progress -Id 9 -ParentId 0 -Activity "Starting Windows Update Services" -Status "Starting BITS..." -PercentComplete 0 + Get-Service BITS | Set-Service -StartupType Manual -PassThru | Start-Service + Write-Progress -Id 9 -ParentId 0 -Activity "Starting Windows Update Services" -Status "Starting wuauserv..." -PercentComplete 25 + Get-Service wuauserv | Set-Service -StartupType Manual -PassThru | Start-Service + Write-Progress -Id 9 -ParentId 0 -Activity "Starting Windows Update Services" -Status "Starting AppIDSvc..." -PercentComplete 50 + # The AppIDSvc service is protected, so the startup type has to be changed in the registry + Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\AppIDSvc" -Name "Start" -Value "3" # Manual + Start-Service AppIDSvc + Write-Progress -Id 9 -ParentId 0 -Activity "Starting Windows Update Services" -Status "Starting CryptSvc..." -PercentComplete 75 + Get-Service CryptSvc | Set-Service -StartupType Manual -PassThru | Start-Service + Write-Progress -Id 9 -ParentId 0 -Activity "Starting Windows Update Services" -Status "Completed" -PercentComplete 100 + + + # Force Windows Update to check for updates + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Forcing discovery..." -PercentComplete 95 + Write-Progress -Id 10 -ParentId 0 -Activity "Forcing discovery" -Status "Forcing discovery..." -PercentComplete 0 + try { + (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow() + } catch { + Set-WinUtilTaskbaritem -state "Error" -overlay "warning" + Write-Warning "Failed to create Windows Update COM object: $_" + } + Start-Process -NoNewWindow -FilePath "wuauclt" -ArgumentList "/resetauthorization", "/detectnow" + Write-Progress -Id 10 -ParentId 0 -Activity "Forcing discovery" -Status "Completed" -PercentComplete 100 + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Status "Completed" -PercentComplete 100 + + Set-WinUtilTaskbaritem -state "None" -overlay "checkmark" + + $ButtonType = [System.Windows.MessageBoxButton]::OK + $MessageboxTitle = "Reset Windows Update " + $Messageboxbody = ("Stock settings loaded.`n Please reboot your computer") + $MessageIcon = [System.Windows.MessageBoxImage]::Information + + [System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon) + Write-Host "===============================================" + Write-Host "-- Reset All Windows Update Settings to Stock -" + Write-Host "===============================================" + + # Remove the progress bars + Write-Progress -Id 0 -Activity "Repairing Windows Update" -Completed + Write-Progress -Id 1 -Activity "Scanning for corruption" -Completed + Write-Progress -Id 2 -Activity "Stopping Services" -Completed + Write-Progress -Id 3 -Activity "Renaming/Removing Files" -Completed + Write-Progress -Id 4 -Activity "Resetting the WU Service Security Descriptors" -Completed + Write-Progress -Id 5 -Activity "Reregistering DLLs" -Completed + Write-Progress -Id 6 -Activity "Removing Group Policy Windows Update settings" -Completed + Write-Progress -Id 7 -Activity "Resetting WinSock" -Completed + Write-Progress -Id 8 -Activity "Deleting BITS jobs" -Completed + Write-Progress -Id 9 -Activity "Starting Windows Update Services" -Completed + Write-Progress -Id 10 -Activity "Forcing discovery" -Completed +} +``` diff --git a/docs/src/content/docs/code-reference/features/Fixes/Winget.mdx b/docs/src/content/docs/code-reference/features/Fixes/Winget.mdx new file mode 100644 index 00000000..37aa540f --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Fixes/Winget.mdx @@ -0,0 +1,34 @@ +--- +title: "WinGet - Reinstall" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFFixesWinget.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFFixesWinget.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFFixesWinget.ps1" +function Invoke-WPFFixesWinget { + + <# + + .SYNOPSIS + Fixes WinGet by running `choco install winget` + .DESCRIPTION + BravoNorris for the fantastic idea of a button to reinstall WinGet + #> + # Install Choco if not already present + try { + Set-WinUtilTaskbaritem -state "Indeterminate" -overlay "logo" + Write-Host "==> Starting WinGet Repair" + Install-WinUtilWinget + } catch { + Write-Error "Failed to install WinGet: $_" + Set-WinUtilTaskbaritem -state "Error" -overlay "warning" + } finally { + Write-Host "==> Finished WinGet Repair" + Set-WinUtilTaskbaritem -state "None" -overlay "checkmark" + } + +} +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Computer.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Computer.mdx new file mode 100644 index 00000000..b8694f7c --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Computer.mdx @@ -0,0 +1,21 @@ +--- +title: "Computer Management" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelComputer": { + "Content": "Computer Management", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "compmgmt.msc" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Control.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Control.mdx new file mode 100644 index 00000000..853a8653 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Control.mdx @@ -0,0 +1,21 @@ +--- +title: "Control Panel" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelControl": { + "Content": "Control Panel", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "control" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Firewall.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Firewall.mdx new file mode 100644 index 00000000..bf51bbc7 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Firewall.mdx @@ -0,0 +1,21 @@ +--- +title: "Windows Defender Firewall" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelFirewall": { + "Content": "Windows Defender Firewall", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "firewall.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Mouse.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Mouse.mdx new file mode 100644 index 00000000..74946fe0 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Mouse.mdx @@ -0,0 +1,21 @@ +--- +title: "Mouse Properties" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelMouse": { + "Content": "Mouse Properties", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "main.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Network.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Network.mdx new file mode 100644 index 00000000..85130560 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Network.mdx @@ -0,0 +1,21 @@ +--- +title: "Network Connections" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelNetwork": { + "Content": "Network Connections", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "ncpa.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Power.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Power.mdx new file mode 100644 index 00000000..faea4636 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Power.mdx @@ -0,0 +1,21 @@ +--- +title: "Power Panel" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelPower": { + "Content": "Power Panel", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "powercfg.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Printer.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Printer.mdx new file mode 100644 index 00000000..e699d835 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Printer.mdx @@ -0,0 +1,21 @@ +--- +title: "Printer Panel" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelPrinter": { + "Content": "Printer Panel", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "Start-Process 'shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}'" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Programs.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Programs.mdx new file mode 100644 index 00000000..d83ac585 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Programs.mdx @@ -0,0 +1,21 @@ +--- +title: "Programs and Features" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelPrograms": { + "Content": "Programs and Features", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "appwiz.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Region.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Region.mdx new file mode 100644 index 00000000..a88d2241 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Region.mdx @@ -0,0 +1,21 @@ +--- +title: "Region" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelRegion": { + "Content": "Region", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "intl.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Restore.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Restore.mdx new file mode 100644 index 00000000..3e03c3a5 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Restore.mdx @@ -0,0 +1,21 @@ +--- +title: "Windows Restore" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelRestore": { + "Content": "Windows Restore", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "rstrui.exe" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Security.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Security.mdx new file mode 100644 index 00000000..3b99ddeb --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Security.mdx @@ -0,0 +1,21 @@ +--- +title: "Security and Maintenance" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelSecurity": { + "Content": "Security and Maintenance", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "wscui.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Sound.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Sound.mdx new file mode 100644 index 00000000..6231abe0 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Sound.mdx @@ -0,0 +1,21 @@ +--- +title: "Sound Settings" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelSound": { + "Content": "Sound Settings", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "mmsys.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/System.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/System.mdx new file mode 100644 index 00000000..bc2f8006 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/System.mdx @@ -0,0 +1,21 @@ +--- +title: "System Properties" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelSystem": { + "Content": "System Properties", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "sysdm.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Timedate.mdx b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Timedate.mdx new file mode 100644 index 00000000..a5c4f9b8 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Legacy-Windows-Panels/Timedate.mdx @@ -0,0 +1,21 @@ +--- +title: "Time and Date" +description: "" +--- + +:::note +This page is generated from [`config/feature.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/feature.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/feature.json" + "WPFPanelTimedate": { + "Content": "Time and Date", + "category": "Legacy Windows Panels", + "panel": "2", + "Type": "Button", + "ButtonWidth": "300", + "InvokeScript": [ + "timedate.cpl" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/InstallPSProfile.mdx b/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/InstallPSProfile.mdx new file mode 100644 index 00000000..c2c1a12e --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/InstallPSProfile.mdx @@ -0,0 +1,26 @@ +--- +title: "CTT PowerShell Profile - Install" +description: "" +--- + +:::note +This page is generated from [`functions/private/Invoke-WinUtilInstallPSProfile.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/private/Invoke-WinUtilInstallPSProfile.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/private/Invoke-WinUtilInstallPSProfile.ps1" +function Invoke-WinUtilInstallPSProfile { + if (-not (Get-Command wt)) { + Write-Host "Windows Terminal not found. Installing..." + Install-WinUtilWinget + winget install Microsoft.WindowsTerminal --source winget --silent + } + + if (-not (Get-Command pwsh)) { + Write-Host "PowerShell 7 not found. Installing..." + Install-WinUtilWinget + winget install Microsoft.PowerShell --source winget --installer-type wix --silent + } + + wt new-tab pwsh -NoExit -Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex" +} +``` diff --git a/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/UninstallPSProfile.mdx b/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/UninstallPSProfile.mdx new file mode 100644 index 00000000..4a60da19 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Powershell-Profile-Powershell-7--Only/UninstallPSProfile.mdx @@ -0,0 +1,21 @@ +--- +title: "CTT PowerShell Profile - Remove" +description: "" +--- + +:::note +This page is generated from [`functions/private/Invoke-WinUtilUninstallPSProfile.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/private/Invoke-WinUtilUninstallPSProfile.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/private/Invoke-WinUtilUninstallPSProfile.ps1" +function Invoke-WinUtilUninstallPSProfile { + + if (Test-Path ($Profile + ".bak")) { + Move-Item -Path ($Profile + ".bak") -Destination $Profile + } else { + Remove-Item -Path $Profile + } + + Write-Host "Successfully uninstalled CTT PowerShell Profile." -ForegroundColor Green +} +``` diff --git a/docs/src/content/docs/code-reference/features/Remote-Access/SSHServer.mdx b/docs/src/content/docs/code-reference/features/Remote-Access/SSHServer.mdx new file mode 100644 index 00000000..660cb342 --- /dev/null +++ b/docs/src/content/docs/code-reference/features/Remote-Access/SSHServer.mdx @@ -0,0 +1,28 @@ +--- +title: "OpenSSH Server - Enable" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFSSHServer.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFSSHServer.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFSSHServer.ps1" +function Invoke-WPFSSHServer { + <# + + .SYNOPSIS + Invokes the OpenSSH Server install in a runspace + + #> + + Invoke-WPFRunspace -ScriptBlock { + + Invoke-WinUtilSSHServer + + Write-Host "=======================================" + Write-Host "-- OpenSSH Server installed! ---" + Write-Host "=======================================" + } +} +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BatteryPercentage.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BatteryPercentage.mdx new file mode 100644 index 00000000..effc171b --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BatteryPercentage.mdx @@ -0,0 +1,34 @@ +--- +title: "System Tray Battery Percentage" +description: "Shows numeric battery percentage next to the battery icon in the system tray." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleBatteryPercentage": { + "Content": "System Tray Battery Percentage", + "Description": "Shows numeric battery percentage next to the battery icon in the system tray.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "IsBatteryPercentageEnabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BingSearch.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BingSearch.mdx new file mode 100644 index 00000000..d0d1572b --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/BingSearch.mdx @@ -0,0 +1,34 @@ +--- +title: "Start Menu Bing Search" +description: "Toggles Bing web search results in Windows Search." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleBingSearch": { + "Content": "Start Menu Bing Search", + "Description": "Toggles Bing web search results in Windows Search.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search", + "Name": "BingSearchEnabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DarkMode.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DarkMode.mdx new file mode 100644 index 00000000..8f9f81e1 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DarkMode.mdx @@ -0,0 +1,58 @@ +--- +title: "Dark Theme for Windows" +description: "Dark Mode for the system and applications." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleDarkMode": { + "Content": "Dark Theme for Windows", + "Description": "Dark Mode for the system and applications.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize", + "Name": "AppsUseLightTheme", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "false" + }, + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize", + "Name": "SystemUsesLightTheme", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "false" + } + ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate + if ($sync.ThemeButton.Content -eq [char]0xF08C) { + Invoke-WinutilThemeChange -theme \"Auto\" + } + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate + if ($sync.ThemeButton.Content -eq [char]0xF08C) { + Invoke-WinutilThemeChange -theme \"Auto\" + } + " + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DetailedBSoD.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DetailedBSoD.mdx new file mode 100644 index 00000000..03daac78 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DetailedBSoD.mdx @@ -0,0 +1,42 @@ +--- +title: "BSoD Verbose Mode" +description: "Gives more information when you blue screen." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleDetailedBSoD": { + "Content": "BSoD Verbose Mode", + "Description": "Gives more information when you blue screen.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl", + "Name": "DisplayParameters", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + }, + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CrashControl", + "Name": "DisableEmoticon", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DisableLockscreen.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DisableLockscreen.mdx new file mode 100644 index 00000000..dd78564e --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/DisableLockscreen.mdx @@ -0,0 +1,33 @@ +--- +title: "Lock Screen - Disable" +description: "Skips the lock screen entirely and goes directly to the sign-in screen on boot and wake." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableLockscreen": { + "Content": "Lock Screen - Disable", + "Description": "Skips the lock screen entirely and goes directly to the sign-in screen on boot and wake.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Personalization", + "Name": "NoLockScreen", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/GameMode.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/GameMode.mdx new file mode 100644 index 00000000..97d45837 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/GameMode.mdx @@ -0,0 +1,42 @@ +--- +title: "Game Mode" +description: "Toggles Windows prioritizes gaming performance by allocating system resources to games." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleGameMode": { + "Content": "Game Mode", + "Description": "Toggles Windows prioritizes gaming performance by allocating system resources to games.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\GameBar", + "Name": "AllowAutoGameMode", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\GameBar", + "Name": "AutoGameModeEnabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HiddenFiles.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HiddenFiles.mdx new file mode 100644 index 00000000..8c934a69 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HiddenFiles.mdx @@ -0,0 +1,44 @@ +--- +title: "File Explorer Hidden Files" +description: "Reveals hidden files in Explorer." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleHiddenFiles": { + "Content": "File Explorer Hidden Files", + "Description": "Reveals hidden files in Explorer.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "Hidden", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + } + ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HideSettingsHome.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HideSettingsHome.mdx new file mode 100644 index 00000000..6039a9eb --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/HideSettingsHome.mdx @@ -0,0 +1,34 @@ +--- +title: "Settings Home Page" +description: "Toggles the Home Page in the Windows Settings app." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleHideSettingsHome": { + "Content": "Settings Home Page", + "Description": "Toggles the Home Page in the Windows Settings app.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", + "Name": "SettingsPageVisibility", + "Value": "show:home", + "Type": "String", + "OriginalValue": "hide:home", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LoginBlur.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LoginBlur.mdx new file mode 100644 index 00000000..488bf2b0 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LoginBlur.mdx @@ -0,0 +1,34 @@ +--- +title: "Logon Screen Acrylic Blur" +description: "Toggles the acrylic blur effect on login screen background." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleLoginBlur": { + "Content": "Logon Screen Acrylic Blur", + "Description": "Toggles the acrylic blur effect on login screen background.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", + "Name": "DisableAcrylicBackgroundOnLogon", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LongPaths.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LongPaths.mdx new file mode 100644 index 00000000..961753af --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/LongPaths.mdx @@ -0,0 +1,34 @@ +--- +title: "Enable Long Paths" +description: "Toggles support for file paths longer than 260 characters in Explorer." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleLongPaths": { + "Content": "Enable Long Paths", + "Description": "Toggles support for file paths longer than 260 characters in Explorer.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem", + "Name": "LongPathsEnabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MouseAcceleration.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MouseAcceleration.mdx new file mode 100644 index 00000000..f7ac3d29 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MouseAcceleration.mdx @@ -0,0 +1,50 @@ +--- +title: "Mouse Acceleration" +description: "Makes it so Cursor movement is affected by the speed of your physical mouse movements." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleMouseAcceleration": { + "Content": "Mouse Acceleration", + "Description": "Makes it so Cursor movement is affected by the speed of your physical mouse movements.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Mouse", + "Name": "MouseSpeed", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + }, + { + "Path": "HKCU:\\Control Panel\\Mouse", + "Name": "MouseThreshold1", + "Value": "6", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + }, + { + "Path": "HKCU:\\Control Panel\\Mouse", + "Name": "MouseThreshold2", + "Value": "10", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MultiplaneOverlay.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MultiplaneOverlay.mdx new file mode 100644 index 00000000..5c76b231 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/MultiplaneOverlay.mdx @@ -0,0 +1,42 @@ +--- +title: "Multiplane Overlay" +description: "Multiplane Overlay compose multiple image layers, which can sometimes cause issues with graphics cards." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleMultiplaneOverlay": { + "Content": "Multiplane Overlay", + "Description": "Multiplane Overlay compose multiple image layers, which can sometimes cause issues with graphics cards.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Dwm", + "Name": "OverlayTestMode", + "Value": "0", + "Type": "DWord", + "OriginalValue": "5", + "DefaultState": "true" + }, + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\GraphicsDrivers", + "Name": "DisableOverlays", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NewOutlook.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NewOutlook.mdx new file mode 100644 index 00000000..8f0b5f9f --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NewOutlook.mdx @@ -0,0 +1,58 @@ +--- +title: "Microsoft Outlook New Version" +description: "This will ensures the classic Outlook application is used." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleNewOutlook": { + "Content": "Microsoft Outlook New Version", + "Description": "This will ensures the classic Outlook application is used.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Office\\16.0\\Outlook\\Preferences", + "Name": "UseNewOutlook", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Office\\16.0\\Outlook\\Options\\General", + "Name": "HideNewOutlookToggle", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + }, + { + "Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Options\\General", + "Name": "DoNewOutlookAutoMigration", + "Value": "0", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + }, + { + "Path": "HKCU:\\Software\\Policies\\Microsoft\\Office\\16.0\\Outlook\\Preferences", + "Name": "NewOutlookMigrationUserSetting", + "Value": "0", + "Type": "DWord", + "OriginalValue": "", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NumLock.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NumLock.mdx new file mode 100644 index 00000000..b05cd53c --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/NumLock.mdx @@ -0,0 +1,42 @@ +--- +title: "Num Lock on Startup" +description: "Toggle the Num Lock key state when your computer starts." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleNumLock": { + "Content": "Num Lock on Startup", + "Description": "Toggle the Num Lock key state when your computer starts.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKU:\\.Default\\Control Panel\\Keyboard", + "Name": "InitialKeyboardIndicators", + "Value": "2", + "Type": "String", + "OriginalValue": "0", + "DefaultState": "false" + }, + { + "Path": "HKCU:\\Control Panel\\Keyboard", + "Name": "InitialKeyboardIndicators", + "Value": "2", + "Type": "String", + "OriginalValue": "0", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/S3Sleep.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/S3Sleep.mdx new file mode 100644 index 00000000..8ccd69be --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/S3Sleep.mdx @@ -0,0 +1,34 @@ +--- +title: "S3 Sleep" +description: "Toggles between Modern Standby and S3 Sleep, which cuts off power to the CPU while continuing to refresh the memory." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleS3Sleep": { + "Content": "S3 Sleep", + "Description": "Toggles between Modern Standby and S3 Sleep, which cuts off power to the CPU while continuing to refresh the memory.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power", + "Name": "PlatformAoAcOverride", + "Value": "0", + "Type": "DWord", + "OriginalValue": "", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/Scrollbars.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/Scrollbars.mdx new file mode 100644 index 00000000..65083b8a --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/Scrollbars.mdx @@ -0,0 +1,35 @@ +--- +title: "Scrollbars Always Visible" +description: "If enabled, scrollbars will always be visible. If disabled, Windows will automatically hide scrollbars when not in use." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleScrollbars": { + "Content": "Scrollbars Always Visible", + "Description": "If enabled, scrollbars will always be visible. If disabled, Windows will automatically hide scrollbars when not in use.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Accessibility", + "Name": "DynamicScrollbars", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "false", + "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/scrollbars" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/ShowExt.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/ShowExt.mdx new file mode 100644 index 00000000..6e988abb --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/ShowExt.mdx @@ -0,0 +1,44 @@ +--- +title: "File Explorer File Extensions" +description: "Shows .file extensions in Explorer (.exe, .png, etc.)" +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleShowExt": { + "Content": "File Explorer File Extensions", + "Description": "Shows .file extensions in Explorer (.exe, .png, etc.)", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "HideFileExt", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "false" + } + ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StandbyFix.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StandbyFix.mdx new file mode 100644 index 00000000..5514ea2e --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StandbyFix.mdx @@ -0,0 +1,34 @@ +--- +title: "S0 Sleep Network Connectivity" +description: "Toggles network connectivity during S0 Sleep which is low power idle in modern laptops." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleStandbyFix": { + "Content": "S0 Sleep Network Connectivity", + "Description": "Toggles network connectivity during S0 Sleep which is low power idle in modern laptops.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Power\\PowerSettings\\f15576e8-98b7-4186-b944-eafa664402d9", + "Name": "ACSettingIndex", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StartMenuRecommendations.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StartMenuRecommendations.mdx new file mode 100644 index 00000000..f0412b08 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StartMenuRecommendations.mdx @@ -0,0 +1,60 @@ +--- +title: "Start Menu Recommendations" +description: "Toggles the recommendations section in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleStartMenuRecommendations": { + "Content": "Start Menu Recommendations", + "Description": "Toggles the recommendations section in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Start", + "Name": "HideRecommendedSection", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + }, + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\current\\device\\Education", + "Name": "IsEducationEnvironment", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer", + "Name": "HideRecommendedSection", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1", + "DefaultState": "true" + } + ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StickyKeys.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StickyKeys.mdx new file mode 100644 index 00000000..fd293bcc --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/StickyKeys.mdx @@ -0,0 +1,34 @@ +--- +title: "Sticky Keys" +description: "Toggles the Sticky Keys, which activate when clicking shift rapidly." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleStickyKeys": { + "Content": "Sticky Keys", + "Description": "Toggles the Sticky Keys, which activate when clicking shift rapidly.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Accessibility\\StickyKeys", + "Name": "Flags", + "Value": "506", + "Type": "DWord", + "OriginalValue": "58", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskView.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskView.mdx new file mode 100644 index 00000000..a2392d62 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskView.mdx @@ -0,0 +1,34 @@ +--- +title: "Taskbar Task View Icon" +description: "Toggles the Task View Button in the Taskbar." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleTaskView": { + "Content": "Taskbar Task View Icon", + "Description": "Toggles the Task View Button in the Taskbar.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "ShowTaskViewButton", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarAlignment.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarAlignment.mdx new file mode 100644 index 00000000..6b113963 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarAlignment.mdx @@ -0,0 +1,44 @@ +--- +title: "Taskbar Centered Icons" +description: "Toggles the Taskbar alignment either to the left or center." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleTaskbarAlignment": { + "Content": "Taskbar Centered Icons", + "Description": "Toggles the Taskbar alignment either to the left or center.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "TaskbarAl", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + "InvokeScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + "UndoScript": [ + " + Invoke-WinUtilExplorerUpdate -action \"restart\" + " + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarSearch.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarSearch.mdx new file mode 100644 index 00000000..61e1f1cb --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/TaskbarSearch.mdx @@ -0,0 +1,34 @@ +--- +title: "Taskbar Search Icon" +description: "Toggles the Search Button on the Taskbar." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleTaskbarSearch": { + "Content": "Taskbar Search Icon", + "Description": "Toggles the Search Button on the Taskbar.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search", + "Name": "SearchboxTaskbarMode", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/VerboseLogon.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/VerboseLogon.mdx new file mode 100644 index 00000000..cc66218e --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/VerboseLogon.mdx @@ -0,0 +1,34 @@ +--- +title: "Logon Verbose Mode" +description: "Show detailed messages during startup/shutdown." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleVerboseLogon": { + "Content": "Logon Verbose Mode", + "Description": "Show detailed messages during startup/shutdown.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", + "Name": "VerboseStatus", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0", + "DefaultState": "false" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/WindowSnapping.mdx b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/WindowSnapping.mdx new file mode 100644 index 00000000..5d8ba8a1 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Customize-Preferences/WindowSnapping.mdx @@ -0,0 +1,34 @@ +--- +title: "Window Snapping" +description: "Toggles the window snapping feature when dragging windows." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFToggleWindowSnapping": { + "Content": "Window Snapping", + "Description": "Toggles the window snapping feature when dragging windows.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Desktop", + "Name": "WindowArrangementActive", + "Value": "1", + "Type": "String", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Activity.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Activity.mdx new file mode 100644 index 00000000..4ec83914 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Activity.mdx @@ -0,0 +1,46 @@ +--- +title: "Activity History - Disable" +description: "Erases recent docs, clipboard, and run history." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksActivity": { + "Content": "Activity History - Disable", + "Description": "Erases recent docs, clipboard, and run history.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", + "Name": "EnableActivityFeed", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", + "Name": "PublishUserActivities", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", + "Name": "UploadUserActivities", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/ConsumerFeatures.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/ConsumerFeatures.mdx new file mode 100644 index 00000000..20507695 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/ConsumerFeatures.mdx @@ -0,0 +1,32 @@ +--- +title: "ConsumerFeatures - Disable" +description: "Stops promoted app installs and reduces app suggestions from Microsoft Store content." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksConsumerFeatures": { + "Content": "ConsumerFeatures - Disable", + "Description": "Stops promoted app installs and reduces app suggestions from Microsoft Store content.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent", + "Name": "DisableWindowsConsumerFeatures", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeleteTempFiles.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeleteTempFiles.mdx new file mode 100644 index 00000000..d6b4df2b --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeleteTempFiles.mdx @@ -0,0 +1,23 @@ +--- +title: "Temporary Files - Remove" +description: "Erases TEMP Folders." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDeleteTempFiles": { + "Content": "Temporary Files - Remove", + "Description": "Erases TEMP Folders.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + " + Remove-Item -Path \"$Env:Temp\\*\" -Recurse -Force + Remove-Item -Path \"$Env:SystemRoot\\Temp\\*\" -Recurse -Force + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeliveryOptimization.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeliveryOptimization.mdx new file mode 100644 index 00000000..42be2d0b --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DeliveryOptimization.mdx @@ -0,0 +1,32 @@ +--- +title: "Delivery Optimization - Disable" +description: "Stops Windows from using your bandwidth to upload updates to other PCs on the internet or local network." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDeliveryOptimization": { + "Content": "Delivery Optimization - Disable", + "Description": "Stops Windows from using your bandwidth to upload updates to other PCs on the internet or local network.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization", + "Name": "DODownloadMode", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableBitLocker.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableBitLocker.mdx new file mode 100644 index 00000000..b399fe97 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableBitLocker.mdx @@ -0,0 +1,23 @@ +--- +title: "BitLocker - Disable" +description: "Disables BitLocker." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableBitLocker": { + "Content": "BitLocker - Disable", + "Description": "Disables BitLocker.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + "Disable-BitLocker -MountPoint $Env:SystemDrive" + ], + "UndoScript": [ + "Enable-BitLocker -MountPoint $Env:SystemDrive" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableExplorerAutoDiscovery.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableExplorerAutoDiscovery.mdx new file mode 100644 index 00000000..cdad474d --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableExplorerAutoDiscovery.mdx @@ -0,0 +1,65 @@ +--- +title: "File Explorer Automatic Folder Discovery - Disable" +description: "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable File Explorer grouping." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableExplorerAutoDiscovery": { + "Content": "File Explorer Automatic Folder Discovery - Disable", + "Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable File Explorer grouping.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + " + # Previously detected folders + $bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\" + + # Folder types lookup table + $bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\" + + # Flush Explorer view database + Remove-Item -Path $bags -Recurse -Force + Write-Host \"Removed $bags\" + + Remove-Item -Path $bagMRU -Recurse -Force + Write-Host \"Removed $bagMRU\" + + # Every folder + $allFolders = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\" + + if (!(Test-Path $allFolders)) { + New-Item -Path $allFolders -Force + Write-Host \"Created $allFolders\" + } + + # Generic view + New-ItemProperty -Path $allFolders -Name \"FolderType\" -Value \"NotSpecified\" -PropertyType String -Force + Write-Host \"Set FolderType to NotSpecified\" + + Write-Host Please sign out and back in, or restart your computer to apply the changes! + " + ], + "UndoScript": [ + " + # Previously detected folders + $bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\" + + # Folder types lookup table + $bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\" + + # Flush Explorer view database + Remove-Item -Path $bags -Recurse -Force + Write-Host \"Removed $bags\" + + Remove-Item -Path $bagMRU -Recurse -Force + Write-Host \"Removed $bagMRU\" + + Write-Host Please sign out and back in, or restart your computer to apply the changes! + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableStoreSearch.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableStoreSearch.mdx new file mode 100644 index 00000000..a12569c7 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DisableStoreSearch.mdx @@ -0,0 +1,23 @@ +--- +title: "Microsoft Store Recommended Search Results - Disable" +description: "Will not display recommended Microsoft Store apps when searching for apps in the Start menu." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableStoreSearch": { + "Content": "Microsoft Store Recommended Search Results - Disable", + "Description": "Will not display recommended Microsoft Store apps when searching for apps in the Start menu.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + "icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /deny Everyone:F" + ], + "UndoScript": [ + "icacls \"$Env:LocalAppData\\Packages\\Microsoft.WindowsStore_8wekyb3d8bbwe\\LocalState\\store.db\" /grant Everyone:F" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DiskCleanup.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DiskCleanup.mdx new file mode 100644 index 00000000..8f099924 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/DiskCleanup.mdx @@ -0,0 +1,23 @@ +--- +title: "Disk Cleanup - Run" +description: "Runs Disk Cleanup on Drive C: and removes old Windows Updates." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDiskCleanup": { + "Content": "Disk Cleanup - Run", + "Description": "Runs Disk Cleanup on Drive C: and removes old Windows Updates.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + " + cleanmgr.exe /d C: /VERYLOWDISK + Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/EndTaskOnTaskbar.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/EndTaskOnTaskbar.mdx new file mode 100644 index 00000000..21973d1c --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/EndTaskOnTaskbar.mdx @@ -0,0 +1,32 @@ +--- +title: "End Task With Right Click - Enable" +description: "Enables option to end task when right clicking a program in the taskbar." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksEndTaskOnTaskbar": { + "Content": "End Task With Right Click - Enable", + "Description": "Enables option to end task when right clicking a program in the taskbar.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings", + "Name": "TaskbarEndTask", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Hiber.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Hiber.mdx new file mode 100644 index 00000000..40045653 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Hiber.mdx @@ -0,0 +1,45 @@ +--- +title: "Hibernation - Disable" +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." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksHiber": { + "Content": "Hibernation - Disable", + "Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the PC off. It really should never be used.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power", + "Name": "HibernateEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings", + "Name": "ShowHibernateOption", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + } + ], + "InvokeScript": [ + "powercfg.exe /hibernate off" + ], + "UndoScript": [ + "powercfg.exe /hibernate on" + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Location.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Location.mdx new file mode 100644 index 00000000..ad2453fc --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Location.mdx @@ -0,0 +1,53 @@ +--- +title: "Location Tracking - Disable" +description: "Disables Location Tracking." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksLocation": { + "Content": "Location Tracking - Disable", + "Description": "Disables Location Tracking.", + "category": "Essential Tweaks", + "panel": "1", + "service": [ + { + "Name": "lfsvc", + "StartupType": "Disable", + "OriginalType": "Manual" + } + ], + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location", + "Name": "Value", + "Value": "Deny", + "Type": "String", + "OriginalValue": "Allow" + }, + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}", + "Name": "SensorPermissionState", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKLM:\\SYSTEM\\Maps", + "Name": "AutoUpdateEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/PreventDeviceMetadataFromNetwork.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/PreventDeviceMetadataFromNetwork.mdx new file mode 100644 index 00000000..683ec1b2 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/PreventDeviceMetadataFromNetwork.mdx @@ -0,0 +1,32 @@ +--- +title: "Prevent Device Companion Apps" +description: "Prevents additional software from being installed when plugging in devices (e.g. Ads when plugging in a monitor). Poses potential security risk." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksPreventDeviceMetadataFromNetwork": { + "Content": "Prevent Device Companion Apps", + "Description": "Prevents additional software from being installed when plugging in devices (e.g. Ads when plugging in a monitor). Poses potential security risk.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Device Metadata", + "Name": "PreventDeviceMetadataFromNetwork", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RestorePoint.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RestorePoint.mdx new file mode 100644 index 00000000..a4318a93 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RestorePoint.mdx @@ -0,0 +1,43 @@ +--- +title: "Restore Point - Create" +description: "Creates a restore point at runtime in case a revert is needed from WinUtil modifications." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRestorePoint": { + "Content": "Restore Point - Create", + "Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications.", + "category": "Essential Tweaks", + "panel": "1", + "Checked": "False", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore", + "Name": "SystemRestorePointCreationFrequency", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1440" + } + ], + "InvokeScript": [ + " + if (-not (Get-ComputerRestorePoint)) { + Enable-ComputerRestore -Drive $Env:SystemDrive + } + + Checkpoint-Computer -Description \"System Restore Point created by WinUtil\" -RestorePointType MODIFY_SETTINGS + Write-Host \"System Restore Point Created Successfully\" -ForegroundColor Green + " + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RevertStartMenu.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RevertStartMenu.mdx new file mode 100644 index 00000000..88fe7aaa --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/RevertStartMenu.mdx @@ -0,0 +1,32 @@ +--- +title: "Start Menu Previous Layout - Enable" +description: "Bring back the old Start Menu layout from before the gradual rollout of the new one in 25H2. On newer versions of Windows !!THIS TWEAK WILL NOT WORK!!" +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRevertStartMenu": { + "Content": "Start Menu Previous Layout - Enable", + "Description": "Bring back the old Start Menu layout from before the gradual rollout of the new one in 25H2. On newer versions of Windows !!THIS TWEAK WILL NOT WORK!!", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\ControlSet001\\Control\\FeatureManagement\\Overrides\\8\\3036241548", + "Name": "EnabledState", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Services.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Services.mdx new file mode 100644 index 00000000..fe679bce --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Services.mdx @@ -0,0 +1,50 @@ +--- +title: "Services - Set to Manual" +description: "Sets some services to Manual startup and adjusts the SvcHostSplitThresholdInKB registry value to better match system memory, which can significantly reduce the number of svchost.exe processes." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksServices": { + "Content": "Services - Set to Manual", + "Description": "Sets some services to Manual startup and adjusts the SvcHostSplitThresholdInKB registry value to better match system memory, which can significantly reduce the number of svchost.exe processes.", + "category": "Essential Tweaks", + "panel": "1", + "service": [ + { + "Name": "CscService", + "StartupType": "Disabled", + "OriginalType": "Manual" + }, + { + "Name": "DiagTrack", + "StartupType": "Disabled", + "OriginalType": "Automatic" + }, + { + "Name": "MapsBroker", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "StorSvc", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "SharedAccess", + "StartupType": "Disabled", + "OriginalType": "Automatic" + } + ], + "InvokeScript": [ + " + $Memory = (Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum).Sum / 1KB + Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name SvcHostSplitThresholdInKB -Value $Memory + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Telemetry.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Telemetry.mdx new file mode 100644 index 00000000..b69bd825 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Telemetry.mdx @@ -0,0 +1,141 @@ +--- +title: "Telemetry - Disable" +description: "Disables Microsoft Telemetry." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksTelemetry": { + "Content": "Telemetry - Disable", + "Description": "Disables Microsoft Telemetry.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\AdvertisingInfo", + "Name": "Enabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Privacy", + "Name": "TailoredExperiencesWithDiagnosticDataEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Speech_OneCore\\Settings\\OnlineSpeechPrivacy", + "Name": "HasAccepted", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Input\\TIPC", + "Name": "Enabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization", + "Name": "RestrictImplicitInkCollection", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization", + "Name": "RestrictImplicitTextCollection", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\InputPersonalization\\TrainedDataStore", + "Name": "HarvestContacts", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Personalization\\Settings", + "Name": "AcceptedPrivacyPolicy", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection", + "Name": "AllowTelemetry", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "Start_TrackProgs", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System", + "Name": "PublishUserActivities", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Siuf\\Rules", + "Name": "NumberOfSIUFInPeriod", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + } + ], + "InvokeScript": [ + " + # Disable Defender Auto Sample Submission + Set-MpPreference -SubmitSamplesConsent 2 + + # Disable (Connected User Experiences and Telemetry) Service + Set-Service -Name diagtrack -StartupType Disabled + + # Disable (Windows Error Reporting Manager) Service + Set-Service -Name wermgr -StartupType Disabled + + # Disable PowerShell 7 telemetry + [Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine') + + Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds + " + ], + "UndoScript": [ + " + # Enable Defender Auto Sample Submission + Set-MpPreference -SubmitSamplesConsent 1 + + # Enable (Connected User Experiences and Telemetry) Service + Set-Service -Name diagtrack -StartupType Automatic + + # Enable (Windows Error Reporting Manager) Service + Set-Service -Name wermgr -StartupType Automatic + + # Enable PowerShell 7 telemetry + [Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine') + " + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/WPBT.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/WPBT.mdx new file mode 100644 index 00000000..b95652ff --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/WPBT.mdx @@ -0,0 +1,32 @@ +--- +title: "Windows Platform Binary Table (WPBT) - Disable" +description: "If enabled, WPBT allows your computer vendor to execute programs at boot time, such as anti-theft software, software drivers, as well as force install software without user consent. Poses potential security risk." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksWPBT": { + "Content": "Windows Platform Binary Table (WPBT) - Disable", + "Description": "If enabled, WPBT allows your computer vendor to execute programs at boot time, such as anti-theft software, software drivers, as well as force install software without user consent. Poses potential security risk.", + "category": "Essential Tweaks", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager", + "Name": "DisableWpbtExecution", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Widget.mdx b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Widget.mdx new file mode 100644 index 00000000..f33c03ee --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/Essential-Tweaks/Widget.mdx @@ -0,0 +1,29 @@ +--- +title: "Widgets - Remove" +description: "Removes the annoying widgets in the bottom left of the Taskbar." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksWidget": { + "Content": "Widgets - Remove", + "Description": "Removes the annoying widgets in the bottom left of the Taskbar.", + "category": "Essential Tweaks", + "panel": "1", + "InvokeScript": [ + " + # Sometimes if you dont stop the Widgets process the removal may fail + + Get-Process *Widget* | Stop-Process + 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\" + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BlockAdobeNet.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BlockAdobeNet.mdx new file mode 100644 index 00000000..159245ac --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BlockAdobeNet.mdx @@ -0,0 +1,36 @@ +--- +title: "Adobe URL Block List - Enable" +description: "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs" +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksBlockAdobeNet": { + "Content": "Adobe URL Block List - Enable", + "Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "InvokeScript": [ + " + $hostsUrl = Invoke-RestMethod -Uri https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts + Add-Content -Path \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" -Value $hostsUrl + + ipconfig /flushdns + Write-Host 'Added Adobe url block list from host file' + " + ], + "UndoScript": [ + " + Set-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\" ( + (Get-Content \"$Env:SystemRoot\\System32\\drivers\\etc\\hosts\") -join \"`n\" -replace '(?s)#New Ver.*', '' + ) + + ipconfig /flushdns + Write-Host 'Removed Adobe url block list from host file' + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BraveDebloat.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BraveDebloat.mdx new file mode 100644 index 00000000..087d5f5d --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/BraveDebloat.mdx @@ -0,0 +1,109 @@ +--- +title: "Brave Browser - Debloat" +description: "Disables various annoyances like Brave Rewards, Leo AI, Crypto Wallet and VPN." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksBraveDebloat": { + "Content": "Brave Browser - Debloat", + "Description": "Disables various annoyances like Brave Rewards, Leo AI, Crypto Wallet and VPN.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveRewardsDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveWalletDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveVPNDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveAIChatEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveStatsPingEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveNewsDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveTalkDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "TorDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "BraveP3AEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "UrlKeyedAnonymizedDataCollectionEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "SafeBrowsingExtendedReportingEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\BraveSoftware\\Brave", + "Name": "MetricsReportingEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableBGapps.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableBGapps.mdx new file mode 100644 index 00000000..6b6a33b2 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableBGapps.mdx @@ -0,0 +1,32 @@ +--- +title: "Background Apps - Disable" +description: "Disables all Microsoft Store apps from running in the background, which has to be done individually since Windows 11." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableBGapps": { + "Content": "Background Apps - Disable", + "Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Windows 11.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\BackgroundAccessApplications", + "Name": "GlobalUserDisabled", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableFSO.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableFSO.mdx new file mode 100644 index 00000000..58cfda65 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableFSO.mdx @@ -0,0 +1,32 @@ +--- +title: "Fullscreen Optimizations - Disable" +description: "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableFSO": { + "Content": "Fullscreen Optimizations - Disable", + "Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\System\\GameConfigStore", + "Name": "GameDVR_DXGIHonorFSEWindowsCompatible", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableIPv6.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableIPv6.mdx new file mode 100644 index 00000000..9023b0fc --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableIPv6.mdx @@ -0,0 +1,38 @@ +--- +title: "IPv6 - Disable" +description: "Disables IPv6." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableIPv6": { + "Content": "IPv6 - Disable", + "Description": "Disables IPv6.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", + "Name": "DisabledComponents", + "Value": "255", + "Type": "DWord", + "OriginalValue": "0" + } + ], + "InvokeScript": [ + "Disable-NetAdapterBinding -Name * -ComponentID ms_tcpip6" + ], + "UndoScript": [ + "Enable-NetAdapterBinding -Name * -ComponentID ms_tcpip6" + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableNotifications.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableNotifications.mdx new file mode 100644 index 00000000..e7ff6a65 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableNotifications.mdx @@ -0,0 +1,39 @@ +--- +title: "System Tray Notifications & Calendar - Disable" +description: "Disables all Notifications INCLUDING Calendar." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableNotifications": { + "Content": "System Tray Notifications & Calendar - Disable", + "Description": "Disables all Notifications INCLUDING Calendar.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer", + "Name": "DisableNotificationCenter", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications", + "Name": "ToastEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableWarningForUnsignedRdp.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableWarningForUnsignedRdp.mdx new file mode 100644 index 00000000..b15c57e9 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/DisableWarningForUnsignedRdp.mdx @@ -0,0 +1,39 @@ +--- +title: "RDP Unsigned File Warnings - Disable" +description: "Disables warnings shown when launching unsigned RDP files introduced with the latest Windows 10 and 11 updates." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisableWarningForUnsignedRdp": { + "Content": "RDP Unsigned File Warnings - Disable", + "Description": "Disables warnings shown when launching unsigned RDP files introduced with the latest Windows 10 and 11 updates.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services\\Client", + "Name": "RedirectionWarningDialogVersion", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Terminal Server Client", + "Name": "RdpLaunchConsentAccepted", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Display.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Display.mdx new file mode 100644 index 00000000..3c008bd3 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Display.mdx @@ -0,0 +1,115 @@ +--- +title: "Visual Effects - Set to Best Performance" +description: "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksDisplay": { + "Content": "Visual Effects - Set to Best Performance", + "Description": "Sets the system preferences to performance. You can do this manually with sysdm.cpl as well.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Desktop", + "Name": "DragFullWindows", + "Value": "0", + "Type": "String", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Control Panel\\Desktop", + "Name": "MenuShowDelay", + "Value": "200", + "Type": "String", + "OriginalValue": "400" + }, + { + "Path": "HKCU:\\Control Panel\\Desktop\\WindowMetrics", + "Name": "MinAnimate", + "Value": "0", + "Type": "String", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Control Panel\\Keyboard", + "Name": "KeyboardDelay", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "ListviewAlphaSelect", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "ListviewShadow", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "TaskbarAnimations", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects", + "Name": "VisualFXSetting", + "Value": "3", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\DWM", + "Name": "EnableAeroPeek", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "TaskbarMn", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "ShowTaskViewButton", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search", + "Name": "SearchboxTaskbarMode", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + } + ], + "InvokeScript": [ + "Set-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\" -Type Binary -Value ([byte[]](144,18,3,128,16,0,0,0))" + ], + "UndoScript": [ + "Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\"" + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/EdgeDebloat.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/EdgeDebloat.mdx new file mode 100644 index 00000000..f2d87878 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/EdgeDebloat.mdx @@ -0,0 +1,144 @@ +--- +title: "Microsoft Edge - Debloat" +description: "Disables various telemetry options, popups, and other annoyances in Edge." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksEdgeDebloat": { + "Content": "Microsoft Edge - Debloat", + "Description": "Disables various telemetry options, popups, and other annoyances in Edge.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\EdgeUpdate", + "Name": "CreateDesktopShortcutDefault", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "PersonalizationReportingEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\\ExtensionInstallBlocklist", + "Name": "1", + "Value": "ofefcgjbeghpigppfmkologfjadafddi", + "Type": "String", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "ShowRecommendationsEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "HideFirstRunExperience", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "UserFeedbackAllowed", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "ConfigureDoNotTrack", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "AlternateErrorPagesEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "EdgeCollectionsEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "EdgeShoppingAssistantEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "MicrosoftEdgeInsiderPromotionEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "ShowMicrosoftRewards", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "WebWidgetAllowed", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "DiagnosticData", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "EdgeAssetDeliveryServiceEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "WalletDonationEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge", + "Name": "DefaultBrowserSettingsCampaignEnabled", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/IPv46.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/IPv46.mdx new file mode 100644 index 00000000..aca16f6a --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/IPv46.mdx @@ -0,0 +1,32 @@ +--- +title: "IPv6 - Set IPv4 as Preferred" +description: "Setting the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksIPv46": { + "Content": "IPv6 - Set IPv4 as Preferred", + "Description": "Setting the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", + "Name": "DisabledComponents", + "Value": "32", + "Type": "DWord", + "OriginalValue": "0" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.mdx new file mode 100644 index 00000000..8dbf608d --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.mdx @@ -0,0 +1,61 @@ +--- +title: "O&O ShutUp10++ - Run" +description: "" +--- + +:::note +This page is generated from [`functions/public/Invoke-WPFOOSU.ps1`](https://github.com/ChrisTitusTech/winutil/blob/main/functions/public/Invoke-WPFOOSU.ps1). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```powershell title="functions/public/Invoke-WPFOOSU.ps1" +function Invoke-WPFOOSU { + if ($sync.ProcessRunning) { + Show-WinUtilMessage -Message "Another process is currently running." -Title "WinUtil" -Button "OK" -Icon "Warning" + return + } + + $downloadPath = Join-Path $sync.winutildir "ooshutup10.exe" + $sync.ProcessRunning = $true + + Invoke-WPFRunspace -ParameterList @(,("downloadPath", $downloadPath)) -ScriptBlock { + param($downloadPath) + + $hasUI = $null -ne $sync.Form -and $null -ne $sync.Form.Dispatcher + + try { + Write-WinUtilLog -Component "OOSU" -Message "Downloading O&O ShutUp10++." + if ($hasUI) { + Set-WinUtilTweaksProgressIndicator -Visible $true -Label "Downloading O&O ShutUp10++ (0%)" -Percent 0 + } + + Save-WinUtilFile -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -DestinationPath $downloadPath -ProgressCallback { + param($percent) + + if ($hasUI) { + Set-WinUtilTweaksProgressIndicator -Visible $true -Label "Downloading O&O ShutUp10++ ($percent%)" -Percent $percent + } + } + + if ($hasUI) { + Set-WinUtilTweaksProgressIndicator -Visible $true -Label "Launching O&O ShutUp10++" -Percent 100 + } + Start-Process -FilePath $downloadPath + + Write-WinUtilLog -Component "OOSU" -Message "O&O ShutUp10++ launched." + if ($hasUI) { + Set-WinUtilTweaksProgressIndicator -Visible $true -Label "O&O ShutUp10++ launched" -Percent 100 + } + } + catch { + Write-WinUtilLog -Level "ERROR" -Component "OOSU" -Message "O&O ShutUp10++ download failed: $($_.Exception.Message)" + if ($hasUI) { + Set-WinUtilTweaksProgressIndicator -Visible $true -Label "O&O ShutUp10++ download failed" -Percent 100 + } + Write-Error "Couldn't download O&O ShutUp10. Please make sure you have an active Internet connection." + } + finally { + $sync.ProcessRunning = $false + } + } +} +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RazerBlock.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RazerBlock.mdx new file mode 100644 index 00000000..45bd6e52 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RazerBlock.mdx @@ -0,0 +1,57 @@ +--- +title: "Razer Software Auto-Install - Disable" +description: "Blocks ALL Razer Software installations. The hardware works fine without any software." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRazerBlock": { + "Content": "Razer Software Auto-Install - Disable", + "Description": "Blocks ALL Razer Software installations. The hardware works fine without any software.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching", + "Name": "SearchOrderConfig", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + }, + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Device Installer", + "Name": "DisableCoInstallers", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0" + } + ], + "InvokeScript": [ + " + $RazerPath = \"$Env:SystemRoot\\Installer\\Razer\" + + if (Test-Path $RazerPath) { + Remove-Item $RazerPath\\* -Recurse -Force + } else { + New-Item -Path $RazerPath -ItemType Directory + } + + icacls $RazerPath /deny \"Everyone:(W)\" + " + ], + "UndoScript": [ + " + icacls \"$Env:SystemRoot\\Installer\\Razer\" /remove:d Everyone + " + ], + } +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveEdge.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveEdge.mdx new file mode 100644 index 00000000..bca73c04 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveEdge.mdx @@ -0,0 +1,36 @@ +--- +title: "Microsoft Edge - Remove" +description: "Uninstalls Microsoft Edge by creating dummy MicrosoftEdge.exe file in the legacy Edge folder. This tricks Windows into unlocking the official Edge uninstaller allowing for a system-level removal." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRemoveEdge": { + "Content": "Microsoft Edge - Remove", + "Description": "Uninstalls Microsoft Edge by creating dummy MicrosoftEdge.exe file in the legacy Edge folder. This tricks Windows into unlocking the official Edge uninstaller allowing for a system-level removal.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "InvokeScript": [ + " + $Path = Resolve-Path -Path \"$Env:ProgramFiles (x86)\\Microsoft\\Edge\\Application\\*\\Installer\\setup.exe\" | Select-Object -Last 1 + + if (Test-Path $Path) { + New-Item -Path \"$Env:SystemRoot\\SystemApps\\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\\MicrosoftEdge.exe\" -Force + Start-Process -FilePath $Path -ArgumentList \"--uninstall --system-level --force-uninstall --delete-profile\" -Wait + Write-Host \"Microsoft Edge was removed\" + } else { + Write-Host \"Microsoft Edge is not installed\" + } + " + ], + "UndoScript": [ + " + Write-Host \"Installing Microsoft Edge...\" + winget install Microsoft.Edge --source winget + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveHomeAndGallery.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveHomeAndGallery.mdx new file mode 100644 index 00000000..67abad9c --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveHomeAndGallery.mdx @@ -0,0 +1,46 @@ +--- +title: "File Explorer Home and Gallery - Disable" +description: "Removes the Home and Gallery from Explorer and sets This PC as default." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRemoveHomeAndGallery": { + "Content": "File Explorer Home and Gallery - Disable", + "Description": "Removes the Home and Gallery from Explorer and sets This PC as default.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\Software\\Classes\\CLSID\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}", + "Name": "System.IsPinnedToNameSpaceTree", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Classes\\CLSID\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}", + "Name": "System.IsPinnedToNameSpaceTree", + "Value": "0", + "Type": "DWord", + "OriginalValue": "" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "LaunchTo", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveOneDrive.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveOneDrive.mdx new file mode 100644 index 00000000..13d16737 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RemoveOneDrive.mdx @@ -0,0 +1,54 @@ +--- +title: "Microsoft OneDrive - Remove" +description: "Denies permission to remove OneDrive user files, then uses its own uninstaller to remove it and restores the original permission afterward." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRemoveOneDrive": { + "Content": "Microsoft OneDrive - Remove", + "Description": "Denies permission to remove OneDrive user files, then uses its own uninstaller to remove it and restores the original permission afterward.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "InvokeScript": [ + " + # Deny permission to remove OneDrive folder + icacls $Env:OneDrive /deny \"Administrators:(D,DC)\" + + Write-Host \"Uninstalling OneDrive...\" + Start-Process -FilePath (Join-Path $Env:SystemRoot \"System32\\OneDriveSetup.exe\") -ArgumentList '/uninstall' -Wait + + # Some of OneDrive files use explorer, and OneDrive uses FileCoAuth + Write-Host \"Removing leftover OneDrive Files...\" + + Stop-Process -Name FileCoAuth,Explorer + + Remove-Item \"$Env:LocalAppData\\Microsoft\\OneDrive\" -Recurse -Force + Remove-Item \"$Env:ProgramData\\Microsoft OneDrive\" -Recurse -Force + + # Grant back permission to access OneDrive folder + icacls $Env:OneDrive /grant \"Administrators:(D,DC)\" + + if (-not (Get-ChildItem -Path $Env:OneDrive)) { + Remove-Item -Path $Env:OneDrive -Recurse + [Environment]::SetEnvironmentVariable('OneDrive', $null, 'User') + } + + # Disable OneSyncSvc + Set-Service -Name OneSyncSvc -StartupType Disabled + " + ], + "UndoScript": [ + " + Write-Host \"Installing OneDrive\" + winget install Microsoft.Onedrive --source winget + + # Enabled OneSyncSvc + Set-Service -Name OneSyncSvc -StartupType Automatic + " + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/ReservedStorage.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/ReservedStorage.mdx new file mode 100644 index 00000000..21dbb5f2 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/ReservedStorage.mdx @@ -0,0 +1,23 @@ +--- +title: "Disable Reserved Storage" +description: "Disables Windows Reserved Storage (7-10 GB held for updates/temp files). Recommended only on small drives. Re-enable before major Windows feature updates to avoid installation failures." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksReservedStorage": { + "Content": "Disable Reserved Storage", + "Description": "Disables Windows Reserved Storage (7-10 GB held for updates/temp files). Recommended only on small drives. Re-enable before major Windows feature updates to avoid installation failures.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "InvokeScript": [ + "DISM /Online /Set-ReservedStorageState /State:Disabled" + ], + "UndoScript": [ + "DISM /Online /Set-ReservedStorageState /State:Enabled" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RightClickMenu.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RightClickMenu.mdx new file mode 100644 index 00000000..8b776fb8 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/RightClickMenu.mdx @@ -0,0 +1,26 @@ +--- +title: "Right-Click Menu Previous Layout - Enable" +description: "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksRightClickMenu": { + "Content": "Right-Click Menu Previous Layout - Enable", + "Description": "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "InvokeScript": [ + " + New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name InprocServer32 -Value \"\" -Force + Stop-Process -Name explorer + " + ], + "UndoScript": [ + "Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse" + ], + } +``` diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Storage.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Storage.mdx new file mode 100644 index 00000000..28f4c5cd --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Storage.mdx @@ -0,0 +1,32 @@ +--- +title: "Storage Sense - Disable" +description: "Storage Sense deletes temp files automatically." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksStorage": { + "Content": "Storage Sense - Disable", + "Description": "Storage Sense deletes temp files automatically.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy", + "Name": "01", + "Value": "0", + "Type": "DWord", + "OriginalValue": "1" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.mdx new file mode 100644 index 00000000..24b5c75e --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/Teredo.mdx @@ -0,0 +1,38 @@ +--- +title: "Teredo - Disable" +description: "Teredo network tunneling is an IPv6 feature that can cause additional latency, but may cause problems with some games." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksTeredo": { + "Content": "Teredo - Disable", + "Description": "Teredo network tunneling is an IPv6 feature that can cause additional latency, but may cause problems with some games.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Tcpip6\\Parameters", + "Name": "DisabledComponents", + "Value": "1", + "Type": "DWord", + "OriginalValue": "0" + } + ], + "InvokeScript": [ + "netsh interface teredo set state disabled" + ], + "UndoScript": [ + "netsh interface teredo set state default" + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/UTC.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/UTC.mdx new file mode 100644 index 00000000..5de91bd2 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/UTC.mdx @@ -0,0 +1,32 @@ +--- +title: "Date & Time - Set Time to UTC" +description: "Essential for computers that are dual booting. Fixes the time sync with Linux systems." +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksUTC": { + "Content": "Date & Time - Set Time to UTC", + "Description": "Essential for computers that are dual booting. Fixes the time sync with Linux systems.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation", + "Name": "RealTimeIsUniversal", + "Value": "1", + "Type": "QWord", + "OriginalValue": "0" + } + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/WindowsAI.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/WindowsAI.mdx new file mode 100644 index 00000000..6bb0ff9d --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/WindowsAI.mdx @@ -0,0 +1,60 @@ +--- +title: "Windows AI - Disable And Remove" +description: "Removes and disables all AI features/packages" +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFTweaksWindowsAI": { + "Content": "Windows AI - Disable And Remove", + "Description": "Removes and disables all AI features/packages", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "registry": [ + { + "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer", + "Name": "SettingsPageVisibility", + "Value": "hide:aicomponents", + "Type": "String", + "OriginalValue": "" + }, + { + "Path": "HKLM:\\SOFTWARE\\Policies\\WindowsNotepad", + "Name": "DisableAIFeatures", + "Value": "1", + "Type": "DWord", + "OriginalValue": "" + } + ], + "InvokeScript": [ + " + $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 + + Get-AppxPackage -AllUsers \"*Copilot*\" | Remove-AppxPackage -AllUsers + winget uninstall -e --name \"Copilot\" --silent --force --accept-source-agreements 2>$null + Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers + + if ($Appx) { + Remove-AppxPackage $Appx + } + + Set-Service -Name WSAIFabricSvc -StartupType Disabled + Disable-WindowsOptionalFeature -FeatureName Recall -Online -NoRestart + + Write-Host \"Windows AI Disabled\" + " + ], + } +``` + +## 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://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry). diff --git a/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/changedns.mdx b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/changedns.mdx new file mode 100644 index 00000000..39416180 --- /dev/null +++ b/docs/src/content/docs/code-reference/tweaks/z--Advanced-Tweaks---CAUTION/changedns.mdx @@ -0,0 +1,18 @@ +--- +title: "DNS - Set to:" +description: "" +--- + +:::note +This page is generated from [`config/tweaks.json`](https://github.com/ChrisTitusTech/winutil/blob/main/config/tweaks.json). Edit the source file and regenerate the docs rather than editing this file directly. +::: + +```json title="config/tweaks.json" + "WPFchangedns": { + "Content": "DNS - Set to:", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Type": "Combobox", + "ComboItems": "Default DHCP Google Cloudflare Cloudflare_Malware Cloudflare_Malware_Adult Open_DNS Quad9 AdGuard_Ads_Trackers AdGuard_Ads_Trackers_Malware_Adult", + } +```