Jump to content

Recommended Posts

Posted
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.
Posted (edited)

wondering if you can do the same as what they have done on xp here :

 

Add/Remove Windows Components is missing | Microsoft IIS

 

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:

 

@[b]echo[/b] Off

: : Run unattended IIS installation

ECHO **Beginning unattended IIS installation**

Sysocmgr.exe /i:sysoc.inf /u:unattend.txt

ECHO IIS Install Complete

pause

[\CODE]

 

What this does is looks for a file called unattend.txt located in the same [color=#1763aa][color=#1763aa !important][font=inherit !important][color=#1763aa !important][font=inherit !important]directory[/font][/font][/color][/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!

 

Scroll to the bottom of the first link - it displays the code correctly :)

 

With this being about xp pro - not sure if it will be the same.

Edited by mac_shinobi
Posted
Install 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.

 

I tried that, but the 3rd step is where its missing, there is no entry for IIS

Posted
I tried that, but the 3rd step is where its missing, there is no entry for IIS

 

I would go through the removal steps first to ensure its completely removed and then attempt a re install

Posted

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.

Posted

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/Microsoft_Operating_Systems/Windows/XP/Q_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

Posted

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\sysocmgr.exe /i:C:\WINDOWS\inf\sysoc.inf /u:C:\WINDOWS\system32\cysunat.000 /x /c /w

[9/20/2011 15:20:42] OC_INIT_COMPONENT:DebugLevel=3.

[9/20/2011 15:20:42] OC_INIT_COMPONENT:DebugValidateHeap=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

Posted

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

Posted

EPIC EPIC FAIL!!

 

On my server, the bizarre thing that it is, does not have its own entry for IIS, it was buried in something like, Application Server -> Details -> Internet Services -> IIS

 

Well, at least its not a broken server, just a broken operator :p

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...