mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 06:35:51 -06:00
Test 2023 08 02 (#950)
* Fix Restore Points before tweaks * Compile Winutil * Update Set-WinUtilRestorePoint.ps1 * Compile Winutil * add snappy driver installer origin (#936) * fix when User name have space (#937) * Compile Winutil * Add Applications (Fixed) (#944) * Add Applications (Fixed) This fixes #940 by removing OperaGX, fixing alphabetization, and removing my instance of Neovim which I didn't notice was added recently. * Update winutil.ps1 * Update inputXML.xaml --------- Co-authored-by: Chris Titus <contact@christitus.com> * Compile Winutil * removing service stops in services tweak * Fix pin not working for microsoft accounts * Compile Winutil * Remove verbose code * Compile Winutil --------- Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com> Co-authored-by: Padsala Tushal <57517785+padsalatushal@users.noreply.github.com> Co-authored-by: AdamJedl <100023363+AdamJedl@users.noreply.github.com> Co-authored-by: AshlynOrSomethin <31773733+AshlynOrSomethin@users.noreply.github.com>
This commit is contained in:
parent
2321c071ee
commit
cfb04b5fc3
@ -99,6 +99,10 @@
|
|||||||
"winget": "GOG.Galaxy",
|
"winget": "GOG.Galaxy",
|
||||||
"choco": "goggalaxy"
|
"choco": "goggalaxy"
|
||||||
},
|
},
|
||||||
|
"WPFInstallheroiclauncher": {
|
||||||
|
"winget": "HeroicGamesLauncher.HeroicGamesLauncher",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstallgpuz": {
|
"WPFInstallgpuz": {
|
||||||
"winget": "TechPowerUp.GPU-Z",
|
"winget": "TechPowerUp.GPU-Z",
|
||||||
"choco": "gpu-z"
|
"choco": "gpu-z"
|
||||||
@ -155,6 +159,10 @@
|
|||||||
"winget": "EclipseAdoptium.Temurin.11.JRE",
|
"winget": "EclipseAdoptium.Temurin.11.JRE",
|
||||||
"choco": "javaruntime"
|
"choco": "javaruntime"
|
||||||
},
|
},
|
||||||
|
"WPFInstalljava20": {
|
||||||
|
"winget": "Azul.Zulu.20.JDK",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstalljetbrains": {
|
"WPFInstalljetbrains": {
|
||||||
"winget": "JetBrains.Toolbox",
|
"winget": "JetBrains.Toolbox",
|
||||||
"choco": "jetbrainstoolbox"
|
"choco": "jetbrainstoolbox"
|
||||||
@ -175,6 +183,10 @@
|
|||||||
"winget": "Element.Element",
|
"winget": "Element.Element",
|
||||||
"choco": "element-desktop"
|
"choco": "element-desktop"
|
||||||
},
|
},
|
||||||
|
"WPFInstallmonitorian": {
|
||||||
|
"winget": "emoacht.Monitorian",
|
||||||
|
"choco": "monitorian"
|
||||||
|
},
|
||||||
"WPFInstallmpc": {
|
"WPFInstallmpc": {
|
||||||
"winget": "clsid2.mpc-hc",
|
"winget": "clsid2.mpc-hc",
|
||||||
"choco": "mpc-hc"
|
"choco": "mpc-hc"
|
||||||
@ -327,6 +339,10 @@
|
|||||||
"winget": "Nilesoft.Shell",
|
"winget": "Nilesoft.Shell",
|
||||||
"choco": "na"
|
"choco": "na"
|
||||||
},
|
},
|
||||||
|
"WPFInstallsdio": {
|
||||||
|
"winget": "GlennDelahoy.SnappyDriverInstallerOrigin",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstallklite": {
|
"WPFInstallklite": {
|
||||||
"winget": "CodecGuide.K-LiteCodecPack.Standard",
|
"winget": "CodecGuide.K-LiteCodecPack.Standard",
|
||||||
"choco": "k-litecodecpack-standard"
|
"choco": "k-litecodecpack-standard"
|
||||||
@ -527,6 +543,10 @@
|
|||||||
"winget": "RARLab.WinRAR",
|
"winget": "RARLab.WinRAR",
|
||||||
"choco": "winrar"
|
"choco": "winrar"
|
||||||
},
|
},
|
||||||
|
"WPFInstallnano": {
|
||||||
|
"winget": "GNU.Nano",
|
||||||
|
"choco": "nano"
|
||||||
|
},
|
||||||
"WPFInstallneovim": {
|
"WPFInstallneovim": {
|
||||||
"winget": "Neovim.Neovim",
|
"winget": "Neovim.Neovim",
|
||||||
"choco": "neovim"
|
"choco": "neovim"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksLoc",
|
"WPFEssTweaksLoc",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksStorage",
|
"WPFEssTweaksStorage",
|
||||||
"WPFEssTweaksTele",
|
"WPFEssTweaksTele",
|
||||||
@ -20,7 +19,6 @@
|
|||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksLoc",
|
"WPFEssTweaksLoc",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksStorage",
|
"WPFEssTweaksStorage",
|
||||||
"WPFEssTweaksTele",
|
"WPFEssTweaksTele",
|
||||||
@ -31,7 +29,6 @@
|
|||||||
"minimal": [
|
"minimal": [
|
||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksTele"
|
"WPFEssTweaksTele"
|
||||||
]
|
]
|
||||||
|
@ -460,8 +460,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "KeyIso",
|
"Name": "KeyIso",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "KtmRm",
|
"Name": "KtmRm",
|
||||||
@ -1000,8 +1000,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "VaultSvc",
|
"Name": "VaultSvc",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "W32Time",
|
"Name": "W32Time",
|
||||||
@ -2134,16 +2134,10 @@
|
|||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"curl.exe -s \"https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/ooshutup10_winutil_settings.cfg\" -o $ENV:temp\\ooshutup10.cfg
|
"curl.exe -s \"https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/ooshutup10_winutil_settings.cfg\" -o $ENV:temp\\ooshutup10.cfg
|
||||||
curl.exe -s \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -o $ENV:temp\\OOSU10.exe
|
curl.exe -s \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -o $ENV:temp\\OOSU10.exe
|
||||||
Start-Process $ENV:temp\\OOSU10.exe -ArgumentList \"$ENV:temp\\ooshutup10.cfg /quiet\"
|
Start-Process $ENV:temp\\OOSU10.exe -ArgumentList \"\"\"$ENV:temp\\ooshutup10.cfg\"\" /quiet\"
|
||||||
"
|
"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"WPFEssTweaksRP": {
|
|
||||||
"InvokeScript": [
|
|
||||||
"Enable-ComputerRestore -Drive \"$env:SystemDrive\"
|
|
||||||
Checkpoint-Computer -Description \"RestorePoint1\" -RestorePointType \"MODIFY_SETTINGS\""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"WPFEssTweaksStorage": {
|
"WPFEssTweaksStorage": {
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
|
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
|
||||||
|
32
functions/private/Set-WinUtilRestorePoint.ps1
Normal file
32
functions/private/Set-WinUtilRestorePoint.ps1
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
function Set-WinUtilRestorePoint {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
This function will make a Restore Point
|
||||||
|
|
||||||
|
#>
|
||||||
|
|
||||||
|
# Check if the user has administrative privileges
|
||||||
|
if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
|
||||||
|
Write-Host "Please run this script as an administrator."
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check if System Restore is enabled for the main drive
|
||||||
|
try {
|
||||||
|
# Try getting restore points to check if System Restore is enabled
|
||||||
|
Enable-ComputerRestore -Drive "$env:SystemDrive"
|
||||||
|
} catch {
|
||||||
|
Write-Host "An error occurred while enabling System Restore: $_"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get all the restore points for the current day
|
||||||
|
$existingRestorePoints = Get-ComputerRestorePoint | Where-Object { $_.CreationTime.Date -eq (Get-Date).Date }
|
||||||
|
|
||||||
|
# Check if there is already a restore point created today
|
||||||
|
if ($existingRestorePoints.Count -eq 0) {
|
||||||
|
$description = "System Restore Point created by WinUtil"
|
||||||
|
|
||||||
|
Checkpoint-Computer -Description $description -RestorePointType "MODIFY_SETTINGS"
|
||||||
|
}
|
||||||
|
}
|
@ -21,15 +21,6 @@ Function Set-WinUtilService {
|
|||||||
|
|
||||||
# Service exists, proceed with changing properties
|
# Service exists, proceed with changing properties
|
||||||
$service | Set-Service -StartupType $StartupType -ErrorAction Stop
|
$service | Set-Service -StartupType $StartupType -ErrorAction Stop
|
||||||
|
|
||||||
if ($StartupType -eq "Disabled") {
|
|
||||||
Write-Host "Stopping $Name"
|
|
||||||
Stop-Service -Name $Name -Force -ErrorAction Stop
|
|
||||||
}
|
|
||||||
elseif ($StartupType -eq "Manual") {
|
|
||||||
Write-Host "Stopping $Name"
|
|
||||||
Stop-Service -Name $Name -Force -ErrorAction Stop
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch [System.ServiceProcess.ServiceNotFoundException] {
|
catch [System.ServiceProcess.ServiceNotFoundException] {
|
||||||
Write-Warning "Service $Name was not found"
|
Write-Warning "Service $Name was not found"
|
||||||
|
@ -22,6 +22,8 @@ function Invoke-WPFtweaksbutton {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Set-WinUtilRestorePoint
|
||||||
|
|
||||||
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
||||||
param($Tweaks)
|
param($Tweaks)
|
||||||
|
|
||||||
|
92
winutil.ps1
92
winutil.ps1
@ -10,7 +10,7 @@
|
|||||||
Author : Chris Titus @christitustech
|
Author : Chris Titus @christitustech
|
||||||
Runspace Author: @DeveloperDurp
|
Runspace Author: @DeveloperDurp
|
||||||
GitHub : https://github.com/ChrisTitusTech
|
GitHub : https://github.com/ChrisTitusTech
|
||||||
Version : 23.08.03
|
Version : 23.08.08
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Start-Transcript $ENV:TEMP\Winutil.log -Append
|
Start-Transcript $ENV:TEMP\Winutil.log -Append
|
||||||
@ -21,7 +21,7 @@ Add-Type -AssemblyName System.Windows.Forms
|
|||||||
# variable to sync between runspaces
|
# variable to sync between runspaces
|
||||||
$sync = [Hashtable]::Synchronized(@{})
|
$sync = [Hashtable]::Synchronized(@{})
|
||||||
$sync.PSScriptRoot = $PSScriptRoot
|
$sync.PSScriptRoot = $PSScriptRoot
|
||||||
$sync.version = "23.08.03"
|
$sync.version = "23.08.08"
|
||||||
$sync.configs = @{}
|
$sync.configs = @{}
|
||||||
$sync.ProcessRunning = $false
|
$sync.ProcessRunning = $false
|
||||||
|
|
||||||
@ -812,6 +812,38 @@ function Set-WinUtilRegistry {
|
|||||||
Write-Warning $psitem.Exception.StackTrace
|
Write-Warning $psitem.Exception.StackTrace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function Set-WinUtilRestorePoint {
|
||||||
|
<#
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
This function will make a Restore Point
|
||||||
|
|
||||||
|
#>
|
||||||
|
|
||||||
|
# Check if the user has administrative privileges
|
||||||
|
if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
|
||||||
|
Write-Host "Please run this script as an administrator."
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check if System Restore is enabled for the main drive
|
||||||
|
try {
|
||||||
|
# Try getting restore points to check if System Restore is enabled
|
||||||
|
Enable-ComputerRestore -Drive "$env:SystemDrive"
|
||||||
|
} catch {
|
||||||
|
Write-Host "An error occurred while enabling System Restore: $_"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get all the restore points for the current day
|
||||||
|
$existingRestorePoints = Get-ComputerRestorePoint | Where-Object { $_.CreationTime.Date -eq (Get-Date).Date }
|
||||||
|
|
||||||
|
# Check if there is already a restore point created today
|
||||||
|
if ($existingRestorePoints.Count -eq 0) {
|
||||||
|
$description = "System Restore Point created by WinUtil"
|
||||||
|
|
||||||
|
Checkpoint-Computer -Description $description -RestorePointType "MODIFY_SETTINGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
function Set-WinUtilScheduledTask {
|
function Set-WinUtilScheduledTask {
|
||||||
<#
|
<#
|
||||||
|
|
||||||
@ -875,15 +907,6 @@ Function Set-WinUtilService {
|
|||||||
|
|
||||||
# Service exists, proceed with changing properties
|
# Service exists, proceed with changing properties
|
||||||
$service | Set-Service -StartupType $StartupType -ErrorAction Stop
|
$service | Set-Service -StartupType $StartupType -ErrorAction Stop
|
||||||
|
|
||||||
if ($StartupType -eq "Disabled") {
|
|
||||||
Write-Host "Stopping $Name"
|
|
||||||
Stop-Service -Name $Name -Force -ErrorAction Stop
|
|
||||||
}
|
|
||||||
elseif ($StartupType -eq "Manual") {
|
|
||||||
Write-Host "Stopping $Name"
|
|
||||||
Stop-Service -Name $Name -Force -ErrorAction Stop
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch [System.ServiceProcess.ServiceNotFoundException] {
|
catch [System.ServiceProcess.ServiceNotFoundException] {
|
||||||
Write-Warning "Service $Name was not found"
|
Write-Warning "Service $Name was not found"
|
||||||
@ -1651,6 +1674,8 @@ function Invoke-WPFtweaksbutton {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Set-WinUtilRestorePoint
|
||||||
|
|
||||||
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
|
||||||
param($Tweaks)
|
param($Tweaks)
|
||||||
|
|
||||||
@ -2405,6 +2430,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10">
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10">
|
||||||
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstalljava20" Content="Azul Zulu JDK 20" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgit" Content="Git" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgit" Content="Git" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalldockerdesktop" Content="Docker Desktop" Margin="5,0"/>
|
<CheckBox Name="WPFInstalldockerdesktop" Content="Docker Desktop" Margin="5,0"/>
|
||||||
@ -2422,6 +2448,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstallsublime" Content="Sublime" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsublime" Content="Sublime" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallunity" Content="Unity Game Engine" Margin="5,0"/>
|
<CheckBox Name="WPFInstallunity" Content="Unity Game Engine" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvisualstudio" Content="Visual Studio 2022" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvisualstudio" Content="Visual Studio 2022" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallnano" Content="Nano" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallneovim" Content="Neovim" Margin="5,0"/>
|
<CheckBox Name="WPFInstallneovim" Content="Neovim" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvscode" Content="VS Code" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvscode" Content="VS Code" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvscodium" Content="VS Codium" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvscodium" Content="VS Codium" Margin="5,0"/>
|
||||||
@ -2444,6 +2471,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstallbluestacks" Content="Bluestacks" Margin="5,0"/>
|
<CheckBox Name="WPFInstallbluestacks" Content="Bluestacks" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
<CheckBox Name="WPFInstallepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgog" Content="GOG Galaxy" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgog" Content="GOG Galaxy" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallheroiclauncher" Content="Heroic Games Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalleaapp" Content="EA App" Margin="5,0"/>
|
<CheckBox Name="WPFInstalleaapp" Content="EA App" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallprismlauncher" Content="Prism Launcher" Margin="5,0"/>
|
<CheckBox Name="WPFInstallprismlauncher" Content="Prism Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallsteam" Content="Steam" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsteam" Content="Steam" Margin="5,0"/>
|
||||||
@ -2520,6 +2548,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstalljdownloader" Content="J Download Manager" Margin="5,0"/>
|
<CheckBox Name="WPFInstalljdownloader" Content="J Download Manager" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallkeepass" Content="KeePassXC" Margin="5,0"/>
|
<CheckBox Name="WPFInstallkeepass" Content="KeePassXC" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallmalwarebytes" Content="MalwareBytes" Margin="5,0"/>
|
<CheckBox Name="WPFInstallmalwarebytes" Content="MalwareBytes" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallmonitorian" Content="Monitorian" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallnvclean" Content="NVCleanstall" Margin="5,0"/>
|
<CheckBox Name="WPFInstallnvclean" Content="NVCleanstall" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallopenshell" Content="Open Shell (Start Menu)" Margin="5,0"/>
|
<CheckBox Name="WPFInstallopenshell" Content="Open Shell (Start Menu)" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallprocesslasso" Content="Process Lasso" Margin="5,0"/>
|
<CheckBox Name="WPFInstallprocesslasso" Content="Process Lasso" Margin="5,0"/>
|
||||||
@ -2528,6 +2557,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstallrufus" Content="Rufus Imager" Margin="5,0"/>
|
<CheckBox Name="WPFInstallrufus" Content="Rufus Imager" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallsandboxie" Content="Sandboxie Plus" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsandboxie" Content="Sandboxie Plus" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallshell" Content="Shell (Expanded Context Menu)" Margin="5,0"/>
|
<CheckBox Name="WPFInstallshell" Content="Shell (Expanded Context Menu)" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallsdio" Content="Snappy Driver Installer Origin" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallteamviewer" Content="TeamViewer" Margin="5,0"/>
|
<CheckBox Name="WPFInstallteamviewer" Content="TeamViewer" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
<CheckBox Name="WPFInstallttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalltreesize" Content="TreeSize Free" Margin="5,0"/>
|
<CheckBox Name="WPFInstalltreesize" Content="TreeSize Free" Margin="5,0"/>
|
||||||
@ -2572,7 +2602,6 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
|
||||||
<Label FontSize="16" Content="Essential Tweaks"/>
|
<Label FontSize="16" Content="Essential Tweaks"/>
|
||||||
<CheckBox Name="WPFEssTweaksRP" Content="Create Restore Point" Margin="5,0" ToolTip="Creates a Windows Restore point before modifying system. Can use Windows System Restore to rollback to before tweaks were applied"/>
|
|
||||||
<CheckBox Name="WPFEssTweaksOO" Content="Run OO Shutup" Margin="5,0" ToolTip="Runs OO Shutup from https://www.oo-software.com/en/shutup10"/>
|
<CheckBox Name="WPFEssTweaksOO" Content="Run OO Shutup" Margin="5,0" ToolTip="Runs OO Shutup from https://www.oo-software.com/en/shutup10"/>
|
||||||
<CheckBox Name="WPFEssTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
<CheckBox Name="WPFEssTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
||||||
<CheckBox Name="WPFEssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0" ToolTip="Wifi Sense is a spying service that phones home all nearby scanned wifi networks and your current geo location."/>
|
<CheckBox Name="WPFEssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0" ToolTip="Wifi Sense is a spying service that phones home all nearby scanned wifi networks and your current geo location."/>
|
||||||
@ -2803,6 +2832,10 @@ $sync.configs.applications = '{
|
|||||||
"winget": "GOG.Galaxy",
|
"winget": "GOG.Galaxy",
|
||||||
"choco": "goggalaxy"
|
"choco": "goggalaxy"
|
||||||
},
|
},
|
||||||
|
"WPFInstallheroiclauncher": {
|
||||||
|
"winget": "HeroicGamesLauncher.HeroicGamesLauncher",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstallgpuz": {
|
"WPFInstallgpuz": {
|
||||||
"winget": "TechPowerUp.GPU-Z",
|
"winget": "TechPowerUp.GPU-Z",
|
||||||
"choco": "gpu-z"
|
"choco": "gpu-z"
|
||||||
@ -2859,6 +2892,10 @@ $sync.configs.applications = '{
|
|||||||
"winget": "EclipseAdoptium.Temurin.11.JRE",
|
"winget": "EclipseAdoptium.Temurin.11.JRE",
|
||||||
"choco": "javaruntime"
|
"choco": "javaruntime"
|
||||||
},
|
},
|
||||||
|
"WPFInstalljava20": {
|
||||||
|
"winget": "Azul.Zulu.20.JDK",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstalljetbrains": {
|
"WPFInstalljetbrains": {
|
||||||
"winget": "JetBrains.Toolbox",
|
"winget": "JetBrains.Toolbox",
|
||||||
"choco": "jetbrainstoolbox"
|
"choco": "jetbrainstoolbox"
|
||||||
@ -2879,6 +2916,10 @@ $sync.configs.applications = '{
|
|||||||
"winget": "Element.Element",
|
"winget": "Element.Element",
|
||||||
"choco": "element-desktop"
|
"choco": "element-desktop"
|
||||||
},
|
},
|
||||||
|
"WPFInstallmonitorian": {
|
||||||
|
"winget": "emoacht.Monitorian",
|
||||||
|
"choco": "monitorian"
|
||||||
|
},
|
||||||
"WPFInstallmpc": {
|
"WPFInstallmpc": {
|
||||||
"winget": "clsid2.mpc-hc",
|
"winget": "clsid2.mpc-hc",
|
||||||
"choco": "mpc-hc"
|
"choco": "mpc-hc"
|
||||||
@ -3031,6 +3072,10 @@ $sync.configs.applications = '{
|
|||||||
"winget": "Nilesoft.Shell",
|
"winget": "Nilesoft.Shell",
|
||||||
"choco": "na"
|
"choco": "na"
|
||||||
},
|
},
|
||||||
|
"WPFInstallsdio": {
|
||||||
|
"winget": "GlennDelahoy.SnappyDriverInstallerOrigin",
|
||||||
|
"choco": "na"
|
||||||
|
},
|
||||||
"WPFInstallklite": {
|
"WPFInstallklite": {
|
||||||
"winget": "CodecGuide.K-LiteCodecPack.Standard",
|
"winget": "CodecGuide.K-LiteCodecPack.Standard",
|
||||||
"choco": "k-litecodecpack-standard"
|
"choco": "k-litecodecpack-standard"
|
||||||
@ -3231,6 +3276,10 @@ $sync.configs.applications = '{
|
|||||||
"winget": "RARLab.WinRAR",
|
"winget": "RARLab.WinRAR",
|
||||||
"choco": "winrar"
|
"choco": "winrar"
|
||||||
},
|
},
|
||||||
|
"WPFInstallnano": {
|
||||||
|
"winget": "GNU.Nano",
|
||||||
|
"choco": "nano"
|
||||||
|
},
|
||||||
"WPFInstallneovim": {
|
"WPFInstallneovim": {
|
||||||
"winget": "Neovim.Neovim",
|
"winget": "Neovim.Neovim",
|
||||||
"choco": "neovim"
|
"choco": "neovim"
|
||||||
@ -3355,7 +3404,6 @@ $sync.configs.preset = '{
|
|||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksLoc",
|
"WPFEssTweaksLoc",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksStorage",
|
"WPFEssTweaksStorage",
|
||||||
"WPFEssTweaksTele",
|
"WPFEssTweaksTele",
|
||||||
@ -3369,7 +3417,6 @@ $sync.configs.preset = '{
|
|||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksLoc",
|
"WPFEssTweaksLoc",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksStorage",
|
"WPFEssTweaksStorage",
|
||||||
"WPFEssTweaksTele",
|
"WPFEssTweaksTele",
|
||||||
@ -3380,7 +3427,6 @@ $sync.configs.preset = '{
|
|||||||
"minimal": [
|
"minimal": [
|
||||||
"WPFEssTweaksHome",
|
"WPFEssTweaksHome",
|
||||||
"WPFEssTweaksOO",
|
"WPFEssTweaksOO",
|
||||||
"WPFEssTweaksRP",
|
|
||||||
"WPFEssTweaksServices",
|
"WPFEssTweaksServices",
|
||||||
"WPFEssTweaksTele"
|
"WPFEssTweaksTele"
|
||||||
]
|
]
|
||||||
@ -3889,8 +3935,8 @@ $sync.configs.tweaks = '{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "KeyIso",
|
"Name": "KeyIso",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "KtmRm",
|
"Name": "KtmRm",
|
||||||
@ -4429,8 +4475,8 @@ $sync.configs.tweaks = '{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "VaultSvc",
|
"Name": "VaultSvc",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Manual"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "W32Time",
|
"Name": "W32Time",
|
||||||
@ -5563,16 +5609,10 @@ $sync.configs.tweaks = '{
|
|||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"curl.exe -s \"https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/ooshutup10_winutil_settings.cfg\" -o $ENV:temp\\ooshutup10.cfg
|
"curl.exe -s \"https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/ooshutup10_winutil_settings.cfg\" -o $ENV:temp\\ooshutup10.cfg
|
||||||
curl.exe -s \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -o $ENV:temp\\OOSU10.exe
|
curl.exe -s \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -o $ENV:temp\\OOSU10.exe
|
||||||
Start-Process $ENV:temp\\OOSU10.exe -ArgumentList \"$ENV:temp\\ooshutup10.cfg /quiet\"
|
Start-Process $ENV:temp\\OOSU10.exe -ArgumentList \"\"\"$ENV:temp\\ooshutup10.cfg\"\" /quiet\"
|
||||||
"
|
"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"WPFEssTweaksRP": {
|
|
||||||
"InvokeScript": [
|
|
||||||
"Enable-ComputerRestore -Drive \"$env:SystemDrive\"
|
|
||||||
Checkpoint-Computer -Description \"RestorePoint1\" -RestorePointType \"MODIFY_SETTINGS\""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"WPFEssTweaksStorage": {
|
"WPFEssTweaksStorage": {
|
||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
|
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
|
||||||
|
@ -280,6 +280,7 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10">
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10">
|
||||||
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstalljava20" Content="Azul Zulu JDK 20" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgit" Content="Git" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgit" Content="Git" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalldockerdesktop" Content="Docker Desktop" Margin="5,0"/>
|
<CheckBox Name="WPFInstalldockerdesktop" Content="Docker Desktop" Margin="5,0"/>
|
||||||
@ -297,6 +298,7 @@
|
|||||||
<CheckBox Name="WPFInstallsublime" Content="Sublime" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsublime" Content="Sublime" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallunity" Content="Unity Game Engine" Margin="5,0"/>
|
<CheckBox Name="WPFInstallunity" Content="Unity Game Engine" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvisualstudio" Content="Visual Studio 2022" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvisualstudio" Content="Visual Studio 2022" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallnano" Content="Nano" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallneovim" Content="Neovim" Margin="5,0"/>
|
<CheckBox Name="WPFInstallneovim" Content="Neovim" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvscode" Content="VS Code" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvscode" Content="VS Code" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallvscodium" Content="VS Codium" Margin="5,0"/>
|
<CheckBox Name="WPFInstallvscodium" Content="VS Codium" Margin="5,0"/>
|
||||||
@ -319,6 +321,7 @@
|
|||||||
<CheckBox Name="WPFInstallbluestacks" Content="Bluestacks" Margin="5,0"/>
|
<CheckBox Name="WPFInstallbluestacks" Content="Bluestacks" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
<CheckBox Name="WPFInstallepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallgog" Content="GOG Galaxy" Margin="5,0"/>
|
<CheckBox Name="WPFInstallgog" Content="GOG Galaxy" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallheroiclauncher" Content="Heroic Games Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalleaapp" Content="EA App" Margin="5,0"/>
|
<CheckBox Name="WPFInstalleaapp" Content="EA App" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallprismlauncher" Content="Prism Launcher" Margin="5,0"/>
|
<CheckBox Name="WPFInstallprismlauncher" Content="Prism Launcher" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallsteam" Content="Steam" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsteam" Content="Steam" Margin="5,0"/>
|
||||||
@ -395,6 +398,7 @@
|
|||||||
<CheckBox Name="WPFInstalljdownloader" Content="J Download Manager" Margin="5,0"/>
|
<CheckBox Name="WPFInstalljdownloader" Content="J Download Manager" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallkeepass" Content="KeePassXC" Margin="5,0"/>
|
<CheckBox Name="WPFInstallkeepass" Content="KeePassXC" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallmalwarebytes" Content="MalwareBytes" Margin="5,0"/>
|
<CheckBox Name="WPFInstallmalwarebytes" Content="MalwareBytes" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallmonitorian" Content="Monitorian" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallnvclean" Content="NVCleanstall" Margin="5,0"/>
|
<CheckBox Name="WPFInstallnvclean" Content="NVCleanstall" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallopenshell" Content="Open Shell (Start Menu)" Margin="5,0"/>
|
<CheckBox Name="WPFInstallopenshell" Content="Open Shell (Start Menu)" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallprocesslasso" Content="Process Lasso" Margin="5,0"/>
|
<CheckBox Name="WPFInstallprocesslasso" Content="Process Lasso" Margin="5,0"/>
|
||||||
@ -403,6 +407,7 @@
|
|||||||
<CheckBox Name="WPFInstallrufus" Content="Rufus Imager" Margin="5,0"/>
|
<CheckBox Name="WPFInstallrufus" Content="Rufus Imager" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallsandboxie" Content="Sandboxie Plus" Margin="5,0"/>
|
<CheckBox Name="WPFInstallsandboxie" Content="Sandboxie Plus" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallshell" Content="Shell (Expanded Context Menu)" Margin="5,0"/>
|
<CheckBox Name="WPFInstallshell" Content="Shell (Expanded Context Menu)" Margin="5,0"/>
|
||||||
|
<CheckBox Name="WPFInstallsdio" Content="Snappy Driver Installer Origin" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallteamviewer" Content="TeamViewer" Margin="5,0"/>
|
<CheckBox Name="WPFInstallteamviewer" Content="TeamViewer" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstallttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
<CheckBox Name="WPFInstallttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
||||||
<CheckBox Name="WPFInstalltreesize" Content="TreeSize Free" Margin="5,0"/>
|
<CheckBox Name="WPFInstalltreesize" Content="TreeSize Free" Margin="5,0"/>
|
||||||
@ -447,7 +452,6 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
|
||||||
<Label FontSize="16" Content="Essential Tweaks"/>
|
<Label FontSize="16" Content="Essential Tweaks"/>
|
||||||
<CheckBox Name="WPFEssTweaksRP" Content="Create Restore Point" Margin="5,0" ToolTip="Creates a Windows Restore point before modifying system. Can use Windows System Restore to rollback to before tweaks were applied"/>
|
|
||||||
<CheckBox Name="WPFEssTweaksOO" Content="Run OO Shutup" Margin="5,0" ToolTip="Runs OO Shutup from https://www.oo-software.com/en/shutup10"/>
|
<CheckBox Name="WPFEssTweaksOO" Content="Run OO Shutup" Margin="5,0" ToolTip="Runs OO Shutup from https://www.oo-software.com/en/shutup10"/>
|
||||||
<CheckBox Name="WPFEssTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
<CheckBox Name="WPFEssTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
||||||
<CheckBox Name="WPFEssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0" ToolTip="Wifi Sense is a spying service that phones home all nearby scanned wifi networks and your current geo location."/>
|
<CheckBox Name="WPFEssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0" ToolTip="Wifi Sense is a spying service that phones home all nearby scanned wifi networks and your current geo location."/>
|
||||||
|
Loading…
Reference in New Issue
Block a user