IUSR _ computer name and IWAM _ computer name and password

Source: Internet
Author: User
ArticleDirectory
    • How to Use adsutil. vbs
IUSR _ Computer Name And IWAM _ Computer Name The account username and password 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 name and/password in these three locations are not synchronized, the following problems will occur: when you browse an 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:. Start Menu, pointing Program , Management tools And then 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 IUSR _Computer Name And/or IWAM _Computer Name Then, change the password to make it consistent with the password of the IIS configuration database obtained in step 1st. To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps: C. Start Menu, pointing Program , Management tools And then click Computer Management . D. System Tools Under the node, click expand" Local users and groups "And" User "Node. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups. E. Right-click 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:. Start Menu, pointing Program , Management tools And then 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 IUSR _Computer Name And/or IWAM _Computer Name Account, and then type a new password. To change the IUSR and/or IWAM passwords in Windows 2000, follow these steps: C. Start Menu, pointing Program , Management tools And then click Computer Management . D. System Tools Under the node, click expand" Local users and groups "And" User "Node. On the "user" node, you can change the account information of all Windows 2000 user accounts and groups. E. Right-click 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. vbsiis to provide 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 < Drive > \ Winnt \ system32 \ inetsrv \ adminsamples folder. In Windows 2000, adsutil. vbs is located in < Drive > \ Inetpub \ adminscripts 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"
Remarks : 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 then click Find 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.