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

Since the site has been deleted, the IIS > Web Sites listing to get the identifier doesn't work (since it's not there)

Is there another way to get the identifier?

I have a multitude of LogFiles in system32, all listed by W3SVC ID, but none contain any identifying information about the website it's logging, so I have to go by ID.

share|improve this question
up vote 1 down vote accepted

Found the answer by running this cool VBS script on Stack Overflow

I had to get help identifying the code source, but it worked, and I'm adding it to my 'Tools to fix IIS shit with' ^_^

share|improve this answer

Two options come to mind:

  • Recreate the site name exactly - the site identifier is (from memory) a short hash of the name

  • Fish the old metabase out of the System32\InetSrv\History folder, where the automatic backups are stored.

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.