Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to purge IIS6 metabase

Posted on 2009-02-24
8
Medium Priority
?
363 Views
Last Modified: 2012-05-06
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...
0
Comment
Question by:mchad65
  • 4
  • 2
7 Comments
 

Author Comment

by:mchad65
ID: 23725054
Forget it.  I found a script from MS that allowed me to find the IUSR_ password...

cscript.exe adsutil.vbs get w3svc/anonymoususerpass


0
 
LVL 13

Expert Comment

by:Praveen DM
ID: 23734854
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!!!
0
 

Author Comment

by:mchad65
ID: 23734908
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?
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 13

Expert Comment

by:Praveen DM
ID: 23735477
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)
0
 

Author Comment

by:mchad65
ID: 23735527
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?
0
 

Author Comment

by:mchad65
ID: 23735530
I meant IUSR_Servername
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 24393181
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Integration Management Part 2
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question