From e89ac5d095b551ec7ba37d0f27741ae2d1578897 Mon Sep 17 00:00:00 2001 From: Kurtis Andrews Date: Mon, 25 May 2026 09:34:25 +0000 Subject: [PATCH] Update Updated windows start sound to create a task per user. --- start.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.ps1 b/start.ps1 index 9b629b1..6966461 100644 --- a/start.ps1 +++ b/start.ps1 @@ -200,7 +200,7 @@ Function Update-Sounds { $action = New-ScheduledTaskAction -Execute "$folderPath\win95startsound.vbs" $trigger = New-ScheduledTaskTrigger -AtLogon $principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -LogonType Interactive - Register-ScheduledTask -TaskName "Win95-Startup-Sound" -Action $action -Trigger $trigger -Principal $principal -Description "Plays the windows 95 startup music at login" + Register-ScheduledTask -TaskName "Win95-Startup-Sound-$env:USERNAME" -Action $action -Trigger $trigger -Principal $principal -Description "Plays the windows 95 startup music at login" Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\CHORD.WAV" Set-ItemProperty -Path "HKCU:\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current\" -Name "(default)" -Value "$folderPath\win95-sounds\CHORD.WAV"