Skip to content

Fix SYSTEM detection to be language-independent#6

Open
calvarium wants to merge 2 commits intoAction1Corp:mainfrom
calvarium:main
Open

Fix SYSTEM detection to be language-independent#6
calvarium wants to merge 2 commits intoAction1Corp:mainfrom
calvarium:main

Conversation

@calvarium
Copy link

Updated the logic to determine if the script runs as SYSTEM by checking the user SID instead of the localized account name. This ensures the check works correctly across all system languages.

Updated the logic to determine if the script runs as SYSTEM by checking the user SID instead of the localized account name.  
This ensures the check works correctly across all system languages.
… under the context of all currently logged on user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant