Compare commits

...

10 Commits

Author SHA1 Message Date
Gabi
da6b105573 Remove Services from WPFTweaksServices (#3732) 2025-12-12 09:00:51 -06:00
Gabi
64022cc08d Remove unneccary ScheduledTasks from WPFTweaksTele (#3764) 2025-12-12 09:00:02 -06:00
Gabi
401f7f384a Remove-WPFTweaksWifi (#3765)
* Remove WPFTweaksWifi From Standart preset

* Remove WPFTweaksWifi
2025-12-12 08:59:29 -06:00
Gabi
e2efb3a483 Update WPFTweaksRemoveCopilot (#3768) 2025-12-12 08:58:59 -06:00
Gabi
4dc0fd6a6e Delete-WPFTweaksRecallOff (#3769)
Co-authored-by: Chris Titus <dfm.titus@gmail.com>
2025-12-12 08:58:01 -06:00
Gabi
f671ad4518 Update-WPFTweaksRazerBlock (#3770)
* Update WPFTweaksRazerBlock's InvokeScript

* Format fix for WPFTweaksRazerBlock

* Update WPFTweaksRazerBlock

* Update WPFTweaksRazerBlock

* Update WPFTweaksRazerBlock

* Better format for WPFTweaksRazerBlock's InvokeScript

* Better format for WPFTweaksRazerBlock's InvokeScript

* Fomat fix on WPFTweaksRazerBlock
2025-12-12 08:55:27 -06:00
Gabi
c2cb00fc68 Remove-WPFTweaksDebloatAdobe (#3771)
* Remove WPFTweaksDebloatAdobe

* Delete functions/public/Invoke-WPFRunAdobeCCCleanerTool.ps1

* Update feature.json

* Update feature.json

* Create Invoke-WPFRunAdobeCCCleanerTool.ps1
2025-12-12 08:48:43 -06:00
Gabi
7503444e2b Rename-WPFTweaksLoc (#3773)
* Rename WPFTweaksLoc

* Rename WPFTweaksLoc
2025-12-12 08:47:35 -06:00
Gabi
80ab6ba005 Description update for WPFTweaksConsumerFeatures (#3774) 2025-12-12 08:47:15 -06:00
Gabi
2e0073af75 Update-WPFTweaksTele (#3775)
* Update WPFTweaksTele's InvokeScript

* Update WPFTweaksTele's InvokeScript
2025-12-12 08:46:54 -06:00
2 changed files with 19 additions and 568 deletions

View File

@@ -4,10 +4,9 @@
"WPFTweaksConsumerFeatures",
"WPFTweaksDisableExplorerAutoDiscovery",
"WPFTweaksDVR",
"WPFTweaksLoc",
"WPFTweaksLocation",
"WPFTweaksServices",
"WPFTweaksTele",
"WPFTweaksWifi",
"WPFTweaksDiskCleanup",
"WPFTweaksDeleteTempFiles",
"WPFTweaksEndTaskOnTaskbar",

View File

@@ -108,7 +108,7 @@
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/laptophibernation"
},
"WPFTweaksLoc": {
"WPFTweaksLocation": {
"Content": "Disable Location Tracking",
"Description": "Disables Location Tracking...DUH!",
"category": "Essential Tweaks",
@@ -153,21 +153,11 @@
"panel": "1",
"Order": "a014_",
"service": [
{
"Name": "AJRouter",
"StartupType": "Disabled",
"OriginalType": "Manual"
},
{
"Name": "ALG",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "AppIDSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "AppMgmt",
"StartupType": "Manual",
@@ -183,11 +173,6 @@
"StartupType": "Disabled",
"OriginalType": "Disabled"
},
{
"Name": "AppXSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "Appinfo",
"StartupType": "Manual",
@@ -223,11 +208,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "BFE",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "BITS",
"StartupType": "AutomaticDelayedStart",
@@ -248,11 +228,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "BrokerInfrastructure",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "Browser",
"StartupType": "Manual",
@@ -263,11 +238,6 @@
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "BthHFSrv",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "CDPSvc",
"StartupType": "Manual",
@@ -293,21 +263,11 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "ClipSVC",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "ConsentUxUserSvc_*",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "CoreMessagingRegistrar",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "CredentialEnrollmentManagerUserSvc_*",
"StartupType": "Manual",
@@ -328,16 +288,6 @@
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "DcomLaunch",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "DcpSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "DevQueryBroker",
"StartupType": "Manual",
@@ -398,11 +348,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "Dnscache",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "EFS",
"StartupType": "Manual",
@@ -413,11 +358,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "EntAppSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "EventLog",
"StartupType": "Automatic",
@@ -433,11 +373,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "Fax",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "FontCache",
"StartupType": "Automatic",
@@ -458,26 +393,11 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "HomeGroupListener",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "HomeGroupProvider",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "HvHost",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "IEEtwCollectorService",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "IKEEXT",
"StartupType": "Manual",
@@ -508,11 +428,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "LSM",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "LanmanServer",
"StartupType": "Automatic",
@@ -563,16 +478,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "MixedRealityOpenXRSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "MpsSvc",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "MsKeyboardFilter",
"StartupType": "Manual",
@@ -623,16 +528,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "NgcCtnrSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "NgcSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "NlaSvc",
"StartupType": "Manual",
@@ -648,16 +543,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "PNRPAutoReg",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "PNRPsvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "PcaSvc",
"StartupType": "Manual",
@@ -758,21 +643,11 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "RpcEptMapper",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "RpcLocator",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "RpcSs",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "SCPolicySvc",
"StartupType": "Manual",
@@ -823,21 +698,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "Schedule",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "SecurityHealthService",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "Sense",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "SensorDataService",
"StartupType": "Manual",
@@ -863,11 +723,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "SharedRealitySvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "ShellHWDetection",
"StartupType": "Automatic",
@@ -903,16 +758,6 @@
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "SystemEventsBroker",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "TabletInputService",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "TapiSrv",
"StartupType": "Manual",
@@ -933,16 +778,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "TimeBroker",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "TimeBrokerSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "TokenBroker",
"StartupType": "Manual",
@@ -963,11 +798,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "UI0Detect",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "UdkUserSvc_*",
"StartupType": "Manual",
@@ -1003,26 +833,11 @@
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "VGAuthService",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "VMTools",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "VSS",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "VacSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "VaultSvc",
"StartupType": "Automatic",
@@ -1058,11 +873,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WSService",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WSearch",
"StartupType": "AutomaticDelayedStart",
@@ -1093,16 +903,6 @@
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "WcsPlugInService",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WdNisSvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WdiServiceHost",
"StartupType": "Manual",
@@ -1133,16 +933,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WinDefend",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "WinHttpAutoProxySvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "WinRM",
"StartupType": "Manual",
@@ -1228,11 +1018,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "diagnosticshub.standardcollector.service",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "diagsvc",
"StartupType": "Manual",
@@ -1258,11 +1043,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "embeddedmode",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "fdPHost",
"StartupType": "Manual",
@@ -1273,11 +1053,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "gpsvc",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "hidserv",
"StartupType": "Manual",
@@ -1308,16 +1083,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "mpssvc",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "msiserver",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "netprofm",
"StartupType": "Manual",
@@ -1328,16 +1093,6 @@
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "p2pimsvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "p2psvc",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "perceptionsimulation",
"StartupType": "Manual",
@@ -1363,16 +1118,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "spectrum",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "sppsvc",
"StartupType": "AutomaticDelayedStart",
"OriginalType": "Automatic"
},
{
"Name": "ssh-agent",
"StartupType": "Disabled",
@@ -1388,21 +1133,11 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "tiledatamodelsvc",
"StartupType": "Automatic",
"OriginalType": "Automatic"
},
{
"Name": "tzautoupdate",
"StartupType": "Disabled",
"OriginalType": "Disabled"
},
{
"Name": "uhssvc",
"StartupType": "Disabled",
"OriginalType": "Disabled"
},
{
"Name": "upnphost",
"StartupType": "Manual",
@@ -1413,11 +1148,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "vm3dservice",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "vmicguestinterface",
"StartupType": "Manual",
@@ -1458,11 +1188,6 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "vmvss",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "wbengine",
"StartupType": "Manual",
@@ -1513,20 +1238,10 @@
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "wscsvc",
"StartupType": "AutomaticDelayedStart",
"OriginalType": "Automatic"
},
{
"Name": "wuauserv",
"StartupType": "Manual",
"OriginalType": "Manual"
},
{
"Name": "wudfsvc",
"StartupType": "Manual",
"OriginalType": "Manual"
}
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/services"
@@ -1685,7 +1400,7 @@
},
"WPFTweaksConsumerFeatures": {
"Content": "Disable ConsumerFeatures",
"Description": "Windows 10 will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
"category": "Essential Tweaks",
"panel": "1",
"Order": "a003_",
@@ -1707,16 +1422,6 @@
"panel": "1",
"Order": "a003_",
"ScheduledTask": [
{
"Name": "Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser",
"State": "Disabled",
"OriginalState": "Enabled"
},
{
"Name": "Microsoft\\Windows\\Application Experience\\ProgramDataUpdater",
"State": "Disabled",
"OriginalState": "Enabled"
},
{
"Name": "Microsoft\\Windows\\Autochk\\Proxy",
"State": "Disabled",
@@ -1766,11 +1471,6 @@
"Name": "Microsoft\\Windows\\Application Experience\\PcaPatchDbTask",
"State": "Disabled",
"OriginalState": "Enabled"
},
{
"Name": "Microsoft\\Windows\\Maps\\MapsUpdateTask",
"State": "Disabled",
"OriginalState": "Enabled"
}
],
"registry": [
@@ -2029,65 +1729,12 @@
],
"InvokeScript": [
"
bcdedit /set `{current`} bootmenupolicy Legacy | Out-Null
If ((get-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\" -Name CurrentBuild).CurrentBuild -lt 22557) {
$taskmgr = Start-Process -WindowStyle Hidden -FilePath taskmgr.exe -PassThru
Do {
Start-Sleep -Milliseconds 100
$preferences = Get-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\TaskManager\" -Name \"Preferences\" -ErrorAction SilentlyContinue
} Until ($preferences)
Stop-Process $taskmgr
$preferences.Preferences[28] = 0
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\TaskManager\" -Name \"Preferences\" -Type Binary -Value $preferences.Preferences
}
Remove-Item -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}\" -Recurse -ErrorAction SilentlyContinue
# Fix Managed by your organization in Edge if regustry path exists then remove it
If (Test-Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\") {
Remove-Item -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Edge\" -Recurse -ErrorAction SilentlyContinue
}
# Group svchost.exe processes
$ram = (Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum).Sum / 1kb
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name \"SvcHostSplitThresholdInKB\" -Type DWord -Value $ram -Force
$autoLoggerDir = \"$env:PROGRAMDATA\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\"
If (Test-Path \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\") {
Remove-Item \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\"
}
icacls $autoLoggerDir /deny SYSTEM:`(OI`)`(CI`)F | Out-Null
# Disable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 2 -ErrorAction SilentlyContinue | Out-Null
"
# Disable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 2
"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/tele"
},
"WPFTweaksWifi": {
"Content": "Disable Wi-Fi Sense",
"Description": "Wi-Fi Sense is a spying service that phones home all nearby scanned Wi-Fi networks and your current geographic location.",
"category": "Essential Tweaks",
"panel": "1",
"Order": "a005_",
"registry": [
{
"Path": "HKLM:\\Software\\Microsoft\\PolicyManager\\default\\WiFi\\AllowWiFiHotSpotReporting",
"Name": "Value",
"Type": "DWord",
"Value": "0",
"OriginalValue": "1"
},
{
"Path": "HKLM:\\Software\\Microsoft\\PolicyManager\\default\\WiFi\\AllowAutoConnectToWiFiSenseHotspots",
"Name": "Value",
"Type": "DWord",
"Value": "0",
"OriginalValue": "1"
}
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/wifi"
},
"WPFTweaksDisableEdge": {
"Content": "Disable Edge",
"Description": "Prevent msedge.exe from running with explorer policies.",
@@ -2583,65 +2230,18 @@
"InvokeScript": [
"
Write-Host \"Remove Copilot\"
Get-Package | Where-Object Name -like '*copilot*'
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
Get-AppxProvisionedPackage -Online | Where-Object PackageName -like '*Copilot*' | Remove-AppxProvisionedPackage -Online
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
"
],
"UndoScript": [
"
Write-Host \"Install Copilot\"
winget install --name \"Microsoft Copilot\" --source msstore --accept-package-agreements --accept-source-agreements --silent
winget install --name \"Copilot\" --source msstore --accept-package-agreements --accept-source-agreements --silent
"
],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removecopilot"
},
"WPFTweaksRecallOff": {
"Content": "Disable Recall",
"Description": "Turn Recall off",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a025_",
"registry": [
{
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsAI",
"Name": "DisableAIDataAnalysis",
"Type": "DWord",
"Value": "1",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsAI",
"Name": "AllowRecallEnablement",
"Type": "DWord",
"Value": "0",
"OriginalValue": "<RemoveEntry>"
},
{
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\CI\\Policy",
"Name": "VerifiedAndReputablePolicyState",
"Type": "DWord",
"Value": "0",
"OriginalValue": "<RemoveEntry>"
}
],
"InvokeScript": [
"
Write-Host \"Disable Recall\"
DISM /Online /Disable-Feature /FeatureName:Recall /Quiet /NoRestart
Write-Host \"Please restart your computer in order for the changes to be fully applied.\"
"
],
"UndoScript": [
"
Write-Host \"Enable Recall\"
DISM /Online /Enable-Feature /FeatureName:Recall /Quiet /NoRestart
Write-Host \"Please restart your computer in order for the changes to be fully applied.\"
"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/disablerecall"
},
"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.",
@@ -2682,20 +2282,21 @@
],
"InvokeScript": [
"
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
Remove-Item $RazerPath -Recurse -Force
New-Item -Path \"C:\\Windows\\Installer\\\" -Name \"Razer\" -ItemType \"directory\"
$Acl = Get-Acl $RazerPath
$Ar = New-Object System.Security.AccessControl.FileSystemAccessRule(\"NT AUTHORITY\\SYSTEM\",\"Write\",\"ContainerInherit,ObjectInherit\",\"None\",\"Deny\")
$Acl.SetAccessRule($Ar)
Set-Acl $RazerPath $Acl
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
if (Test-Path $RazerPath) {
Remove-Item $RazerPath\\* -Recurse -Force
}
else {
New-Item -Path $RazerPath -ItemType Directory
}
icacls $RazerPath /deny \"Everyone:(W)\"
"
],
"UndoScript": [
"
$RazerPath = \"C:\\Windows\\Installer\\Razer\"
Remove-Item $RazerPath -Recurse -Force
New-Item -Path \"C:\\Windows\\Installer\\\" -Name \"Razer\" -ItemType \"directory\"
icacls \"C:\\Windows\\Installer\\Razer\" /remove:d Everyone
"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/razerblock"
@@ -2724,155 +2325,6 @@
],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/disablenotifications"
},
"WPFTweaksDebloatAdobe": {
"Content": "Adobe Debloat",
"Description": "Manages Adobe Services, Adobe Desktop Service, and Acrobat Updates",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"Order": "a021_",
"InvokeScript": [
"
function CCStopper {
$path = \"C:\\Program Files (x86)\\Common Files\\Adobe\\Adobe Desktop Common\\ADS\\Adobe Desktop Service.exe\"
# Test if the path exists before proceeding
if (Test-Path $path) {
Takeown /f $path
$acl = Get-Acl $path
$acl.SetOwner([System.Security.Principal.NTAccount]\"Administrators\")
$acl | Set-Acl $path
Rename-Item -Path $path -NewName \"Adobe Desktop Service.exe.old\" -Force
} else {
Write-Host \"Adobe Desktop Service is not in the default location.\"
}
}
function AcrobatUpdates {
# Editing Acrobat Updates. The last folder before the key is dynamic, therefore using a script.
# Possible Values for the edited key:
# 0 = Do not download or install updates automatically
# 2 = Automatically download updates but let the user choose when to install them
# 3 = Automatically download and install updates (default value)
# 4 = Notify the user when an update is available but don't download or install it automatically
# = It notifies the user using Windows Notifications. It runs on startup without having to have a Service/Acrobat/Reader running, therefore 0 is the next best thing.
$rootPath = \"HKLM:\\SOFTWARE\\WOW6432Node\\Adobe\\Adobe ARM\\Legacy\\Acrobat\"
# Get all subkeys under the specified root path
$subKeys = Get-ChildItem -Path $rootPath | Where-Object { $_.PSChildName -like \"{*}\" }
# Loop through each subkey
foreach ($subKey in $subKeys) {
# Get the full registry path
$fullPath = Join-Path -Path $rootPath -ChildPath $subKey.PSChildName
try {
Set-ItemProperty -Path $fullPath -Name Mode -Value 0
Write-Host \"Acrobat Updates have been disabled.\"
} catch {
Write-Host \"Registry Key for changing Acrobat Updates does not exist in $fullPath\"
}
}
}
CCStopper
AcrobatUpdates
"
],
"UndoScript": [
"
function RestoreCCService {
$originalPath = \"C:\\Program Files (x86)\\Common Files\\Adobe\\Adobe Desktop Common\\ADS\\Adobe Desktop Service.exe.old\"
$newPath = \"C:\\Program Files (x86)\\Common Files\\Adobe\\Adobe Desktop Common\\ADS\\Adobe Desktop Service.exe\"
if (Test-Path -Path $originalPath) {
Rename-Item -Path $originalPath -NewName \"Adobe Desktop Service.exe\" -Force
Write-Host \"Adobe Desktop Service has been restored.\"
} else {
Write-Host \"Backup file does not exist. No changes were made.\"
}
}
function AcrobatUpdates {
# Default Value:
# 3 = Automatically download and install updates
$rootPath = \"HKLM:\\SOFTWARE\\WOW6432Node\\Adobe\\Adobe ARM\\Legacy\\Acrobat\"
# Get all subkeys under the specified root path
$subKeys = Get-ChildItem -Path $rootPath | Where-Object { $_.PSChildName -like \"{*}\" }
# Loop through each subkey
foreach ($subKey in $subKeys) {
# Get the full registry path
$fullPath = Join-Path -Path $rootPath -ChildPath $subKey.PSChildName
try {
Set-ItemProperty -Path $fullPath -Name Mode -Value 3
} catch {
Write-Host \"Registry Key for changing Acrobat Updates does not exist in $fullPath\"
}
}
}
RestoreCCService
AcrobatUpdates
"
],
"service": [
{
"Name": "AGSService",
"StartupType": "Disabled",
"OriginalType": "Automatic"
},
{
"Name": "AGMService",
"StartupType": "Disabled",
"OriginalType": "Automatic"
},
{
"Name": "AdobeUpdateService",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "Adobe Acrobat Update",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "Adobe Genuine Monitor Service",
"StartupType": "Disabled",
"OriginalType": "Automatic"
},
{
"Name": "AdobeARMservice",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "Adobe Licensing Console",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "CCXProcess",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "AdobeIPCBroker",
"StartupType": "Manual",
"OriginalType": "Automatic"
},
{
"Name": "CoreSync",
"StartupType": "Manual",
"OriginalType": "Automatic"
}
],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/debloatadobe"
},
"WPFTweaksBlockAdobeNet": {
"Content": "Adobe Network Block",
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",