Results 1 to 5 of 5
  1. #1
    markOS X
    Guest

    Default error when adding/removing windows components in winXP

    After reading Susan B's FAQ #46, I attempted to remove messenger from my system.

    Trouble is, i didn't backup C:\WINDOWS\inf\sysoc.inf before i removed the ",hide" from every line in the file, and when i went to run the add/remove windows applet from the add/remove programs control panel, it crashed with this error:

    <pre>Setup was unable to open the information file 4</pre>

    <pre>Contact your system administrator. The specific error code is 0x2 at line 2011806598.</pre>


    This is the first time I have tried to access the add/remove windows applet, so I am not sure if this error was caused by editing the file C:\WINDOWS\inf\sysoc.inf or something else. I can post the contents of this file if anyone would like.

    I have only just installed winXP pro over sunday/monday after a reformat so i don't think it is a problem from other apps, although i could be wrong here.


    Any help here would be appreciated - i don't usually use this particular feature of windows but it seems a bit odd after a clean install.

    Any help appreciated.

    cheers,
    markOS X.

  2. #2
    Babe Ruth
    Guest

    Default Re: error when adding/removing windows components in winXP

    markOS X,

    The FAQ you used was originally a comment I made. It has 2 typos in it. Here is what it is supposed to be: (Note the changes to HIDE and not removing the comma!!)

    I will also post at the end of this a copy of my SYSOC.INF file but note yours would have (may have been) different but it should help you to fix the problem.

    I will also get Susan B to modify the FAQ to correct this issue.

    Regards, Babe.


    ************************************************** ********
    Windows Messenger comes as part of WinXP but if you do not use this feature and wish to completely remove it from WinXp Home/Pro then do the following:

    Note: The inf directory is a 'special' system directory; make sure you have enabled your explorer folder view options appropriately.

    Open the file %SystemRoot%\inf\sysoc.inf

    Where %SystemRoot% will point to something like C:\Windows or C:\Winnt or the wherver WinXP was installed / upgraded
    The actual harddrive is pointed to by %SystemDrive%

    The %SystemRoot% & %SystemDrive% system variables can be seen by going to a CMD prompt and typing SET | MORE


    e.g. Open C:\WINDOWS\inf\sysoc.inf in NOTEPAD and change the line:

    msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
    to
    msmsgs=msgro cm.dll,OcEntry,msmsgs.inf,,7

    Save and Exit from Notepad.


    You can then go into Control Panel | Add or Remove Programs and then use Add/Remove Windows Components to remove Messenger.

    BTW If you are the more adventuous type then remove the word "HIDE" from each (all) of the lines in SYSOC.INF.

    Now have a look in Add/Remove Windows Components section.


    ************************************************** ********


    Contents of SYSOC.INF:


    [Version]
    Signature = "$Windows NT$"
    DriverVer=07/01/2001,5.1.2600.0

    [Components]
    NtComponents=ntoc.dll,NtOcSetupProc,,4
    WBEM=ocgen.dll,OcEntry,wbemoc.inf,hide,7
    Display=desk.cpl,DisplayOcSetupProc,,7
    Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7
    NetOC=netoc.dll,NetOcSetupProc,netoc.inf,,7
    iis=iis.dll,OcEntry,iis.inf,,7
    com=comsetup.dll,OcEntry,comnt5.inf,hide,7
    dtc=msdtcstp.dll,OcEntry,dtcnt5.inf,hide,7
    IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
    TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2
    msmq=msmqocm.dll,MsmqOcm,msmqocm.inf,,6
    ims=imsinsnt.dll,OcEntry,ims.inf,,7
    fp_extensions=fp40ext.dll,FrontPage4Extensions,fp4 0ext.inf,,7
    AutoUpdate=ocgen.dll,OcEntry,au.inf,hide,7
    msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
    RootAutoUpdate=ocgen.dll,OcEntry,rootau.inf,,7
    IEAccess=ocgen.dll,OcEntry,ieaccess.inf,,7


    Games=ocgen.dll,OcEntry,games.inf,,7
    AccessUtil=ocgen.dll,OcEntry,accessor.inf,,7
    CommApps=ocgen.dll,OcEntry,communic.inf,HIDE,7
    MultiM=ocgen.dll,OcEntry,multimed.inf,HIDE,7
    AccessOpt=ocgen.dll,OcEntry,optional.inf,HIDE,7
    Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7
    MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7
    ZoneGames=zoneoc.dll,ZoneSetupProc,igames.inf,,7


    [Global]
    WindowTitle=%WindowTitle%
    WindowTitle.StandAlone="*"


    [Components]
    msnexplr=ocmsn.dll,OcEntry,msnmsn.inf,,7


    [Strings]
    WindowTitle="Windows Professional Setup"
    WindowTitle_Standalone="Windows Components Wizard"



  3. #3
    markOS X
    Guest

    Default Re: error when adding/removing windows components in winXP

    thanks for that.

    changed my sysoc.inf hide options to the same as in your post - completely fixed the prob.


    cheers for the prompt reply,
    markOS X

  4. #4
    Babe Ruth
    Guest

    Default Re: error when adding/removing windows components in winXP

    markos x,

    What can I say - I humbly apologise for any grief it caused.

    Cheers, Babe.

  5. #5
    markOS X
    Guest

    Default Re: error when adding/removing windows components in winXP

    on a side note,

    try this trick from rjayco.com:

    A lot of people want to know how to remove the
    MSN Messenger service from XP here's how:
    Locate SYSOC.INF in the \Windows\INF folder (hidden file and folder), Open it in Notepad and locate the line: msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7 Remove the word "hide" from the line and save the file. You will now have an entry in add/remove programs. Do what you will

    Start, Run and enter GPEDIT.MSC
    Computer Configuration > Administrative Templates
    > Windows Components > Windows Messenger
    You can now modify whether it starts initially
    and/or whether it's to run at all.


    it may do the same thing (i haven't tried it, so i can't endorse it).

Similar Threads

  1. Adding to a FAQ: Removing Windows Messenger
    By Chilling_Silently in forum PressF1
    Replies: 0
    Last Post: 09-03-2004, 06:09 PM
  2. Removing WinXP components.
    By Kenshin in forum PressF1
    Replies: 4
    Last Post: 11-11-2002, 12:07 PM
  3. Removing Windows Messenger in WinXP
    By Babe Ruth in forum PressF1
    Replies: 9
    Last Post: 05-11-2002, 04:44 PM
  4. Replies: 7
    Last Post: 05-07-2002, 11:00 AM
  5. Replies: 0
    Last Post: 02-07-2002, 09:36 PM

Posting Permissions

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