Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 1 down vote accepted

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

http://stackoverflow.com/questions/1868108/get-iis-web-site-identifier-programmatically

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

 
discard

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.