Skip to main content
Run command (script) as Administrator (Windows)
Updated over 5 months ago

The Swif agent operates under the SYSTEM user, which possesses administrative rights. This setup ensures that all commands executed by the agent are within the administrative scope, eliminating the necessity for manual elevation to administrator status, as one might do in Windows PowerShell.

The SYSTEM user is a special account that has administrative privileges but lacks a user interface (UI). Consequently, operations that require interaction with the UI cannot be conducted by the SYSTEM user due to its inability to access the UI. This design choice is crucial for understanding how the Swif agent interacts with the system it's installed on, ensuring it has the necessary permissions to perform its tasks efficiently while also highlighting certain limitations regarding UI-based operations.

For macOS commands to run as sudo, please visit https://help.swif.ai/en/articles/8941223-run-command-as-sudo-macos.

Did this answer your question?