Autorun config through API?

franton
Valued Contributor III

Can the autorun configuration data on the JSS be changed (currently) through the API? I may need in the future to reprogram all the local account and password details, and frankly, I don't want to wade through 2000+ inventory entries to do it!

3 REPLIES 3

alex030cc
New Contributor II

Hi,
searched the hole API too. Can not find attributes related to the Autorun data.
We have an import script for new computers. What we want to get is the Autorun data filled at that point. I switched to set the info directly via sql. Should also be possible on what you are looking for.
Nevertheless that's not the solution via API.

alden
New Contributor

Just a "me too". I am trying to make a simple frontend for my staff to type in the name of the computer that needs to be reimaged and I do a bunch of steps, one of which would be to set the autorun data.

I guess I could do it through sql -- anyone have any quick pointers on which tables are affected and what I'd need to insert (yes, I'm being lazy and hoping someone will tell me rather than taking the time to figure it out :).

Olivier
New Contributor II

+1, however, due to fact that Jamf does not support direct editing of the SQL database, we go the safe (and long) way and have bash scripts based on curl to simulate "human clicks", to configure the Autorun settings.

Having it directly accessible through the API, would avoid me the burden to deal and parse Jamf HTML code...and have a JSS server-version independent code.