2

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.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Dec 31, 2014 at 16:04
5
  • do you have desktop, engine, or arcobjects installed on the server? Commented Dec 31, 2014 at 16:11
  • Yes. All of those plus the runtime SDK for WPF. 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. Commented Dec 31, 2014 at 16:29
  • Indeed, why not REST, since that's the purpose of the Admin interface. 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. Commented Dec 31, 2014 at 18:15

1 Answer 1

0

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

answered Dec 31, 2014 at 21:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.