IUSR _ and IWAM _: user name and password of the computer name account

Source: Internet
Author: User

The user name and password of IUSR _ computer name and IWAM _ computer name account are stored in the following three locations:

* Internet Information Server (IIS) configuration database

* Domain User Manager (Windows NT) or local users and groups (Windows 2000)

* Microsoft Transaction Server (Windows NT) or component service (Windows 2000)

If the user names and passwords in these three locations are not synchronized, the following problems will occur: When you browse the existing Active Server Pages (ASP) page, the browser may return an error message of "HTTP 500-Internal server Error" or "Server Application error.

To solve this problem, you must ensure that the IUSR and IWAM account passwords in the preceding three locations are synchronized. There are two types of Synchronization Methods: Set the password for IWAM and IUSR accounts in User Manager (Windows NT) or user and group (Windows 2000), and change the password in the IIS configuration database, use the same password. Alternatively, set a password in the IIS configuration database and change the password in User Manager (Windows NT) or user and group (Windows 2000.

Method 1: change the password in the User Manager or in the user and group so that they are consistent with the password of the IIS configuration database

1. In the "command" window, find the folder where the Adsutil. vbs file is located. Use Adsutil. vbs to obtain the IWAM and IUSR account passwords from the IIS configuration database.

2. To change the IUSR and/or IWAM passwords in Windows NT, follow these steps:

A. On the Start Menu, point to programs and management tools, and click domain user manager. In "domain user manager", you can change the account information of all Windows NT user accounts and groups.

B. Double-click the IUSR _ computer name and/or IWAM _ computer name user, and modify the password so that they are consistent with the IIS configuration database password obtained in step 1.

To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps:

C. On the Start Menu, point to programs and management tools, and click computer management.

D. Under the system tool node, click to expand "local users and groups" and "users" nodes. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups.

E. Right-click the IUSR _ computer name and/or IWAM _ computer name account, and then click Set password.

F. Change the passwords so that they are consistent with the IIS configuration database password obtained in step 1.

3. Browse the ASP page that returns the error message and check whether the problem has been resolved.

Method 2: change the password of the IIS configuration database so that it is consistent with the IUSR and/or IWAM passwords.

1. To change the IUSR and/or IWAM passwords in Windows NT, follow these steps:

A. On the Start Menu, point to programs and management tools, and click domain user manager. In "domain user manager", you can change the account information of all Windows NT user accounts and groups.

B. Double-click the IUSR _ computer name and/or IWAM _ computer name account, and enter the new password.

To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps:

C. On the Start Menu, point to programs and management tools, and click computer management.

D. Under the system tool node, click to expand "local users and groups" and "users" nodes. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups.

E. Right-click the IUSR _ computer name and/or IWAM _ computer name account, and then click Set password. Enter the new password.

2. In the "command" window, find the folder where the Adsutil. vbs file is located. Use the Adsutil. vbs utility to set a password for the IWAM and IUSR accounts in the IIS configuration database.

3. Browse the ASP page that returns the error message and check whether the problem has been resolved.

How to Use Adsutil. vbs
IIS provides a script file named Adsutil. vbs for obtaining or setting the IUSR and IWAM account passwords in the IIS configuration database. In Windows NT 4.0, Adsutil. vbs is usually located in the <drive> WINNTSystem32InetsrvAdminsamples folder. In Windows 2000, Adsutil. vbs is located in the <drive> InetpubAdminscripts folder.

The following table lists the syntaxes for various features of the Adsutil. vbs utility:

Function
Syntax
 
Get IUSR account password
Cscript.exe adsutil. vbs get w3svc/anonymoususerpass
 
Get IWAM account password
Cscript.exe adsutil. vbs get w3svc/wamuserpass
 
Set IUSR account password
Cscript.exe adsutil. vbs set w3svc/anonymoususerpass "password"
 
Set IWAM account password
Cscript.exe adsutil. vbs set w3svc/wamuserpass "password"
 

 

Note: When you try to obtain the password in Windows NT 4.0, the password is displayed as a plaintext, but in Windows 2000, the password is displayed as an asterisk. To display the password as a plaintext in Windows 2000, you must modify Adsutil. vbs to display the plaintext. To do this, follow these steps:

1. Open Adsutil. vbs in notepad.

2. on the "edit" menu, click search, type IsSecureProperty = True, and click Search next.

3. Change "IsSecureProperty = True" to "IsSecureProperty = False ".

4. Save the changes made to Adsutil. vbs and disable notepad.

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.