1. Enter "c: \ Windows \ inf \ sysoc. inf" in "run" in the "Start" menu. The system will automatically open the sysoc. inf file using notepad. In sysoc. in inf, find the section "[Components]". Because the HOME version is a simplified version of XP, there are very few items in it. Add this section in it: "iis = iis2.dll, OcEntry, iis2.inf ,, 7 ". Save and close.
2. enter "CMD" in the running process and press enter to start the command line mode. Enter the following two commands under the command line, after each command line ends, press enter (assume that the G disk is the drive letter of the operating system disk, and the IIS installation file is in the I386 folder, you can also search to determine the directory of IIS ):
EXPand G: \ I386 \ iis. dl _ c: \ Windows \ system32 \ setup \ iis2.dll
EXPand G: \ I386 \ iis. in _ c: \ Windows \ inf \ iis2.inf
So far, you should be able to find the IIS option in Add/delete components.
3. run gpedit. msc, open the Group Policy, under "Computer Configuration"> "template management"> "windows Components"> "Internet Information Service", find the "Disable IIS installation" configuration option, if you enable this setting, Internet Information Service (IIS) installation will be blocked, and you will not be able to install Windows Components or applications that require IIS. Due to this policy, Windows Components or applications that require IIS installation may not receive a warning that IIS cannot be installed. If IIS is already installed on this computer, Enabling this setting does not affect IIS. Double-click to "Disable" to Prevent IIS components from being installed in the operating system.
4. follow the steps below to install the IIS component service properly.