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

I am getting an access denied error when I try to run a vbs script that uses WMI to do some stuff to IIS on Windows 7. Is there some sort of tool that can tell me what's causing the access denied?

share|improve this question
up vote 0 down vote accepted

Not 100% sure if it will work, but you could always try one of my favorite SysInternals tools called procmon (Process Monitor)

Usually in strange permissions issues, I would run procmon, then launch/run whatever app is having issues. There are a lot of cool filtering techinques within ProcMon that should help you go through all of the results. Look in the "Results" column for things like Access Denied, etc...

share|improve this answer
Thanks for the suggestion! – Helephant Jun 8 '11 at 8:14
No problem - where ya able to figure it out? – Chris-D Jun 11 '11 at 11:13

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.