Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you get rid of the "lock" icon overlay on a custom geoprocessing tool in ArcToolbox?

This seems to appear even with the ESRI Sample Projects.

share|improve this question
This is probably a new thing in ArcGIS 10, since I did never get any overlays on my custom tools in ArcGIS 9.3. – Petr Krebs Nov 1 '10 at 17:33
@petr: Yeah - the custom tools always look like they're not licensed, even if IsLicensed() returns true... not sure how to fix it. – Reed Copsey Nov 1 '10 at 17:34
Interesting... I'll try to port some of my tools to ArcGIS 10 and see what is does. – Petr Krebs Nov 1 '10 at 17:38
With models I was able to edit models - validate - save and the icon disappeared. – Jakub Nov 1 '10 at 18:12
@Jakub: I'm doing code-based (COM API) IGPFunction tools - don't think there is a corresponding function for that, though... – Reed Copsey Nov 1 '10 at 18:15
up vote 2 down vote accepted

Contrary to the ESRI-provided sample, do not set IGPFunctionName.MinimumProduct when implementing IGPFunctionFactory.GetFunctionNames and IGPFunctionFactory.GetFunctionName (or any other IGPFunctionName related methods).

EDIT: You can of course set the property to the appropriate level. The ESRI sample uses the (highest) esriProductCode.esriProductCodeProfessional level (ArcInfo) which, in majority of cases, is not what you want.

share|improve this answer
That was it. I pull that out, and it goes away... Turns out from here:… Professional is ArcInfo, so this makes sense... – Reed Copsey Nov 1 '10 at 19:33
That clarifies it. I edited the answer to reflect this information. – Petr Krebs Nov 1 '10 at 19:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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