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

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

1 Answer 1

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

 
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.