I was there before and now its gone!
Anyone have any ideas how you an reinstall IIS without it showing in the console?
Thanks

I was there before and now its gone!
Anyone have any ideas how you an reinstall IIS without it showing in the console?
Thanks

sysoc.inf shows
So its not hidden eitheriis=iis.dll,OcEntry,iis.inf,,7

sfc /scannow fixed several errors with dll's but I still have no IIS![]()
Apache or you need IIS for ASP / ASP.NET web pages etc ?
Also which OS exactly and what service pack level etc ?

Server 2003 R2, Moving my broken WSUS onto this old server. It previously had IIS installed before it was decommissioned. I want to use it as a stop gap but failing horribly.
wondering if you can do the same as what they have done on xp here :
Add/Remove Windows Components is missing | Microsoft IIS
[CODE]Sure. It's much easier than it looks. What I do is create a batch file which calls this answer file. So here is an example of what my batch file would look like. Just create a new text file in notepad and name it something like IISBuild.cmd. Within the file put the following:
@echo Off
: : Run unattended IIS installation
ECHO **Beginning unattended IIS installation**
Sysocmgr.exe /i:sysoc.inf /u:unattend.txt
ECHO IIS Install Complete
pause
[\CODE]
Scroll to the bottom of the first link - it displays the code correctlyWhat this does is looks for a file called unattend.txt located in the same [COLOR=#1763aa !important][COLOR=#1763aa !important]directory[/COLOR][/COLOR] that you are running the batch file from. So just create a folder on the C: drive called IISBuilds or something and put the .cmd file there, as well as a file named unattend.txt. Within the unattend.txt file you would include paramaters like you see below, just copy/paste this info and save the file. As you can see it's fairly straightforward to configure which features you want on and off. If you have a non system drive on your machine and would like to install IIS to that, then change the drive letter for PathWWWRoot to the other drive letter. Otherwise just leave it as C:. I hope this helps!
With this being about xp pro - not sure if it will be the same.
Last edited by mac_shinobi; 1st December 2011 at 04:55 PM.

Just gives an "The application could not initialise" error.
![]()

I tried that, but the 3rd step is where its missing, there is no entry for IISInstall IIS
To install IIS, follow these steps:
Click Start, click Run, type Appwiz.cpl, and then click OK.
In the Add/Remove Programs window, click Add/Remove Windows Components.
In the Components box of the Windows Components Wizard, click to select the Internet Information Services (IIS) check box.
In the Windows Components Wizard, click Next.
When the Windows Components Wizard completes the installation, click Finish.

The uninstall steps are not relevant, no service installed/running and the only issue is this -
Verify that the Inetsrv folder has been deleted. By default, the Inetsrv folder is located in the %Windir%\System32 folder.
Note You may be unable to delete the Inetsrv folder or its contents because of Windows File Protection.
You can't use the RMDIR and silent switch ( RMDIR C:\windows\system32\Inetsrv /s ) from the command prompt ??
bit more googling and a good idea would be to check the IIS log file :
Please look through %windir%\iis6.log to determine what is going on with the installation.
iis option missed in add and remove windows components in IIS
Or even the event viewer to see if there are any related errors in regards to IIS installing / removing etc
scroll down ( ignore registring with EE )
http://www.experts-exchange.com/OS/M..._22047444.html
if you go to Add Remove programs > Add remove Wnidows Components> Is Internet Information Services present? If not, look at c:\windows\inf\sysoc.inf for the following entry...
iis=iis.dll,OcEntry,iis.inf,,7
If it looks like this....
iis=iis.dll,OcEntry,iis.inf,HIDE,7
Then remove the HIDE (not the commas)
If you ahev to remove the hide portion, then it probably wasnt visible in Add Windows Coponents, and it should be now. Then you can select IIS, and then Remote Web Connection should be under there when you select IIS>Details

From iis6.log
/20/2011 15:20:42] LogFile Open. [***** Search on FAIL/MessageBox keywords for failures *****].
[9/20/2011 15:20:42] Initial thread locale=809
[9/20/2011 15:20:42] returned from France fix with locale 809
[9/20/2011 15:20:42] OC_PREINITIALIZE:[iis] End. Return=1 (OCFLAG_UNICODE)
[9/20/2011 15:20:42] OC_INIT_COMPONENT:[iis,(null)] Start.
[9/20/2011 15:20:42] OC_INIT_COMPONENT:03/05/2005 07:54:46 ________ 6.0.3790.3959: 6.0.3790.3959 (srv03_sp2_rtm.070216-1710): x86: C:\WINDOWS\system32\Setup\iis.dll
[9/20/2011 15:20:42] OC_INIT_COMPONENT:Set UnAttendFlag:ON (File='C:\WINDOWS\system32\cysunat.000')
[9/20/2011 15:20:42] OC_INIT_COMPONENT:CmdLine=C:\WINDOWS\system32\syso cmgr.exe /i:C:\WINDOWS\inf\sysoc.inf /u:C:\WINDOWS\system32\cysunat.000 /x /c /w
[9/20/2011 15:20:42] OC_INIT_COMPONENTebugLevel=3.
[9/20/2011 15:20:42] OC_INIT_COMPONENTebugValidateHeap=1.
[9/20/2011 15:20:42] OC_INIT_COMPONENT:GlobalFastLoad=1.
[9/20/2011 15:20:42] OC_INIT_COMPONENT:CRegKey::QueryValue(): DisableUserAccountRestore Not found. WARNING. code=0x2
[9/20/2011 15:20:42] OC_INIT_COMPONENT:CRegKey::QueryValue(): DisableUserAccountRestore Not found. WARNING. code=0x2
[9/20/2011 15:20:42] OC_INIT_COMPONENT:CRegKey::QueryValue(): DisableUserAccountRestore Not found. WARNING. code=0x2
only thing I could find was :
IIS % Does not install properly -- inetserver iis
The log file suggests that it could not create this file:
%SYSTEMROOT%\System32\inetsrv\metabase.bin This file is necessary for IIS
because it holds its configuration.
It also mentions about anti virus locking that file or directory which may cause issues and to also ensure that the LocalSystem has full permissions / access rights ( Also, make sure that LocalSystem has control of the
inetsrv and System32 folders. )
To also install the latest service pack(s) if any are available

Thanks mate,
Gave it up for the evening, will start afresh tomorrow![]()
mac_shinobi (1st December 2011)
There are currently 1 users browsing this thread. (0 members and 1 guests)