On one of our IIS web servers the IUSR account suddenly expired or got corrupted, I recovered the password from the IIS metabase (using Cscript adsutil.vbs get w3svc\anonymoususerpass after switching IsSecureProperty = False).
I then reset the password accordingly. Now I have to re-key that password on the Directory Security tab of all virtual directories (for the anonymous account) of all web sites on that server.

Is there a way to automate this using Powershell? (I have searched so far in vain)

link|improve this question
What version of IIS (or Windows Server) & PowerShell are you using? – Robert MacLean Sep 22 '09 at 14:09
Windows Server 2003, and PowerShell 1.0 file version 6.0.5430.0 – Philippe Monnet Sep 22 '09 at 22:44
feedback

1 Answer

I looked at this briefly, and couldn't find anything after a brief search. Are you still looking for help?

link|improve this answer
Yes - I still do. I have not found any other solution either. – Philippe Monnet Oct 26 '09 at 22:23
Well, I'll have to see about using PowerShell and maybe AutoIt. Are you willing to install some helper apps if required? – Marco Shaw Oct 28 '09 at 1:08
feedback

Your Answer

 
or
required, but never shown

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