Link to home
Start Free TrialLog in
Avatar of jimojimo
jimojimoFlag for United States of America

asked on

Retrieving IUSR_Servername password without changing it. (IIS 6.0)

In IIS 6.0 on Windows server 2003, I want to know the pwd for IUSR_servername.  I have full admin rights, and I don't want to just change it (risking breaking every website that uses that identity), I just want to know it.

In short, I was testing intranet site, tried a different Anonymous user, now I want to go back to IUSR_servername.  HOWEVER...I don't know the password and it wants one.  This is not IIS 5.0 where we had the option 'Allow IIS to control password'.  And I've read about the IISSUBA.DLL, and mimicking that legacy functionality---but I don't want to go that route.  

I just want the pwd for the IUSR_servername acct.  How can I (with full admin rights) to get this pwd?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Wadski
Wadski
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jimojimo

ASKER

Wadski,
I'm going to try that code whein I get to work.  Do you know if this password is randomly changed by Windows?  I'd heard that Windows will randomly change these passwords at intervals.  Is that a thing of the past--ie, IIS 5.0--or do they still do  this, or never have?
--Jim
I have never heard of it, or seen it being changed.  I've run Windows webservers since 2001 and not had that happen.

I have had an issue like you have had but it was to do with .net permissions and passwords.
Use the IIS Resource Kit tool Metabase Explorer.  Browse within it to one of the sites that uses the IUSR account, and in the toolbar, select View --> Secure Data.  The IUSR password will be plainly exposed to you.

Best of luck,
harperse
Avatar of Sgrud
Sgrud

Thanks, harperse!