mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
fix: remove references to adminstrator users in script (#19318)
> Related issue: #18461 Non-functional change; there were some comments in the embedded script that referenced Administrator accounts. These references needed to be removed, as the script can lock out all accounts now. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality
This commit is contained in:
commit
c2a9ba6f86
2 changed files with 3 additions and 2 deletions
1
changes/jve-fix-lock-script-typo
Normal file
1
changes/jve-fix-lock-script-typo
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Removes references to Administrator accounts in the comments of the Windows lock script.
|
||||
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue