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;