From d649525722a9df3fe5b408492145a0d40e5e3c82 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 22 Mar 2024 10:20:03 +0100 Subject: [PATCH] Drop use of redundant constant value --- scripts/Windows/OS/User/Add.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/OS/User/Add.ps1 b/scripts/Windows/OS/User/Add.ps1 index 2b714881..179bfaca 100644 --- a/scripts/Windows/OS/User/Add.ps1 +++ b/scripts/Windows/OS/User/Add.ps1 @@ -90,7 +90,7 @@ function Enable-UACNextLogin([Context] $context) { "`$context.Remove('$preparedPasswordProperty');")), [System.Tuple]::Create( $uacDisablerTrigger, - "PortValhalla UAC Disabler", + $uacDisablerName, @( "Unregister-ScheduledTask -Confirm:`$false '$autoLoginName';", "Unregister-ScheduledTask -Confirm:`$false '$uacDisablerName';",