|
|
|
|
@@ -85,25 +85,25 @@
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"Turn on Hibernation\"
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/hibernate on\" -NoNewWindow -Wait
|
|
|
|
|
powercfg.exe /hibernate on
|
|
|
|
|
|
|
|
|
|
# Set hibernation as the default action
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-ac 60\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-dc 60\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-ac 10\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-dc 1\" -NoNewWindow -Wait
|
|
|
|
|
powercfg.exe \"/change standby-timeout-ac 60\"
|
|
|
|
|
powercfg.exe \"/change standby-timeout-dc 60\"
|
|
|
|
|
powercfg.exe \"/change monitor-timeout-ac 10\"
|
|
|
|
|
powercfg.exe \"/change monitor-timeout-dc 1\"
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"Turn off Hibernation\"
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/hibernate off\" -NoNewWindow -Wait
|
|
|
|
|
powercfg.exe /hibernate off
|
|
|
|
|
|
|
|
|
|
# Set standby to default values
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-ac 15\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-dc 15\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-ac 15\" -NoNewWindow -Wait
|
|
|
|
|
Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-dc 15\" -NoNewWindow -Wait
|
|
|
|
|
powercfg.exe \"/change standby-timeout-ac 15\"
|
|
|
|
|
powercfg.exe \"/change standby-timeout-dc 15\"
|
|
|
|
|
powercfg.exe \"/change monitor-timeout-ac 15\"
|
|
|
|
|
powercfg.exe \"/change monitor-timeout-dc 15\"
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/laptophibernation"
|
|
|
|
|
@@ -2090,7 +2090,7 @@
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksDisableEdge": {
|
|
|
|
|
"Content": "Disable Edge",
|
|
|
|
|
"Description": "Disables Microsoft Edge via the registry and prevents scheduled tasks from running Edge updates.",
|
|
|
|
|
"Description": "Prevent msedge.exe from running with explorer policies.",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"Order": "a023_",
|
|
|
|
|
@@ -2112,6 +2112,47 @@
|
|
|
|
|
],
|
|
|
|
|
"link": ""
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksMakeEdgeUninstallable": {
|
|
|
|
|
"Content": "Make Edge Uninstallable via settings",
|
|
|
|
|
"Description": "Makes it so you can uninstall edge via settings > installed apps",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"Order": "a023_",
|
|
|
|
|
"registry": [
|
|
|
|
|
{
|
|
|
|
|
"Path": "HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Microsoft Edge",
|
|
|
|
|
"Name": "NoRemove",
|
|
|
|
|
"Type": "Dword",
|
|
|
|
|
"Value": "0",
|
|
|
|
|
"OriginalValue": "1"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
$File = \"C:\\Windows\\System32\\IntegratedServicesRegionPolicySet.json\"
|
|
|
|
|
|
|
|
|
|
takeown /f $File
|
|
|
|
|
icacls $File /grant \"Administrators:(F)\"
|
|
|
|
|
|
|
|
|
|
$FileContent = Get-Content $File
|
|
|
|
|
$FileContent[7] = $FileContent[7] -replace \"disabled\", \"enabled\"
|
|
|
|
|
Set-Content $File $FileContent
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
$File = \"C:\\Windows\\System32\\IntegratedServicesRegionPolicySet.json\"
|
|
|
|
|
|
|
|
|
|
takeown /f $File
|
|
|
|
|
icacls $File /grant \"Administrators:(F)\"
|
|
|
|
|
|
|
|
|
|
$FileContent = Get-Content $File
|
|
|
|
|
$FileContent[7] = $FileContent[7] -replace \"enabled\", \"disabled\"
|
|
|
|
|
Set-Content $File $FileContent
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": ""
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksUTC": {
|
|
|
|
|
"Content": "Set Time to UTC (Dual Boot)",
|
|
|
|
|
"Description": "Essential for computers that are dual booting. Fixes the time sync with Linux Systems.",
|
|
|
|
|
@@ -2137,14 +2178,14 @@
|
|
|
|
|
"Order": "a029_",
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
REG DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" /f
|
|
|
|
|
REG ADD \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\" /t REG_DWORD /d \"1\"
|
|
|
|
|
Remove-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\"
|
|
|
|
|
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name LaunchTo -Value 1
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
REG ADD \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\" /f /ve /t REG_SZ /d \"CLSID_MSGraphHomeFolder\"
|
|
|
|
|
REG DELETE \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\"
|
|
|
|
|
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}\"
|
|
|
|
|
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name LaunchTo -Value 0
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removehomegallery"
|
|
|
|
|
@@ -2157,14 +2198,12 @@
|
|
|
|
|
"Order": "a030_",
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
REG DELETE \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" /f
|
|
|
|
|
REG ADD \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\" /t REG_DWORD /d \"1\"
|
|
|
|
|
Remove-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\"
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
REG ADD \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\" /f /ve /t REG_SZ /d \"{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\"
|
|
|
|
|
REG DELETE \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" /f /v \"LaunchTo\"
|
|
|
|
|
New-Item \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Desktop\\NameSpace\\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}\"
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removehomegallery"
|
|
|
|
|
@@ -2463,9 +2502,9 @@
|
|
|
|
|
"WPFTweaksStorage": {
|
|
|
|
|
"Content": "Disable Storage Sense",
|
|
|
|
|
"Description": "Storage Sense deletes temp files automatically.",
|
|
|
|
|
"category": "Essential Tweaks",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"Order": "a005_",
|
|
|
|
|
"Order": "a025_",
|
|
|
|
|
"registry": [
|
|
|
|
|
{
|
|
|
|
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy",
|
|
|
|
|
@@ -2603,65 +2642,7 @@
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablerecall"
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksDisableLMS1": {
|
|
|
|
|
"Content": "Disable Intel MM (vPro LMS)",
|
|
|
|
|
"Description": "Intel LMS service is always listening on all ports and could be a huge security risk. There is no need to run LMS on home machines and even in the Enterprise there are better solutions.",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"Order": "a026_",
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"Kill LMS\"
|
|
|
|
|
$serviceName = \"LMS\"
|
|
|
|
|
Write-Host \"Stopping and disabling service: $serviceName\"
|
|
|
|
|
Stop-Service -Name $serviceName -Force -ErrorAction SilentlyContinue;
|
|
|
|
|
Set-Service -Name $serviceName -StartupType Disabled -ErrorAction SilentlyContinue;
|
|
|
|
|
|
|
|
|
|
Write-Host \"Removing service: $serviceName\";
|
|
|
|
|
sc.exe delete $serviceName;
|
|
|
|
|
|
|
|
|
|
Write-Host \"Removing LMS driver packages\";
|
|
|
|
|
$lmsDriverPackages = Get-ChildItem -Path \"C:\\Windows\\System32\\DriverStore\\FileRepository\" -Recurse -Filter \"lms.inf*\";
|
|
|
|
|
foreach ($package in $lmsDriverPackages) {
|
|
|
|
|
Write-Host \"Removing driver package: $($package.Name)\";
|
|
|
|
|
pnputil /delete-driver $($package.Name) /uninstall /force;
|
|
|
|
|
}
|
|
|
|
|
if ($lmsDriverPackages.Count -eq 0) {
|
|
|
|
|
Write-Host \"No LMS driver packages found in the driver store.\";
|
|
|
|
|
} else {
|
|
|
|
|
Write-Host \"All found LMS driver packages have been removed.\";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Write-Host \"Searching and deleting LMS executable files\";
|
|
|
|
|
$programFilesDirs = @(\"C:\\Program Files\", \"C:\\Program Files (x86)\");
|
|
|
|
|
$lmsFiles = @();
|
|
|
|
|
foreach ($dir in $programFilesDirs) {
|
|
|
|
|
$lmsFiles += Get-ChildItem -Path $dir -Recurse -Filter \"LMS.exe\" -ErrorAction SilentlyContinue;
|
|
|
|
|
}
|
|
|
|
|
foreach ($file in $lmsFiles) {
|
|
|
|
|
Write-Host \"Taking ownership of file: $($file.FullName)\";
|
|
|
|
|
& icacls $($file.FullName) /grant Administrators:F /T /C /Q;
|
|
|
|
|
& takeown /F $($file.FullName) /A /R /D Y;
|
|
|
|
|
Write-Host \"Deleting file: $($file.FullName)\";
|
|
|
|
|
Remove-Item $($file.FullName) -Force -ErrorAction SilentlyContinue;
|
|
|
|
|
}
|
|
|
|
|
if ($lmsFiles.Count -eq 0) {
|
|
|
|
|
Write-Host \"No LMS.exe files found in Program Files directories.\";
|
|
|
|
|
} else {
|
|
|
|
|
Write-Host \"All found LMS.exe files have been deleted.\";
|
|
|
|
|
}
|
|
|
|
|
Write-Host 'Intel LMS vPro service has been disabled, removed, and blocked.';
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"LMS vPro needs to be redownloaded from intel.com\"
|
|
|
|
|
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablelms1"
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksDisableWpbtExecution": {
|
|
|
|
|
"WPFTweaksWPBT": {
|
|
|
|
|
"Content": "Disable Windows Platform Binary Table (WPBT)",
|
|
|
|
|
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
@@ -2677,30 +2658,6 @@
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksRemoveOnedrive": {
|
|
|
|
|
"Content": "Remove OneDrive",
|
|
|
|
|
"Description": "Moves OneDrive files to Default Home Folders and Uninstalls it.",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"Order": "a031_",
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"Uninstalling OneDrive\"
|
|
|
|
|
Start-Process \"$env:SystemRoot\\System32\\OneDriveSetup.exe\" -ArgumentList /uninstall -NoNewWindow -Wait
|
|
|
|
|
|
|
|
|
|
Write-Host \"Removing OneDrive leftovers\"
|
|
|
|
|
Remove-Item \"$env:LocalAppData\\Microsoft\\OneDrive\" -Recurse -Force
|
|
|
|
|
Remove-Item \"$env:ProgramData\\Microsoft OneDrive\" -Recurse -Force
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
|
|
|
|
"
|
|
|
|
|
Write-Host \"Install OneDrive\"
|
|
|
|
|
Start-Process -FilePath winget -ArgumentList \"install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.OneDrive \" -NoNewWindow -Wait
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksRazerBlock": {
|
|
|
|
|
"Content": "Block Razer Software Installs",
|
|
|
|
|
"Description": "Blocks ALL Razer Software installations. The hardware works fine without any software. WARNING: this will also block all Windows third-party driver installations.",
|
|
|
|
|
@@ -3084,7 +3041,7 @@
|
|
|
|
|
],
|
|
|
|
|
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/teredo"
|
|
|
|
|
},
|
|
|
|
|
"WPFTweaksDisableipsix": {
|
|
|
|
|
"WPFTweaksDisableIPv6": {
|
|
|
|
|
"Content": "Disable IPv6",
|
|
|
|
|
"Description": "Disables IPv6.",
|
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
|