Link to home
Start Free TrialLog in
Avatar of mchad65
mchad65

asked on

How to purge IIS6 metabase

I have a website (a virtual directory on a IIS6 web server) which a programmer (who is no longer employed) set to use an account other then IUSR_Servername for anonymous access.  We want to reset the directory security to use the proper account (again, the IUSR_Servername), but when we do, it asks the password, which we don't have.  We have tried backing up the site, deleting the virtual directory, and recreating it, however when we recreate it, it populated the user automatically and still asks for the password.  We need to keep the virtual directory name the same, as the URL is out there, so how can we purge the cached (I assume) metabase info so we can use the correct user?  Note:  When we create a new virtual directory, with a different name, it uses the correct account and prepopulates the password...
Avatar of mchad65
mchad65

ASKER

Forget it.  I found a script from MS that allowed me to find the IUSR_ password...

cscript.exe adsutil.vbs get w3svc/anonymoususerpass


Avatar of Praveen DM
No need of a script or whatever...If you are admin rights then in no time u can reset the pwn in IIS itself...anyways cheers good luck!!!
Avatar of mchad65

ASKER

Yes, but if I were to reset the pwd, I woudl then have to go to the 50 or so other sites and change the pwd there....  Right?
U mean was the pwd reset done for only one IUSR nanme or series of them...If it was for only one IUSR account...then u could have done it in

Rt Click "My Computer" --> Manage -- Users and groups.... U can identify the IUSR account and reset the PWD here..,.one work... but there would have been one risk...sometimes wen PWD is reset here the Permissions for the sites using the IUSR account will get collapsed...( Sometimes)
Avatar of mchad65

ASKER

The account IUSE_servername is used by every website on the server...  Were I to change the password in users and groups, I would have had to manually change the password on every directory security tab on every virtual directory/website.  It was better for me to find the password and only enter it into the one site that was giving the problems.

Or are you saying that if I changed it in users and groups, it would automatically change on all the websites?
Avatar of mchad65

ASKER

I meant IUSR_Servername
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

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