Server Fault is a question and answer site for system and network administrators. 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

Is there any way to check if a config section is locked or not in IIS. Any kind of command is ok (cmd, vbscript)

This is my first time asking in this website. I'm very appreciated for any reply. Thanks very much!

share|improve this question
Do you mean the web.config? – booyaa Jan 11 '13 at 9:41

It can be locked a couple different ways, but the easy way that works most times is in IIS Manager at the server level. Check "Feature Delegation". That shows the section types. If it's Read Only then it's locked. You can check the same at the site or folder level.

I've rarely found that admins change that, so 99.9% of the time the Feature Delegation settings should properly reflect the setting.

Another way within IIS Manager is to visit the section and see if the status bar in the bottom left says that it's a change to web.config (not locked) or applicationHost.config (locked).

And of course you could try to make the change in web.config and see if the site blows up.

To check for the rarely exception (a server admin updates the server), check administration.config where the delegation and lock settings are applied.

share|improve this answer

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.