From a2909c969183c2b5d3317ef89bfd67726940be72 Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Tue, 28 May 2024 17:45:28 -0400 Subject: [PATCH 1/2] fix: remove references to adminstrator users in script --- ee/server/service/embedded_scripts/windows_lock.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/server/service/embedded_scripts/windows_lock.ps1 b/ee/server/service/embedded_scripts/windows_lock.ps1 index 792cf71f19..c46010f961 100644 --- a/ee/server/service/embedded_scripts/windows_lock.ps1 +++ b/ee/server/service/embedded_scripts/windows_lock.ps1 @@ -1,4 +1,4 @@ -# PowerShell script to log off all non-administrative users and disable their accounts +# PowerShell script to log off all users and disable their accounts # Log off all users $loggedOffUsers = @{} @@ -32,4 +32,4 @@ Get-LocalUser | Where-Object { $_.Enabled -eq $true } | ForEach-Object { Write-Host "Disabled account for $username" } -Write-Host "All non-administrative users have been logged out and their accounts disabled." +Write-Host "All users have been logged out and their accounts disabled." From 13a272594b493bc8b9dc80a53581f4ad0f377165 Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Tue, 28 May 2024 17:49:19 -0400 Subject: [PATCH 2/2] chore: changes file --- changes/jve-fix-lock-script-typo | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/jve-fix-lock-script-typo diff --git a/changes/jve-fix-lock-script-typo b/changes/jve-fix-lock-script-typo new file mode 100644 index 0000000000..bc314a8baf --- /dev/null +++ b/changes/jve-fix-lock-script-typo @@ -0,0 +1 @@ +- Removes references to Administrator accounts in the comments of the Windows lock script. \ No newline at end of file