Location of the Web anonymous user account password

Source: Internet
Author: User
Tags anonymous iis metabase
Web Q: We want to grant the Web anonymous user account access to read information from other systems; However, we do not know the password for the account. How do you get the password?

Answer:iusr_< the computer name > account is the "Web anonymous user" account, which was created during the installation of IIS. The password is stored in the local SAM (stored in activedirectory for a 2000 domain controller) and is stored in the metabase. Because the password is stored in metabase, you can use a. vbs script to extract the passwords for both the IUSR and IWAM accounts by using the following methods:

Program code
Dimiisobject
Setiisobject=getobject ("Iis://localhost/w3svc")
WScript.Echo "Anonymoususername=" &iisobject.get ("AnonymousUserName") &vbcrlf&_
"Anonymoususerpass=" &iisobject.get ("AnonymousUserPass") &vbcrlf&vbcrlf&_
"Wamusername=" &iisobject.get ("WAMUserName") &vbcrlf&_
"Wamuserpass=" &iisobject.get ("WAMUserPass")
Setiisobject=nothing

Note: This script enables you to display the IUSR and IWAM account passwords that are set up for the Web service at the primary attribute level. If you have configured anonymous authentication to use another user account to access or to a directory, you must modify the script accordingly to reflect the updates you have made.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.