Kaseya Community

Elevated command line?

  • I have a script where I'd like to run a "sqlcmd" to execute a SQL script. However, this requires elevated priviledges, so I'm kinda stuck scripting this in Kaseya. Has anyone found a workaround for this?

  • Use "Impersonate User" or "Use Credentials" steps?

  • I've tried with "Use Credentials" and made sure the agent is set with proper credentials. Still no go. "Impersonate user" might work, but that would make the script specific to one computer and/or domain, as I would need to enter in username/domain + password to make that work ... Might be worth it for testing purposes, though ...