Why can't Windows XP with SP2 install IIS

  
                

Q: When installing IIS, you will be prompted to find the staxmem.dll file, please insert the Windows XP Professional Service Pack 2 installation CD”. However, after inserting the CD, you still can't find the staxmem.dll file. How can I solve it?
A: The fault occurs because the system's Group Policy database is corrupted, or it is "Windows Component Installation Wizard" when installing components. At the same time, you need the installation CD for Windows XP and Windows XP SP2 (note that this refers to the upgrade installation CD for Windows XP Services Pack 2). First run “esentutl /g %systemroot%\\security\\database\\secedit.sdb” to check the integrity of the Secedit.sdb database, and then solve the problem according to the returned information.
1. Return “This operation may find that this database is corrupt (current operation found that the database is corrupt) & rdquo; information. At this point, you need to re-create the "local group policy" file, as follows.
(1) Create the folder OldSecurity under %systemroot%, and then cut all the log files under %systemroot%\\security into the OldSecurity folder.
(2) Open %systemroot%\\security\\database, rename secedit.sdb to Secedit.old
(3) Run “MMC”, select “File”→“Add/Delete the snap-in”. Click the “Add” button to select “Security Configuration & Analysis" in the list, then click “Add”→“Close”→“OK” button, thus creating A console for "Security Configuration and Analysis".
(4) Right-click "Security Configuration and Analysis" and select "Open Database".
(5) Locate %systemroot%\\security in the window, then enter Secedit.sdb in the “filename” box and click the “open” button. (If the prompt is denied, you can ignore it.)
(6) Right-click "Security Configuration and Analysis", select "Import Template", find setup security.inf, click “Open” Button.
(7) Restart your computer and try to install IIS. If you still can't install it, complete the steps in 2.
2. Return the message that the Group Policy database is not corrupted.
At this point we need to integrate the Windows XP SP2 installation files into the Windows XP installation CD as follows.
(1) Create a folder i386, for example “C:\\i386”.
(2) Insert the Windows XP installation CD into the CD-ROM drive.
(3) Run “xcopy /E /I /VF:\\i386\\*.* /s C:\\i386” (This assumes that the F drive is an optical drive)
(4) Put the installation CD of Windows XP Take it out of the CD-ROM drive and insert it into the installation CD of Windows XP SP2.
(5) Run “F:\\xpsp2 /integrate:C:\\i386”.
(6) Try to install IIS. (When prompted to locate the Windows XP installation file, please enter “C:\\” and press Enter.)


Copyright © Windows knowledge All Rights Reserved