Can anyone point me to a method for setting a service, folder, or the site root security setting to public via script? It can be using one of the admin tools (e.g. server\tools\admin\manageservice.py), arcpy, powershell, batch file, etc.

I have Desktop, Engine, ArcObjects, and WPF runtime SDK installed on the server. This is on Windows o/s.

My motivation is to be able to script/automate the server install and setup process, including services. I want to keep it as simple as possible because simple is easy to implement and debug. So if there is a solution that doesn't use the server's REST/SOAP interfaces, I would prefer to try that first.

However, I will consider REST if that is the best solution.

  • do you have desktop, engine, or arcobjects installed on the server?
    – Brad Nesom
    Commented Dec 31, 2014 at 16:11
  • Yes. All of those plus the runtime SDK for WPF.
    – Keith G
    Commented Dec 31, 2014 at 16:13
  • 1
    please include that info in your original question (touch edit) and anything you have tried. Possibly insight into why not rest/soap.
    – Brad Nesom
    Commented Dec 31, 2014 at 16:29
  • Indeed, why not REST, since that's the purpose of the Admin interface.
    – Vince
    Commented Dec 31, 2014 at 17:06
  • I've made some improvements/clarification to the question. I will consider REST implementation if that is the best solution.
    – Keith G
    Commented Dec 31, 2014 at 18:15

1 Answer 1


I found this solution, but I'm interested in seeing other responses if there is something better out there.

Example: Apply service permissions from a text file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.