mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Merge branch 'test-2022' into test-01
This commit is contained in:
commit
7fe4b870bb
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ winutil.exe.config
|
||||
winutil.pdb
|
||||
*.zip
|
||||
package.psd1
|
||||
/.idea/
|
||||
|
@ -129,6 +129,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"/>
|
||||
|
||||
@ -155,6 +156,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"/>
|
||||
|
@ -233,6 +233,9 @@
|
||||
},
|
||||
"Installzoom": {
|
||||
"winget": "Zoom.Zoom"
|
||||
},
|
||||
"Installtwinkletray": {
|
||||
"winget": "xanderfrangos.twinkletray"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -358,12 +358,12 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
|
||||
"XboxNetApiSvc" # Xbox Live Networking Service
|
||||
"XboxGipSvc" # Disables Xbox Accessory Management Service
|
||||
"ndu" # Windows Network Data Usage Monitor
|
||||
"WerSvc" #disables windows error reporting
|
||||
"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
|
||||
"gupdatem" # Disables another google update
|
||||
"stisvc" # Disables Windows Image Acquisition (WIA)
|
||||
"AJRouter" # Disables (needed for AllJoyn Router Service)
|
||||
"MSDTC" # Disables Distributed Transaction Coordinator
|
||||
@ -372,7 +372,7 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
|
||||
"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)
|
||||
#"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
|
||||
@ -392,7 +392,7 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
|
||||
"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)
|
||||
"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)
|
||||
@ -401,7 +401,7 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
|
||||
"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.)
|
||||
#"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
|
||||
|
18
winutil.ps1
18
winutil.ps1
@ -422,6 +422,10 @@ $WPFinstall.Add_Click({
|
||||
$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..."
|
||||
@ -595,6 +599,7 @@ $WPFminimal.Add_Click({
|
||||
$WPFMiscTweaksNum.IsChecked = $false
|
||||
$WPFMiscTweaksLapPower.IsChecked = $false
|
||||
$WPFMiscTweaksLapNum.IsChecked = $false
|
||||
$WPFMiscTweaksDisableUAC.IsChecked = $false
|
||||
})
|
||||
|
||||
$WPFtweaksbutton.Add_Click({
|
||||
@ -609,16 +614,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
|
||||
}
|
||||
@ -689,6 +696,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
|
||||
|
Loading…
Reference in New Issue
Block a user