Merge branch 'test-2022' into test-01

This commit is contained in:
Padsala Tushal 2022-09-24 13:26:22 +05:30 committed by GitHub
commit 7fe4b870bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 71 additions and 56 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ winutil.exe.config
winutil.pdb winutil.pdb
*.zip *.zip
package.psd1 package.psd1
/.idea/

View File

@ -129,6 +129,7 @@
<CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/> <CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/>
<CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/> <CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
<CheckBox Name="Installterminal" Content="Windows Terminal" 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="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"/> <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"/> <Label FontSize="16" Content="Essential Tweaks"/>
<CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0"/> <CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0"/>
<CheckBox Name="EssTweaksOO" Content="Run O and O Shutup" 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="EssTweaksTele" Content="Disable Telemetry" Margin="5,0"/>
<CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0"/> <CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0"/>
<CheckBox Name="EssTweaksAH" Content="Disable Activity History" 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="MiscTweaksExt" Content="Show File Extensions" Margin="5,0"/>
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" 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="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"/> <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"/> <Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/>

View File

@ -233,6 +233,9 @@
}, },
"Installzoom": { "Installzoom": {
"winget": "Zoom.Zoom" "winget": "Zoom.Zoom"
},
"Installtwinkletray": {
"winget": "xanderfrangos.twinkletray"
} }
} }
} }

View File

@ -358,12 +358,12 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
"XboxNetApiSvc" # Xbox Live Networking Service "XboxNetApiSvc" # Xbox Live Networking Service
"XboxGipSvc" # Disables Xbox Accessory Management Service "XboxGipSvc" # Disables Xbox Accessory Management Service
"ndu" # Windows Network Data Usage Monitor "ndu" # Windows Network Data Usage Monitor
"WerSvc" #disables windows error reporting "WerSvc" # Disables windows error reporting
#"Spooler" # Disables your printer #"Spooler" # Disables your printer
"Fax" # Disables fax "Fax" # Disables fax
"fhsvc" # Disables fax history "fhsvc" # Disables fax history
"gupdate" # Disables google update "gupdate" # Disables google update
"gupdatem" #Disable another google update "gupdatem" # Disables another google update
"stisvc" # Disables Windows Image Acquisition (WIA) "stisvc" # Disables Windows Image Acquisition (WIA)
"AJRouter" # Disables (needed for AllJoyn Router Service) "AJRouter" # Disables (needed for AllJoyn Router Service)
"MSDTC" # Disables Distributed Transaction Coordinator "MSDTC" # Disables Distributed Transaction Coordinator
@ -372,7 +372,7 @@ $xaml.SelectNodes("//*[@Name]") | ForEach-Object {$global:sync["$("$($_.Name)")"
"PrintNotify" # Disables Windows printer notifications and extensions "PrintNotify" # Disables Windows printer notifications and extensions
"PcaSvc" # Disables Program Compatibility Assistant Service "PcaSvc" # Disables Program Compatibility Assistant Service
"WPDBusEnum" # Disables Portable Device Enumerator 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) "seclogon" # Disables Secondary Logon(disables other credentials only password will work)
"SysMain" # Disables sysmain "SysMain" # Disables sysmain
"lmhosts" # Disables TCP/IP NetBIOS Helper "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 "iphlpsvc" # Disables ipv6 but most websites don't use ipv6 they use ipv4
"edgeupdate" # Disables one of edge update service "edgeupdate" # Disables one of edge update service
"MicrosoftEdgeElevationService" # Disables one of edge 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) "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) #"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) #"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 "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. "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) "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 ) "WpnService" # Disables WpnService (Push Notifications may not work )
#"StorSvc" # Disables StorSvc (usb external hard drive will not be reconised by windows) #"StorSvc" # Disables StorSvc (usb external hard drive will not be reconised by windows)
"RtkBtManServ" # Disables Realtek Bluetooth Device Manager Service "RtkBtManServ" # Disables Realtek Bluetooth Device Manager Service

View File

@ -422,6 +422,10 @@ $WPFinstall.Add_Click({
$wingetinstall.Add("Zoom.Zoom") $wingetinstall.Add("Zoom.Zoom")
$WPFInstallzoom.IsChecked = $false $WPFInstallzoom.IsChecked = $false
} }
If ( $WPFInstalltwinkletray.IsChecked -eq $true ) {
$wingetinstall.Add("xanderfrangos.twinkletray")
$WPFInstalltwinkletray.IsChecked = $false
}
# Check if winget is installed # Check if winget is installed
Write-Host "Checking if Winget is Installed..." Write-Host "Checking if Winget is Installed..."
@ -595,6 +599,7 @@ $WPFminimal.Add_Click({
$WPFMiscTweaksNum.IsChecked = $false $WPFMiscTweaksNum.IsChecked = $false
$WPFMiscTweaksLapPower.IsChecked = $false $WPFMiscTweaksLapPower.IsChecked = $false
$WPFMiscTweaksLapNum.IsChecked = $false $WPFMiscTweaksLapNum.IsChecked = $false
$WPFMiscTweaksDisableUAC.IsChecked = $false
}) })
$WPFtweaksbutton.Add_Click({ $WPFtweaksbutton.Add_Click({
@ -609,16 +614,18 @@ $WPFtweaksbutton.Add_Click({
If ( $WPFEssTweaksDVR.IsChecked -eq $true ) { If ( $WPFEssTweaksDVR.IsChecked -eq $true ) {
If (!(Test-Path "HKCU:\System\GameConfigStore")) { If (!(Test-Path "HKCU:\System\GameConfigStore")) {
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type Hex -Value 00000000 New-Item -Path "HKCU:\System\GameConfigStore" -Force
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
} }
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 $WPFEssTweaksDVR.IsChecked = $false
} }
If ( $WPFEssTweaksHiber.IsChecked -eq $true ) { If ( $WPFEssTweaksHiber.IsChecked -eq $true ) {
Write-Host "Disabling Hibernation..." 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")) { If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings")) {
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings" | Out-Null
} }
@ -689,6 +696,7 @@ $WPFtweaksbutton.Add_Click({
"MapsBroker" # Downloaded Maps Manager "MapsBroker" # Downloaded Maps Manager
"MicrosoftEdgeElevationService" # Another Edge Update Service "MicrosoftEdgeElevationService" # Another Edge Update Service
"MSDTC" # Distributed Transaction Coordinator "MSDTC" # Distributed Transaction Coordinator
"NahimicService" # Nahimic Service
#"ndu" # Windows Network Data Usage Monitor (Disabling Breaks Task Manager Per-Process Network Monitoring) #"ndu" # Windows Network Data Usage Monitor (Disabling Breaks Task Manager Per-Process Network Monitoring)
"NetTcpPortSharing" # Net.Tcp Port Sharing Service "NetTcpPortSharing" # Net.Tcp Port Sharing Service
"PcaSvc" # Program Compatibility Assistant Service "PcaSvc" # Program Compatibility Assistant Service