diff --git a/.gitignore b/.gitignore index 4b9986ff..6e5ed35b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ winutil.exe.config winutil.pdb *.zip package.psd1 +/.idea/ diff --git a/MainWindow.xaml b/MainWindow.xaml index 3d4ed8dc..b1e8420e 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -128,6 +128,7 @@ <CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/> <CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/> <CheckBox Name="Installterminal" Content="Windows Terminal" Margin="5,0"/> + <CheckBox Name="Installtwinkletray" Content="Twinkle Tray" Margin="5,0"/> <Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20,5,20,5" ToolTip="Install all checked programs"/> <Button Name="InstallUpgrade" Background="AliceBlue" Content="Upgrade Installs" Margin="20,5,20,5" ToolTip="Upgrade All Existing Programs on System"/> @@ -154,6 +155,7 @@ <Label FontSize="16" Content="Essential Tweaks"/> <CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0"/> <CheckBox Name="EssTweaksOO" Content="Run O and O Shutup" Margin="5,0"/> + <CheckBox Name="EssTweaksTele" Content="Disable Telemetry" Margin="5,0"/> <CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0"/> <CheckBox Name="EssTweaksAH" Content="Disable Activity History" Margin="5,0"/> @@ -176,6 +178,7 @@ <CheckBox Name="MiscTweaksExt" Content="Show File Extensions" Margin="5,0"/> <CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/> <CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0"/> + <CheckBox Name="MiscTweaksDisableUAC" Content="Disable UAC" Margin="5,0"/> <CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/> <Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/> diff --git a/applications.json b/applications.json index 02752368..90e81414 100644 --- a/applications.json +++ b/applications.json @@ -230,6 +230,9 @@ }, "Installzoom": { "winget": "Zoom.Zoom" + }, + "Installtwinkletray": { + "winget": "xanderfrangos.twinkletray" } } } diff --git a/winutil-test.ps1 b/winutil-test.ps1 index 63c64483..47ff061f 100644 --- a/winutil-test.ps1 +++ b/winutil-test.ps1 @@ -348,64 +348,64 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")" "RemoteRegistry" # Remote Registry "SharedAccess" # Internet Connection Sharing (ICS) "TrkWks" # Distributed Link Tracking Client - #"WbioSrvc" # Windows Biometric Service (required for Fingerprint reader / facial detection) - #"WlanSvc" # WLAN AutoConfig + #"WbioSrvc" # Windows Biometric Service (required for Fingerprint reader / facial detection) + #"WlanSvc" # WLAN AutoConfig "WMPNetworkSvc" # Windows Media Player Network Sharing Service - #"wscsvc" # Windows Security Center Service + #"wscsvc" # Windows Security Center Service "WSearch" # Windows Search "XblAuthManager" # Xbox Live Auth Manager "XblGameSave" # Xbox Live Game Save Service "XboxNetApiSvc" # Xbox Live Networking Service - "XboxGipSvc" #Disables Xbox Accessory Management Service + "XboxGipSvc" # Disables Xbox Accessory Management Service "ndu" # Windows Network Data Usage Monitor - "WerSvc" #disables windows error reporting - #"Spooler" #Disables your printer - "Fax" #Disables fax - "fhsvc" #Disables fax history - "gupdate" #Disables google update - "gupdatem" #Disable another google update - "stisvc" #Disables Windows Image Acquisition (WIA) - "AJRouter" #Disables (needed for AllJoyn Router Service) + "WerSvc" # Disables windows error reporting + #"Spooler" # Disables your printer + "Fax" # Disables fax + "fhsvc" # Disables fax history + "gupdate" # Disables google update + "gupdatem" # Disables another google update + "stisvc" # Disables Windows Image Acquisition (WIA) + "AJRouter" # Disables (needed for AllJoyn Router Service) "MSDTC" # Disables Distributed Transaction Coordinator - "WpcMonSvc" #Disables Parental Controls - "PhoneSvc" #Disables Phone Service(Manages the telephony state on the device) - "PrintNotify" #Disables Windows printer notifications and extensions - "PcaSvc" #Disables Program Compatibility Assistant Service - "WPDBusEnum" #Disables Portable Device Enumerator Service - #"LicenseManager" #Disable LicenseManager(Windows store may not work properly) - "seclogon" #Disables Secondary Logon(disables other credentials only password will work) - "SysMain" #Disables sysmain - "lmhosts" #Disables TCP/IP NetBIOS Helper - "wisvc" #Disables Windows Insider program(Windows Insider will not work) - "FontCache" #Disables Windows font cache - "RetailDemo" #Disables RetailDemo whic is often used when showing your device + "WpcMonSvc" # Disables Parental Controls + "PhoneSvc" # Disables Phone Service(Manages the telephony state on the device) + "PrintNotify" # Disables Windows printer notifications and extensions + "PcaSvc" # Disables Program Compatibility Assistant Service + "WPDBusEnum" # Disables Portable Device Enumerator Service + #"LicenseManager" # Disables LicenseManager(Windows store may not work properly) + "seclogon" # Disables Secondary Logon(disables other credentials only password will work) + "SysMain" # Disables sysmain + "lmhosts" # Disables TCP/IP NetBIOS Helper + "wisvc" # Disables Windows Insider program(Windows Insider will not work) + "FontCache" # Disables Windows font cache + "RetailDemo" # Disables RetailDemo whic is often used when showing your device "ALG" # Disables Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing) - #"BFE" #Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security) - #"BrokerInfrastructure" #Disables Windows infrastructure service that controls which background tasks can run on the system. - "SCardSvr" #Disables Windows smart card - "EntAppSvc" #Disables enterprise application management. - "BthAvctpSvc" #Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this) - #"FrameServer" #Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.) - "Browser" #Disables computer browser - "BthAvctpSvc" #AVCTP service (This is Audio Video Control Transport Protocol service.) - #"BDESVC" #Disables bitlocker - "iphlpsvc" #Disables ipv6 but most websites don't use ipv6 they use ipv4 - "edgeupdate" # Disables one of edge update service - "MicrosoftEdgeElevationService" # Disables one of edge service - "edgeupdatem" # disbales another one of update service (disables edgeupdatem) - "SEMgrSvc" #Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements) - #"PNRPsvc" # Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work) - #"p2psvc" # Disbales Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work) - #"p2pimsvc" # Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work) - "PerfHost" #Disables remote users and 64-bit processes to query performance . - "BcastDVRUserService_48486de" #Disables GameDVR and Broadcast is used for Game Recordings and Live Broadcasts - "CaptureService_48486de" #Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API. - "cbdhsvc_48486de" #Disables cbdhsvc_48486de (clipboard service it disables) - #"BluetoothUserService_48486de" #disbales BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.) - "WpnService" #Disables WpnService (Push Notifications may not work ) - #"StorSvc" #Disables StorSvc (usb external hard drive will not be reconised by windows) - "RtkBtManServ" #Disables Realtek Bluetooth Device Manager Service - "QWAVE" #Disables Quality Windows Audio Video Experience (audio and video might sound worse) + #"BFE" # Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security) + #"BrokerInfrastructure" # Disables Windows infrastructure service that controls which background tasks can run on the system. + "SCardSvr" # Disables Windows smart card + "EntAppSvc" # Disables enterprise application management. + "BthAvctpSvc" # Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this) + #"FrameServer" # Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.) + "Browser" # Disables computer browser + "BthAvctpSvc" # AVCTP service (This is Audio Video Control Transport Protocol service.) + #"BDESVC" # Disables bitlocker + "iphlpsvc" # Disables ipv6 but most websites don't use ipv6 they use ipv4 + "edgeupdate" # Disables one of edge update service + "MicrosoftEdgeElevationService" # Disables one of edge service + "edgeupdatem" # Disables another one of update service (disables edgeupdatem) + "SEMgrSvc" # Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements) + #"PNRPsvc" # Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work) + #"p2psvc" # Disbales Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work) + #"p2pimsvc" # Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work) + "PerfHost" # Disables remote users and 64-bit processes to query performance . + "BcastDVRUserService_48486de" # Disables GameDVR and Broadcast is used for Game Recordings and Live Broadcasts + "CaptureService_48486de" # Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API. + "cbdhsvc_48486de" # Disables cbdhsvc_48486de (clipboard service it disables) + #"BluetoothUserService_48486de" # Disables BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.) + "WpnService" # Disables WpnService (Push Notifications may not work ) + #"StorSvc" # Disables StorSvc (usb external hard drive will not be reconised by windows) + "RtkBtManServ" # Disables Realtek Bluetooth Device Manager Service + "QWAVE" # Disables Quality Windows Audio Video Experience (audio and video might sound worse) #Hp services "HPAppHelperCap" "HPDiagsCap" diff --git a/winutil.ps1 b/winutil.ps1 index 842b4451..90b75d9e 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -417,7 +417,11 @@ $WPFinstall.Add_Click({ If ( $WPFInstallzoom.IsChecked -eq $true ) { $wingetinstall.Add("Zoom.Zoom") $WPFInstallzoom.IsChecked = $false - } + } + If ( $WPFInstalltwinkletray.IsChecked -eq $true ) { + $wingetinstall.Add("xanderfrangos.twinkletray") + $WPFInstalltwinkletray.IsChecked = $false + } # Check if winget is installed Write-Host "Checking if Winget is Installed..." @@ -615,16 +619,18 @@ $WPFtweaksbutton.Add_Click({ If ( $WPFEssTweaksDVR.IsChecked -eq $true ) { If (!(Test-Path "HKCU:\System\GameConfigStore")) { - Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type Hex -Value 00000000 - Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type Hex -Value 00000000 - Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_EFSEFeatureFlags" -Type Hex -Value 00000000 - Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type DWord -Value 00000000 + New-Item -Path "HKCU:\System\GameConfigStore" -Force } + Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type DWord -Value 0 -Force + Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type DWord -Value 0 -Force + Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_EFSEFeatureFlags" -Type DWord -Value 0 -Force + Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type DWord -Value 0 -Force + $WPFEssTweaksDVR.IsChecked = $false } If ( $WPFEssTweaksHiber.IsChecked -eq $true ) { Write-Host "Disabling Hibernation..." - Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernteEnabled" -Type Dword -Value 0 + Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Power" -Name "HibernateEnabled" -Type Dword -Value 0 If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings")) { New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null } @@ -695,6 +701,7 @@ $WPFtweaksbutton.Add_Click({ "MapsBroker" # Downloaded Maps Manager "MicrosoftEdgeElevationService" # Another Edge Update Service "MSDTC" # Distributed Transaction Coordinator + "NahimicService" # Nahimic Service #"ndu" # Windows Network Data Usage Monitor (Disabling Breaks Task Manager Per-Process Network Monitoring) "NetTcpPortSharing" # Net.Tcp Port Sharing Service "PcaSvc" # Program Compatibility Assistant Service