From 4348f052c3dc3cfcfe15940fc4561e47a081f8ed Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Mon, 17 Jun 2024 20:16:40 -0700 Subject: [PATCH 1/2] Update Invoke-WinUtilNumLock.ps1 (#2104) --- functions/private/Invoke-WinUtilNumLock.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/private/Invoke-WinUtilNumLock.ps1 b/functions/private/Invoke-WinUtilNumLock.ps1 index 64fe4110..97b36a94 100644 --- a/functions/private/Invoke-WinUtilNumLock.ps1 +++ b/functions/private/Invoke-WinUtilNumLock.ps1 @@ -15,6 +15,7 @@ function Invoke-WinUtilNumLock { Write-Host "Disabling Numlock on startup" $value = 0 } + New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS $Path = "HKU:\.Default\Control Panel\Keyboard" Set-ItemProperty -Path $Path -Name InitialKeyboardIndicators -Value $value } From 9be030a4e24fd15ae226bd056141dcfa3295f011 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Tue, 18 Jun 2024 03:17:06 +0000 Subject: [PATCH 2/2] Compile Winutil --- winutil.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 40b79198..3c80f14d 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -8,7 +8,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.06.11 + Version : 24.06.18 #> param ( [switch]$Debug, @@ -45,7 +45,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.06.11" +$sync.version = "24.06.18" $sync.configs = @{} $sync.ProcessRunning = $false @@ -1985,6 +1985,7 @@ function Invoke-WinUtilNumLock { Write-Host "Disabling Numlock on startup" $value = 0 } + New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS $Path = "HKU:\.Default\Control Panel\Keyboard" Set-ItemProperty -Path $Path -Name InitialKeyboardIndicators -Value $value }