Jump to content

SMC Maximum Run Command Size


Recommended Posts

Hi,

What is the maximum command size we can use? (for Windows, MacOS and Linux)

I'm asking because tried a long command it seems that was not executed.

Thanks.

Link to comment
Share on other sites

  • ESET Staff

If I recall correctly, limit of total size is very large - I think you would have higher probability that you hit limit of script interpreter first. There is definitely some limit of line in BAT files which might be problem.

I would recommend to create BAT/sh file manually and try to execute on target machine just to verify it actually works. Also be aware that scripts are executed in AGENT's security context which might have access to specific system or network resources, tied to domain users.

Link to comment
Share on other sites

  • ESET Staff

Hi, there are a few restrictions here:

I hope this helps.

Link to comment
Share on other sites

Hi!

This helps even if it was not the root cause for our issue (now fixed btw! with help of your recommendations) it gives us information on what are the limits.

In order to test our run commands we, as you suggested, run the commands in the destination host and using the agent context (in Windows, "Local System" privileges) it helps a lot. For others information if they run into the same problem: to do this we used psexec from SysInternals (psexec -i -s cmd.exe).

Thanks a lot!

Jean M.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...