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?

link|improve this question
feedback

1 Answer

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...

link|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
feedback

Your Answer

 
or
required, but never shown

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