2023-05-16 14:52:11 -05:00
################################################################################################################
### ###
### WARNING: This file is automatically generated DO NOT modify this file directly as it will be overwritten ###
### ###
################################################################################################################
<#
. NOTES
Author : Chris Titus @christitustech
Runspace Author : @DeveloperDurp
GitHub : https : / / github . com / ChrisTitusTech
2023-11-14 15:31:31 -06:00
Version : 23.11 . 14
2023-05-16 14:52:11 -05:00
#>
Start-Transcript $ENV:TEMP \ Winutil . log -Append
2023-10-19 17:12:55 -05:00
# Load DLLs
2023-05-16 14:52:11 -05:00
Add-Type -AssemblyName System . Windows . Forms
2023-10-19 17:12:55 -05:00
# Variable to sync between runspaces
2023-05-16 14:52:11 -05:00
$sync = [ Hashtable ] :: Synchronized ( @ { } )
$sync . PSScriptRoot = $PSScriptRoot
2023-11-14 15:31:31 -06:00
$sync . version = " 23.11.14 "
2023-05-16 14:52:11 -05:00
$sync . configs = @ { }
$sync . ProcessRunning = $false
2023-07-13 15:46:00 -05:00
if ( ! ( [ Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity ] :: GetCurrent ( ) ) . IsInRole ( [ Security.Principal.WindowsBuiltInRole ] :: Administrator ) ) {
2023-08-02 19:43:52 -05:00
Write-Output " Winutil needs to be run as Administrator. Attempting to relaunch. "
2023-07-13 15:46:00 -05:00
Start-Process -Verb runas -FilePath powershell . exe -ArgumentList " iwr -useb https://christitus.com/win | iex "
break
}
2023-05-16 14:52:11 -05:00
Function Get-WinUtilCheckBoxes {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Finds all checkboxes that are checked on the specific tab and inputs them into a script .
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER Group
The group of checkboxes to check
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER unCheck
Whether to uncheck the checkboxes that are checked . Defaults to true
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. OUTPUTS
A List containing the name of each checked checkbox
. EXAMPLE
2023-05-16 14:52:11 -05:00
Get-WinUtilCheckBoxes " WPFInstall "
#>
Param (
$Group ,
[ boolean ] $unCheck = $true
)
$Output = New-Object System . Collections . Generic . List [ System.Object ]
if ( $Group -eq " WPFInstall " ) {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " WPFInstall* " }
$CheckBoxes = $sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter }
Foreach ( $CheckBox in $CheckBoxes ) {
if ( $CheckBox . value . ischecked -eq $true ) {
$sync . configs . applications . $ ( $CheckBox . Name ) . winget -split " ; " | ForEach-Object {
$Output . Add ( $psitem )
}
if ( $uncheck -eq $true ) {
$CheckBox . value . ischecked = $false
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
}
}
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $Group -eq " WPFTweaks " ) {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " WPF*Tweaks* " }
$CheckBoxes = $sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter }
Foreach ( $CheckBox in $CheckBoxes ) {
if ( $CheckBox . value . ischecked -eq $true ) {
$Output . Add ( $Checkbox . Name )
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $uncheck -eq $true ) {
$CheckBox . value . ischecked = $false
}
}
}
}
if ( $Group -eq " WPFFeature " ) {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " WPF*Feature* " }
$CheckBoxes = $sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter }
Foreach ( $CheckBox in $CheckBoxes ) {
if ( $CheckBox . value . ischecked -eq $true ) {
$Output . Add ( $Checkbox . Name )
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $uncheck -eq $true ) {
$CheckBox . value . ischecked = $false
}
}
}
}
Write-Output $ ( $Output | Select-Object -Unique )
}
function Get-WinUtilInstallerProcess {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Checks if the given process is running
. PARAMETER Process
The process to check
. OUTPUTS
Boolean - True if the process is running
2023-05-16 14:52:11 -05:00
#>
param ( $Process )
if ( $Null -eq $Process ) {
return $false
}
if ( Get-Process -Id $Process . Id -ErrorAction SilentlyContinue ) {
return $true
}
return $false
}
function Get-WinUtilRegistry {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Gets the value of a registry key
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
Get-WinUtilRegistry -Name " PublishUserActivities " -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Type " DWord " -Value " 0 "
#>
2023-05-16 14:52:11 -05:00
param (
$Name ,
$Path ,
$Type ,
$Value
)
2023-10-19 17:12:55 -05:00
Try {
2023-05-16 14:52:11 -05:00
$syscheckvalue = Get-ItemPropertyValue -Path $Path -Value $Value # Return Value
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-07-27 16:06:41 -05:00
Function Get-WinUtilToggleStatus {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Pulls the registry keys for the given toggle switch and checks whether the toggle should be checked or unchecked
. PARAMETER ToggleSwitch
The name of the toggle to check
. OUTPUTS
Boolean to set the toggle ' s status to
2023-07-27 16:06:41 -05:00
#>
Param ( $ToggleSwitch )
if ( $ToggleSwitch -eq " WPFToggleDarkMode " ) {
$app = ( Get-ItemProperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize' ) . AppsUseLightTheme
$system = ( Get-ItemProperty -path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize' ) . SystemUsesLightTheme
if ( $app -eq 0 -and $system -eq 0 ) {
return $true
2023-10-19 17:12:55 -05:00
}
2023-07-27 16:06:41 -05:00
else {
return $false
}
}
if ( $ToggleSwitch -eq " WPFToggleBingSearch " ) {
$bingsearch = ( Get-ItemProperty -path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Search' ) . BingSearchEnabled
if ( $bingsearch -eq 0 ) {
return $false
2023-10-19 17:12:55 -05:00
}
2023-07-27 16:06:41 -05:00
else {
return $true
}
}
2023-11-14 15:45:48 -06:00
if ( $ToggleSwitch -eq " WPFToggleNumLock " ) {
$numlockvalue = ( Get-ItemProperty -path 'HKCU:\Control Panel\Keyboard' ) . InitialKeyboardIndicators
if ( $numlockvalue -eq 2 ) {
return $true
}
else {
return $false
}
}
if ( $ToggleSwitch -eq " WPFToggleVerboseLogon " ) {
$VerboseStatusvalue = ( Get-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' ) . VerboseStatus
if ( $VerboseStatusvalue -eq 1 ) {
return $true
}
else {
return $false
}
}
if ( $ToggleSwitch -eq " WPFToggleShowExt " ) {
$hideextvalue = ( Get-ItemProperty -path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' ) . HideFileExt
if ( $hideextvalue -eq 0 ) {
return $true
}
else {
return $false
}
}
if ( $ToggleSwitch -eq " WPFToggleMouseAcceleration " ) {
$MouseSpeed = ( Get-ItemProperty -path 'HKCU:\Control Panel\Mouse' ) . MouseSpeed
$MouseThreshold1 = ( Get-ItemProperty -path 'HKCU:\Control Panel\Mouse' ) . MouseThreshold1
$MouseThreshold2 = ( Get-ItemProperty -path 'HKCU:\Control Panel\Mouse' ) . MouseThreshold2
if ( $MouseSpeed -eq 1 -and $MouseThreshold1 -eq 6 -and $MouseThreshold2 -eq 10 ) {
return $true
}
else {
return $false
}
}
2023-07-27 16:06:41 -05:00
}
2023-05-16 14:52:11 -05:00
function Get-WinUtilVariables {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Gets every form object of the provided type
. OUTPUTS
List containing every object that matches the provided type
2023-05-16 14:52:11 -05:00
#>
param (
[ Parameter ( ) ]
[ ValidateSet ( " CheckBox " , " Button " ) ]
[ string ] $Type
)
2023-10-19 17:12:55 -05:00
$keys = $sync . keys | Where-Object { $psitem -like " WPF* " }
2023-05-16 14:52:11 -05:00
if ( $type ) {
$output = $keys | ForEach-Object {
Try {
if ( $sync [ " $psitem " ] . GetType ( ) -like " * $type * " ) {
Write-Output $psitem
}
}
Catch { <# I am here so errors don't get outputted for a couple variables that don't have the . GetType() attribute #> }
}
2023-10-19 17:12:55 -05:00
return $output
2023-05-16 14:52:11 -05:00
}
return $keys
}
function Install-WinUtilChoco {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Installs Chocolatey if it is not already installed
2023-05-16 14:52:11 -05:00
#>
2023-10-19 17:12:55 -05:00
try {
2023-05-16 14:52:11 -05:00
Write-Host " Checking if Chocolatey is Installed... "
if ( ( Test-WinUtilPackageManager -choco ) ) {
Write-Host " Chocolatey Already Installed "
return
}
2023-10-19 17:12:55 -05:00
Write-Host " Seems Chocolatey is not installed, installing now "
Set-ExecutionPolicy Bypass -Scope Process -Force ; Invoke-Expression ( ( New-Object System . Net . WebClient ) . DownloadString ( 'https://chocolatey.org/install.ps1' ) ) -ErrorAction Stop
powershell choco feature enable -n allowGlobalConfirmation
2023-05-16 14:52:11 -05:00
}
2023-10-19 17:12:55 -05:00
Catch {
Write-Host " =========================================== "
Write-Host " -- Chocolatey failed to install --- "
Write-Host " =========================================== "
2023-05-16 14:52:11 -05:00
}
}
Function Install-WinUtilProgramWinget {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Manages the provided programs using Winget
. PARAMETER ProgramsToInstall
A list of programs to manage
. PARAMETER manage
The action to perform on the programs , can be either 'Installing' or 'Uninstalling'
. NOTES
The triple quotes are required any time you need a " in a normal script block.
2023-05-16 14:52:11 -05:00
#>
param (
$ProgramsToInstall ,
$manage = " Installing "
)
$x = 0
$count = $ ( $ProgramsToInstall -split " , " ) . Count
Write-Progress -Activity " $manage Applications " -Status " Starting " -PercentComplete 0
Foreach ( $Program in $ ( $ProgramsToInstall -split " , " ) ) {
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Progress -Activity " $manage Applications " -Status " $manage $Program $( $x + 1 ) of $count " -PercentComplete $ ( $x / $count * 100 )
if ( $manage -eq " Installing " ) {
Start-Process -FilePath winget -ArgumentList " install -e --accept-source-agreements --accept-package-agreements --silent $Program " -NoNewWindow -Wait
}
if ( $manage -eq " Uninstalling " ) {
2023-09-13 17:30:56 -05:00
Start-Process -FilePath winget -ArgumentList " uninstall -e --purge --force --silent $Program " -NoNewWindow -Wait
2023-05-16 14:52:11 -05:00
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$X + +
}
Write-Progress -Activity " $manage Applications " -Status " Finished " -Completed
}
2023-07-27 16:06:41 -05:00
function Get-LatestHash {
$shaUrl = ( ( Invoke-WebRequest $apiLatestUrl -UseBasicParsing | ConvertFrom-Json ) . assets | Where-Object { $_ . name -match '^Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.txt$' } ) . browser_download_url
2023-10-19 17:12:55 -05:00
2023-07-27 16:06:41 -05:00
$shaFile = Join-Path -Path $tempFolder -ChildPath 'Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.txt'
$WebClient . DownloadFile ( $shaUrl , $shaFile )
2023-10-19 17:12:55 -05:00
2023-07-27 16:06:41 -05:00
Get-Content $shaFile
2023-10-19 17:12:55 -05:00
}
2023-07-27 16:06:41 -05:00
2023-05-16 14:52:11 -05:00
function Install-WinUtilWinget {
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Installs Winget if it is not already installed
2023-05-16 14:52:11 -05:00
#>
Try {
Write-Host " Checking if Winget is Installed... "
if ( Test-WinUtilPackageManager -winget ) {
2023-10-19 17:12:55 -05:00
# Checks if winget executable exists and if the Windows Version is 1809 or higher
2023-05-16 14:52:11 -05:00
Write-Host " Winget Already Installed "
return
}
2023-10-19 17:12:55 -05:00
# Gets the computer's information
2023-05-16 14:52:11 -05:00
if ( $null -eq $sync . ComputerInfo ) {
$ComputerInfo = Get-ComputerInfo -ErrorAction Stop
}
Else {
$ComputerInfo = $sync . ComputerInfo
}
if ( ( $ComputerInfo . WindowsVersion ) -lt " 1809 " ) {
2023-10-19 17:12:55 -05:00
# Checks if Windows Version is too old for winget
2023-05-16 14:52:11 -05:00
Write-Host " Winget is not supported on this version of Windows (Pre-1809) "
return
}
2023-07-27 16:06:41 -05:00
Write-Host " Running Alternative Installer and Direct Installing "
2023-10-19 17:12:55 -05:00
Start-Process -Verb runas -FilePath powershell . exe -ArgumentList " choco install winget "
2023-05-16 14:52:11 -05:00
Write-Host " Winget Installed "
}
Catch {
throw [ WingetFailedInstall ] :: new ( 'Failed to install' )
}
}
2023-07-27 16:06:41 -05:00
function Invoke-WinUtilBingSearch {
2023-10-19 17:12:55 -05:00
<#
. SYNOPSIS
Disables / Enables Bing Search
. PARAMETER Enabled
Indicates whether to enable or disable Bing Search
2023-07-27 16:06:41 -05:00
#>
Param ( $Enabled )
Try {
if ( $Enabled -eq $false ) {
Write-Host " Enabling Bing Search "
$value = 1
}
else {
Write-Host " Disabling Bing Search "
$value = 0
}
$Path = " HKCU:\Software\Microsoft\Windows\CurrentVersion\Search "
Set-ItemProperty -Path $Path -Name BingSearchEnabled -Value $value
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-05-16 14:52:11 -05:00
Function Invoke-WinUtilCurrentSystem {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Checks to see what tweaks have already been applied and what programs are installed , and checks the according boxes
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-05-16 14:52:11 -05:00
Get-WinUtilCheckBoxes " WPFInstall "
#>
param (
$CheckBox
)
if ( $checkbox -eq " winget " ) {
$originalEncoding = [ Console ] :: OutputEncoding
[ Console ] :: OutputEncoding = [ System.Text.UTF8Encoding ] :: new ( )
$Sync . InstalledPrograms = winget list -s winget | Select-Object -skip 3 | ConvertFrom-String -PropertyNames " Name " , " Id " , " Version " , " Available " -Delimiter '\s{2,}'
[ Console ] :: OutputEncoding = $originalEncoding
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " WPFInstall* " }
$sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter } | ForEach-Object {
2023-09-13 17:30:56 -05:00
$dependencies = @ ( $sync . configs . applications . $ ( $psitem . Key ) . winget -split " ; " )
2023-07-13 15:46:00 -05:00
2023-09-13 17:30:56 -05:00
if ( $dependencies [ -1 ] -in $sync . InstalledPrograms . Id ) {
Write-Output $psitem . name
2023-05-16 14:52:11 -05:00
}
}
}
if ( $CheckBox -eq " tweaks " ) {
if ( ! ( Test-Path 'HKU:\' ) ) { New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS }
$ScheduledTasks = Get-ScheduledTask
$sync . configs . tweaks | Get-Member -MemberType NoteProperty | ForEach-Object {
$Config = $psitem . Name
#WPFEssTweaksTele
$registryKeys = $sync . configs . tweaks . $Config . registry
$scheduledtaskKeys = $sync . configs . tweaks . $Config . scheduledtask
$serviceKeys = $sync . configs . tweaks . $Config . service
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $registryKeys -or $scheduledtaskKeys -or $serviceKeys ) {
$Values = @ ( )
Foreach ( $tweaks in $registryKeys ) {
Foreach ( $tweak in $tweaks ) {
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( test-path $tweak . Path ) {
$actualValue = Get-ItemProperty -Name $tweak . Name -Path $tweak . Path -ErrorAction SilentlyContinue | Select-Object -ExpandProperty $ ( $tweak . Name )
$expectedValue = $tweak . Value
if ( $expectedValue -notlike $actualValue ) {
2023-10-19 17:12:55 -05:00
$values + = $False
2023-05-16 14:52:11 -05:00
}
}
}
}
Foreach ( $tweaks in $scheduledtaskKeys ) {
Foreach ( $tweak in $tweaks ) {
$task = $ScheduledTasks | Where-Object { $ ( $psitem . TaskPath + $psitem . TaskName ) -like " \ $( $tweak . name ) " }
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $task ) {
$actualValue = $task . State
$expectedValue = $tweak . State
if ( $expectedValue -ne $actualValue ) {
$values + = $False
}
}
}
}
Foreach ( $tweaks in $serviceKeys ) {
Foreach ( $tweak in $tweaks ) {
$Service = Get-Service -Name $tweak . Name
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $Service ) {
$actualValue = $Service . StartType
$expectedValue = $tweak . StartupType
if ( $expectedValue -ne $actualValue ) {
$values + = $False
}
}
}
}
if ( $values -notcontains $false ) {
Write-Output $Config
}
}
}
}
}
2023-07-27 16:06:41 -05:00
Function Invoke-WinUtilDarkMode {
2023-10-19 17:12:55 -05:00
<#
. SYNOPSIS
Enables / Disables Dark Mode
. PARAMETER DarkMoveEnabled
Indicates the current dark mode state
2023-07-27 16:06:41 -05:00
#>
Param ( $DarkMoveEnabled )
Try {
if ( $DarkMoveEnabled -eq $false ) {
Write-Host " Enabling Dark Mode "
$DarkMoveValue = 0
}
else {
Write-Host " Disabling Dark Mode "
$DarkMoveValue = 1
}
2023-10-19 17:12:55 -05:00
2023-11-14 15:45:48 -06:00
$Path = " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize "
Set-ItemProperty -Path $Path -Name AppsUseLightTheme -Value $DarkMoveValue
Set-ItemProperty -Path $Path -Name SystemUsesLightTheme -Value $DarkMoveValue
2023-07-27 16:06:41 -05:00
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-05-16 14:52:11 -05:00
function Invoke-WinUtilFeatureInstall {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Converts all the values from the tweaks . json and routes them to the appropriate function
2023-05-16 14:52:11 -05:00
#>
param (
$CheckBox
)
$CheckBox | ForEach-Object {
if ( $sync . configs . feature . $psitem . feature ) {
Foreach ( $feature in $sync . configs . feature . $psitem . feature ) {
2023-10-19 17:12:55 -05:00
Try {
2023-05-16 14:52:11 -05:00
Write-Host " Installing $feature "
Enable-WindowsOptionalFeature -Online -FeatureName $feature -All -NoRestart
}
Catch {
if ( $psitem . Exception . Message -like " *requires elevation* " ) {
Write-Warning " Unable to Install $feature due to permissions. Are you running as admin? "
}
else {
Write-Warning " Unable to Install $feature due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
2023-10-19 17:12:55 -05:00
}
2023-05-16 14:52:11 -05:00
}
if ( $sync . configs . feature . $psitem . InvokeScript ) {
Foreach ( $script in $sync . configs . feature . $psitem . InvokeScript ) {
Try {
$Scriptblock = [ scriptblock ] :: Create ( $script )
Write-Host " Running Script for $psitem "
Invoke-Command $scriptblock -ErrorAction stop
}
Catch {
if ( $psitem . Exception . Message -like " *requires elevation* " ) {
Write-Warning " Unable to Install $feature due to permissions. Are you running as admin? "
}
else {
Write-Warning " Unable to Install $feature due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
2023-10-19 17:12:55 -05:00
}
2023-05-16 14:52:11 -05:00
}
}
}
2023-11-14 15:45:48 -06:00
Function Invoke-WinUtilMouseAcceleration {
<#
. SYNOPSIS
Enables / Disables Mouse Acceleration
. PARAMETER DarkMoveEnabled
Indicates the current Mouse Acceleration State
#>
Param ( $MouseAccelerationEnabled )
Try {
if ( $MouseAccelerationEnabled -eq $false ) {
Write-Host " Enabling Mouse Acceleration "
$MouseSpeed = 1
$MouseThreshold1 = 6
$MouseThreshold2 = 10
}
else {
Write-Host " Disabling Mouse Acceleration "
$MouseSpeed = 0
$MouseThreshold1 = 0
$MouseThreshold2 = 0
}
$Path = " HKCU:\Control Panel\Mouse "
Set-ItemProperty -Path $Path -Name MouseSpeed -Value $MouseSpeed
Set-ItemProperty -Path $Path -Name MouseThreshold1 -Value $MouseThreshold1
Set-ItemProperty -Path $Path -Name MouseThreshold2 -Value $MouseThreshold2
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
function Invoke-WinUtilNumLock {
<#
. SYNOPSIS
Disables / Enables NumLock on startup
. PARAMETER Enabled
Indicates whether to enable or disable Numlock on startup
#>
Param ( $Enabled )
Try {
if ( $Enabled -eq $false ) {
Write-Host " Enabling Numlock on startup "
$value = 2
}
else {
Write-Host " Disabling Numlock on startup "
$value = 0
}
$Path = " HKCU:\Control Panel\Keyboard "
Set-ItemProperty -Path $Path -Name InitialKeyboardIndicators -Value $value
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-05-16 14:52:11 -05:00
function Invoke-WinUtilScript {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the provided scriptblock . Intended for things that can ' t be handled with the other function s .
. PARAMETER Name
The name of the scriptblock being invoked
. PARAMETER scriptblock
The scriptblock to be invoked
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-05-16 14:52:11 -05:00
$Scriptblock = [ scriptblock ] :: Create ( { " Write-output 'Hello World' " } )
Invoke-WinUtilScript -ScriptBlock $scriptblock -Name " Hello World "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
#>
param (
$Name ,
[ scriptblock ] $scriptblock
)
Try {
Write-Host " Running Script for $name "
Invoke-Command $scriptblock -ErrorAction Stop
}
Catch [ System.Management.Automation.CommandNotFoundException ] {
Write-Warning " The specified command was not found. "
Write-Warning $PSItem . Exception . message
}
Catch [ System.Management.Automation.RuntimeException ] {
Write-Warning " A runtime exception occurred. "
Write-Warning $PSItem . Exception . message
}
Catch [ System.Security.SecurityException ] {
Write-Warning " A security exception occurred. "
Write-Warning $PSItem . Exception . message
}
Catch [ System.UnauthorizedAccessException ] {
Write-Warning " Access denied. You do not have permission to perform this operation. "
Write-Warning $PSItem . Exception . message
}
Catch {
# Generic catch block to handle any other type of exception
Write-Warning " Unable to run script for $name due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
}
2023-11-14 15:45:48 -06:00
function Invoke-WinUtilShowExt {
<#
. SYNOPSIS
Disables / Enables Show file Extentions
. PARAMETER Enabled
Indicates whether to enable or disable Show file extentions
#>
Param ( $Enabled )
Try {
if ( $Enabled -eq $false ) {
Write-Host " Showing file extentions "
$value = 0
}
else {
Write-Host " hiding file extensions "
$value = 1
}
$Path = " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced "
Set-ItemProperty -Path $Path -Name HideFileExt -Value $value
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-05-16 14:52:11 -05:00
function Invoke-WinUtilTweaks {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the function associated with each provided checkbox
. PARAMETER CheckBox
The checkbox to invoke
. PARAMETER undo
Indicates whether to undo the operation contained in the checkbox
2023-05-16 14:52:11 -05:00
#>
param (
$CheckBox ,
$undo = $false
)
if ( $undo ) {
$Values = @ {
Registry = " OriginalValue "
ScheduledTask = " OriginalState "
Service = " OriginalType "
2023-07-13 15:46:00 -05:00
ScriptType = " UndoScript "
2023-05-16 14:52:11 -05:00
}
2023-07-13 15:46:00 -05:00
2023-10-19 17:12:55 -05:00
}
2023-05-16 14:52:11 -05:00
Else {
$Values = @ {
Registry = " Value "
ScheduledTask = " State "
Service = " StartupType "
2023-07-13 15:46:00 -05:00
ScriptType = " InvokeScript "
2023-05-16 14:52:11 -05:00
}
}
if ( $sync . configs . tweaks . $CheckBox . ScheduledTask ) {
$sync . configs . tweaks . $CheckBox . ScheduledTask | ForEach-Object {
Set-WinUtilScheduledTask -Name $psitem . Name -State $psitem . $ ( $values . ScheduledTask )
}
}
if ( $sync . configs . tweaks . $CheckBox . service ) {
$sync . configs . tweaks . $CheckBox . service | ForEach-Object {
Set-WinUtilService -Name $psitem . Name -StartupType $psitem . $ ( $values . Service )
}
}
2023-07-13 15:46:00 -05:00
if ( $sync . configs . tweaks . $CheckBox . registry ) {
$sync . configs . tweaks . $CheckBox . registry | ForEach-Object {
Set-WinUtilRegistry -Name $psitem . Name -Path $psitem . Path -Type $psitem . Type -Value $psitem . $ ( $values . registry )
}
}
if ( $sync . configs . tweaks . $CheckBox . $ ( $values . ScriptType ) ) {
$sync . configs . tweaks . $CheckBox . $ ( $values . ScriptType ) | ForEach-Object {
$Scriptblock = [ scriptblock ] :: Create ( $psitem )
Invoke-WinUtilScript -ScriptBlock $scriptblock -Name $CheckBox
}
}
2023-05-16 14:52:11 -05:00
if ( ! $undo ) {
if ( $sync . configs . tweaks . $CheckBox . appx ) {
$sync . configs . tweaks . $CheckBox . appx | ForEach-Object {
Remove-WinUtilAPPX -Name $psitem
}
}
2023-07-13 15:46:00 -05:00
2023-05-16 14:52:11 -05:00
}
}
2023-11-14 15:45:48 -06:00
function Invoke-WinUtilVerboseLogon {
<#
. SYNOPSIS
Disables / Enables VerboseLogon Messages
. PARAMETER Enabled
Indicates whether to enable or disable VerboseLogon messages
#>
Param ( $Enabled )
Try {
if ( $Enabled -eq $false ) {
Write-Host " Enabling Verbose Logon Messages "
$value = 1
}
else {
Write-Host " Disabling Verbose Logon Messages "
$value = 0
}
$Path = " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System "
Set-ItemProperty -Path $Path -Name VerboseStatus -Value $value
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-05-16 14:52:11 -05:00
function Remove-WinUtilAPPX {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Removes all APPX packages that match the given name
. PARAMETER Name
The name of the APPX package to remove
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-05-16 14:52:11 -05:00
Remove-WinUtilAPPX -Name " Microsoft.Microsoft3DViewer "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
#>
param (
$Name
)
Try {
Write-Host " Removing $Name "
Get-AppxPackage " * $Name * " | Remove-AppxPackage -ErrorAction SilentlyContinue
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like " * $Name * " | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
}
Catch [ System.Exception ] {
if ( $psitem . Exception . Message -like " *The requested operation requires elevation* " ) {
Write-Warning " Unable to uninstall $name due to a Security Exception "
}
Else {
Write-Warning " Unable to uninstall $name due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
Catch {
Write-Warning " Unable to uninstall $name due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
function Set-WinUtilDNS {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Sets the DNS of all interfaces that are in the " Up " state . It will lookup the values from the DNS . Json file
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER DNSProvider
The DNS provider to set the DNS server to
. EXAMPLE
2023-05-16 14:52:11 -05:00
Set-WinUtilDNS -DNSProvider " google "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
#>
param ( $DNSProvider )
if ( $DNSProvider -eq " Default " ) { return }
Try {
$Adapters = Get-NetAdapter | Where-Object { $_ . Status -eq " Up " }
Write-Host " Ensuring DNS is set to $DNSProvider on the following interfaces "
Write-Host $ ( $Adapters | Out-String )
Foreach ( $Adapter in $Adapters ) {
if ( $DNSProvider -eq " DHCP " ) {
Set-DnsClientServerAddress -InterfaceIndex $Adapter . ifIndex -ResetServerAddresses
}
Else {
Set-DnsClientServerAddress -InterfaceIndex $Adapter . ifIndex -ServerAddresses ( " $( $sync . configs . dns . $DNSProvider . Primary ) " , " $( $sync . configs . dns . $DNSProvider . Secondary ) " )
}
}
}
Catch {
Write-Warning " Unable to set DNS Provider due to an unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
function Set-WinUtilRegistry {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Modifies the registry based on the given inputs
. PARAMETER Name
The name of the key to modify
. PARAMETER Path
The path to the key
. PARAMETER Type
The type of value to set the key to
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER Value
The value to set the key to
. EXAMPLE
2023-05-16 14:52:11 -05:00
Set-WinUtilRegistry -Name " PublishUserActivities " -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Type " DWord " -Value " 0 "
2023-10-19 17:12:55 -05:00
#>
2023-05-16 14:52:11 -05:00
param (
$Name ,
$Path ,
$Type ,
$Value
)
2023-10-19 17:12:55 -05:00
Try {
2023-05-16 14:52:11 -05:00
if ( ! ( Test-Path 'HKU:\' ) ) { New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS }
If ( ! ( Test-Path $Path ) ) {
Write-Host " $Path was not found, Creating... "
New-Item -Path $Path -Force -ErrorAction Stop | Out-Null
}
Write-Host " Set $Path \ $Name to $Value "
Set-ItemProperty -Path $Path -Name $Name -Type $Type -Value $Value -Force -ErrorAction Stop | Out-Null
}
Catch [ System.Security.SecurityException ] {
Write-Warning " Unable to set $Path \ $Name to $Value due to a Security Exception "
}
Catch [ System.Management.Automation.ItemNotFoundException ] {
Write-Warning $psitem . Exception . ErrorRecord
}
Catch {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . StackTrace
}
}
2023-08-08 16:44:10 -05:00
function Set-WinUtilRestorePoint {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Creates a Restore Point
#>
2023-08-08 16:44:10 -05:00
# 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: $_ "
}
2023-09-07 14:37:27 -05:00
# Check if the SystemRestorePointCreationFrequency value exists
$exists = Get-ItemProperty -path " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore " -name " SystemRestorePointCreationFrequency " -ErrorAction SilentlyContinue
if ( $null -eq $exists ) {
write-host 'Changing system to allow multiple restore points per day'
2023-10-19 17:12:55 -05:00
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore " -Name " SystemRestorePointCreationFrequency " -Value " 0 " -Type DWord -Force -ErrorAction Stop | Out-Null
2023-09-07 14:37:27 -05:00
}
2023-08-08 16:44:10 -05:00
# 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 "
2023-10-19 17:12:55 -05:00
2023-08-08 16:44:10 -05:00
Checkpoint-Computer -Description $description -RestorePointType " MODIFY_SETTINGS "
2023-09-07 14:37:27 -05:00
Write-Host -ForegroundColor Green " System Restore Point Created Successfully "
2023-08-08 16:44:10 -05:00
}
}
2023-05-16 14:52:11 -05:00
function Set-WinUtilScheduledTask {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Enables / Disables the provided Scheduled Task
. PARAMETER Name
The path to the Scheduled Task
. PARAMETER State
The State to set the Task to
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-05-16 14:52:11 -05:00
Set-WinUtilScheduledTask -Name " Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser " -State " Disabled "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
#>
param (
$Name ,
$State
)
Try {
if ( $State -eq " Disabled " ) {
Write-Host " Disabling Scheduled Task $Name "
Disable-ScheduledTask -TaskName $Name -ErrorAction Stop
}
if ( $State -eq " Enabled " ) {
Write-Host " Enabling Scheduled Task $Name "
Enable-ScheduledTask -TaskName $Name -ErrorAction Stop
}
}
Catch [ System.Exception ] {
if ( $psitem . Exception . Message -like " *The system cannot find the file specified* " ) {
Write-Warning " Scheduled Task $name was not Found "
}
Else {
Write-Warning " Unable to set $Name due to unhandled exception "
Write-Warning $psitem . Exception . Message
}
}
Catch {
Write-Warning " Unable to run script for $name due to unhandled exception "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-05-16 14:52:11 -05:00
}
}
Function Set-WinUtilService {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Changes the startup type of the given service
. PARAMETER Name
The name of the service to modify
. PARAMETER StartupType
The startup type to set the service to
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-05-16 14:52:11 -05:00
Set-WinUtilService -Name " HomeGroupListener " -StartupType " Manual "
2023-10-19 17:12:55 -05:00
#>
2023-05-16 14:52:11 -05:00
param (
$Name ,
$StartupType
)
2023-07-15 10:42:11 -05:00
try {
Write-Host " Setting Service $Name to $StartupType "
2023-10-19 17:12:55 -05:00
2023-07-15 10:42:11 -05:00
# Check if the service exists
$service = Get-Service -Name $Name -ErrorAction Stop
2023-10-19 17:12:55 -05:00
2023-07-15 10:42:11 -05:00
# Service exists, proceed with changing properties
$service | Set-Service -StartupType $StartupType -ErrorAction Stop
2023-05-16 14:52:11 -05:00
}
2023-07-15 10:42:11 -05:00
catch [ System.ServiceProcess.ServiceNotFoundException ] {
Write-Warning " Service $Name was not found "
2023-05-16 14:52:11 -05:00
}
2023-07-15 10:42:11 -05:00
catch {
2023-05-16 14:52:11 -05:00
Write-Warning " Unable to set $Name due to unhandled exception "
2023-07-15 10:42:11 -05:00
Write-Warning $_ . Exception . Message
2023-05-16 14:52:11 -05:00
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
}
2023-07-13 15:46:00 -05:00
function Set-WinUtilUITheme {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Sets the theme of the XAML file
. PARAMETER inputXML
A string representing the XAML object to modify
. PARAMETER themeName
The name of the theme to set the XAML to . Defaults to 'matrix'
2023-07-13 15:46:00 -05:00
2023-10-19 17:12:55 -05:00
. EXAMPLE
2023-07-13 15:46:00 -05:00
Set-WinUtilUITheme -inputXAML $inputXAML
2023-10-19 17:12:55 -05:00
2023-07-13 15:46:00 -05:00
#>
param
(
[ Parameter ( Mandatory = $true , Position = 0 ) ]
[ string ] $inputXML ,
[ Parameter ( Mandatory = $false , Position = 1 ) ]
[ string ] $themeName = 'matrix'
)
try {
# Convert the JSON to a PowerShell object
$themes = $sync . configs . themes
# Select the specified theme
$selectedTheme = $themes . $themeName
if ( $selectedTheme ) {
# Loop through all key-value pairs in the selected theme
foreach ( $property in $selectedTheme . PSObject . Properties ) {
$key = $property . Name
$value = $property . Value
# Add curly braces around the key
$formattedKey = " { $key } "
# Replace the key with the value in the input XML
$inputXML = $inputXML . Replace ( $formattedKey , $value )
}
}
else {
Write-Host " Theme ' $themeName ' not found. "
}
}
catch {
Write-Warning " Unable to apply theme "
2023-10-19 17:12:55 -05:00
Write-Warning $psitem . Exception . StackTrace
2023-07-13 15:46:00 -05:00
}
return $inputXML ;
}
2023-05-16 14:52:11 -05:00
function Test-WinUtilPackageManager {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Checks if Winget and / or Choco are installed
. PARAMETER winget
Check if Winget is installed
. PARAMETER choco
Check if Chocolatey is installed
2023-05-16 14:52:11 -05:00
#>
Param (
[ System.Management.Automation.SwitchParameter ] $winget ,
[ System.Management.Automation.SwitchParameter ] $choco
)
if ( $winget ) {
if ( Test-Path ~ \ AppData \ Local \ Microsoft \ WindowsApps \ winget . exe ) {
return $true
}
}
if ( $choco ) {
if ( ( Get-Command -Name choco -ErrorAction Ignore ) -and ( $chocoVersion = ( Get-Item " $env:ChocolateyInstall \choco.exe " -ErrorAction Ignore ) . VersionInfo . ProductVersion ) ) {
return $true
}
}
return $false
}
Function Update-WinUtilProgramWinget {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
This will update all programs using Winget
2023-05-16 14:52:11 -05:00
#>
[ ScriptBlock ] $wingetinstall = {
$host . ui . RawUI . WindowTitle = " "" Winget Install "" "
Start-Transcript $ENV:TEMP \ winget-update . log -Append
winget upgrade - -all
Pause
}
$global:WinGetInstall = Start-Process -Verb runas powershell -ArgumentList " -command invoke-command -scriptblock { $wingetinstall } -argumentlist ' $( $ProgramsToInstall -join " , " ) ' " -PassThru
}
function Invoke-WPFButton {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the function associated with the clicked button
. PARAMETER Button
The name of the button that was clicked
2023-05-16 14:52:11 -05:00
#>
2023-10-19 17:12:55 -05:00
Param ( [ string ] $Button )
# Use this to get the name of the button
2023-05-16 14:52:11 -05:00
#[System.Windows.MessageBox]::Show("$Button","Chris Titus Tech's Windows Utility","OK","Info")
Switch -Wildcard ( $Button ) {
" WPFTab?BT " { Invoke-WPFTab $Button }
" WPFinstall " { Invoke-WPFInstall }
" WPFuninstall " { Invoke-WPFUnInstall }
" WPFInstallUpgrade " { Invoke-WPFInstallUpgrade }
" WPFdesktop " { Invoke-WPFPresets " Desktop " }
" WPFlaptop " { Invoke-WPFPresets " laptop " }
" WPFminimal " { Invoke-WPFPresets " minimal " }
" WPFexport " { Invoke-WPFImpex -type " export " -CheckBox " WPFTweaks " }
" WPFimport " { Invoke-WPFImpex -type " import " -CheckBox " WPFTweaks " }
" WPFexportWinget " { Invoke-WPFImpex -type " export " -CheckBox " WPFInstall " }
" WPFimportWinget " { Invoke-WPFImpex -type " import " -CheckBox " WPFInstall " }
" WPFclear " { Invoke-WPFPresets -preset $null -imported $true }
" WPFclearWinget " { Invoke-WPFPresets -preset $null -imported $true -CheckBox " WPFInstall " }
" WPFtweaksbutton " { Invoke-WPFtweaksbutton }
" WPFAddUltPerf " { Invoke-WPFUltimatePerformance -State " Enabled " }
" WPFRemoveUltPerf " { Invoke-WPFUltimatePerformance -State " Disabled " }
" WPFundoall " { Invoke-WPFundoall }
" WPFFeatureInstall " { Invoke-WPFFeatureInstall }
" WPFPanelDISM " { Invoke-WPFPanelDISM }
" WPFPanelAutologin " { Invoke-WPFPanelAutologin }
" WPFPanelcontrol " { Invoke-WPFControlPanel -Panel $button }
" WPFPanelnetwork " { Invoke-WPFControlPanel -Panel $button }
" WPFPanelpower " { Invoke-WPFControlPanel -Panel $button }
2023-08-02 19:43:52 -05:00
" WPFPanelregion " { Invoke-WPFControlPanel -Panel $button }
2023-05-16 14:52:11 -05:00
" WPFPanelsound " { Invoke-WPFControlPanel -Panel $button }
" WPFPanelsystem " { Invoke-WPFControlPanel -Panel $button }
" WPFPaneluser " { Invoke-WPFControlPanel -Panel $button }
" WPFUpdatesdefault " { Invoke-WPFUpdatesdefault }
" WPFFixesUpdate " { Invoke-WPFFixesUpdate }
2023-07-13 15:46:00 -05:00
" WPFFixesNetwork " { Invoke-WPFFixesNetwork }
2023-05-16 14:52:11 -05:00
" WPFUpdatesdisable " { Invoke-WPFUpdatesdisable }
" WPFUpdatessecurity " { Invoke-WPFUpdatessecurity }
" WPFWinUtilShortcut " { Invoke-WPFShortcut -ShortcutToAdd " WinUtil " }
" WPFGetInstalled " { Invoke-WPFGetInstalled -CheckBox " winget " }
" WPFGetInstalledTweaks " { Invoke-WPFGetInstalled -CheckBox " tweaks " }
}
}
function Invoke-WPFControlPanel {
2023-10-19 17:12:55 -05:00
<#
. SYNOPSIS
Opens the requested legacy panel
. PARAMETER Panel
The panel to open
2023-05-16 14:52:11 -05:00
#>
param ( $Panel )
switch ( $Panel ) {
" WPFPanelcontrol " { cmd / c control }
" WPFPanelnetwork " { cmd / c ncpa . cpl }
" WPFPanelpower " { cmd / c powercfg . cpl }
2023-08-02 19:43:52 -05:00
" WPFPanelregion " { cmd / c intl . cpl }
2023-05-16 14:52:11 -05:00
" WPFPanelsound " { cmd / c mmsys . cpl }
" WPFPanelsystem " { cmd / c sysdm . cpl }
" WPFPaneluser " { cmd / c " control userpasswords2 " }
}
}
function Invoke-WPFFeatureInstall {
2023-10-19 17:12:55 -05:00
<#
. SYNOPSIS
Installs selected Windows Features
2023-05-16 14:52:11 -05:00
#>
if ( $sync . ProcessRunning ) {
$msg = " Install process is currently running. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$Features = Get-WinUtilCheckBoxes -Group " WPFFeature "
Invoke-WPFRunspace -ArgumentList $Features -ScriptBlock {
param ( $Features )
$sync . ProcessRunning = $true
Invoke-WinUtilFeatureInstall $Features
$sync . ProcessRunning = $false
Write-Host " =================================== "
Write-Host " --- Features are Installed --- "
Write-Host " --- A Reboot may be required --- "
Write-Host " =================================== "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " All features are now installed "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
}
}
2023-07-13 15:46:00 -05:00
function Invoke-WPFFixesNetwork {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Resets various network configurations
2023-07-13 15:46:00 -05:00
#>
2023-07-15 10:42:11 -05:00
2023-08-02 19:43:52 -05:00
Write-Host " Resetting Network with netsh "
2023-10-19 17:12:55 -05:00
# Reset WinSock catalog to a clean state
2023-07-15 10:42:11 -05:00
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " winsock " , " reset "
2023-10-19 17:12:55 -05:00
# Resets WinHTTP proxy setting to DIRECT
2023-07-15 10:42:11 -05:00
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " winhttp " , " reset " , " proxy "
2023-10-19 17:12:55 -05:00
# Removes all user configured IP settings
2023-07-15 10:42:11 -05:00
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " int " , " ip " , " reset "
Write-Host " Process complete. Please reboot your computer. "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Network Reset "
$Messageboxbody = ( " Stock settings loaded. `n Please reboot your computer " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
2023-10-19 17:12:55 -05:00
Write-Host " ========================================== "
Write-Host " -- Network Configuration has been Reset -- "
Write-Host " ========================================== "
2023-07-13 15:46:00 -05:00
}
2023-05-16 14:52:11 -05:00
function Invoke-WPFFixesUpdate {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Performs various tasks in an attempt to repair Windows Update
2023-05-16 14:52:11 -05:00
#>
2023-10-19 17:12:55 -05:00
# Reset Windows Update Script - reregister dlls, services, and remove registry entries
2023-07-15 10:42:11 -05:00
Write-Host " 1. Stopping Windows Update Services... "
2023-05-16 14:52:11 -05:00
Stop-Service -Name BITS
Stop-Service -Name wuauserv
Stop-Service -Name appidsvc
Stop-Service -Name cryptsvc
2023-07-15 10:42:11 -05:00
Write-Host " 2. Remove QMGR Data file... "
2023-05-16 14:52:11 -05:00
Remove-Item " $env:allusersprofile \Application Data\Microsoft\Network\Downloader\qmgr*.dat " -ErrorAction SilentlyContinue
2023-07-15 10:42:11 -05:00
Write-Host " 3. Renaming the Software Distribution and CatRoot Folder... "
2023-05-16 14:52:11 -05:00
Rename-Item $env:systemroot \ SoftwareDistribution SoftwareDistribution . bak -ErrorAction SilentlyContinue
Rename-Item $env:systemroot \ System32 \ Catroot2 catroot2 . bak -ErrorAction SilentlyContinue
2023-07-15 10:42:11 -05:00
Write-Host " 4. Removing old Windows Update log... "
2023-05-16 14:52:11 -05:00
Remove-Item $env:systemroot \ WindowsUpdate . log -ErrorAction SilentlyContinue
2023-07-15 10:42:11 -05:00
Write-Host " 5. Resetting the Windows Update Services to default settings... "
Start-Process -NoNewWindow -FilePath " sc.exe " -ArgumentList " sdset " , " bits " , " D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) "
Start-Process -NoNewWindow -FilePath " sc.exe " -ArgumentList " sdset " , " wuauserv " , " D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) "
2023-05-16 14:52:11 -05:00
Set-Location $env:systemroot \ system32
2023-07-15 10:42:11 -05:00
Write-Host " 6. Registering some DLLs... "
$DLLs = @ (
" atl.dll " , " urlmon.dll " , " mshtml.dll " , " shdocvw.dll " , " browseui.dll " ,
" jscript.dll " , " vbscript.dll " , " scrrun.dll " , " msxml.dll " , " msxml3.dll " ,
" msxml6.dll " , " actxprxy.dll " , " softpub.dll " , " wintrust.dll " , " dssenh.dll " ,
" rsaenh.dll " , " gpkcsp.dll " , " sccbase.dll " , " slbcsp.dll " , " cryptdlg.dll " ,
" oleaut32.dll " , " ole32.dll " , " shell32.dll " , " initpki.dll " , " wuapi.dll " ,
" wuaueng.dll " , " wuaueng1.dll " , " wucltui.dll " , " wups.dll " , " wups2.dll " ,
" wuweb.dll " , " qmgr.dll " , " qmgrprxy.dll " , " wucltux.dll " , " muweb.dll " , " wuwebv.dll "
)
foreach ( $dll in $DLLs ) {
Start-Process -NoNewWindow -FilePath " regsvr32.exe " -ArgumentList " /s " , $dll
}
Write-Host " 7) Removing WSUS client settings... "
if ( Test-Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate " ) {
Start-Process -NoNewWindow -FilePath " REG " -ArgumentList " DELETE " , " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate " , " /v " , " AccountDomainSid " , " /f "
Start-Process -NoNewWindow -FilePath " REG " -ArgumentList " DELETE " , " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate " , " /v " , " PingID " , " /f "
Start-Process -NoNewWindow -FilePath " REG " -ArgumentList " DELETE " , " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate " , " /v " , " SusClientId " , " /f "
}
Write-Host " 8) Resetting the WinSock... "
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " winsock " , " reset "
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " winhttp " , " reset " , " proxy "
Start-Process -NoNewWindow -FilePath " netsh " -ArgumentList " int " , " ip " , " reset "
Write-Host " 9) Delete all BITS jobs... "
2023-05-16 14:52:11 -05:00
Get-BitsTransfer | Remove-BitsTransfer
2023-07-15 10:42:11 -05:00
Write-Host " 10) Attempting to install the Windows Update Agent... "
If ( [ System.Environment ] :: Is64BitOperatingSystem ) {
Start-Process -NoNewWindow -FilePath " wusa " -ArgumentList " Windows8-RT-KB2937636-x64 " , " /quiet "
}
else {
Start-Process -NoNewWindow -FilePath " wusa " -ArgumentList " Windows8-RT-KB2937636-x86 " , " /quiet "
}
2023-05-16 14:52:11 -05:00
2023-07-15 10:42:11 -05:00
Write-Host " 11) Starting Windows Update Services... "
2023-05-16 14:52:11 -05:00
Start-Service -Name BITS
Start-Service -Name wuauserv
Start-Service -Name appidsvc
Start-Service -Name cryptsvc
2023-07-15 10:42:11 -05:00
Write-Host " 12) Forcing discovery... "
Start-Process -NoNewWindow -FilePath " wuauclt " -ArgumentList " /resetauthorization " , " /detectnow "
2023-05-16 14:52:11 -05:00
Write-Host " Process complete. Please reboot your computer. "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Reset Windows Update "
$Messageboxbody = ( " Stock settings loaded. `n Please reboot your computer " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
2023-10-19 17:12:55 -05:00
Write-Host " =============================================== "
Write-Host " -- Reset All Windows Update Settings to Stock - "
Write-Host " =============================================== "
2023-05-16 14:52:11 -05:00
}
Function Invoke-WPFFormVariables {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Prints the logo
2023-05-16 14:52:11 -05:00
#>
#If ($global:ReadmeDisplay -ne $true) { Write-Host "If you need to reference this display again, run Get-FormVariables" -ForegroundColor Yellow; $global:ReadmeDisplay = $true }
Write-Host " "
Write-Host " CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT "
Write-Host " CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T "
Write-Host " CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T "
Write-Host " C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T "
Write-Host " C:::::C CCCCCCTTTTTT T:::::T TTTTTTTTTTTT T:::::T TTTTTT "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C T:::::T T:::::T "
Write-Host " C:::::C CCCCCC T:::::T T:::::T "
Write-Host " C:::::CCCCCCCC::::C TT:::::::TT TT:::::::TT "
Write-Host " CC:::::::::::::::C T:::::::::T T:::::::::T "
Write-Host " CCC::::::::::::C T:::::::::T T:::::::::T "
Write-Host " CCCCCCCCCCCCC TTTTTTTTTTT TTTTTTTTTTT "
Write-Host " "
Write-Host " ====Chris Titus Tech===== "
Write-Host " =====Windows Toolbox===== "
#====DEBUG GUI Elements====
#Write-Host "Found the following interactable elements from our form" -ForegroundColor Cyan
#get-variable WPF*
}
function Invoke-WPFGetInstalled {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the function that gets the checkboxes to check in a new runspace
. PARAMETER checkbox
Indicates whether to check for installed 'winget' programs or applied 'tweaks'
2023-05-16 14:52:11 -05:00
#>
param ( $checkbox )
if ( $sync . ProcessRunning ) {
$msg = " Install process is currently running. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
if ( ! ( Test-WinUtilPackageManager -winget ) -and $checkbox -eq " winget " ) {
Write-Host " =========================================== "
Write-Host " -- Winget is not installed --- "
Write-Host " =========================================== "
return
}
Invoke-WPFRunspace -ArgumentList $checkbox -ScriptBlock {
param ( $checkbox )
$sync . ProcessRunning = $true
if ( $checkbox -eq " winget " ) {
Write-Host " Getting Installed Programs... "
}
if ( $checkbox -eq " tweaks " ) {
Write-Host " Getting Installed Tweaks... "
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$Checkboxes = Invoke-WinUtilCurrentSystem -CheckBox $checkbox
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$sync . form . Dispatcher . invoke ( {
foreach ( $checkbox in $Checkboxes ) {
$sync . $checkbox . ischecked = $True
}
} )
Write-Host " Done... "
$sync . ProcessRunning = $false
}
}
function Invoke-WPFImpex {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Handles importing and exporting of the checkboxes checked for the tweaks section
. PARAMETER type
Indicates whether to 'import' or 'export'
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER checkbox
The checkbox to export to a file or apply the imported file to
. EXAMPLE
2023-05-16 14:52:11 -05:00
Invoke-WPFImpex -type " export "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
#>
param (
$type ,
$checkbox
)
if ( $type -eq " export " ) {
$FileBrowser = New-Object System . Windows . Forms . SaveFileDialog
}
if ( $type -eq " import " ) {
2023-10-19 17:12:55 -05:00
$FileBrowser = New-Object System . Windows . Forms . OpenFileDialog
2023-05-16 14:52:11 -05:00
}
$FileBrowser . InitialDirectory = [ Environment ] :: GetFolderPath ( 'Desktop' )
$FileBrowser . Filter = " JSON Files (*.json)|*.json "
$FileBrowser . ShowDialog ( ) | Out-Null
if ( $FileBrowser . FileName -eq " " ) {
return
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $type -eq " export " ) {
$jsonFile = Get-WinUtilCheckBoxes $checkbox -unCheck $false
$jsonFile | ConvertTo-Json | Out-File $FileBrowser . FileName -Force
}
if ( $type -eq " import " ) {
$jsonFile = Get-Content $FileBrowser . FileName | ConvertFrom-Json
Invoke-WPFPresets -preset $jsonFile -imported $true -CheckBox $checkbox
}
}
function Invoke-WPFInstall {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Installs the selected programs using winget
2023-05-16 14:52:11 -05:00
#>
if ( $sync . ProcessRunning ) {
$msg = " Install process is currently running. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$WingetInstall = Get-WinUtilCheckBoxes -Group " WPFInstall "
if ( $wingetinstall . Count -eq 0 ) {
$WarningMsg = " Please select the program(s) to install "
[ System.Windows.MessageBox ] :: Show ( $WarningMsg , $AppTitle , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
Invoke-WPFRunspace -ArgumentList $WingetInstall -scriptblock {
param ( $WingetInstall )
try {
$sync . ProcessRunning = $true
# Ensure winget is installed
Install-WinUtilWinget
2023-10-19 17:12:55 -05:00
# Install all selected programs in new window
2023-05-16 14:52:11 -05:00
Install-WinUtilProgramWinget -ProgramsToInstall $WingetInstall
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Installs are Finished "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
Write-Host " =========================================== "
Write-Host " -- Installs have finished --- "
Write-Host " =========================================== "
}
Catch {
Write-Host " =========================================== "
Write-Host " -- Winget failed to install --- "
Write-Host " =========================================== "
}
$sync . ProcessRunning = $False
}
}
function Invoke-WPFInstallUpgrade {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the function that upgrades all installed programs using winget
2023-05-16 14:52:11 -05:00
#>
if ( ! ( Test-WinUtilPackageManager -winget ) ) {
Write-Host " =========================================== "
Write-Host " -- Winget is not installed --- "
Write-Host " =========================================== "
return
}
if ( Get-WinUtilInstallerProcess -Process $global:WinGetInstall ) {
2023-08-02 19:43:52 -05:00
$msg = " Install process is currently running. Please check for a powershell window labeled 'Winget Install' "
2023-05-16 14:52:11 -05:00
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
Update-WinUtilProgramWinget
Write-Host " =========================================== "
Write-Host " -- Updates started --- "
Write-Host " -- You can close this window if desired --- "
Write-Host " =========================================== "
}
function Invoke-WPFPanelAutologin {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Enables autologin using Sysinternals Autologon . exe
2023-05-16 14:52:11 -05:00
#>
curl . exe -ss " https://live.sysinternals.com/Autologon.exe " -o $env:temp \ autologin . exe # Official Microsoft recommendation https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
2023-07-13 15:46:00 -05:00
cmd / c $env:temp \ autologin . exe / accepteula
2023-05-16 14:52:11 -05:00
}
function Invoke-WPFPanelDISM {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Checks for system corruption using Chkdsk , SFC , and DISM
. DESCRIPTION
1 . Chkdsk - Fixes disk and filesystem corruption
2 . SFC Run 1 - Fixes system file corruption , and fixes DISM if it was corrupted
3 . DISM - Fixes system image corruption , and fixes SFC ' s system image if it was corrupted
4 . SFC Run 2 - Fixes system file corruption , this time with an almost guaranteed uncorrupted system image
. NOTES
Command Arguments :
1 . Chkdsk
/ Scan - Runs an online scan on the system drive , attempts to fix any corruption , and queues other corruption for fixing on reboot
2 . SFC
/ ScanNow - Performs a scan of the system files and fixes any corruption
3 . DISM - Fixes system image corruption , and fixes SFC ' s system image if it was corrupted
/ Online - Fixes the currently running system image
/ Cleanup-Image - Performs cleanup operations on the image , could remove some unneeded temporary files
/ Restorehealth - Performs a scan of the image and fixes any corruption
2023-05-16 14:52:11 -05:00
#>
Start-Process PowerShell -ArgumentList " Write-Host '(1/4) Chkdsk' -ForegroundColor Green; Chkdsk /scan;
Write-Host '`n(2/4) SFC - 1st scan' -ForegroundColor Green ; sfc / scannow ;
Write-Host '`n(3/4) DISM' -ForegroundColor Green ; DISM / Online / Cleanup-Image / Restorehealth ;
Write-Host '`n(4/4) SFC - 2nd scan' -ForegroundColor Green ; sfc / scannow ;
Read-Host '`nPress Enter to Continue' " -verb runas
}
function Invoke-WPFPresets {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Sets the options in the tweaks panel to the given preset
. PARAMETER preset
The preset to set the options to
. PARAMETER imported
If the preset is imported from a file , defaults to false
. PARAMETER checkbox
The checkbox to set the options to , defaults to 'WPFTweaks'
2023-05-16 14:52:11 -05:00
#>
param (
$preset ,
[ bool ] $imported = $false ,
$checkbox = " WPFTweaks "
)
if ( $imported -eq $true ) {
$CheckBoxesToCheck = $preset
}
Else {
$CheckBoxesToCheck = $sync . configs . preset . $preset
}
if ( $checkbox -eq " WPFTweaks " ) {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " *tweaks* " }
$sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter } | ForEach-Object {
if ( $CheckBoxesToCheck -contains $PSItem . name ) {
$sync . $ ( $PSItem . name ) . ischecked = $true
}
else { $sync . $ ( $PSItem . name ) . ischecked = $false }
}
}
if ( $checkbox -eq " WPFInstall " ) {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object { $psitem -like " WPFInstall* " }
$sync . GetEnumerator ( ) | Where-Object { $psitem . Key -in $filter } | ForEach-Object {
if ( $ ( $sync . configs . applications . $ ( $psitem . name ) . winget ) -in $CheckBoxesToCheck ) {
$sync . $ ( $PSItem . name ) . ischecked = $true
}
else { $sync . $ ( $PSItem . name ) . ischecked = $false }
}
}
}
function Invoke-WPFRunspace {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Creates and invokes a runspace using the given scriptblock and argumentlist
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
. PARAMETER ScriptBlock
The scriptblock to invoke in the runspace
. PARAMETER ArgumentList
A list of arguments to pass to the runspace
. EXAMPLE
Invoke-WPFRunspace `
-ScriptBlock $sync . ScriptsInstallPrograms `
-ArgumentList " Installadvancedip,Installbitwarden " `
2023-05-16 14:52:11 -05:00
#>
[ CmdletBinding ( ) ]
Param (
$ScriptBlock ,
$ArgumentList
2023-10-19 17:12:55 -05:00
)
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
# Create a PowerShell instance
2023-05-16 14:52:11 -05:00
$script:powershell = [ powershell ] :: Create ( )
2023-10-19 17:12:55 -05:00
# Add Scriptblock and Arguments to runspace
2023-05-16 14:52:11 -05:00
$script:powershell . AddScript ( $ScriptBlock )
$script:powershell . AddArgument ( $ArgumentList )
$script:powershell . RunspacePool = $sync . runspace
2023-10-19 17:12:55 -05:00
# Execute the RunspacePool
2023-05-16 14:52:11 -05:00
$script:handle = $script:powershell . BeginInvoke ( )
2023-10-19 17:12:55 -05:00
# Clean up the RunspacePool threads when they are complete, and invoke the garbage collector to clean up the memory
2023-05-16 14:52:11 -05:00
if ( $script:handle . IsCompleted )
{
$script:powershell . EndInvoke ( $script:handle )
$script:powershell . Dispose ( )
$sync . runspace . Dispose ( )
$sync . runspace . Close ( )
[ System.GC ] :: Collect ( )
}
}
function Invoke-WPFShortcut {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Creates a shortcut and prompts for a save location
. PARAMETER ShortcutToAdd
The name of the shortcut to add
2023-05-16 14:52:11 -05:00
#>
param ( $ShortcutToAdd )
Switch ( $ShortcutToAdd ) {
" WinUtil " {
2023-11-14 15:45:48 -06:00
$SourceExe = " $env:SystemRoot \System32\WindowsPowerShell\v1.0\powershell.exe "
2023-05-16 14:52:11 -05:00
$IRM = 'irm https://christitus.com/win | iex'
$Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList'
$ArgumentsToSourceExe = " $powershell ' $IRM ' "
$DestinationName = " WinUtil.lnk "
}
}
$FileBrowser = New-Object System . Windows . Forms . SaveFileDialog
$FileBrowser . InitialDirectory = [ Environment ] :: GetFolderPath ( 'Desktop' )
$FileBrowser . Filter = " Shortcut Files (*.lnk)|*.lnk "
$FileBrowser . FileName = $DestinationName
$FileBrowser . ShowDialog ( ) | Out-Null
$WshShell = New-Object -comObject WScript . Shell
$Shortcut = $WshShell . CreateShortcut ( $FileBrowser . FileName )
$Shortcut . TargetPath = $SourceExe
$Shortcut . Arguments = $ArgumentsToSourceExe
$Shortcut . Save ( )
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host " Shortcut for $ShortcutToAdd has been saved to $( $FileBrowser . FileName ) "
}
function Invoke-WPFTab {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Sets the selected tab to the tab that was clicked
. PARAMETER ClickedTab
The name of the tab that was clicked
2023-05-16 14:52:11 -05:00
#>
Param ( $ClickedTab )
$Tabs = Get-WinUtilVariables | Where-Object { $psitem -like " WPFTab?BT " }
$TabNav = Get-WinUtilVariables | Where-Object { $psitem -like " WPFTabNav " }
$x = [ int ] ( $ClickedTab -replace " WPFTab " , " " -replace " BT " , " " ) - 1
0 . . ( $Tabs . Count -1 ) | ForEach-Object {
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
if ( $x -eq $psitem ) {
$sync . $TabNav . Items [ $psitem ] . IsSelected = $true
}
else {
$sync . $TabNav . Items [ $psitem ] . IsSelected = $false
}
}
}
2023-07-27 16:06:41 -05:00
function Invoke-WPFToggle {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the scriptblock for the given toggle
. PARAMETER Button
The name of the toggle to invoke
2023-07-27 16:06:41 -05:00
#>
2023-10-19 17:12:55 -05:00
Param ( [ string ] $Button )
# Use this to get the name of the button
2023-07-27 16:06:41 -05:00
#[System.Windows.MessageBox]::Show("$Button","Chris Titus Tech's Windows Utility","OK","Info")
Switch -Wildcard ( $Button ) {
" WPFToggleDarkMode " { Invoke-WinUtilDarkMode -DarkMoveEnabled $ ( Get-WinUtilToggleStatus WPFToggleDarkMode ) }
" WPFToggleBingSearch " { Invoke-WinUtilBingSearch $ ( Get-WinUtilToggleStatus WPFToggleBingSearch ) }
2023-11-14 15:45:48 -06:00
" WPFToggleNumLock " { Invoke-WinUtilNumLock $ ( Get-WinUtilToggleStatus WPFToggleNumLock ) }
" WPFToggleVerboseLogon " { Invoke-WinUtilVerboseLogon $ ( Get-WinUtilToggleStatus WPFToggleVerboseLogon ) }
" WPFToggleShowExt " { Invoke-WinUtilShowExt $ ( Get-WinUtilToggleStatus WPFToggleShowExt ) }
" WPFToggleMouseAcceleration " { Invoke-WinUtilMouseAcceleration $ ( Get-WinUtilToggleStatus WPFToggleMouseAcceleration ) }
2023-07-27 16:06:41 -05:00
}
}
2023-05-16 14:52:11 -05:00
function Invoke-WPFtweaksbutton {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Invokes the function s associated with each group of checkboxes
2023-05-16 14:52:11 -05:00
#>
if ( $sync . ProcessRunning ) {
$msg = " Install process is currently running. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$Tweaks = Get-WinUtilCheckBoxes -Group " WPFTweaks "
Set-WinUtilDNS -DNSProvider $sync [ " WPFchangedns " ] . text
if ( $tweaks . count -eq 0 -and $sync [ " WPFchangedns " ] . text -eq " Default " ) {
$msg = " Please check the tweaks you wish to perform. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
param ( $Tweaks )
$sync . ProcessRunning = $true
2023-10-19 17:12:55 -05:00
Set-WinUtilRestorePoint
2023-05-16 14:52:11 -05:00
Foreach ( $tweak in $tweaks ) {
Invoke-WinUtilTweaks $tweak
}
$sync . ProcessRunning = $false
Write-Host " ================================= "
Write-Host " -- Tweaks are Finished --- "
Write-Host " ================================= "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Tweaks are Finished "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
}
}
Function Invoke-WPFUltimatePerformance {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Creates or removes the Ultimate Performance power scheme
. PARAMETER State
Indicates whether to enable or disable the Ultimate Performance power scheme
2023-05-16 14:52:11 -05:00
#>
param ( $State )
Try {
if ( $state -eq " Enabled " ) {
2023-10-19 17:12:55 -05:00
# Define the name and GUID of the power scheme
2023-05-16 14:52:11 -05:00
$powerSchemeName = " Ultimate Performance "
$powerSchemeGuid = " e9a42b02-d5df-448d-aa00-03f14749eb61 "
# Get all power schemes
$schemes = powercfg / list | Out-String -Stream
2023-10-19 17:12:55 -05:00
# Check if the power scheme already exists
2023-05-16 14:52:11 -05:00
$ultimateScheme = $schemes | Where-Object { $_ -match $powerSchemeName }
if ( $null -eq $ultimateScheme ) {
Write-Host " Power scheme ' $powerSchemeName ' not found. Adding... "
# Add the power scheme
powercfg / duplicatescheme $powerSchemeGuid
2023-07-15 10:42:11 -05:00
powercfg -attributes SUB_SLEEP 7bc4a2f9 -d8fc - 4469 -b07b - 33eb785aaca0 -ATTRIB_HIDE
2023-10-19 17:12:55 -05:00
powercfg -setactive $powerSchemeGuid
powercfg -change -monitor -timeout -ac 0
2023-05-16 14:52:11 -05:00
Write-Host " Power scheme added successfully. "
}
else {
Write-Host " Power scheme ' $powerSchemeName ' already exists. "
2023-10-19 17:12:55 -05:00
}
2023-05-16 14:52:11 -05:00
}
elseif ( $state -eq " Disabled " ) {
2023-10-19 17:12:55 -05:00
# Define the name of the power scheme
2023-05-16 14:52:11 -05:00
$powerSchemeName = " Ultimate Performance "
# Get all power schemes
$schemes = powercfg / list | Out-String -Stream
2023-10-19 17:12:55 -05:00
# Find the scheme to be removed
2023-05-16 14:52:11 -05:00
$ultimateScheme = $schemes | Where-Object { $_ -match $powerSchemeName }
# If the scheme exists, remove it
if ( $null -ne $ultimateScheme ) {
# Extract the GUID of the power scheme
$guid = ( $ultimateScheme -split '\s+' ) [ 3 ]
if ( $null -ne $guid ) {
Write-Host " Found power scheme ' $powerSchemeName ' with GUID $guid . Removing... "
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
# Remove the power scheme
powercfg / delete $guid
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host " Power scheme removed successfully. "
}
else {
Write-Host " Could not find GUID for power scheme ' $powerSchemeName '. "
}
}
else {
Write-Host " Power scheme ' $powerSchemeName ' not found. "
}
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
}
Catch {
Write-Warning $psitem . Exception . Message
}
}
function Invoke-WPFundoall {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Undoes every selected tweak
2023-05-16 14:52:11 -05:00
#>
if ( $sync . ProcessRunning ) {
$msg = " Install process is currently running. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$Tweaks = Get-WinUtilCheckBoxes -Group " WPFTweaks "
if ( $tweaks . count -eq 0 ) {
$msg = " Please check the tweaks you wish to undo. "
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
2023-10-19 17:12:55 -05:00
}
2023-05-16 14:52:11 -05:00
Invoke-WPFRunspace -ArgumentList $Tweaks -ScriptBlock {
param ( $Tweaks )
$sync . ProcessRunning = $true
Foreach ( $tweak in $tweaks ) {
Invoke-WinUtilTweaks $tweak -undo $true
}
$sync . ProcessRunning = $false
Write-Host " ================================== "
Write-Host " --- Undo Tweaks are Finished --- "
Write-Host " ================================== "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Tweaks are Finished "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
}
<#
Write-Host " Creating Restore Point in case something bad happens "
Enable-ComputerRestore -Drive " $env:SystemDrive "
Checkpoint-Computer -Description " RestorePoint1 " -RestorePointType " MODIFY_SETTINGS "
Write-Host " Enabling Telemetry... "
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection " -Name " AllowTelemetry " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection " -Name " AllowTelemetry " -Type DWord -Value 1
Write-Host " Enabling Wi-Fi Sense "
Set-ItemProperty -Path " HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting " -Name " Value " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots " -Name " Value " -Type DWord -Value 1
Write-Host " Enabling Application suggestions... "
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " ContentDeliveryAllowed " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " OemPreInstalledAppsEnabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " PreInstalledAppsEnabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " PreInstalledAppsEverEnabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SilentInstalledAppsEnabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SubscribedContent-338387Enabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SubscribedContent-338388Enabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SubscribedContent-338389Enabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SubscribedContent-353698Enabled " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager " -Name " SystemPaneSuggestionsEnabled " -Type DWord -Value 1
If ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " ) {
Remove-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " -Name " DisableWindowsConsumerFeatures " -Type DWord -Value 0
Write-Host " Enabling Activity History... "
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Name " EnableActivityFeed " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Name " PublishUserActivities " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Name " UploadUserActivities " -Type DWord -Value 1
Write-Host " Enable Location Tracking... "
If ( Test-Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location " ) {
Remove-Item -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location " -Name " Value " -Type String -Value " Allow "
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Sensor\Overrides\{BFA794E4-F964-4FDB-90F6-51056BFE4B44} " -Name " SensorPermissionState " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SYSTEM\CurrentControlSet\Services\lfsvc\Service\Configuration " -Name " Status " -Type DWord -Value 1
Write-Host " Enabling automatic Maps updates... "
Set-ItemProperty -Path " HKLM:\SYSTEM\Maps " -Name " AutoUpdateEnabled " -Type DWord -Value 1
Write-Host " Enabling Feedback... "
If ( Test-Path " HKCU:\SOFTWARE\Microsoft\Siuf\Rules " ) {
Remove-Item -Path " HKCU:\SOFTWARE\Microsoft\Siuf\Rules " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Siuf\Rules " -Name " NumberOfSIUFInPeriod " -Type DWord -Value 0
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection " -Name " DoNotShowFeedbackNotifications " -Type DWord -Value 0
Write-Host " Enabling Tailored Experiences... "
If ( Test-Path " HKCU:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " ) {
Remove-Item -Path " HKCU:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKCU:\SOFTWARE\Policies\Microsoft\Windows\CloudContent " -Name " DisableTailoredExperiencesWithDiagnosticData " -Type DWord -Value 0
Write-Host " Disabling Advertising ID... "
If ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo " ) {
Remove-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\AdvertisingInfo " -Name " DisabledByGroupPolicy " -Type DWord -Value 0
Write-Host " Allow Error reporting... "
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting " -Name " Disabled " -Type DWord -Value 0
Write-Host " Allowing Diagnostics Tracking Service... "
Stop-Service " DiagTrack " -WarningAction SilentlyContinue
Set-Service " DiagTrack " -StartupType Manual
Write-Host " Allowing WAP Push Service... "
Stop-Service " dmwappushservice " -WarningAction SilentlyContinue
Set-Service " dmwappushservice " -StartupType Manual
Write-Host " Allowing Home Groups services... "
Stop-Service " HomeGroupListener " -WarningAction SilentlyContinue
Set-Service " HomeGroupListener " -StartupType Manual
Stop-Service " HomeGroupProvider " -WarningAction SilentlyContinue
Set-Service " HomeGroupProvider " -StartupType Manual
Write-Host " Enabling Storage Sense... "
New-Item -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy " | Out-Null
Write-Host " Allowing Superfetch service... "
Stop-Service " SysMain " -WarningAction SilentlyContinue
Set-Service " SysMain " -StartupType Manual
Write-Host " Setting BIOS time to Local Time instead of UTC... "
Set-ItemProperty -Path " HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation " -Name " RealTimeIsUniversal " -Type DWord -Value 0
Write-Host " Enabling Hibernation... "
Set-ItemProperty -Path " HKLM:\System\CurrentControlSet\Control\Session Manager\Power " -Name " HibernteEnabled " -Type Dword -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings " -Name " ShowHibernateOption " -Type Dword -Value 1
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization " -Name " NoLockScreen " -ErrorAction SilentlyContinue
Write-Host " Hiding file operations details... "
If ( Test-Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager " ) {
Remove-Item -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager " -Recurse -ErrorAction SilentlyContinue
}
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager " -Name " EnthusiastMode " -Type DWord -Value 0
Write-Host " Showing Task View button... "
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " ShowTaskViewButton " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People " -Name " PeopleBand " -Type DWord -Value 1
Write-Host " Changing default Explorer view to Quick Access... "
Set-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " LaunchTo " -Type DWord -Value 0
Write-Host " Unrestricting AutoLogger directory "
$autoLoggerDir = " $env:PROGRAMDATA \Microsoft\Diagnosis\ETLLogs\AutoLogger "
icacls $autoLoggerDir / grant : r SYSTEM : ` ( OI ` ) ` ( CI ` ) F | Out-Null
Write-Host " Enabling and starting Diagnostics Tracking Service "
Set-Service " DiagTrack " -StartupType Automatic
Start-Service " DiagTrack "
Write-Host " Hiding known file extensions "
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " HideFileExt " -Type DWord -Value 1
Write-Host " Reset Local Group Policies to Stock Defaults "
# cmd /c secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
cmd / c RD / S / Q " %WinDir%\System32\GroupPolicyUsers "
cmd / c RD / S / Q " %WinDir%\System32\GroupPolicy "
cmd / c gpupdate / force
# Considered using Invoke-GPUpdate but requires module most people won't have installed
Write-Host " Adjusting visual effects for appearance... "
Set-ItemProperty -Path " HKCU:\Control Panel\Desktop " -Name " DragFullWindows " -Type String -Value 1
Set-ItemProperty -Path " HKCU:\Control Panel\Desktop " -Name " MenuShowDelay " -Type String -Value 400
Set-ItemProperty -Path " HKCU:\Control Panel\Desktop " -Name " UserPreferencesMask " -Type Binary -Value ( [ byte[] ] ( 158 , 30 , 7 , 128 , 18 , 0 , 0 , 0 ) )
Set-ItemProperty -Path " HKCU:\Control Panel\Desktop\WindowMetrics " -Name " MinAnimate " -Type String -Value 1
Set-ItemProperty -Path " HKCU:\Control Panel\Keyboard " -Name " KeyboardDelay " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " ListviewAlphaSelect " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " ListviewShadow " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced " -Name " TaskbarAnimations " -Type DWord -Value 1
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects " -Name " VisualFXSetting " -Type DWord -Value 3
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\DWM " -Name " EnableAeroPeek " -Type DWord -Value 1
Remove-ItemProperty -Path " HKCU:\Control Panel\Desktop " -Name " HungAppTimeout " -ErrorAction SilentlyContinue
Write-Host " Restoring Clipboard History... "
Remove-ItemProperty -Path " HKCU:\SOFTWARE\Microsoft\Clipboard " -Name " EnableClipboardHistory " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\System " -Name " AllowClipboardHistory " -ErrorAction SilentlyContinue
Write-Host " Enabling Notifications and Action Center "
Remove-Item -Path HKCU : \ SOFTWARE \ Policies \ Microsoft \ Windows \ Explorer -Force
Remove-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\PushNotifications " -Name " ToastEnabled "
Write-Host " Restoring Default Right Click Menu Layout "
Remove-Item -Path " HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2} " -Recurse -Confirm: $false -Force
Write-Host " Reset News and Interests "
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds " -Name " EnableFeeds " -Type DWord -Value 1
# Remove "News and Interest" from taskbar
Set-ItemProperty -Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds " -Name " ShellFeedsTaskbarViewMode " -Type DWord -Value 0
Write-Host " Done - Reverted to Stock Settings "
Write-Host " Essential Undo Completed "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Undo All "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
Write-Host " ================================= "
Write-Host " --- Undo All is Finished --- "
Write-Host " ================================= "
#>
}
function Invoke-WPFUnInstall {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Uninstalls the selected programs
2023-05-16 14:52:11 -05:00
#>
if ( $sync . ProcessRunning ) {
2023-10-19 17:12:55 -05:00
$msg = " Install process is currently running "
2023-05-16 14:52:11 -05:00
[ System.Windows.MessageBox ] :: Show ( $msg , " Winutil " , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$WingetInstall = Get-WinUtilCheckBoxes -Group " WPFInstall "
if ( $wingetinstall . Count -eq 0 ) {
$WarningMsg = " Please select the program(s) to install "
[ System.Windows.MessageBox ] :: Show ( $WarningMsg , $AppTitle , [ System.Windows.MessageBoxButton ] :: OK , [ System.Windows.MessageBoxImage ] :: Warning )
return
}
$ButtonType = [ System.Windows.MessageBoxButton ] :: YesNo
$MessageboxTitle = " Are you sure? "
2023-10-19 17:12:55 -05:00
$Messageboxbody = ( " This will uninstall the following applications: `n $WingetInstall " )
2023-05-16 14:52:11 -05:00
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
$confirm = [ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
if ( $confirm -eq " No " ) { return }
Invoke-WPFRunspace -ArgumentList $WingetInstall -scriptblock {
param ( $WingetInstall )
try {
$sync . ProcessRunning = $true
2023-10-19 17:12:55 -05:00
# Install all selected programs in new window
2023-05-16 14:52:11 -05:00
Install-WinUtilProgramWinget -ProgramsToInstall $WingetInstall -Manage " Uninstalling "
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Uninstalls are Finished "
$Messageboxbody = ( " Done " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
Write-Host " =========================================== "
2023-10-19 17:12:55 -05:00
Write-Host " -- Uninstalls have finished --- "
2023-05-16 14:52:11 -05:00
Write-Host " =========================================== "
}
Catch {
Write-Host " =========================================== "
2023-10-19 17:12:55 -05:00
Write-Host " -- Winget failed to install --- "
2023-05-16 14:52:11 -05:00
Write-Host " =========================================== "
}
$sync . ProcessRunning = $False
}
}
function Invoke-WPFUpdatesdefault {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Resets Windows Update settings to default
2023-05-16 14:52:11 -05:00
#>
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " NoAutoUpdate " -Type DWord -Value 0
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " AUOptions " -Type DWord -Value 3
If ( ! ( Test-Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " -Name " DODownloadMode " -Type DWord -Value 1
$services = @ (
" BITS "
" wuauserv "
)
foreach ( $service in $services ) {
# -ErrorAction SilentlyContinue is so it doesn't write an error to stdout if a service doesn't exist
Write-Host " Setting $service StartupType to Automatic "
Get-Service -Name $service -ErrorAction SilentlyContinue | Set-Service -StartupType Automatic
}
Write-Host " Enabling driver offering through Windows Update... "
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata " -Name " PreventDeviceMetadataFromNetwork " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DontPromptForWindowsUpdate " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DontSearchWindowsUpdate " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DriverUpdateWizardWuSearchEnabled " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate " -Name " ExcludeWUDriversInQualityUpdate " -ErrorAction SilentlyContinue
Write-Host " Enabling Windows Update automatic restart... "
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " NoAutoRebootWithLoggedOnUsers " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " AUPowerManagement " -ErrorAction SilentlyContinue
Write-Host " Enabled driver offering through Windows Update "
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " BranchReadinessLevel " -ErrorAction SilentlyContinue
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " DeferFeatureUpdatesPeriodInDays " -ErrorAction SilentlyContinue
2023-09-07 14:37:27 -05:00
Remove-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " DeferQualityUpdatesPeriodInDays " -ErrorAction SilentlyContinue
2023-10-19 17:12:55 -05:00
Write-Host " =================================================== "
Write-Host " --- Windows Update Settings Reset to Default --- "
Write-Host " =================================================== "
2023-05-16 14:52:11 -05:00
}
function Invoke-WPFUpdatesdisable {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Disables Windows Update
. NOTES
Disabling Windows Update is not recommended . This is only for advanced users who know what they are doing .
2023-05-16 14:52:11 -05:00
#>
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " NoAutoUpdate " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " AUOptions " -Type DWord -Value 1
If ( ! ( Test-Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config " -Name " DODownloadMode " -Type DWord -Value 0
$services = @ (
" BITS "
" wuauserv "
)
foreach ( $service in $services ) {
# -ErrorAction SilentlyContinue is so it doesn't write an error to stdout if a service doesn't exist
Write-Host " Setting $service StartupType to Disabled "
Get-Service -Name $service -ErrorAction SilentlyContinue | Set-Service -StartupType Disabled
}
Write-Host " ================================= "
2023-10-19 17:12:55 -05:00
Write-Host " --- Updates ARE DISABLED --- "
2023-05-16 14:52:11 -05:00
Write-Host " ================================= "
}
function Invoke-WPFUpdatessecurity {
<#
2023-10-19 17:12:55 -05:00
. SYNOPSIS
Sets Windows Update to recommended settings
. DESCRIPTION
1 . Disables driver offering through Windows Update
2 . Disables Windows Update automatic restart
3 . Sets Windows Update to Semi-Annual Channel ( Targeted )
4 . Defers feature updates for 365 days
5 . Defers quality updates for 4 days
2023-05-16 14:52:11 -05:00
#>
Write-Host " Disabling driver offering through Windows Update... "
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\Device Metadata " -Name " PreventDeviceMetadataFromNetwork " -Type DWord -Value 1
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DontPromptForWindowsUpdate " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DontSearchWindowsUpdate " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\DriverSearching " -Name " DriverUpdateWizardWuSearchEnabled " -Type DWord -Value 0
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate " | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate " -Name " ExcludeWUDriversInQualityUpdate " -Type DWord -Value 1
Write-Host " Disabling Windows Update automatic restart... "
If ( ! ( Test-Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Force | Out-Null
}
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " NoAutoRebootWithLoggedOnUsers " -Type DWord -Value 1
Set-ItemProperty -Path " HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU " -Name " AUPowerManagement " -Type DWord -Value 0
Write-Host " Disabled driver offering through Windows Update "
2023-07-20 15:39:49 -05:00
If ( ! ( Test-Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " ) ) {
New-Item -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Force | Out-Null
}
2023-05-16 14:52:11 -05:00
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " BranchReadinessLevel " -Type DWord -Value 20
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " DeferFeatureUpdatesPeriodInDays " -Type DWord -Value 365
2023-09-07 14:37:27 -05:00
Set-ItemProperty -Path " HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings " -Name " DeferQualityUpdatesPeriodInDays " -Type DWord -Value 4
2023-05-16 14:52:11 -05:00
$ButtonType = [ System.Windows.MessageBoxButton ] :: OK
$MessageboxTitle = " Set Security Updates "
$Messageboxbody = ( " Recommended Update settings loaded " )
$MessageIcon = [ System.Windows.MessageBoxImage ] :: Information
[ System.Windows.MessageBox ] :: Show ( $Messageboxbody , $MessageboxTitle , $ButtonType , $MessageIcon )
Write-Host " ================================= "
Write-Host " -- Updates Set to Recommended --- "
Write-Host " ================================= "
}
$inputXML = ' < Window x: Class = " WinUtility.MainWindow "
xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns : x = " http://schemas.microsoft.com/winfx/2006/xaml "
xmlns : d = " http://schemas.microsoft.com/expression/blend/2008 "
xmlns : mc = " http://schemas.openxmlformats.org/markup-compatibility/2006 "
xmlns : local = " clr-namespace:WinUtility "
mc : Ignorable = " d "
2023-07-13 15:46:00 -05:00
Background = " {MainBackgroundColor} "
2023-05-16 14:52:11 -05:00
WindowStartupLocation = " CenterScreen "
Title = " Chris Titus Tech''s Windows Utility " Height = " 800 " Width = " 1200 " >
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
< Window . Resources >
2023-07-13 15:46:00 -05:00
< Style TargetType = " ComboBox " >
< Setter Property = " Foreground " Value = " {ComboBoxForegroundColor} " / >
< Setter Property = " Background " Value = " {ComboBoxBackgroundColor} " / >
< Setter Property = " Template " >
< Setter . Value >
< ControlTemplate TargetType = " ComboBox " >
< Grid >
< ToggleButton x: Name = " ToggleButton "
Background = " {TemplateBinding Background} "
BorderBrush = " {TemplateBinding Background} "
BorderThickness = " 0 "
IsChecked = " {Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}} "
ClickMode = " Press " >
< TextBlock Text = " {TemplateBinding SelectionBoxItem} "
2023-10-19 17:12:55 -05:00
Foreground = " {TemplateBinding Foreground} "
2023-07-13 15:46:00 -05:00
Background = " {TemplateBinding Background} "
/ >
< / ToggleButton >
< Popup x: Name = " Popup "
IsOpen = " {TemplateBinding IsDropDownOpen} "
Placement = " Bottom "
Focusable = " False "
AllowsTransparency = " True "
PopupAnimation = " Slide " >
< Border x: Name = " DropDownBorder "
Background = " {TemplateBinding Background} "
BorderBrush = " {TemplateBinding Foreground} "
BorderThickness = " 1 "
CornerRadius = " 4 " >
< ScrollViewer >
< ItemsPresenter / >
< / ScrollViewer >
< / Border >
< / Popup >
< / Grid >
< / ControlTemplate >
< / Setter . Value >
< / Setter >
< / Style >
< Style TargetType = " Label " >
< Setter Property = " Foreground " Value = " {LabelboxForegroundColor} " / >
< Setter Property = " Background " Value = " {LabelBackgroundColor} " / >
< / Style >
< Style TargetType = " TextBlock " >
< Setter Property = " Foreground " Value = " {LabelboxForegroundColor} " / >
< Setter Property = " Background " Value = " {LabelBackgroundColor} " / >
< / Style >
< Style TargetType = " Button " >
< Setter Property = " Foreground " Value = " {ButtonForegroundColor} " / >
< Setter Property = " Background " Value = " {ButtonBackgroundColor} " / >
< Setter Property = " Margin " Value = " {ButtonMargin} " / >
< Setter Property = " Template " >
< Setter . Value >
< ControlTemplate TargetType = " Button " >
< Grid >
< Border x: Name = " BackgroundBorder "
Background = " {TemplateBinding Background} "
BorderBrush = " {TemplateBinding BorderBrush} "
BorderThickness = " {ButtonBorderThickness} "
CornerRadius = " {ButtonCornerRadius} " >
< ContentPresenter HorizontalAlignment = " Center " VerticalAlignment = " Center " / >
< / Border >
< / Grid >
< ControlTemplate . Triggers >
< Trigger Property = " IsPressed " Value = " True " >
< Setter TargetName = " BackgroundBorder " Property = " Background " Value = " {ButtonBackgroundPressedColor} " / >
< / Trigger >
< Trigger Property = " IsMouseOver " Value = " True " >
< Setter TargetName = " BackgroundBorder " Property = " Background " Value = " {ButtonBackgroundMouseoverColor} " / >
< / Trigger >
< Trigger Property = " IsEnabled " Value = " False " >
< Setter TargetName = " BackgroundBorder " Property = " Background " Value = " Gray " / >
< Setter Property = " Foreground " Value = " DimGray " / >
< / Trigger >
< / ControlTemplate . Triggers >
< / ControlTemplate >
< / Setter . Value >
< / Setter >
< / Style >
< Style TargetType = " CheckBox " >
< Setter Property = " Foreground " Value = " {MainForegroundColor} " / >
< Setter Property = " Background " Value = " {MainBackgroundColor} " / >
< Setter Property = " Template " >
< Setter . Value >
< ControlTemplate TargetType = " CheckBox " >
< Grid Background = " {TemplateBinding Background} " >
< BulletDecorator Background = " Transparent " >
< BulletDecorator . Bullet >
< Grid Width = " 16 " Height = " 16 " >
< Border x: Name = " Border "
BorderBrush = " {TemplateBinding BorderBrush} "
Background = " {ButtonBackgroundColor} "
BorderThickness = " 1 "
Width = " 14 "
Height = " 14 "
Margin = " 1 "
SnapsToDevicePixels = " True " / >
< Path x: Name = " CheckMark "
Stroke = " {TemplateBinding Foreground} "
StrokeThickness = " 2 "
Data = " M 0 5 L 5 10 L 12 0 "
Visibility = " Collapsed " / >
< / Grid >
< / BulletDecorator . Bullet >
< ContentPresenter Margin = " 4,0,0,0 "
HorizontalAlignment = " Left "
VerticalAlignment = " Center "
RecognizesAccessKey = " True " / >
< / BulletDecorator >
< / Grid >
< ControlTemplate . Triggers >
< Trigger Property = " IsChecked " Value = " True " >
2023-11-14 15:45:48 -06:00
2023-07-13 15:46:00 -05:00
< Setter TargetName = " CheckMark " Property = " Visibility " Value = " Visible " / >
< / Trigger >
< Trigger Property = " IsMouseOver " Value = " True " >
< ! - -Setter TargetName = " Border " Property = " Background " Value = " {ButtonBackgroundPressedColor} " / - - >
< Setter Property = " Foreground " Value = " {ButtonBackgroundPressedColor} " / >
< / Trigger >
< / ControlTemplate . Triggers >
< / ControlTemplate >
< / Setter . Value >
< / Setter >
2023-10-19 17:12:55 -05:00
< / Style >
2023-05-16 14:52:11 -05:00
< Style x: Key = " ToggleSwitchStyle " TargetType = " CheckBox " >
< Setter Property = " Template " >
< Setter . Value >
< ControlTemplate TargetType = " CheckBox " >
< StackPanel >
< Grid >
2023-10-19 17:12:55 -05:00
< Border Width = " 45 "
2023-05-16 14:52:11 -05:00
Height = " 20 "
2023-10-19 17:12:55 -05:00
Background = " #555555 "
CornerRadius = " 10 "
2023-05-16 14:52:11 -05:00
Margin = " 5,0 "
/ >
< Border Name = " WPFToggleSwitchButton "
2023-10-19 17:12:55 -05:00
Width = " 25 "
2023-05-16 14:52:11 -05:00
Height = " 25 "
2023-10-19 17:12:55 -05:00
Background = " Black "
CornerRadius = " 12.5 "
2023-05-16 14:52:11 -05:00
HorizontalAlignment = " Left "
/ >
< ContentPresenter Name = " WPFToggleSwitchContent "
Margin = " 10,0,0,0 "
Content = " {TemplateBinding Content} "
VerticalAlignment = " Center "
/ >
< / Grid >
< / StackPanel >
< ControlTemplate . Triggers >
< Trigger Property = " IsChecked " Value = " false " >
< Trigger . ExitActions >
< RemoveStoryboard BeginStoryboardName = " WPFToggleSwitchLeft " / >
< BeginStoryboard x: Name = " WPFToggleSwitchRight " >
< Storyboard >
< ThicknessAnimation Storyboard . TargetProperty = " Margin "
Storyboard . TargetName = " WPFToggleSwitchButton "
Duration = " 0:0:0:0 "
From = " 0,0,0,0 "
To = " 28,0,0,0 " >
< / ThicknessAnimation >
< / Storyboard >
< / BeginStoryboard >
< / Trigger . ExitActions >
< Setter TargetName = " WPFToggleSwitchButton "
Property = " Background "
Value = " #fff9f4f4 "
/ >
< / Trigger >
< Trigger Property = " IsChecked " Value = " true " >
< Trigger . ExitActions >
< RemoveStoryboard BeginStoryboardName = " WPFToggleSwitchRight " / >
< BeginStoryboard x: Name = " WPFToggleSwitchLeft " >
< Storyboard >
< ThicknessAnimation Storyboard . TargetProperty = " Margin "
Storyboard . TargetName = " WPFToggleSwitchButton "
Duration = " 0:0:0:0 "
From = " 28,0,0,0 "
To = " 0,0,0,0 " >
< / ThicknessAnimation >
< / Storyboard >
< / BeginStoryboard >
< / Trigger . ExitActions >
< Setter TargetName = " WPFToggleSwitchButton "
Property = " Background "
Value = " #ff060600 "
/ >
< / Trigger >
< / ControlTemplate . Triggers >
< / ControlTemplate >
< / Setter . Value >
< / Setter >
< / Style >
2023-11-14 15:45:48 -06:00
< Style x: Key = " ColorfulToggleSwitchStyle " TargetType = " {x:Type CheckBox} " >
< Setter Property = " Template " >
< Setter . Value >
< ControlTemplate TargetType = " {x:Type ToggleButton} " >
< Grid x: Name = " toggleSwitch " >
< Border x: Name = " Border " CornerRadius = " 10 "
Background = " #FFFFFFFF "
Width = " 70 " Height = " 25 " >
< Border . Effect >
< DropShadowEffect ShadowDepth = " 0.5 " Direction = " 0 " Opacity = " 0.3 " / >
< / Border . Effect >
< Ellipse x: Name = " Ellipse " Fill = " #FFFFFFFF " Stretch = " Uniform "
Margin = " 2 2 2 1 "
Stroke = " Gray " StrokeThickness = " 0.2 "
HorizontalAlignment = " Left " Width = " 22 " >
< Ellipse . Effect >
< DropShadowEffect BlurRadius = " 10 " ShadowDepth = " 1 " Opacity = " 0.3 " Direction = " 260 " / >
< / Ellipse . Effect >
< / Ellipse >
< / Border >
< TextBlock x: Name = " txtDisable " Text = " Disable " VerticalAlignment = " Center " FontWeight = " DemiBold " HorizontalAlignment = " Right " Foreground = " White " FontSize = " 12 " / >
< TextBlock x: Name = " txtEnable " Text = " Enable " VerticalAlignment = " Center " FontWeight = " DemiBold " Foreground = " White " HorizontalAlignment = " Left " FontSize = " 12 " / >
< / Grid >
< ControlTemplate . Triggers >
< Trigger Property = " ToggleButton.IsChecked " Value = " False " >
< Setter TargetName = " Border " Property = " Background " Value = " #C2283B " / >
< Setter TargetName = " Ellipse " Property = " Margin " Value = " 2 2 2 1 " / >
< Setter TargetName = " txtDisable " Property = " Opacity " Value = " 1.0 " / >
< Setter TargetName = " txtEnable " Property = " Opacity " Value = " 0.0 " / >
< / Trigger >
< Trigger Property = " ToggleButton.IsChecked " Value = " True " >
< Trigger . EnterActions >
< BeginStoryboard >
< Storyboard >
< ColorAnimation Storyboard . TargetName = " Border "
Storyboard . TargetProperty = " (Border.Background).(SolidColorBrush.Color) "
To = " #34A543 " Duration = " 0:0:0.1 " / >
< ThicknessAnimation Storyboard . TargetName = " Ellipse "
Storyboard . TargetProperty = " Margin "
To = " 56 2 2 1 " Duration = " 0:0:0.1 " / >
< DoubleAnimation Storyboard . TargetName = " txtDisable "
Storyboard . TargetProperty = " (TextBlock.Opacity) "
To = " 0.0 " Duration = " 0:0:0:0.1 " / >
< DoubleAnimation Storyboard . TargetName = " txtEnable "
Storyboard . TargetProperty = " (TextBlock.Opacity) "
To = " 1.0 " Duration = " 0:0:0:0.1 " / >
< / Storyboard >
< / BeginStoryboard >
< / Trigger . EnterActions >
< ! - - Some out fading - - >
< Trigger . ExitActions >
< BeginStoryboard >
< Storyboard >
< ColorAnimation Storyboard . TargetName = " Border "
Storyboard . TargetProperty = " (Border.Background).(SolidColorBrush.Color) "
To = " #C2283B " Duration = " 0:0:0.1 " / >
< ThicknessAnimation Storyboard . TargetName = " Ellipse "
Storyboard . TargetProperty = " Margin "
To = " 2 2 2 1 " Duration = " 0:0:0.1 " / >
< DoubleAnimation Storyboard . TargetName = " txtDisable "
Storyboard . TargetProperty = " (TextBlock.Opacity) "
To = " 1.0 " Duration = " 0:0:0:0.1 " / >
< DoubleAnimation Storyboard . TargetName = " txtEnable "
Storyboard . TargetProperty = " (TextBlock.Opacity) "
To = " 0.0 " Duration = " 0:0:0:0.1 " / >
< / Storyboard >
< / BeginStoryboard >
< / Trigger . ExitActions >
< Setter Property = " Foreground " Value = " {DynamicResource IdealForegroundColorBrush} " / >
< / Trigger >
< / ControlTemplate . Triggers >
< / ControlTemplate >
< / Setter . Value >
< / Setter >
< Setter Property = " VerticalContentAlignment " Value = " Center " / >
< / Style >
< Style x: Key = " labelfortweaks " TargetType = " {x:Type Label} " >
< Setter Property = " Foreground " Value = " {MainForegroundColor} " / >
< Setter Property = " Background " Value = " {MainBackgroundColor} " / >
< Style . Triggers >
< Trigger Property = " IsMouseOver " Value = " True " >
< Setter Property = " Foreground " Value = " White " / >
< / Trigger >
< / Style . Triggers >
< / Style >
2023-05-16 14:52:11 -05:00
< / Window . Resources >
2023-07-13 15:46:00 -05:00
< Border Name = " WPFdummy " Grid . Column = " 0 " Grid . Row = " 1 " >
2023-05-16 14:52:11 -05:00
< Viewbox Stretch = " Uniform " VerticalAlignment = " Top " >
2023-07-13 15:46:00 -05:00
< Grid Background = " {MainBackgroundColor} " ShowGridLines = " False " Name = " WPFMainGrid " >
2023-05-16 14:52:11 -05:00
< Grid . RowDefinitions >
< RowDefinition Height = " .1* " / >
< RowDefinition Height = " .9* " / >
< / Grid . RowDefinitions >
< Grid . ColumnDefinitions >
< ColumnDefinition Width = " * " / >
< / Grid . ColumnDefinitions >
2023-07-13 15:46:00 -05:00
< DockPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 0 " Width = " 1100 " >
2023-09-23 14:10:03 -05:00
< Image Height = " 50 " Width = " 50 " Name = " WPFIcon " SnapsToDevicePixels = " True " Source = " https://christitus.com/images/logo-full.png " Margin = " 0,10,0,10 " / >
2023-10-19 17:12:55 -05:00
< Button Content = " Install " HorizontalAlignment = " Left " Height = " 40 " Width = " 100 "
2023-07-13 15:46:00 -05:00
Background = " {ButtonInstallBackgroundColor} " Foreground = " {ButtonInstallForegroundColor} " FontWeight = " Bold " Name = " WPFTab1BT " / >
2023-10-19 17:12:55 -05:00
< Button Content = " Tweaks " HorizontalAlignment = " Left " Height = " 40 " Width = " 100 "
2023-07-13 15:46:00 -05:00
Background = " {ButtonTweaksBackgroundColor} " Foreground = " {ButtonInstallForegroundColor} " FontWeight = " Bold " Name = " WPFTab2BT " / >
2023-10-19 17:12:55 -05:00
< Button Content = " Config " HorizontalAlignment = " Left " Height = " 40 " Width = " 100 "
2023-07-13 15:46:00 -05:00
Background = " {ButtonConfigBackgroundColor} " Foreground = " {ButtonInstallForegroundColor} " FontWeight = " Bold " Name = " WPFTab3BT " / >
2023-10-19 17:12:55 -05:00
< Button Content = " Updates " HorizontalAlignment = " Left " Height = " 40 " Width = " 100 "
2023-07-13 15:46:00 -05:00
Background = " {ButtonUpdatesBackgroundColor} " Foreground = " {ButtonInstallForegroundColor} " FontWeight = " Bold " Name = " WPFTab4BT " / >
2023-05-16 14:52:11 -05:00
< / DockPanel >
< TabControl Grid . Row = " 1 " Padding = " -1 " Name = " WPFTabNav " Background = " #222222 " >
< TabItem Header = " Install " Visibility = " Collapsed " Name = " WPFTab1 " >
< Grid Background = " #222222 " >
< Grid . ColumnDefinitions >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< / Grid . ColumnDefinitions >
< Grid . RowDefinitions >
< RowDefinition Height = " .10* " / >
< RowDefinition Height = " .90* " / >
< / Grid . RowDefinitions >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " Orientation = " Horizontal " Grid . Row = " 0 " HorizontalAlignment = " Center " Grid . Column = " 0 " Grid . ColumnSpan = " 3 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Winget: " FontSize = " 17 " VerticalAlignment = " Center " / >
< Button Name = " WPFinstall " Content = " Install Selection " Margin = " 7 " / >
< Button Name = " WPFInstallUpgrade " Content = " Upgrade All " Margin = " 7 " / >
< Button Name = " WPFuninstall " Content = " Uninstall Selection " Margin = " 7 " / >
< Button Name = " WPFGetInstalled " Content = " Get Installed " Margin = " 7 " / >
< Button Name = " WPFclearWinget " Content = " Clear Selection " Margin = " 7 " / >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " Orientation = " Horizontal " Grid . Row = " 0 " HorizontalAlignment = " Center " Grid . Column = " 3 " Grid . ColumnSpan = " 2 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Configuration File: " FontSize = " 17 " VerticalAlignment = " Center " / >
< Button Name = " WPFimportWinget " Content = " Import " Margin = " 7 " / >
< Button Name = " WPFexportWinget " Content = " Export " Margin = " 7 " / >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 0 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Browsers " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallbrave " Content = " Brave " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallchrome " Content = " Chrome " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallchromium " Content = " Chromium " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalledge " Content = " Edge " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallfirefox " Content = " Firefox " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalllibrewolf " Content = " LibreWolf " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallthorium " Content = " Thorium Browser " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstalltor " Content = " Tor Browser " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallvivaldi " Content = " Vivaldi " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallwaterfox " Content = " Waterfox " Margin = " 5,0 " / >
< Label Content = " Communications " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalldiscord " Content = " Discord " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallguilded " Content = " Guilded " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallhexchat " Content = " Hexchat " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljami " Content = " Jami " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallmatrix " Content = " Matrix " Margin = " 5,0 " / >
2023-11-14 15:31:31 -06:00
< CheckBox Name = " WPFInstallsession " Content = " Session " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallsignal " Content = " Signal " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallskype " Content = " Skype " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallslack " Content = " Slack " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallteams " Content = " Teams " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalltelegram " Content = " Telegram " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallthunderbird " Content = " Thunderbird " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallviber " Content = " Viber " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallzoom " Content = " Zoom " Margin = " 5,0 " / >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 1 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Development " FontSize = " 16 " Margin = " 5,0 " / >
2023-08-08 16:44:10 -05:00
< CheckBox Name = " WPFInstalljava20 " Content = " Azul Zulu JDK 20 " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstalldockerdesktop " Content = " Docker Desktop " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallgit " Content = " Git " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallgithubdesktop " Content = " GitHub Desktop " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallgolang " Content = " GoLang " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstalljetbrains " Content = " Jetbrains Toolbox " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallnano " Content = " Nano " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallneovim " Content = " Neovim " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallnodejs " Content = " NodeJS " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallnodejslts " Content = " NodeJS LTS " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallnvm " Content = " Node Version Manager " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstalljava8 " Content = " OpenJDK Java 8 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljava16 " Content = " OpenJDK Java 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljava18 " Content = " Oracle Java 18 " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallpython3 " Content = " Python3 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallpostman " Content = " Postman " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallrustlang " Content = " Rust " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallsublime " Content = " Sublime " 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 = " WPFInstallvscode " Content = " VS Code " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallvscodium " Content = " VS Codium " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
< Label Content = " Document " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalladobe " Content = " Adobe Reader DC " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallopenoffice " Content = " Apache OpenOffice " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallfoxpdf " Content = " Foxit PDF " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljoplin " Content = " Joplin (FOSS Notes) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalllibreoffice " Content = " LibreOffice " Margin = " 5,0 " / >
2023-09-07 14:37:27 -05:00
< CheckBox Name = " WPFInstallnaps2 " Content = " NAPS2 (Document Scanner) " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallnotepadplus " Content = " Notepad++ " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallobsidian " Content = " Obsidian " Margin = " 5,0 " / >
2023-09-23 14:10:03 -05:00
< CheckBox Name = " WPFInstallokular " Content = " Okular " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallonlyoffice " Content = " ONLYOffice Desktop " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallsumatra " Content = " Sumatra PDF " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallwinmerge " Content = " WinMerge " Margin = " 5,0 " / >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 2 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Games " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallbluestacks " Content = " Bluestacks " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstalleaapp " Content = " EA App " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallepicgames " Content = " Epic Games Launcher " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallgeforcenow " Content = " GeForce NOW " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallgog " Content = " GOG Galaxy " Margin = " 5,0 " / >
2023-08-08 16:44:10 -05:00
< CheckBox Name = " WPFInstallheroiclauncher " Content = " Heroic Games Launcher " Margin = " 5,0 " / >
2023-07-13 15:46:00 -05:00
< CheckBox Name = " WPFInstallprismlauncher " Content = " Prism Launcher " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallsteam " Content = " Steam " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallubisoft " Content = " Ubisoft Connect " Margin = " 5,0 " / >
< Label Content = " Microsoft Tools " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalldotnet3 " Content = " .NET Desktop Runtime 3.1 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalldotnet5 " Content = " .NET Desktop Runtime 5 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalldotnet6 " Content = " .NET Desktop Runtime 6 " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstalldotnet7 " Content = " .NET Desktop Runtime 7 " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallnuget " Content = " Nuget " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallonedrive " Content = " OneDrive " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallpowershell " Content = " PowerShell " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallpowertoys " Content = " Powertoys " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallprocessmonitor " Content = " SysInternals Process Monitor " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstalltcpview " Content = " SysInternals TCPView " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallvc2015_64 " Content = " Visual C++ 2015-2022 64-bit " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallvc2015_32 " Content = " Visual C++ 2015-2022 32-bit " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallterminal " Content = " Windows Terminal " Margin = " 5,0 " / >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 3 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Multimedia Tools " FontSize = " 16 " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallaimp " Content = " AIMP (Music Player) " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallaudacity " Content = " Audacity " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallblender " Content = " Blender (3D Graphics) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallcider " Content = " Cider (FOSS Music Player) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalleartrumpet " Content = " Eartrumpet (Audio) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallflameshot " Content = " Flameshot (Screenshots) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallfoobar " Content = " Foobar2000 (Music Player) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallgimp " Content = " GIMP (Image Editor) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallgreenshot " Content = " Greenshot (Screenshots) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallhandbrake " Content = " HandBrake " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallimageglass " Content = " ImageGlass (Image Viewer) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallinkscape " Content = " Inkscape " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallitunes " Content = " iTunes " Margin = " 5,0 " / >
2023-09-23 14:10:03 -05:00
< CheckBox Name = " WPFInstalljellyfinmediaplayer " Content = " Jellyfin Media Player " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljellyfinserver " Content = " Jellyfin Server " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallkdenlive " Content = " Kdenlive (Video Editor) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallkodi " Content = " Kodi Media Center " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallklite " Content = " K-Lite Codec Standard " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallkrita " Content = " Krita (Image Editor) " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallmusicbee " Content = " MusicBee (Music Player) " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallmpc " Content = " Media Player Classic (Video Player) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallnglide " Content = " nGlide (3dfx compatibility) " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallnomacs " Content = " Nomacs (Image viewer) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallobs " Content = " OBS Studio " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallPaintdotnet " Content = " Paint.net " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallsharex " Content = " ShareX (Screenshots) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallstrawberry " Content = " Strawberry (Music Player) " Margin = " 5,0 " / >
2023-09-23 14:10:03 -05:00
< CheckBox Name = " WPFInstalltidal " Content = " Tidal " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallvlc " Content = " VLC (Video Player) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallvoicemeeter " Content = " Voicemeeter (Audio) " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< Label Content = " Pro Tools " FontSize = " 16 " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalladvancedip " Content = " Advanced IP Scanner " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallmremoteng " Content = " mRemoteNG " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallOpenVPN " Content = " OpenVPN Connect " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallputty " Content = " Putty " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallrustdesk " Content = " Rust Remote Desktop (FOSS) " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallsimplewall " Content = " SimpleWall " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallventoy " Content = " Ventoy " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallwinscp " Content = " WinSCP " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallwireshark " Content = " WireShark " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 4 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Utilities " FontSize = " 16 " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstall7zip " Content = " 7-Zip " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallalacritty " Content = " Alacritty Terminal " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallanydesk " Content = " AnyDesk " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallautohotkey " Content = " AutoHotkey " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallbitwarden " Content = " Bitwarden " Margin = " 5,0 " / >
2023-09-07 14:37:27 -05:00
< CheckBox Name = " WPFInstallbulkcrapuninstaller " Content = " Bulk Crap Uninstaller " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallcpuz " Content = " CPU-Z " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallddu " Content = " Display Driver Uninstaller " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstalldeluge " Content = " Deluge " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallduplicati " Content = " Duplicati 2 " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstalletcher " Content = " Etcher USB Creator " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallesearch " Content = " Everything Search " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallflux " Content = " f.lux Redshift " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallglaryutilities " Content = " Glary Utilities " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallgpuz " Content = " GPU-Z " Margin = " 5,0 " / >
2023-07-13 15:46:00 -05:00
< CheckBox Name = " WPFInstallgsudo " Content = " Gsudo " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallhwinfo " Content = " HWInfo " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalljdownloader " Content = " J Download Manager " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallkdeconnect " Content = " KDE Connect " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallkeepass " Content = " KeePassXC " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallmalwarebytes " Content = " MalwareBytes " Margin = " 5,0 " / >
2023-08-08 16:44:10 -05:00
< CheckBox Name = " WPFInstallmonitorian " Content = " Monitorian " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallmsiafterburner " Content = " MSI Afterburner " Margin = " 5,0 " / >
2023-09-23 14:10:03 -05:00
< CheckBox Name = " WPFInstallnanazip " Content = " NanaZip " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallnvclean " Content = " NVCleanstall " Margin = " 5,0 " / >
2023-11-14 15:45:48 -06:00
< CheckBox Name = " WPFInstallOVirtualBox " Content = " Oracle VirtualBox " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallopenshell " Content = " Open Shell (Start Menu) " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallpeazip " Content = " Peazip " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallprocesslasso " Content = " Process Lasso " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallqbittorrent " Content = " qBittorrent " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallrevo " Content = " RevoUninstaller " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallrufus " Content = " Rufus Imager " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallsandboxie " Content = " Sandboxie Plus " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallshell " Content = " Shell (Expanded Context Menu) " Margin = " 5,0 " / >
2023-08-08 16:44:10 -05:00
< CheckBox Name = " WPFInstallsdio " Content = " Snappy Driver Installer Origin " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallsuperf4 " Content = " SuperF4 " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallteamviewer " Content = " TeamViewer " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallttaskbar " Content = " Translucent Taskbar " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalltreesize " Content = " TreeSize Free " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstalltwinkletray " Content = " Twinkle Tray " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallwindirstat " Content = " WinDirStat " Margin = " 5,0 " / >
2023-07-13 15:46:00 -05:00
< CheckBox Name = " WPFInstallwingetui " Content = " WingetUI " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFInstallwiztree " Content = " WizTree " Margin = " 5,0 " / >
< CheckBox Name = " WPFInstallwinrar " Content = " WinRAR " Margin = " 5,0 " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFInstallxdm " Content = " Xtreme Download Manager " Margin = " 5,0 " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFInstallzerotierone " Content = " ZeroTier One " Margin = " 5,0 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
< / Grid >
< / TabItem >
< TabItem Header = " Tweaks " Visibility = " Collapsed " Name = " WPFTab2 " >
< Grid Background = " #333333 " >
< Grid . ColumnDefinitions >
2023-11-14 15:45:48 -06:00
< ColumnDefinition Width = " .35* " / >
< ColumnDefinition Width = " .35* " / >
< ColumnDefinition Width = " .30* " / >
2023-05-16 14:52:11 -05:00
< / Grid . ColumnDefinitions >
< Grid . RowDefinitions >
< RowDefinition Height = " .10* " / >
< RowDefinition Height = " .70* " / >
< RowDefinition Height = " .10* " / >
< / Grid . RowDefinitions >
2023-11-14 15:45:48 -06:00
< StackPanel Background = " {MainBackgroundColor} " Orientation = " Horizontal " Grid . Row = " 0 " HorizontalAlignment = " Center " Grid . ColumnSpan = " 2 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Recommended Selections: " FontSize = " 17 " VerticalAlignment = " Center " / >
< Button Name = " WPFdesktop " Content = " Desktop " Margin = " 7 " / >
< Button Name = " WPFlaptop " Content = " Laptop " Margin = " 7 " / >
< Button Name = " WPFminimal " Content = " Minimal " Margin = " 7 " / >
< Button Name = " WPFclear " Content = " Clear " Margin = " 7 " / >
< Button Name = " WPFGetInstalledTweaks " Content = " Get Installed " Margin = " 7 " / >
< / StackPanel >
2023-11-14 15:45:48 -06:00
< StackPanel Background = " {MainBackgroundColor} " Orientation = " Horizontal " Grid . Row = " 0 " HorizontalAlignment = " Center " Grid . Column = " 2 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Configuration File: " FontSize = " 17 " VerticalAlignment = " Center " / >
< Button Name = " WPFimport " Content = " Import " Margin = " 7 " / >
< Button Name = " WPFexport " Content = " Export " Margin = " 7 " / >
< / StackPanel >
2023-11-14 15:45:48 -06:00
< StackPanel Background = " {MainBackgroundColor} " Orientation = " Horizontal " Grid . Row = " 2 " HorizontalAlignment = " Center " Grid . ColumnSpan = " 3 " Margin = " 10 " >
2023-05-16 14:52:11 -05:00
< TextBlock Padding = " 10 " >
Note : Hover over items to get a better description . Please be careful as many of these tweaks will heavily modify your system .
< LineBreak / > Recommended selections are for normal users and if you are unsure do NOT check anything else !
< / TextBlock >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 0 " Margin = " 10,5 " >
2023-05-16 14:52:11 -05:00
< Label FontSize = " 16 " Content = " Essential Tweaks " / >
< CheckBox Name = " WPFEssTweaksOO " Content = " Run OO Shutup " Margin = " 5,0 " ToolTip = " Runs OO Shutup from https://www.oo-software.com/en/shutup10 " / >
2023-08-02 19:43:52 -05:00
< 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. " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFEssTweaksAH " Content = " Disable Activity History " Margin = " 5,0 " ToolTip = " This erases recent docs, clipboard, and run history. " / >
< CheckBox Name = " WPFEssTweaksDeleteTempFiles " Content = " Delete Temporary Files " Margin = " 5,0 " ToolTip = " Erases TEMP Folders " / >
< CheckBox Name = " WPFEssTweaksDiskCleanup " Content = " Run Disk Cleanup " Margin = " 5,0 " ToolTip = " Runs Disk Cleanup on Drive C: and removes old Windows Updates. " / >
< CheckBox Name = " WPFEssTweaksLoc " Content = " Disable Location Tracking " Margin = " 5,0 " ToolTip = " Disables Location Tracking...DUH! " / >
< CheckBox Name = " WPFEssTweaksHome " Content = " Disable Homegroup " Margin = " 5,0 " ToolTip = " Disables HomeGroup - Windows 11 doesn''t have this, it was awful. " / >
2023-07-20 15:39:49 -05:00
< CheckBox Name = " WPFEssTweaksStorage " Content = " Disable Storage Sense " Margin = " 5,0 " ToolTip = " Storage Sense deletes temp files automatically. " / >
2023-08-02 19:43:52 -05:00
< CheckBox Name = " WPFEssTweaksHiber " Content = " Disable Hibernation " Margin = " 5,0 " ToolTip = " Hibernation is really meant for laptops as it saves what''s in memory before turning the pc off. It really should never be used, but some people are lazy and rely on it. Don''t be like Bob. Bob likes hibernation. " / >
< CheckBox Name = " WPFEssTweaksDVR " Content = " Disable GameDVR " Margin = " 5,0 " ToolTip = " GameDVR is a Windows App that is a dependency for some Store Games. I''ve never met someone that likes it, but it''s there for the XBOX crowd. " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFEssTweaksServices " Content = " Set Services to Manual " Margin = " 5,0 " ToolTip = " Turns a bunch of system services to manual that don''t need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand. " / >
2023-11-14 15:45:48 -06:00
2023-05-16 14:52:11 -05:00
< Label Content = " Performance Plans " / >
2023-10-19 17:12:55 -05:00
< Button Name = " WPFAddUltPerf " Content = " Add and Activate Ultimate Performance Profile " HorizontalAlignment = " Left " Margin = " 5,2 " Width = " 300 " / >
2023-07-13 15:46:00 -05:00
< Button Name = " WPFRemoveUltPerf " Content = " Remove Ultimate Performance Profile " HorizontalAlignment = " Left " Margin = " 5,2 " Width = " 300 " / >
2023-05-16 14:52:11 -05:00
< Label Content = " Shortcuts " / >
2023-07-13 15:46:00 -05:00
< Button Name = " WPFWinUtilShortcut " Content = " Create WinUtil Shortcut " HorizontalAlignment = " Left " Margin = " 5,0 " Padding = " 20,5 " Width = " 300 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 1 " Margin = " 10,5 " >
2023-10-19 17:12:55 -05:00
< Label FontSize = " 16 " Content = " Advanced Tweaks - CAUTION " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFMiscTweaksDisplay " Content = " Set Display for Performance " Margin = " 5,0 " ToolTip = " Sets the system preferences to performance. You can do this manually with sysdm.cpl as well. " / >
< CheckBox Name = " WPFMiscTweaksUTC " Content = " Set Time to UTC (Dual Boot) " Margin = " 5,0 " ToolTip = " Essential for computers that are dual booting. Fixes the time sync with Linux Systems. " / >
< CheckBox Name = " WPFMiscTweaksDisableUAC " Content = " Disable UAC " Margin = " 5,0 " ToolTip = " Disables User Account Control. Only recommended for Expert Users. " / >
< CheckBox Name = " WPFMiscTweaksDisableNotifications " Content = " Disable Notification Tray/Calendar " Margin = " 5,0 " ToolTip = " Disables all Notifications INCLUDING Calendar " / >
2023-10-19 17:12:55 -05:00
< CheckBox Name = " WPFEssTweaksDeBloat " Content = " Remove ALL MS Store Apps - NOT RECOMMENDED " Margin = " 5,0 " ToolTip = " USE WITH CAUTION!!!!! This will remove ALL Microsoft store apps other than the essentials to make winget work. Games installed by MS Store ARE INCLUDED! " / >
< CheckBox Name = " WPFEssTweaksRemoveEdge " Content = " Remove Microsoft Edge - NOT RECOMMENDED " Margin = " 5,0 " ToolTip = " Removes MS Edge when it gets reinstalled by updates. " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFEssTweaksRemoveOnedrive " Content = " Remove OneDrive " Margin = " 5,0 " ToolTip = " Copies OneDrive files to Default Home Folders and Uninstalls it. " / >
2023-05-16 14:52:11 -05:00
< CheckBox Name = " WPFMiscTweaksRightClickMenu " Content = " Set Classic Right-Click Menu " Margin = " 5,0 " ToolTip = " Great Windows 11 tweak to bring back good context menus when right clicking things in explorer. " / >
2023-09-13 17:30:56 -05:00
< CheckBox Name = " WPFMiscTweaksDisableipsix " Content = " Disable IPv6 " Margin = " 5,0 " ToolTip = " Disables IPv6. " / >
< CheckBox Name = " WPFMiscTweaksEnableipsix " Content = " Enable IPv6 " Margin = " 5,0 " ToolTip = " Enables IPv6. " / >
2023-07-13 15:46:00 -05:00
2023-11-14 15:45:48 -06:00
< StackPanel Orientation = " Horizontal " Margin = " 0,5,0,0 " >
< Label Content = " DNS " / >
< ComboBox Name = " WPFchangedns " Height = " 20 " Width = " 160 " HorizontalAlignment = " Left " Margin = " 5,5 " >
< ComboBoxItem IsSelected = " True " Content = " Default " / >
< ComboBoxItem Content = " DHCP " / >
< ComboBoxItem Content = " Google " / >
< ComboBoxItem Content = " Cloudflare " / >
< ComboBoxItem Content = " Cloudflare_Malware " / >
< ComboBoxItem Content = " Cloudflare_Malware_Adult " / >
< ComboBoxItem Content = " Level3 " / >
< ComboBoxItem Content = " Open_DNS " / >
< ComboBoxItem Content = " Quad9 " / >
2023-10-19 17:12:55 -05:00
< / ComboBox >
2023-11-14 15:45:48 -06:00
< / StackPanel >
< Button Name = " WPFtweaksbutton " Content = " Run Tweaks " HorizontalAlignment = " Left " Width = " 160 " Margin = " 0,15,0,0 " / >
< Button Name = " WPFundoall " Content = " Undo Selected Tweaks " HorizontalAlignment = " Left " Width = " 160 " Margin = " 0,10,0,0 " / >
< / StackPanel >
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Row = " 1 " Grid . Column = " 2 " Margin = " 10,5 " >
< Label FontSize = " 16 " Content = " Customize Preferences " / >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " Dark Theme " Style = " {StaticResource labelfortweaks} " ToolTip = " Enable/Disable Dark Mode. " / >
< CheckBox Name = " WPFToggleDarkMode " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
< / StackPanel >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " Bing Search in Start Menu " Style = " {StaticResource labelfortweaks} " ToolTip = " If enable then includes web search results from Bing in your Start Menu search. " / >
< CheckBox Name = " WPFToggleBingSearch " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
< / StackPanel >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " NumLock on Startup " Style = " {StaticResource labelfortweaks} " ToolTip = " Toggle the Num Lock key state when your computer starts. " / >
< CheckBox Name = " WPFToggleNumLock " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
< / StackPanel >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " Verbose Logon Messages " Style = " {StaticResource labelfortweaks} " ToolTip = " Show detailed messages during the login process for troubleshooting and diagnostics. " / >
< CheckBox Name = " WPFToggleVerboseLogon " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
< / StackPanel >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " Show File Extentions " Style = " {StaticResource labelfortweaks} " ToolTip = " If enabled then File extensions (e.g., .txt, .jpg) are visible. " / >
< CheckBox Name = " WPFToggleShowExt " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
< / StackPanel >
< StackPanel Orientation = " Horizontal " Margin = " 0,10,0,0 " >
< Label Content = " Mouse Acceleration " Style = " {StaticResource labelfortweaks} " ToolTip = " If Enabled then Cursor movement is affected by the speed of your physical mouse movements. " / >
< CheckBox Name = " WPFToggleMouseAcceleration " Style = " {StaticResource ColorfulToggleSwitchStyle} " Margin = " 2.5,0 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
2023-11-14 15:45:48 -06:00
< / StackPanel > < ! - - End of Customize Preferences Section - - >
2023-05-16 14:52:11 -05:00
< / Grid >
< / TabItem >
< TabItem Header = " Config " Visibility = " Collapsed " Name = " WPFTab3 " >
< Grid Background = " #444444 " >
< Grid . ColumnDefinitions >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< / Grid . ColumnDefinitions >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Column = " 0 " Margin = " 10,5 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Features " FontSize = " 16 " / >
< CheckBox Name = " WPFFeaturesdotnet " Content = " All .Net Framework (2,3,4) " Margin = " 5,0 " / >
< CheckBox Name = " WPFFeatureshyperv " Content = " HyperV Virtualization " Margin = " 5,0 " / >
< CheckBox Name = " WPFFeatureslegacymedia " Content = " Legacy Media (WMP, DirectPlay) " Margin = " 5,0 " / >
< CheckBox Name = " WPFFeaturenfs " Content = " NFS - Network File System " Margin = " 5,0 " / >
< CheckBox Name = " WPFFeaturewsl " Content = " Windows Subsystem for Linux " Margin = " 5,0 " / >
2023-07-13 15:46:00 -05:00
< Button Name = " WPFFeatureInstall " FontSize = " 14 " Content = " Install Features " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 150 " / >
2023-05-16 14:52:11 -05:00
< Label Content = " Fixes " FontSize = " 16 " / >
2023-08-02 19:43:52 -05:00
< Button Name = " WPFPanelAutologin " FontSize = " 14 " Content = " Set Up Autologin " HorizontalAlignment = " Left " Margin = " 5,2 " Padding = " 20,5 " Width = " 300 " / >
< Button Name = " WPFFixesUpdate " FontSize = " 14 " Content = " Reset Windows Update " HorizontalAlignment = " Left " Margin = " 5,2 " Padding = " 20,5 " Width = " 300 " / >
< Button Name = " WPFFixesNetwork " FontSize = " 14 " Content = " Reset Network " HorizontalAlignment = " Left " Margin = " 5,2 " Padding = " 20,5 " Width = " 300 " / >
< Button Name = " WPFPanelDISM " FontSize = " 14 " Content = " System Corruption Scan " HorizontalAlignment = " Left " Margin = " 5,2 " Padding = " 20,5 " Width = " 300 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Column = " 1 " Margin = " 10,5 " >
2023-05-16 14:52:11 -05:00
< Label Content = " Legacy Windows Panels " FontSize = " 16 " / >
2023-07-13 15:46:00 -05:00
< Button Name = " WPFPanelcontrol " FontSize = " 14 " Content = " Control Panel " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
< Button Name = " WPFPanelnetwork " FontSize = " 14 " Content = " Network Connections " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
< Button Name = " WPFPanelpower " FontSize = " 14 " Content = " Power Panel " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
2023-08-02 19:43:52 -05:00
< Button Name = " WPFPanelregion " FontSize = " 14 " Content = " Region " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
2023-07-13 15:46:00 -05:00
< Button Name = " WPFPanelsound " FontSize = " 14 " Content = " Sound Settings " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
< Button Name = " WPFPanelsystem " FontSize = " 14 " Content = " System Properties " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
< Button Name = " WPFPaneluser " FontSize = " 14 " Content = " User Accounts " HorizontalAlignment = " Left " Margin = " 5 " Padding = " 20,5 " Width = " 200 " / >
2023-05-16 14:52:11 -05:00
< / StackPanel >
< / Grid >
< / TabItem >
< TabItem Header = " Updates " Visibility = " Collapsed " Name = " WPFTab4 " >
< Grid Background = " #555555 " >
< Grid . ColumnDefinitions >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< ColumnDefinition Width = " * " / >
< / Grid . ColumnDefinitions >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Column = " 0 " Margin = " 10,5 " >
< Button Name = " WPFUpdatesdefault " FontSize = " 16 " Content = " Default (Out of Box) Settings " Margin = " 20,4,20,10 " Padding = " 10 " / >
2023-05-16 14:52:11 -05:00
< TextBlock Margin = " 20,0,20,0 " Padding = " 10 " TextWrapping = " WrapWithOverflow " MaxWidth = " 300 " > This is the default settings that come with Windows . < LineBreak / > < LineBreak / > No modifications are made and will remove any custom windows update settings . < LineBreak / > < LineBreak / > Note : If you still encounter update errors , reset all updates in the config tab . That will restore ALL Microsoft Update Services from their servers and reinstall them to default settings . < / TextBlock >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Column = " 1 " Margin = " 10,5 " >
< Button Name = " WPFUpdatessecurity " FontSize = " 16 " Content = " Security (Recommended) Settings " Margin = " 20,4,20,10 " Padding = " 10 " / >
2023-05-16 14:52:11 -05:00
< TextBlock Margin = " 20,0,20,0 " Padding = " 10 " TextWrapping = " WrapWithOverflow " MaxWidth = " 300 " > This is my recommended setting I use on all computers . < LineBreak / > < LineBreak / > It will delay feature updates by 2 years and will install security updates 4 days after release . < LineBreak / > < LineBreak / > Feature Updates : Adds features and often bugs to systems when they are released . You want to delay these as long as possible . < LineBreak / > < LineBreak / > Security Updates : Typically these are pressing security flaws that need to be patched quickly . You only want to delay these a couple of days just to see if they are safe and don '' t break other systems . You don '' t want to go without these for ANY extended periods of time . < / TextBlock >
< / StackPanel >
2023-07-13 15:46:00 -05:00
< StackPanel Background = " {MainBackgroundColor} " SnapsToDevicePixels = " True " Grid . Column = " 2 " Margin = " 10,5 " >
< Button Name = " WPFUpdatesdisable " FontSize = " 16 " Content = " Disable ALL Updates (NOT RECOMMENDED!) " Margin = " 20,4,20,10 " Padding = " 10,10,10,10 " / >
2023-05-16 14:52:11 -05:00
< TextBlock Margin = " 20,0,20,0 " Padding = " 10 " TextWrapping = " WrapWithOverflow " MaxWidth = " 300 " > This completely disables ALL Windows Updates and is NOT RECOMMENDED . < LineBreak / > < LineBreak / > However , it can be suitable if you use your system for a select purpose and do not actively browse the internet . < LineBreak / > < LineBreak / > Note : Your system will be easier to hack and infect without security updates . < / TextBlock >
< TextBlock Text = " " Margin = " 20,0,20,0 " Padding = " 10 " TextWrapping = " WrapWithOverflow " MaxWidth = " 300 " / >
< / StackPanel >
< / Grid >
< / TabItem >
< / TabControl >
< / Grid >
< / Viewbox >
< / Border >
< / Window > '
2023-10-19 17:12:55 -05:00
$sync . configs . applications = ' {
2023-09-13 17:30:56 -05:00
" WPFInstall7zip " : {
" winget " : " 7zip.7zip " ,
" choco " : " 7zip "
} ,
" WPFInstalladobe " : {
" winget " : " Adobe.Acrobat.Reader.64-bit " ,
" choco " : " adobereader "
} ,
" WPFInstalladvancedip " : {
" winget " : " Famatech.AdvancedIPScanner " ,
" choco " : " advanced-ip-scanner "
} ,
" WPFInstallalacritty " : {
" Winget " : " Alacritty.Alacritty " ,
" choco " : " alacritty "
} ,
" WPFInstallanydesk " : {
" winget " : " AnyDeskSoftwareGmbH.AnyDesk " ,
" choco " : " anydesk "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallaimp " : {
" winget " : " AIMP.AIMP " ,
" choco " : " aimp "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallaudacity " : {
" winget " : " Audacity.Audacity " ,
" choco " : " audacity "
} ,
" WPFInstallautohotkey " : {
" winget " : " AutoHotkey.AutoHotkey " ,
" choco " : " autohotkey "
} ,
" WPFInstallbitwarden " : {
" winget " : " Bitwarden.Bitwarden " ,
" choco " : " bitwarden "
} ,
" WPFInstallblender " : {
" winget " : " BlenderFoundation.Blender " ,
" choco " : " blender "
} ,
" WPFInstallbluestacks " : {
" winget " : " BlueStack.BlueStacks " ,
" choco " : " na "
} ,
" WPFInstallbrave " : {
" winget " : " Brave.Brave " ,
" choco " : " brave "
} ,
" WPFInstallbulkcrapuninstaller " : {
" winget " : " Klocman.BulkCrapUninstaller " ,
" choco " : " bulk-crap-uninstaller "
} ,
" WPFInstallchrome " : {
" winget " : " Google.Chrome " ,
" choco " : " googlechrome "
} ,
" WPFInstallchromium " : {
" winget " : " eloston.ungoogled-chromium " ,
" choco " : " chromium "
} ,
" WPFInstallcider " : {
" winget " : " CiderCollective.Cider " ,
" choco " : " cider "
} ,
" WPFInstallcpuz " : {
" winget " : " CPUID.CPU-Z " ,
" choco " : " cpu-z "
} ,
" WPFInstallddu " : {
" winget " : " ddu " ,
" choco " : " ddu "
} ,
" WPFInstalldeluge " : {
" winget " : " DelugeTeam.Deluge " ,
" choco " : " deluge "
} ,
" WPFInstalldiscord " : {
" winget " : " Discord.Discord " ,
" choco " : " discord "
} ,
" WPFInstalldockerdesktop " : {
" winget " : " Docker.DockerDesktop " ,
" choco " : " docker-desktop "
} ,
" WPFInstalldotnet3 " : {
" winget " : " Microsoft.DotNet.DesktopRuntime.3_1 " ,
" choco " : " dotnetcore3-desktop-runtime "
} ,
" WPFInstalldotnet5 " : {
" winget " : " Microsoft.DotNet.DesktopRuntime.5 " ,
" choco " : " dotnet-5.0-runtime "
} ,
" WPFInstalldotnet6 " : {
" winget " : " Microsoft.DotNet.DesktopRuntime.6 " ,
" choco " : " dotnet-6.0-runtime "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstalldotnet7 " : {
" winget " : " Microsoft.DotNet.DesktopRuntime.7 " ,
" choco " : " dotnet-7.0-runtime "
} ,
2023-11-14 15:45:48 -06:00
" WPFInstallduplicati " : {
" winget " : " Duplicati.Duplicati " ,
" choco " : " duplicati "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstalleaapp " : {
" winget " : " ElectronicArts.EADesktop " ,
" choco " : " ea-app "
} ,
" WPFInstalleartrumpet " : {
" winget " : " File-New-Project.EarTrumpet " ,
" choco " : " eartrumpet "
} ,
" WPFInstalledge " : {
" winget " : " Microsoft.Edge " ,
" choco " : " microsoft-edge "
} ,
" WPFInstallepicgames " : {
" winget " : " EpicGames.EpicGamesLauncher " ,
" choco " : " epicgameslauncher "
} ,
" WPFInstallesearch " : {
" winget " : " voidtools.Everything " ,
" choco " : " everything "
} ,
" WPFInstalletcher " : {
" winget " : " Balena.Etcher " ,
" choco " : " etcher "
} ,
" WPFInstallfirefox " : {
" winget " : " Mozilla.Firefox " ,
" choco " : " firefox "
} ,
" WPFInstallflameshot " : {
" winget " : " Flameshot.Flameshot " ,
" choco " : " na "
} ,
" WPFInstallflux " : {
" winget " : " flux.flux " ,
" choco " : " flux "
} ,
" WPFInstallfoobar " : {
" winget " : " PeterPawlowski.foobar2000 " ,
" choco " : " foobar2000 "
} ,
" WPFInstallfoxpdf " : {
" winget " : " Foxit.PhantomPDF " ,
" choco " : " na "
} ,
" WPFInstallgeforcenow " : {
" winget " : " Nvidia.GeForceNow " ,
" choco " : " nvidia-geforce-now "
} ,
" WPFInstallgimp " : {
" winget " : " GIMP.GIMP " ,
" choco " : " gimp "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallguilded " : {
" winget " : " Guilded.Guilded " ,
" choco " : " "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallgit " : {
" Winget " : " Git.Git " ,
" choco " : " git "
} ,
" WPFInstallgithubdesktop " : {
" winget " : " Git.Git;GitHub.GitHubDesktop " ,
" choco " : " git;github-desktop "
} ,
" WPFInstallglaryutilities " : {
" Winget " : " Glarysoft.GlaryUtilities " ,
" choco " : " glaryutilities-free "
} ,
" WPFInstallgog " : {
" winget " : " GOG.Galaxy " ,
" choco " : " goggalaxy "
} ,
" WPFInstallgolang " : {
" Winget " : " GoLang.Go " ,
" choco " : " golang "
} ,
" WPFInstallgpuz " : {
" winget " : " TechPowerUp.GPU-Z " ,
" choco " : " gpu-z "
} ,
" WPFInstallgreenshot " : {
" winget " : " Greenshot.Greenshot " ,
" choco " : " greenshot "
} ,
" WPFInstallgsudo " : {
" winget " : " gerardog.gsudo " ,
" choco " : " gsudo "
} ,
" WPFInstallhandbrake " : {
" winget " : " HandBrake.HandBrake " ,
" choco " : " handbrake "
} ,
" WPFInstallheroiclauncher " : {
" winget " : " HeroicGamesLauncher.HeroicGamesLauncher " ,
" choco " : " na "
} ,
" WPFInstallhexchat " : {
" winget " : " HexChat.HexChat " ,
" choco " : " hexchat "
} ,
" WPFInstallhwinfo " : {
" winget " : " REALiX.HWiNFO " ,
" choco " : " hwinfo "
} ,
" WPFInstallimageglass " : {
" winget " : " DuongDieuPhap.ImageGlass " ,
" choco " : " imageglass "
} ,
" WPFInstallinkscape " : {
" winget " : " Inkscape.Inkscape " ,
" choco " : " inkscape "
} ,
" WPFInstallitunes " : {
" winget " : " Apple.iTunes " ,
" choco " : " itunes "
} ,
2023-09-23 14:10:03 -05:00
" WPFInstalljellyfinmediaplayer " : {
" winget " : " Jellyfin.JellyfinMediaPlayer " ,
" choco " : " jellyfin-media-player "
} ,
" WPFInstalljellyfinserver " : {
" winget " : " Jellyfin.Server " ,
" choco " : " jellyfin "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstalljami " : {
" winget " : " SFLinux.Jami " ,
" choco " : " jami "
} ,
" WPFInstalljava8 " : {
" winget " : " EclipseAdoptium.Temurin.8.JRE " ,
" choco " : " temurin8jre "
} ,
" WPFInstalljava11 " : {
" winget " : " EclipseAdoptium.Temurin.11.JRE " ,
" choco " : " javaruntime "
} ,
" WPFInstalljava16 " : {
" winget " : " AdoptOpenJDK.OpenJDK.16 " ,
" choco " : " temurin16jre "
} ,
" WPFInstalljava17 " : {
" winget " : " EclipseAdoptium.Temurin.17.JRE " ,
" choco " : " temurin17jre "
} ,
" WPFInstalljava18 " : {
" winget " : " EclipseAdoptium.Temurin.18.JRE " ,
" choco " : " temurin18jre "
} ,
" WPFInstalljava19 " : {
" winget " : " EclipseAdoptium.Temurin.19.JRE " ,
" choco " : " temurin19jre "
} ,
" WPFInstalljava20 " : {
" winget " : " Azul.Zulu.20.JDK " ,
" choco " : " na "
} ,
" WPFInstalljdownloader " : {
" winget " : " AppWork.JDownloader " ,
" choco " : " jdownloader "
} ,
" WPFInstalljetbrains " : {
" winget " : " JetBrains.Toolbox " ,
" choco " : " jetbrainstoolbox "
} ,
" WPFInstalljoplin " : {
" winget " : " Joplin.Joplin " ,
" choco " : " joplin "
} ,
2023-11-14 15:45:48 -06:00
" WPFInstallkdeconnect " : {
" winget " : " KDE.KDEConnect " ,
" choco " : " kdeconnect-kde "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallkdenlive " : {
" Winget " : " KDE.Kdenlive " ,
" choco " : " kdenlive "
} ,
" WPFInstallkeepass " : {
" winget " : " KeePassXCTeam.KeePassXC " ,
" choco " : " keepassxc "
} ,
" WPFInstallklite " : {
" winget " : " CodecGuide.K-LiteCodecPack.Standard " ,
" choco " : " k-litecodecpack-standard "
} ,
" WPFInstallkodi " : {
" winget " : " XBMCFoundation.Kodi " ,
" choco " : " kodi "
} ,
" WPFInstallkrita " : {
" winget " : " KDE.Krita " ,
" choco " : " krita "
} ,
" WPFInstalllibreoffice " : {
" winget " : " TheDocumentFoundation.LibreOffice " ,
" choco " : " libreoffice-fresh "
} ,
" WPFInstalllibrewolf " : {
" winget " : " LibreWolf.LibreWolf " ,
" choco " : " librewolf "
} ,
" WPFInstallmalwarebytes " : {
" winget " : " Malwarebytes.Malwarebytes " ,
" choco " : " malwarebytes "
} ,
" WPFInstallmatrix " : {
" winget " : " Element.Element " ,
" choco " : " element-desktop "
} ,
" WPFInstallmonitorian " : {
" winget " : " emoacht.Monitorian " ,
" choco " : " monitorian "
} ,
" WPFInstallmpc " : {
" winget " : " clsid2.mpc-hc " ,
" choco " : " mpc-hc "
} ,
" WPFInstallmremoteng " : {
" winget " : " mRemoteNG.mRemoteNG " ,
" choco " : " mremoteng "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallmsiafterburner " : {
" winget " : " Guru3D.Afterburner " ,
" choco " : " msiafterburner "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallmusicbee " : {
" winget " : " MusicBee.MusicBee " ,
" choco " : " musicbee "
} ,
2023-09-23 14:10:03 -05:00
" WPFInstallnanazip " : {
" winget " : " M2Team.NanaZip " ,
" choco " : " nanazip "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallnano " : {
" winget " : " GNU.Nano " ,
" choco " : " nano "
} ,
" WPFInstallnaps2 " : {
" winget " : " Cyanfish.NAPS2 " ,
" choco " : " naps2 "
} ,
" WPFInstallneovim " : {
" winget " : " Neovim.Neovim " ,
" choco " : " neovim "
} ,
" WPFInstallnglide " : {
" winget " : " ZeusSoftware.nGlide " ,
" choco " : " na "
} ,
" WPFInstallnodejs " : {
" winget " : " OpenJS.NodeJS " ,
" choco " : " nodejs "
} ,
" WPFInstallnodejslts " : {
" winget " : " OpenJS.NodeJS.LTS " ,
" choco " : " nodejs-lts "
} ,
" WPFInstallnomacs " : {
" winget " : " nomacs.nomacs " ,
" choco " : " nomacs "
} ,
" WPFInstallnotepadplus " : {
" winget " : " Notepad++.Notepad++ " ,
" choco " : " notepadplusplus "
} ,
" WPFInstallnuget " : {
" winget " : " Microsoft.NuGet " ,
" choco " : " nuget.commandline "
} ,
" WPFInstallnvclean " : {
" winget " : " TechPowerUp.NVCleanstall " ,
" choco " : " na "
} ,
" WPFInstallnvm " : {
" winget " : " CoreyButler.NVMforWindows " ,
" choco " : " nvm "
} ,
" WPFInstallobs " : {
" winget " : " OBSProject.OBSStudio " ,
" choco " : " obs-studio "
} ,
" WPFInstallobsidian " : {
" winget " : " Obsidian.Obsidian " ,
" choco " : " obsidian "
} ,
2023-09-23 14:10:03 -05:00
" WPFInstallokular " : {
" winget " : " KDE.Okular " ,
" choco " : " okular "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallonedrive " : {
" winget " : " Microsoft.OneDrive " ,
" choco " : " onedrive "
} ,
" WPFInstallonlyoffice " : {
" winget " : " ONLYOFFICE.DesktopEditors " ,
" choco " : " onlyoffice "
} ,
" WPFInstallopenoffice " : {
" winget " : " Apache.OpenOffice " ,
" choco " : " openoffice "
} ,
" WPFInstallopenshell " : {
" winget " : " Open-Shell.Open-Shell-Menu " ,
" choco " : " open-shell "
} ,
2023-11-14 15:45:48 -06:00
" WPFInstallOpenVPN " : {
" winget " : " OpenVPNTechnologies.OpenVPNConnect " ,
" choco " : " openvpn-connect "
} ,
" WPFInstallOVirtualBox " : {
" winget " : " Oracle.VirtualBox " ,
" choco " : " virtualbox "
} ,
" WPFInstallPaintdotnet " : {
" winget " : " dotPDNLLC.paintdotnet " ,
" choco " : " paint.net "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallpeazip " : {
" winget " : " Giorgiotani.Peazip " ,
" choco " : " peazip "
} ,
" WPFInstallpostman " : {
" winget " : " Postman.Postman " ,
" choco " : " postman "
} ,
" WPFInstallpowershell " : {
" winget " : " Microsoft.PowerShell " ,
" choco " : " powershell-core "
} ,
" WPFInstallpowertoys " : {
" winget " : " Microsoft.PowerToys " ,
" choco " : " powertoys "
} ,
" WPFInstallprismlauncher " : {
" winget " : " PrismLauncher.PrismLauncher " ,
" choco " : " na "
} ,
" WPFInstallprocesslasso " : {
" winget " : " BitSum.ProcessLasso " ,
" choco " : " plasso "
} ,
" WPFInstallprocessmonitor " : {
" winget " : " Microsoft.Sysinternals.ProcessMonitor " ,
" choco " : " procexp "
} ,
" WPFInstallputty " : {
" winget " : " PuTTY.PuTTY " ,
" choco " : " putty "
} ,
" WPFInstallpython3 " : {
2023-11-14 15:45:48 -06:00
" winget " : " Python.Python.3.12 " ,
2023-09-13 17:30:56 -05:00
" choco " : " python "
} ,
" WPFInstallqbittorrent " : {
" winget " : " qBittorrent.qBittorrent " ,
" choco " : " qbittorrent "
} ,
" WPFInstallrevo " : {
" winget " : " RevoUninstaller.RevoUninstaller " ,
" choco " : " revo-uninstaller "
} ,
" WPFInstallrufus " : {
" winget " : " Rufus.Rufus " ,
" choco " : " rufus "
} ,
" WPFInstallrustdesk " : {
" winget " : " RustDesk.RustDesk " ,
" choco " : " rustdesk.portable "
} ,
" WPFInstallrustlang " : {
" Winget " : " Rustlang.Rust.MSVC " ,
" choco " : " rust "
} ,
" WPFInstallsandboxie " : {
" winget " : " Sandboxie.Plus " ,
" choco " : " sandboxie "
} ,
" WPFInstallsdio " : {
" winget " : " GlennDelahoy.SnappyDriverInstallerOrigin " ,
2023-09-23 14:10:03 -05:00
" choco " : " sdio "
2023-09-13 17:30:56 -05:00
} ,
2023-11-14 15:31:31 -06:00
" WPFInstallsession " : {
" winget " : " Oxen.Session " ,
" choco " : " session "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallsharex " : {
" winget " : " ShareX.ShareX " ,
" choco " : " sharex "
} ,
" WPFInstallshell " : {
" winget " : " Nilesoft.Shell " ,
" choco " : " na "
} ,
" WPFInstallsignal " : {
" winget " : " OpenWhisperSystems.Signal " ,
" choco " : " signal "
} ,
" WPFInstallsimplewall " : {
" Winget " : " Henry++.simplewall " ,
" choco " : " simplewall "
} ,
" WPFInstallskype " : {
" winget " : " Microsoft.Skype " ,
" choco " : " skype "
} ,
" WPFInstallslack " : {
" winget " : " SlackTechnologies.Slack " ,
" choco " : " slack "
} ,
" WPFInstallsqlstudio " : {
" winget " : " Microsoft.SQLServerManagementStudio " ,
" choco " : " sql-server-management-studio "
} ,
" WPFInstallsteam " : {
" winget " : " Valve.Steam " ,
" choco " : " steam-client "
} ,
" WPFInstallstrawberry " : {
" winget " : " StrawberryMusicPlayer.Strawberry " ,
" choco " : " strawberrymusicplayer "
} ,
" WPFInstallsublime " : {
" winget " : " SublimeHQ.SublimeText.4 " ,
" choco " : " sublimetext4 "
} ,
" WPFInstallsumatra " : {
" winget " : " SumatraPDF.SumatraPDF " ,
" choco " : " sumatrapdf "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallsuperf4 " : {
" winget " : " StefanSundin.Superf4 " ,
" choco " : " superf4 "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstalltcpview " : {
2023-09-23 14:10:03 -05:00
" winget " : " Microsoft.Sysinternals.TCPView " ,
2023-09-13 17:30:56 -05:00
" choco " : " tcpview "
} ,
" WPFInstallteams " : {
" winget " : " Microsoft.Teams " ,
" choco " : " microsoft-teams "
} ,
" WPFInstallteamviewer " : {
" winget " : " TeamViewer.TeamViewer " ,
" choco " : " teamviewer9 "
} ,
" WPFInstalltelegram " : {
" winget " : " Telegram.TelegramDesktop " ,
" choco " : " telegram "
} ,
" WPFInstallterminal " : {
" winget " : " Microsoft.WindowsTerminal " ,
" choco " : " microsoft-windows-terminal "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallthorium " : {
" winget " : " Alex313031.Thorium " ,
" choco " : " na "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstalltor " : {
" Winget " : " TorProject.TorBrowser " ,
" choco " : " tor-browser "
} ,
" WPFInstalltreesize " : {
" winget " : " JAMSoftware.TreeSize.Free " ,
" choco " : " treesizefree "
} ,
" WPFInstallttaskbar " : {
" winget " : " 9PF4KZ2VN4W9 " ,
" choco " : " translucenttb "
} ,
2023-11-14 15:45:48 -06:00
" WPFInstallthunderbird " : {
" winget " : " Mozilla.Thunderbird " ,
" choco " : " thunderbird "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstalltwinkletray " : {
" Winget " : " xanderfrangos.twinkletray " ,
" choco " : " na "
} ,
2023-09-23 14:10:03 -05:00
" WPFInstalltidal " : {
" Winget " : " 9NNCB5BS59PH " ,
" choco " : " na "
2023-10-19 17:12:55 -05:00
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallubisoft " : {
" winget " : " Ubisoft.Connect " ,
" choco " : " ubisoft-connect "
} ,
" WPFInstallunity " : {
" winget " : " Unity.UnityHub " ,
" choco " : " unityhub "
} ,
" WPFInstallvc2015_32 " : {
" winget " : " Microsoft.VCRedist.2015+.x86 " ,
" choco " : " na "
} ,
" WPFInstallvc2015_64 " : {
" winget " : " Microsoft.VCRedist.2015+.x64 " ,
" choco " : " na "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallventoy " : {
" winget " : " na " ,
" choco " : " ventoy "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallviber " : {
" Winget " : " Viber.Viber " ,
" choco " : " viber "
} ,
" WPFInstallvisualstudio " : {
" winget " : " Microsoft.VisualStudio.2022.Community " ,
" choco " : " visualstudio2022community "
} ,
" WPFInstallvivaldi " : {
" winget " : " VivaldiTechnologies.Vivaldi " ,
" choco " : " vivaldi "
} ,
" WPFInstallvlc " : {
" winget " : " VideoLAN.VLC " ,
" choco " : " vlc "
} ,
" WPFInstallvoicemeeter " : {
" winget " : " VB-Audio.Voicemeeter " ,
" choco " : " voicemeeter "
} ,
" WPFInstallvscode " : {
" winget " : " Git.Git;Microsoft.VisualStudioCode " ,
" choco " : " vscode "
} ,
" WPFInstallvscodium " : {
" winget " : " Git.Git;VSCodium.VSCodium " ,
" choco " : " vscodium "
} ,
" WPFInstallwaterfox " : {
" winget " : " Waterfox.Waterfox " ,
" choco " : " waterfox "
} ,
" WPFInstallwindirstat " : {
" winget " : " WinDirStat.WinDirStat " ,
" choco " : " windirstat "
} ,
" WPFInstallwingetui " : {
" winget " : " SomePythonThings.WingetUIStore " ,
" choco " : " na "
} ,
" WPFInstallwinmerge " : {
" winget " : " WinMerge.WinMerge " ,
" choco " : " winmerge "
} ,
" WPFInstallwinrar " : {
" winget " : " RARLab.WinRAR " ,
" choco " : " winrar "
} ,
" WPFInstallwinscp " : {
" winget " : " WinSCP.WinSCP " ,
" choco " : " winscp "
} ,
" WPFInstallwireshark " : {
" winget " : " WiresharkFoundation.Wireshark " ,
" choco " : " wireshark "
} ,
" WPFInstallwiztree " : {
" Winget " : " AntibodySoftware.WizTree " ,
" choco " : " wiztree "
} ,
" WPFInstallxdm " : {
" winget " : " subhra74.XtremeDownloadManager " ,
" choco " : " xdm "
} ,
2023-10-19 17:12:55 -05:00
" WPFInstallzerotierone " : {
" winget " : " ZeroTier.ZeroTierOne " ,
" choco " : " zerotier-one "
} ,
2023-09-13 17:30:56 -05:00
" WPFInstallzoom " : {
" winget " : " Zoom.Zoom " ,
" choco " : " zoom "
}
2023-05-16 14:52:11 -05:00
} ' | convertfrom-json
$sync . configs . dns = ' {
" Google " : {
" Primary " : " 8.8.8.8 " ,
" Secondary " : " 8.8.4.4 "
} ,
" Cloudflare " : {
" Primary " : " 1.1.1.1 " ,
" Secondary " : " 1.0.0.1 "
} ,
" Cloudflare_Malware " : {
" Primary " : " 1.1.1.2 " ,
" Secondary " : " 1.0.0.2 "
} ,
" Cloudflare_Malware_Adult " : {
" Primary " : " 1.1.1.3 " ,
" Secondary " : " 1.0.0.3 "
} ,
" Level3 " : {
" Primary " : " 4.2.2.2 " ,
" Secondary " : " 4.2.2.1 "
} ,
" Open_DNS " : {
" Primary " : " 208.67.222.222 " ,
" Secondary " : " 208.67.220.220 "
} ,
" Quad9 " : {
" Primary " : " 9.9.9.9 " ,
" Secondary " : " 149.112.112.112 "
}
} ' | convertfrom-json
$sync . configs . feature = ' {
" WPFFeaturesdotnet " : {
" feature " : [
" NetFx4-AdvSrvs " ,
" NetFx3 "
] ,
" InvokeScript " : [
]
} ,
" WPFFeatureshyperv " : {
" feature " : [
" HypervisorPlatform " ,
" Microsoft-Hyper-V-All " ,
" Microsoft-Hyper-V " ,
" Microsoft-Hyper-V-Tools-All " ,
" Microsoft-Hyper-V-Management-PowerShell " ,
" Microsoft-Hyper-V-Hypervisor " ,
" Microsoft-Hyper-V-Services " ,
" Microsoft-Hyper-V-Management-Clients "
] ,
" InvokeScript " : [
" Start-Process -FilePath cmd.exe -ArgumentList ''/c bcdedit /set hypervisorschedulertype classic'' -Wait "
]
} ,
" WPFFeatureslegacymedia " : {
" feature " : [
" WindowsMediaPlayer " ,
" MediaPlayback " ,
" DirectPlay " ,
" LegacyComponents "
] ,
" InvokeScript " : [
]
} ,
" WPFFeaturewsl " : {
" feature " : [
" VirtualMachinePlatform " ,
" Microsoft-Windows-Subsystem-Linux "
] ,
" InvokeScript " : [
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
]
} ,
" WPFFeaturenfs " : {
" feature " : [
" ServicesForNFS-ClientOnly " ,
" ClientForNFS-Infrastructure " ,
" NFS-Administration "
] ,
" InvokeScript " : [
" nfsadmin client stop
Set-ItemProperty -Path '' HKLM : \ \ SOFTWARE \ \ Microsoft \ \ ClientForNFS \ \ CurrentVersion \ \ Default '' -Name '' AnonymousUID '' -Type DWord -Value 0
Set-ItemProperty -Path '' HKLM : \ \ SOFTWARE \ \ Microsoft \ \ ClientForNFS \ \ CurrentVersion \ \ Default '' -Name '' AnonymousGID '' -Type DWord -Value 0
nfsadmin client start
nfsadmin client localhost config fileaccess = 755 SecFlavors = + sys -krb5 -krb5i
"
]
}
} ' | convertfrom-json
$sync . configs . preset = ' {
" desktop " : [
" WPFEssTweaksAH " ,
" WPFEssTweaksDVR " ,
" WPFEssTweaksHiber " ,
" WPFEssTweaksHome " ,
" WPFEssTweaksLoc " ,
" WPFEssTweaksOO " ,
" WPFEssTweaksServices " ,
" WPFEssTweaksStorage " ,
" WPFEssTweaksTele " ,
" WPFEssTweaksWifi " ,
2023-11-14 15:45:48 -06:00
" WPFMiscTweaksPower "
2023-05-16 14:52:11 -05:00
] ,
" laptop " : [
" WPFEssTweaksAH " ,
" WPFEssTweaksDVR " ,
" WPFEssTweaksHome " ,
" WPFEssTweaksLoc " ,
" WPFEssTweaksOO " ,
" WPFEssTweaksServices " ,
" WPFEssTweaksStorage " ,
" WPFEssTweaksTele " ,
" WPFEssTweaksWifi " ,
2023-11-14 15:45:48 -06:00
" WPFMiscTweaksLapPower "
2023-05-16 14:52:11 -05:00
] ,
" minimal " : [
" WPFEssTweaksHome " ,
" WPFEssTweaksOO " ,
" WPFEssTweaksServices " ,
" WPFEssTweaksTele "
]
} ' | convertfrom-json
2023-07-13 15:46:00 -05:00
$sync . configs . themes = ' {
" Classic " : {
" ComboBoxBackgroundColor " : " #777777 " ,
" LabelboxForegroundColor " : " #000000 " ,
" MainForegroundColor " : " #000000 " ,
" MainBackgroundColor " : " #777777 " ,
" LabelBackgroundColor " : " #777777 " ,
" ComboBoxForegroundColor " : " #000000 " ,
" ButtonInstallBackgroundColor " : " #222222 " ,
" ButtonTweaksBackgroundColor " : " #333333 " ,
" ButtonConfigBackgroundColor " : " #444444 " ,
" ButtonUpdatesBackgroundColor " : " #555555 " ,
" ButtonInstallForegroundColor " : " #FFFFFF " ,
" ButtonBackgroundColor " : " #CACACA " ,
" ButtonBackgroundPressedColor " : " #FFFFFF " ,
" ButtonBackgroundMouseoverColor " : " AliceBlue " ,
" ButtonForegroundColor " : " #000000 " ,
" ButtonBorderThickness " : " 0 " ,
" ButtonMargin " : " 0,3,0,3 " ,
" ButtonCornerRadius " : " 0 "
} ,
" Matrix " : {
" ComboBoxBackgroundColor " : " #000000 " ,
" LabelboxForegroundColor " : " #FFEE58 " ,
" MainForegroundColor " : " #9CCC65 " ,
" MainBackgroundColor " : " #000000 " ,
" LabelBackgroundColor " : " #000000 " ,
" ComboBoxForegroundColor " : " #FFEE58 " ,
" ButtonInstallBackgroundColor " : " #222222 " ,
" ButtonTweaksBackgroundColor " : " #333333 " ,
" ButtonConfigBackgroundColor " : " #444444 " ,
" ButtonUpdatesBackgroundColor " : " #555555 " ,
" ButtonInstallForegroundColor " : " #FFFFFF " ,
" ButtonBackgroundColor " : " #000000 " ,
" ButtonBackgroundPressedColor " : " #FFFFFF " ,
" ButtonBackgroundMouseoverColor " : " #A55A64 " ,
" ButtonForegroundColor " : " #9CCC65 " ,
" ButtonBorderThickness " : " 3 " ,
" ButtonMargin " : " 2 " ,
" ButtonCornerRadius " : " 4 "
}
} ' | convertfrom-json
2023-05-16 14:52:11 -05:00
$sync . configs . tweaks = ' {
" WPFEssTweaksAH " : {
" registry " : [
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System " ,
" Name " : " EnableActivityFeed " ,
" Type " : " DWord " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System " ,
" Name " : " PublishUserActivities " ,
" Type " : " DWord " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System " ,
" Name " : " UploadUserActivities " ,
" Type " : " DWord " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 "
}
]
} ,
" WPFEssTweaksHiber " : {
" registry " : [
{
" Path " : " HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power " ,
" Name " : " HibernateEnabled " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 " ,
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings " ,
" Name " : " ShowHibernateOption " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 " ,
" OriginalValue " : " 1 "
}
2023-07-27 16:06:41 -05:00
] ,
" InvokeScript " : [
" powercfg.exe /hibernate off "
2023-05-16 14:52:11 -05:00
]
} ,
" WPFEssTweaksHome " : {
" service " : [
{
" Name " : " HomeGroupListener " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " HomeGroupProvider " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
}
]
} ,
" WPFEssTweaksLoc " : {
" registry " : [
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location " ,
" Name " : " Value " ,
" Type " : " String " ,
" Value " : " Deny " ,
" OriginalValue " : " Allow "
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44} " ,
" Name " : " SensorPermissionState " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 " ,
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration " ,
" Name " : " Status " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 " ,
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SYSTEM\\Maps " ,
" Name " : " AutoUpdateEnabled " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 " ,
" OriginalValue " : " 1 "
}
]
} ,
" WPFEssTweaksServices " : {
" service " : [
{
" Name " : " AJRouter " ,
2023-07-27 16:06:41 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " ALG " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " AppIDSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " AppMgmt " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " AppReadiness " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " AppVClient " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " AppXSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Appinfo " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " AssignedAccessManagerSvc " ,
2023-07-27 16:06:41 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " AudioEndpointBuilder " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " AudioSrv " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " Audiosrv " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " AxInstSV " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " BDESVC " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " BFE " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " BITS " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " BTAGService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " BcastDVRUserService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " BluetoothUserService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " BrokerInfrastructure " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " Browser " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " BthAvctpSvc " ,
2023-08-02 19:43:52 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " BthHFSrv " ,
2023-08-02 19:43:52 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " CDPSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " CDPUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " COMSysApp " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " CaptureService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " CertPropSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " ClipSVC " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " ConsentUxUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " CoreMessagingRegistrar " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " CredentialEnrollmentManagerUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " CryptSvc " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " CscService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DPS " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DcomLaunch " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DcpSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " DevQueryBroker " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DeviceAssociationBrokerSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " DeviceAssociationService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DeviceInstall " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DevicePickerUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " DevicesFlowUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " Dhcp " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DiagTrack " ,
" StartupType " : " Disabled " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DialogBlockingService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " DispBrokerDesktopSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " DisplayEnhancementService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " DmEnrollmentSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Dnscache " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DoSvc " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " DsSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DsmSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " DusmSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " EFS " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " EapHost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " EntAppSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " EventLog " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " EventSystem " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " FDResPub " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Fax " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " FontCache " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " FrameServer " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " FrameServerMonitor " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " GraphicsPerfSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " HomeGroupListener " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " HomeGroupProvider " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " HvHost " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " IEEtwCollectorService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " IKEEXT " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " InstallService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " InventorySvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " IpxlatCfgSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " KeyIso " ,
2023-08-08 16:44:10 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " KtmRm " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " LSM " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " LanmanServer " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " LanmanWorkstation " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " LicenseManager " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " LxpSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " MSDTC " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " MSiSCSI " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " MapsBroker " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " McpManagementService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " MessagingService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " MicrosoftEdgeElevationService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " MixedRealityOpenXRSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " MpsSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " MsKeyboardFilter " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " NPSMSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " NaturalAuthentication " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " NcaSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NcbService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NcdAutoSetup " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NetSetupSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NetTcpPortSharing " ,
" StartupType " : " Disabled " ,
" OriginalType " : " Disabled "
} ,
{
" Name " : " Netlogon " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Netman " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NgcCtnrSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NgcSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " NlaSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " OneSyncSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " P9RdrService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " PNRPAutoReg " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " PNRPsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " PcaSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " PeerDistSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " PenService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " PerfHost " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " PhoneSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " PimIndexMaintenanceSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " PlugPlay " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " PolicyAgent " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Power " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " PrintNotify " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " PrintWorkflowUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " ProfSvc " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " PushToInstall " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " QWAVE " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " RasAuto " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " RasMan " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " RemoteAccess " ,
" StartupType " : " Disabled " ,
" OriginalType " : " Disabled "
} ,
{
" Name " : " RemoteRegistry " ,
" StartupType " : " Disabled " ,
" OriginalType " : " Disabled "
} ,
{
" Name " : " RetailDemo " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " RmSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " RpcEptMapper " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " RpcLocator " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " RpcSs " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SCPolicySvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SCardSvr " ,
2023-07-27 16:06:41 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " SDRSVC " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SEMgrSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " SENS " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SNMPTRAP " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " SNMPTrap " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " SSDPSRV " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SamSs " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " ScDeviceEnum " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Schedule " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SecurityHealthService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " Sense " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " SensorDataService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SensorService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SensrSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SessionEnv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SgrmBroker " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " SharedAccess " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " SharedRealitySvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " ShellHWDetection " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SmsRouter " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Spooler " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SstpSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " StateRepository " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " StiSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " StorSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SysMain " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " SystemEventsBroker " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " TabletInputService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " TapiSrv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " TermService " ,
2023-07-27 16:06:41 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " TextInputManagementService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " Themes " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " TieringEngineService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " TimeBroker " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " TimeBrokerSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " TokenBroker " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " TrkWks " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " TroubleshootingSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " TrustedInstaller " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " UI0Detect " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " UdkUserSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " UevAgentService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " UmRdpService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " UnistoreSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " UserDataSvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " UserManager " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " UsoSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " VGAuthService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " VMTools " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " VSS " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " VacSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " VaultSvc " ,
2023-08-08 16:44:10 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " W32Time " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WEPHOSTSVC " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WFDSConMgrSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " WMPNetworkSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WManSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " WPDBusEnum " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WSService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " WSearch " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " WaaSMedicSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " WalletService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WarpJITSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " WbioSrvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Wcmsvc " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " WcsPlugInService " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " WdNisSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WdiServiceHost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WdiSystemHost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WebClient " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Wecsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WerSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WiaRpc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WinDefend " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " WinHttpAutoProxySvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " WinRM " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " Winmgmt " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " WlanSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " WpcMonSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " WpnService " ,
" StartupType " : " Manual " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " WpnUserService_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " WwanSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " XblAuthManager " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " XblGameSave " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " XboxGipSvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " XboxNetApiSvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " autotimesvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " bthserv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " camsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " cbdhsvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " cloudidsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " dcsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " defragsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " diagnosticshub.standardcollector.service " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " diagsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " dmwappushservice " ,
2023-07-27 16:06:41 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " dot3svc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " edgeupdate " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " edgeupdatem " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " embeddedmode " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " fdPHost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " fhsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " gpsvc " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " hidserv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " icssvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " iphlpsvc " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " lfsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " lltdsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " lmhosts " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " mpssvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " msiserver " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " netprofm " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " nsi " ,
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " p2pimsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " p2psvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " perceptionsimulation " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " pla " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " seclogon " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " shpamsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " smphost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " spectrum " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " sppsvc " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " ssh-agent " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " svsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " swprv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " tiledatamodelsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
" OriginalType " : " Automatic "
2023-05-16 14:52:11 -05:00
} ,
{
" Name " : " tzautoupdate " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " uhssvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Disabled " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Disabled "
} ,
{
" Name " : " upnphost " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vds " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vm3dservice " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " vmicguestinterface " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmicheartbeat " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmickvpexchange " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmicrdv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmicshutdown " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmictimesync " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmicvmsession " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmicvss " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " vmvss " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " wbengine " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " wcncsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " webthreatdefsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " webthreatdefusersvc_dc2a4 " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Automatic " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Automatic "
} ,
{
" Name " : " wercplsupport " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " wisvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " wlidsvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " wlpasvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
2023-05-16 14:52:11 -05:00
" OriginalType " : " Manual "
} ,
{
" Name " : " wmiApSrv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " workfolderssvc " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " wscsvc " ,
" StartupType " : " AutomaticDelayedStart " ,
" OriginalType " : " Automatic "
} ,
{
" Name " : " wuauserv " ,
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
} ,
{
" Name " : " wudfsvc " ,
2023-07-15 10:42:11 -05:00
" StartupType " : " Manual " ,
" OriginalType " : " Manual "
2023-05-16 14:52:11 -05:00
}
]
} ,
" WPFEssTweaksTele " : {
" 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 " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Customer Experience Improvement Program\\Consolidator " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Customer Experience Improvement Program\\UsbCeip " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\DiskDiagnostic\\Microsoft-Windows-DiskDiagnosticDataCollector " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Feedback\\Siuf\\DmClient " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Feedback\\Siuf\\DmClientOnScenarioDownload " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Windows Error Reporting\\QueueReporting " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
2023-10-19 17:12:55 -05:00
} ,
{
" Name " : " Microsoft\\Windows\\Application Experience\\MareBackup " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Application Experience\\StartupAppTask " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Application Experience\\PcaPatchDbTask " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
} ,
{
" Name " : " Microsoft\\Windows\\Maps\\MapsUpdateTask " ,
" State " : " Disabled " ,
" OriginalState " : " Enabled "
2023-05-16 14:52:11 -05:00
}
] ,
" registry " : [
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection " ,
2023-09-23 14:10:03 -05:00
" Type " : " DWord " ,
" Value " : " 0 " ,
" Name " : " AllowTelemetry " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 "
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " AllowTelemetry " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ContentDeliveryAllowed " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " OemPreInstalledAppsEnabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " PreInstalledAppsEnabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " PreInstalledAppsEverEnabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SilentInstalledAppsEnabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SubscribedContent-338387Enabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SubscribedContent-338388Enabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SubscribedContent-338389Enabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SubscribedContent-353698Enabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SystemPaneSuggestionsEnabled " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DisableWindowsConsumerFeatures " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " NumberOfSIUFInPeriod " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DoNotShowFeedbackNotifications " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DisableTailoredExperiencesWithDiagnosticData " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DisabledByGroupPolicy " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " Disabled " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeliveryOptimization\\Config " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DODownloadMode " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " fAllowToGetHelp " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\OperationStatusManager " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " EnthusiastMode " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ShowTaskViewButton " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\People " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " PeopleBand " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " LaunchTo " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " LongPathsEnabled " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" _Comment " : " Driver searching is a function that should be left in " ,
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SearchOrderConfig " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SystemResponsiveness " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " NetworkThrottlingIndex " ,
" Value " : " 4294967295 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Control Panel\\Desktop " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " MenuShowDelay " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Control Panel\\Desktop " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " AutoEndTasks " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management " ,
" OriginalValue " : " 0 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ClearPageFileAtShutdown " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SYSTEM\\ControlSet001\\Services\\Ndu " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " Start " ,
" Value " : " 2 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Control Panel\\Mouse " ,
" OriginalValue " : " 400 " ,
2023-09-23 14:10:03 -05:00
" Name " : " MouseHoverTime " ,
" Value " : " 400 " ,
" Type " : " String "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters " ,
" OriginalValue " : " 20 " ,
2023-09-23 14:10:03 -05:00
" Name " : " IRPStackSize " ,
" Value " : " 30 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " EnableFeeds " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ShellFeedsTaskbarViewMode " ,
" Value " : " 2 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " HideSCAMeetNow " ,
" Value " : " 1 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " GPU Priority " ,
" Value " : " 8 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " Priority " ,
" Value " : " 6 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games " ,
" OriginalValue " : " High " ,
2023-09-23 14:10:03 -05:00
" Name " : " Scheduling Category " ,
" Value " : " High " ,
" Type " : " String "
2023-05-16 14:52:11 -05:00
}
] ,
" InvokeScript " : [
2023-10-19 17:12:55 -05:00
"
bcdedit / set ` { current ` } bootmenupolicy Legacy | Out-Null
2023-05-16 14:52:11 -05:00
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
}
2023-10-19 17:12:55 -05:00
Remove-Item -Path \ " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\MyComputer\\NameSpace\\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}\ " -Recurse -ErrorAction SilentlyContinue
2023-05-16 14:52:11 -05:00
# Group svchost.exe processes
$ram = ( Get-CimInstance -ClassName Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum ) . Sum / 1 kb
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
2023-10-19 17:12:55 -05:00
# Disable Defender Auto Sample Submission
Set-MpPreference -SubmitSamplesConsent 2 -ErrorAction SilentlyContinue | Out-Null
2023-05-16 14:52:11 -05:00
"
]
} ,
" WPFEssTweaksWifi " : {
" 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 "
}
]
} ,
" WPFMiscTweaksUTC " : {
" registry " : [
{
" Path " : " HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation " ,
" Name " : " RealTimeIsUniversal " ,
" Type " : " DWord " ,
" Value " : " 1 " ,
" OriginalValue " : " 0 "
}
]
} ,
" WPFMiscTweaksDisplay " : {
" registry " : [
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Control Panel\\Desktop " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " DragFullWindows " ,
" Value " : " 0 " ,
" Type " : " String "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Control Panel\\Desktop " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " MenuShowDelay " ,
" Value " : " 200 " ,
" Type " : " String "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Control Panel\\Desktop\\WindowMetrics " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " MinAnimate " ,
" Value " : " 0 " ,
" Type " : " String "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Control Panel\\Keyboard " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " KeyboardDelay " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ListviewAlphaSelect " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ListviewShadow " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " TaskbarAnimations " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VisualEffects " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " VisualFXSetting " ,
" Value " : " 3 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\DWM " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " EnableAeroPeek " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-09-07 14:37:27 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-09-07 14:37:27 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " TaskbarMn " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-09-07 14:37:27 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-09-07 14:37:27 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " TaskbarDa " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-09-07 14:37:27 -05:00
} ,
{
2023-10-19 17:12:55 -05:00
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced " ,
2023-09-07 14:37:27 -05:00
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ShowTaskViewButton " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-09-07 14:37:27 -05:00
} ,
{
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search " ,
" OriginalValue " : " 1 " ,
2023-09-23 14:10:03 -05:00
" Name " : " SearchboxTaskbarMode " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-09-13 19:16:33 -05:00
}
2023-05-16 14:52:11 -05:00
] ,
" InvokeScript " : [
" Set-ItemProperty -Path \ " HKCU : \ \ Control Panel \ \ Desktop \ " -Name \ " UserPreferencesMask \ " -Type Binary -Value ([byte[]](144,18,3,128,16,0,0,0)) "
2023-07-13 15:46:00 -05:00
] ,
" UndoScript " : [
" Remove-ItemProperty -Path \ " HKCU : \ \ Control Panel \ \ Desktop \ " -Name \ " UserPreferencesMask \ " "
2023-05-16 14:52:11 -05:00
]
} ,
" WPFEssTweaksDeBloat " : {
" appx " : [
" Microsoft.Microsoft3DViewer " ,
" Microsoft.AppConnector " ,
" Microsoft.BingFinance " ,
" Microsoft.BingNews " ,
" Microsoft.BingSports " ,
" Microsoft.BingTranslator " ,
" Microsoft.BingWeather " ,
" Microsoft.BingFoodAndDrink " ,
" Microsoft.BingHealthAndFitness " ,
" Microsoft.BingTravel " ,
" Microsoft.MinecraftUWP " ,
" Microsoft.GamingServices " ,
" Microsoft.GetHelp " ,
" Microsoft.Getstarted " ,
" Microsoft.Messaging " ,
" Microsoft.Microsoft3DViewer " ,
" Microsoft.MicrosoftSolitaireCollection " ,
" Microsoft.NetworkSpeedTest " ,
" Microsoft.News " ,
" Microsoft.Office.Lens " ,
" Microsoft.Office.Sway " ,
" Microsoft.Office.OneNote " ,
" Microsoft.OneConnect " ,
" Microsoft.People " ,
" Microsoft.Print3D " ,
" Microsoft.SkypeApp " ,
" Microsoft.Wallet " ,
" Microsoft.Whiteboard " ,
" Microsoft.WindowsAlarms " ,
" microsoft.windowscommunicationsapps " ,
" Microsoft.WindowsFeedbackHub " ,
" Microsoft.WindowsMaps " ,
" Microsoft.WindowsPhone " ,
" Microsoft.WindowsSoundRecorder " ,
" Microsoft.XboxApp " ,
" Microsoft.ConnectivityStore " ,
" Microsoft.CommsPhone " ,
" Microsoft.ScreenSketch " ,
" Microsoft.Xbox.TCUI " ,
" Microsoft.XboxGameOverlay " ,
" Microsoft.XboxGameCallableUI " ,
" Microsoft.XboxSpeechToTextOverlay " ,
" Microsoft.MixedReality.Portal " ,
" Microsoft.XboxIdentityProvider " ,
" Microsoft.ZuneMusic " ,
" Microsoft.ZuneVideo " ,
" Microsoft.Getstarted " ,
" Microsoft.MicrosoftOfficeHub " ,
" *EclipseManager* " ,
" *ActiproSoftwareLLC* " ,
" *AdobeSystemsIncorporated.AdobePhotoshopExpress* " ,
" *Duolingo-LearnLanguagesforFree* " ,
" *PandoraMediaInc* " ,
" *CandyCrush* " ,
" *BubbleWitch3Saga* " ,
" *Wunderlist* " ,
" *Flipboard* " ,
" *Twitter* " ,
" *Facebook* " ,
" *Royal Revolt* " ,
" *Sway* " ,
" *Speed Test* " ,
" *Dolby* " ,
" *Viber* " ,
" *ACGMediaPlayer* " ,
" *Netflix* " ,
" *OneCalendar* " ,
" *LinkedInforWindows* " ,
" *HiddenCityMysteryofShadows* " ,
" *Hulu* " ,
" *HiddenCity* " ,
" *AdobePhotoshopExpress* " ,
" *HotspotShieldFreeVPN* " ,
" *Microsoft.Advertising.Xaml* "
] ,
" InvokeScript " : [
"
$TeamsPath = [ System.IO.Path ] :: Combine ( $env:LOCALAPPDATA , '' Microsoft '' , '' Teams '' )
$TeamsUpdateExePath = [ System.IO.Path ] :: Combine ( $TeamsPath , '' Update . exe '' )
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host \ " Stopping Teams process...\ "
Stop-Process -Name \ " *teams*\ " -Force -ErrorAction SilentlyContinue
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host \ " Uninstalling Teams from AppData\\Microsoft\\Teams\ "
if ( [ System.IO.File ] :: Exists ( $TeamsUpdateExePath ) ) {
# Uninstall app
$proc = Start-Process $TeamsUpdateExePath \ " -uninstall -s\ " -PassThru
$proc . WaitForExit ( )
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host \ " Removing Teams AppxPackage...\ "
Get-AppxPackage \ " *Teams*\ " | Remove-AppxPackage -ErrorAction SilentlyContinue
Get-AppxPackage \ " *Teams*\ " -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host \ " Deleting Teams directory\ "
if ( [ System.IO.Directory ] :: Exists ( $TeamsPath ) ) {
Remove-Item $TeamsPath -Force -Recurse -ErrorAction SilentlyContinue
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Write-Host \ " Deleting Teams uninstall registry key\ "
# Uninstall from Uninstall registry key UninstallString
$us = ( Get-ChildItem -Path HKLM : \ \ SOFTWARE \ \ Microsoft \ \ Windows \ \ CurrentVersion \ \ Uninstall , HKLM : \ \ SOFTWARE \ \ Wow6432Node \ \ Microsoft \ \ Windows \ \ CurrentVersion \ \ Uninstall | Get-ItemProperty | Where-Object { $_ . DisplayName -like '' * Teams * '' } ) . UninstallString
if ( $us . Length -gt 0 ) {
$us = ( $us . Replace ( '' / I '' , '' / uninstall '' ) + '' / quiet '' ) . Replace ( '' '' , '' '' )
$FilePath = ( $us . Substring ( 0 , $us . IndexOf ( '' . exe '' ) + 4 ) . Trim ( ) )
$ProcessArgs = ( $us . Substring ( $us . IndexOf ( '' . exe '' ) + 5 ) . Trim ( ) . replace ( '' '' , '' '' ) )
$proc = Start-Process -FilePath $FilePath -Args $ProcessArgs -PassThru
$proc . WaitForExit ( )
}
"
]
} ,
" WPFEssTweaksOO " : {
" InvokeScript " : [
" 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
2023-08-08 16:44:10 -05:00
Start-Process $ENV:temp \ \ OOSU10 . exe -ArgumentList \ " \ " \ " $ENV:temp \\ooshutup10.cfg\ " \ " /quiet\ "
2023-05-16 14:52:11 -05:00
"
]
} ,
" WPFEssTweaksStorage " : {
" InvokeScript " : [
" Remove-Item -Path \ " HKCU : \ \ SOFTWARE \ \ Microsoft \ \ Windows \ \ CurrentVersion \ \ StorageSense \ \ Parameters \ \ StoragePolicy \ " -Recurse -ErrorAction SilentlyContinue "
2023-10-19 17:12:55 -05:00
] ,
2023-07-13 15:46:00 -05:00
" UndoScript " : [
" New-Item -Path \ " HKCU : \ \ SOFTWARE \ \ Microsoft \ \ Windows \ \ CurrentVersion \ \ StorageSense \ \ Parameters \ \ StoragePolicy \ " | Out-Null
"
2023-05-16 14:52:11 -05:00
]
} ,
" WPFEssTweaksRemoveEdge " : {
" InvokeScript " : [
2023-10-19 17:12:55 -05:00
"
2023-08-02 19:43:52 -05:00
#:: Standalone script by AveYo Source: https://raw.githubusercontent.com/AveYo/fox/main/Edge_Removal.bat
2023-07-20 15:56:01 -05:00
2023-10-19 17:12:55 -05:00
curl . exe -s \ " https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/edgeremoval.bat\ " -o $ENV:temp \ \ edgeremoval . bat
2023-07-20 15:56:01 -05:00
Start-Process $ENV:temp \ \ edgeremoval . bat
2023-07-20 15:39:49 -05:00
2023-05-16 14:52:11 -05:00
"
2023-07-13 15:46:00 -05:00
] ,
" UndoScript " : [
2023-09-13 17:30:56 -05:00
"
Write-Host \ " Install Microsoft Edge\ "
Start-Process -FilePath winget -ArgumentList \ " install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.Edge \ " -NoNewWindow -Wait
"
]
} ,
" WPFEssTweaksRemoveOnedrive " : {
" InvokeScript " : [
"
2023-10-19 17:12:55 -05:00
2023-09-13 17:30:56 -05:00
Write-Host \ " Kill OneDrive process\ "
taskkill . exe / F / IM \ " OneDrive.exe\ "
taskkill . exe / F / IM \ " explorer.exe\ "
Write-Host \ " Copy all OneDrive to Root UserProfile\ "
Start-Process -FilePath robocopy -ArgumentList \ " $env:USERPROFILE \\OneDrive $env:USERPROFILE /e /xj\ " -NoNewWindow -Wait
Write-Host \ " Remove OneDrive\ "
Start-Process -FilePath winget -ArgumentList \ " uninstall -e --purge --force --silent Microsoft.OneDrive \ " -NoNewWindow -Wait
Write-Host \ " Removing OneDrive leftovers\ "
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \ " $env:localappdata \\Microsoft\\OneDrive\ "
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \ " $env:programdata \\Microsoft OneDrive\ "
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \ " $env:systemdrive \\OneDriveTemp\ "
# check if directory is empty before removing:
If ( ( Get-ChildItem \ " $env:userprofile \\OneDrive\ " -Recurse | Measure-Object ) . Count -eq 0 ) {
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \ " $env:userprofile \\OneDrive\ "
}
Write-Host \ " Remove Onedrive from explorer sidebar\ "
Set-ItemProperty -Path \ " HKCR:\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ " -Name \ " System.IsPinnedToNameSpaceTree\ " -Value 0
Set-ItemProperty -Path \ " HKCR:\\Wow6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ " -Name \ " System.IsPinnedToNameSpaceTree\ " -Value 0
Write-Host \ " Removing run hook for new users\ "
reg load \ " hku\\Default\ " \ " C:\\Users\\Default\\NTUSER.DAT\ "
reg delete \ " HKEY_USERS\\Default\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\ " / v \ " OneDriveSetup\ " / f
reg unload \ " hku\\Default\ "
Write-Host \ " Removing startmenu entry\ "
Remove-Item -Force -ErrorAction SilentlyContinue \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\OneDrive.lnk\ "
Write-Host \ " Removing scheduled task\ "
Get-ScheduledTask -TaskPath '' \ \ '' -TaskName '' OneDrive * '' -ea SilentlyContinue | Unregister-ScheduledTask -Confirm: $false
# Add Shell folders restoring default locations
Write-Host \ " Shell Fixing\ "
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " AppData\ " -Value \ " $env:userprofile \\AppData\\Roaming\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Cache\ " -Value \ " $env:userprofile \\AppData\\Local\\Microsoft\\Windows\\INetCache\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Cookies\ " -Value \ " $env:userprofile \\AppData\\Local\\Microsoft\\Windows\\INetCookies\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Favorites\ " -Value \ " $env:userprofile \\Favorites\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " History\ " -Value \ " $env:userprofile \\AppData\\Local\\Microsoft\\Windows\\History\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Local AppData\ " -Value \ " $env:userprofile \\AppData\\Local\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " My Music\ " -Value \ " $env:userprofile \\Music\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " My Video\ " -Value \ " $env:userprofile \\Videos\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " NetHood\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " PrintHood\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Printer Shortcuts\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Programs\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Recent\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Recent\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " SendTo\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\SendTo\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Start Menu\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Startup\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Templates\ " -Value \ " $env:userprofile \\AppData\\Roaming\\Microsoft\\Windows\\Templates\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " {374DE290-123F-4565-9164-39C4925E467B}\ " -Value \ " $env:userprofile \\Downloads\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Desktop\ " -Value \ " $env:userprofile \\Desktop\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " My Pictures\ " -Value \ " $env:userprofile \\Pictures\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " Personal\ " -Value \ " $env:userprofile \\Documents\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " {F42EE2D3-909F-4907-8871-4C22FC0BF756}\ " -Value \ " $env:userprofile \\Documents\ " -Type ExpandString
Set-ItemProperty -Path \ " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\ " -Name \ " {0DDD015D-B06C-45D5-8C4C-F59713854639}\ " -Value \ " $env:userprofile \\Pictures\ " -Type ExpandString
Write-Host \ " Restarting explorer\ "
Start-Process \ " explorer.exe\ "
Write-Host \ " Waiting for explorer to complete loading\ "
Write-Host \ " Please Note - OneDrive folder may still have items in it. You must manually delete it, but all the files should already be copied to the base user folder.\ "
Start-Sleep 5
"
] ,
" UndoScript " : [
"
Write-Host \ " Install OneDrive\ "
Start-Process -FilePath winget -ArgumentList \ " install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.OneDrive \ " -NoNewWindow -Wait
"
2023-05-16 14:52:11 -05:00
]
} ,
" WPFMiscTweaksDisableNotifications " : {
" registry " : [
{
" Path " : " HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer " ,
" Name " : " DisableNotificationCenter " ,
" Type " : " DWord " ,
" Value " : " 1 " ,
" OriginalValue " : " 0 "
} ,
{
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications " ,
" Name " : " ToastEnabled " ,
" Type " : " DWord " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 "
}
]
} ,
" WPFMiscTweaksRightClickMenu " : {
" InvokeScript " : [
" New-Item -Path \ " HKCU : \ \ Software \ \ Classes \ \ CLSID \ \ { 86ca1aa0 - 34aa - 4e8b -a509 - 50c905bae2a2 } \ " -Name \ " InprocServer32 \ " -force -value \ " \ " "
2023-07-13 15:46:00 -05:00
] ,
" UndoScript " : [
"
Remove-Item -Path \ " HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\ " -Recurse -Confirm: $false -Force
Write-Host Restart Needed for change
"
2023-05-16 14:52:11 -05:00
]
} ,
" WPFEssTweaksDiskCleanup " : {
" InvokeScript " : [
2023-07-27 16:06:41 -05:00
"
cleanmgr . exe / d C: / VERYLOWDISK
Dism . exe / online / Cleanup-Image / StartComponentCleanup / ResetBase
"
2023-05-16 14:52:11 -05:00
]
} ,
" WPFMiscTweaksDisableUAC " : {
" registry " : [
{
2023-10-19 17:12:55 -05:00
" Path " : " HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System " ,
2023-05-16 14:52:11 -05:00
" OriginalValue " : " 5 " ,
2023-09-23 14:10:03 -05:00
" Name " : " ConsentPromptBehaviorAdmin " ,
" Value " : " 0 " ,
" Type " : " DWord "
2023-05-16 14:52:11 -05:00
}
]
} ,
" WPFEssTweaksDeleteTempFiles " : {
" InvokeScript " : [
" Get-ChildItem -Path \ " C: \ \ Windows \ \ Temp \ " *.* -Recurse | Remove-Item -Force -Recurse
Get-ChildItem -Path $env:TEMP * . * -Recurse | Remove-Item -Force -Recurse "
]
} ,
" WPFEssTweaksDVR " : {
" registry " : [
{
" Path " : " HKCU:\\System\\GameConfigStore " ,
" Name " : " GameDVR_FSEBehavior " ,
" Value " : " 2 " ,
" OriginalValue " : " 1 " ,
" Type " : " DWord "
} ,
{
" Path " : " HKCU:\\System\\GameConfigStore " ,
" Name " : " GameDVR_Enabled " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 " ,
" Type " : " DWord "
} ,
{
" Path " : " HKCU:\\System\\GameConfigStore " ,
" Name " : " GameDVR_DXGIHonorFSEWindowsCompatible " ,
" Value " : " 1 " ,
" OriginalValue " : " 0 " ,
" Type " : " DWord "
} ,
{
" Path " : " HKCU:\\System\\GameConfigStore " ,
" Name " : " GameDVR_HonorUserFSEBehaviorMode " ,
" Value " : " 1 " ,
" OriginalValue " : " 0 " ,
" Type " : " DWord "
} ,
{
" Path " : " HKCU:\\System\\GameConfigStore " ,
" Name " : " GameDVR_EFSEFeatureFlags " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 " ,
" Type " : " DWord "
2023-07-27 16:06:41 -05:00
} ,
2023-05-16 14:52:11 -05:00
{
" Path " : " HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\GameDVR " ,
" Name " : " AllowGameDVR " ,
" Value " : " 0 " ,
" OriginalValue " : " 1 " ,
" Type " : " DWord "
}
]
} ,
" WPFBingSearch " : {
" registry " : [
{
" OriginalValue " : " 1 " ,
" Name " : " BingSearchEnabled " ,
" Path " : " HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search " ,
2023-09-13 17:30:56 -05:00
" Type " : " DWord " ,
2023-05-16 14:52:11 -05:00
" Value " : " 0 "
}
]
2023-09-13 17:30:56 -05:00
} ,
" WPFMiscTweaksDisableipsix " : {
" InvokeScript " : [
2023-09-13 19:09:01 -05:00
" Disable-NetAdapterBinding -Name \ " * \ " -ComponentID ms_tcpip6 "
2023-09-13 17:30:56 -05:00
] ,
" UndoScript " : [
2023-09-13 19:09:01 -05:00
" Enable-NetAdapterBinding -Name \ " * \ " -ComponentID ms_tcpip6 "
2023-09-13 17:30:56 -05:00
]
} ,
" WPFMiscTweaksEnableipsix " : {
" InvokeScript " : [
2023-09-13 19:09:01 -05:00
" Enable-NetAdapterBinding -Name \ " * \ " -ComponentID ms_tcpip6 "
2023-09-13 17:30:56 -05:00
] ,
" UndoScript " : [
2023-09-13 19:09:01 -05:00
" Disable-NetAdapterBinding -Name \ " * \ " -ComponentID ms_tcpip6 "
2023-09-13 17:30:56 -05:00
]
2023-05-16 14:52:11 -05:00
}
} ' | convertfrom-json
2023-07-27 16:06:41 -05:00
# SPDX-License-Identifier: MIT
2023-10-19 17:12:55 -05:00
# Set the maximum number of threads for the RunspacePool to the number of threads on the machine
2023-05-16 14:52:11 -05:00
$maxthreads = [ int ] $env:NUMBER_OF_PROCESSORS
2023-10-19 17:12:55 -05:00
# Create a new session state for parsing variables into our runspace
2023-05-16 14:52:11 -05:00
$hashVars = New-object System . Management . Automation . Runspaces . SessionStateVariableEntry -ArgumentList 'sync' , $sync , $Null
$InitialSessionState = [ System.Management.Automation.Runspaces.InitialSessionState ] :: CreateDefault ( )
2023-10-19 17:12:55 -05:00
# Add the variable to the session state
2023-05-16 14:52:11 -05:00
$InitialSessionState . Variables . Add ( $hashVars )
2023-10-19 17:12:55 -05:00
# Get every private function and add them to the session state
2023-05-16 14:52:11 -05:00
$functions = Get-ChildItem function : \ | Where-Object { $_ . name -like " *winutil* " -or $_ . name -like " *WPF* " }
foreach ( $function in $functions ) {
$functionDefinition = Get-Content function : \ $ ( $function . name )
$functionEntry = New-Object System . Management . Automation . Runspaces . SessionStateFunctionEntry -ArgumentList $ ( $function . name ) , $functionDefinition
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$initialSessionState . Commands . Add ( $functionEntry )
}
2023-10-19 17:12:55 -05:00
# Create the runspace pool
$sync . runspace = [ runspacefactory ] :: CreateRunspacePool (
1 , # Minimum thread count
$maxthreads , # Maximum thread count
$InitialSessionState , # Initial session state
$Host # Machine to create runspaces on
)
2023-05-16 14:52:11 -05:00
2023-10-19 17:12:55 -05:00
# Open the RunspacePool instance
2023-05-16 14:52:11 -05:00
$sync . runspace . Open ( )
2023-10-19 17:12:55 -05:00
# Create classes for different exceptions
2023-05-16 14:52:11 -05:00
class WingetFailedInstall : Exception {
[ string ] $additionalData
WingetFailedInstall ( $Message ) : base ( $Message ) { }
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
class ChocoFailedInstall : Exception {
[ string ] $additionalData
ChocoFailedInstall ( $Message ) : base ( $Message ) { }
}
class GenericException : Exception {
[ string ] $additionalData
GenericException ( $Message ) : base ( $Message ) { }
}
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
$inputXML = $inputXML -replace 'mc:Ignorable="d"' , '' -replace " x:N " , 'N' -replace '^<Win.*' , '<Window'
2023-07-27 16:06:41 -05:00
if ( ( Get-WinUtilToggleStatus WPFToggleDarkMode ) -eq $True ) {
$ctttheme = 'Matrix'
}
Else {
$ctttheme = 'Classic'
}
2023-07-13 15:46:00 -05:00
$inputXML = Set-WinUtilUITheme -inputXML $inputXML -themeName $ctttheme
2023-05-16 14:52:11 -05:00
[ void][System.Reflection.Assembly ] :: LoadWithPartialName ( 'presentationframework' )
[ xml ] $XAML = $inputXML
2023-10-19 17:12:55 -05:00
# Read the XAML file
2023-05-16 14:52:11 -05:00
$reader = ( New-Object System . Xml . XmlNodeReader $xaml )
try { $sync [ " Form " ] = [ Windows.Markup.XamlReader ] :: Load ( $reader ) }
catch [ System.Management.Automation.MethodInvocationException ] {
Write-Warning " We ran into a problem with the XAML code. Check the syntax for this control... "
Write-Host $error [ 0 ] . Exception . Message -ForegroundColor Red
If ( $error [ 0 ] . Exception . Message -like " *button* " ) {
write-warning " Ensure your <button in the `$ inputXML does NOT have a Click=ButtonClick property. PS can't handle this `n `n `n `n "
}
}
catch {
Write-Host " Unable to load Windows.Markup.XamlReader. Double-check syntax and ensure .net is installed. "
}
#===========================================================================
# Store Form Objects In PowerShell
#===========================================================================
$xaml . SelectNodes ( " //*[@Name] " ) | ForEach-Object { $sync [ " $( " $( $psitem . Name ) " ) " ] = $sync [ " Form " ] . FindName ( $psitem . Name ) }
$sync . keys | ForEach-Object {
if ( $sync . $psitem ) {
if ( $ ( $sync [ " $psitem " ] . GetType ( ) | Select-Object -ExpandProperty Name ) -eq " Button " ) {
$sync [ " $psitem " ] . Add_Click ( {
[ System.Object ] $Sender = $args [ 0 ]
Invoke-WPFButton $Sender . name
} )
}
}
}
2023-07-27 16:06:41 -05:00
$sync . keys | ForEach-Object {
if ( $sync . $psitem ) {
if (
$ ( $sync [ " $psitem " ] . GetType ( ) | Select-Object -ExpandProperty Name ) -eq " CheckBox " `
-and $sync [ " $psitem " ] . Name -like " WPFToggle* "
) {
$sync [ " $psitem " ] . IsChecked = Get-WinUtilToggleStatus $sync [ " $psitem " ] . Name
$sync [ " $psitem " ] . Add_Click ( {
[ System.Object ] $Sender = $args [ 0 ]
Invoke-WPFToggle $Sender . name
} )
}
}
}
2023-05-16 14:52:11 -05:00
#===========================================================================
# Setup background config
#===========================================================================
2023-10-19 17:12:55 -05:00
# Load computer information in the background
2023-05-16 14:52:11 -05:00
Invoke-WPFRunspace -ScriptBlock {
$sync . ConfigLoaded = $False
$sync . ComputerInfo = Get-ComputerInfo
$sync . ConfigLoaded = $True
} | Out-Null
#===========================================================================
2023-10-19 17:12:55 -05:00
# Setup and Show the Form
2023-05-16 14:52:11 -05:00
#===========================================================================
2023-10-19 17:12:55 -05:00
# Print the logo
2023-05-16 14:52:11 -05:00
Invoke-WPFFormVariables
2023-10-19 17:12:55 -05:00
# Check if Chocolatey is installed
Install-WinUtilChoco
# Set the titlebar
2023-05-16 14:52:11 -05:00
$sync [ " Form " ] . title = $sync [ " Form " ] . title + " " + $sync . version
2023-10-19 17:12:55 -05:00
# Set the commands that will run when the form is closed
2023-05-16 14:52:11 -05:00
$sync [ " Form " ] . Add_Closing ( {
$sync . runspace . Dispose ( )
$sync . runspace . Close ( )
[ System.GC ] :: Collect ( )
} )
2023-10-19 17:12:55 -05:00
# Show the form
2023-05-16 14:52:11 -05:00
$sync [ " Form " ] . ShowDialog ( ) | out-null
2023-10-19 17:12:55 -05:00
2023-05-16 14:52:11 -05:00
Stop-Transcript