Fix non-functioning scheduled task
This commit is contained in:
parent
edd97b991f
commit
c88c6fbfce
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ function Enable-UACNextLogin([Context] $context) {
|
|||
@(
|
||||
"-c",
|
||||
"Set-ItemProperty '$($key.PSPath)' -Name 'EnableLUA' -Value 0;",
|
||||
"Unregister-ScheduledTask -Force '$uacDisablerName';",
|
||||
"Unregister-ScheduledTask -Confirm:`$false '$uacDisablerName';",
|
||||
". '$PSScriptRoot/../Scripts/Context.ps1';",
|
||||
"`$context = [Context]::new();",
|
||||
"`$context.EntryPoint = '$($context.EntryPoint)';",
|
||||
|
|
Loading…
Reference in a new issue