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– Brad Nesom2014年12月31日 16:11:20 +00:00Commented Dec 31, 2014 at 16:11
-
Yes. All of those plus the runtime SDK for WPF.Keith G– Keith G2014年12月31日 16:13:12 +00:00Commented Dec 31, 2014 at 16:13
-
1please include that info in your original question (touch edit) and anything you have tried. Possibly insight into why not rest/soap.Brad Nesom– Brad Nesom2014年12月31日 16:29:42 +00:00Commented Dec 31, 2014 at 16:29
-
Indeed, why not REST, since that's the purpose of the Admin interface.Vince– Vince2014年12月31日 17:06:07 +00:00Commented 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– Keith G2014年12月31日 18:15:22 +00:00Commented 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.
Explore related questions
See similar questions with these tags.