+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Server 2000/2003 Thread, Missing IIS from add remove components in Technical; I was there before and now its gone! Anyone have any ideas how you an reinstall IIS without it showing ...
  1. #1

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215

    Missing IIS from add remove components

    I was there before and now its gone!

    Anyone have any ideas how you an reinstall IIS without it showing in the console?

    Thanks

  2. #2

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    sysoc.inf shows

    iis=iis.dll,OcEntry,iis.inf,,7
    So its not hidden either

  3. #3

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    sfc /scannow fixed several errors with dll's but I still have no IIS

  4. #4

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    Apache or you need IIS for ASP / ASP.NET web pages etc ?

    Also which OS exactly and what service pack level etc ?

  5. #5

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    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.

  6. #6

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    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:
    [CODE]
    @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]

    What 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!
    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.
    Last edited by mac_shinobi; 1st December 2011 at 03:55 PM.

  7. #7

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    Just gives an "The application could not initialise" error.


  8. #8

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    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

  9. #9

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    Quote Originally Posted by CHR1S View Post
    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

  10. #10

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    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.

  11. #11

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    You can't use the RMDIR and silent switch ( RMDIR C:\windows\system32\Inetsrv /s ) from the command prompt ??

  12. #12

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    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

  13. #13

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    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

  14. #14

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,720
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364
    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

  15. #15

    CHR1S's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    4,489
    Thank Post
    1,575
    Thanked 479 Times in 302 Posts
    Rep Power
    215
    Thanks mate,

    Gave it up for the evening, will start afresh tomorrow

  16. Thanks to CHR1S from:

    mac_shinobi (1st December 2011)

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 17th January 2011, 02:36 PM
  2. [WDS] WDS - Missing Drivers from XP Image
    By garethedmondson in forum O/S Deployment
    Replies: 4
    Last Post: 22nd January 2010, 07:31 AM
  3. Removing from "Safely Remove Hardware" thingy
    By synaesthesia in forum Hardware
    Replies: 3
    Last Post: 11th January 2010, 06:09 PM
  4. Errors leftover from virus removal
    By Little-Miss in forum Windows
    Replies: 11
    Last Post: 3rd December 2009, 07:05 PM
  5. Missing Files from User's Documents
    By LeonieCol in forum Windows
    Replies: 7
    Last Post: 2nd September 2008, 03:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •