Obtain and reset the password of an anonymous IIS user

Source: Internet
Author: User
Tags metabase

The IIS Guest account is used for anonymous access. Its account and password are stored in three places: metabase. xml, SAM database, and IIS security configuration.

To be able to use the anonymous access function, the password information in the three fields must be consistent. We can use the following method to make the three-party database consistent; otherwise, error 401.1 will be prompted:

1. Find the local user, group, or domain user, find the user starting with IUSR, and reset the password. Assume that the password is abc123 ,./;

2. Open the IIS control panel, select the corresponding WEB site, right-click to select Properties, Directory Security, enable Anonymous Access, and enter the password abc123 ,./

3. In the command line, locate the c: inetpubwwwrootadminScripts directory and run cscript adsutil. vbs set w3svcanonymoususerpass abc123 ,./

4. To confirm that the password is successfully set, run cscript adsutil. vbs get w3svcanonymoususerpass. Here, the attribute of issecureproperty of adsutil. vbs must be changed to false;

5. Enter iisreset in the command line to restart the IIS service and write the change operation from memory to metabase. xml;

 

Related Article

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.