Recommended Posts

How to remove default windows componants in windows xp/2000/longhorn.

Here's a very little known way to remove default componants in XP. I've seen one website that uses a similiar method, but it wasn't for XP.

When you install windows XP, you're running setup.exe, which is just a stub for syssetup.dll (syssetup.dll runs in the memory process of setup.exe). Syssetup.dll uses syssetup.inf for the install options. At about the 30 minute remaining mark, syssetup.inf is uses to install the default componants. To see what's installed, open your syssetup.inf (located in %windir%\inf) and look at the section called [infs.Always]. Everything under here is processed, whether you're doing an upgrade or clean install. Below is what you'll see:

[infs.Always]

wsh.inf,DefaultInstall

ie.inf,DefaultInstall

secdrv.inf,DefaultInstall

mdac.inf,DefaultInstall

icwnt5.inf,DefaultInstall

nt5java.inf,DefaultInstall

mstask.inf,DefaultInstall.NT

msoe50.inf,DefaultInstall

wab50.inf,DefaultInstall

tshoot.inf,DefaultInstall

dfrg.inf,DefaultInstall

msinfo32.inf,DefaultInstall

axant5.inf,DefaultInstall

msnetmtg.inf,DefaultInstall

mplayer2.inf,InstallWMP64

sr.inf,DefaultInstall

icminst.inf,DefaultInstall

apcompat.inf,DefaultInstall

shell.inf,DefaultInstall

shl_img.inf,DefaultInstall

netupnph.inf,DefaultInstall

devxprop.inf,DefaultInstall

syssetup.inf,SpecialInstall

pchealth.inf,DefaultInstall

oobe.inf,DefaultInstall

sapi5.inf,DefaultInstall

moviemk.inf,DefaultInstall

qmgr.inf,DefaultInstall

skins.inf,InstallSkins

wmp.inf,Installwmp7

wmtour.inf,DefaultInstall

mymusic.inf,InstallWMPlaylist

swflash.inf,DefaultInstall

dimaps.inf,DefaultInstall

vgx.inf,DefaultInstall

srchasst.inf,DefaultInstall

The format is inf,install section. Back in NT4, you could modify syssetup.inf directly so componants weren't installed. See http://support.microsoft.com/default.aspx?...kb;en-us;156653. That article shows how to not install IE by default. Microsoft didn't like this however, since it let people have freedom and microsoft likes to control people. So in windows 2000 and XP (and longhorn), syssetup.inf is digitally signed and if you modify it, setup won't continue. However, you can still modify other infs. So what this means is you can modify the sub infs and setup won't install the componants.

For example, let's say you want to remove movie maker from being installed. Here's what you do:

1 - Look in the above list to see what inf movie maker uses and what install section. As you see, moviemk.inf is used with the section DefaultInstall.

2 - Copy your XP cd to hard drive, and delete i386\moviemk.in_, so setup doesn't process it.

3 - Make a new file in \i386 called moviemk.inf, and in this file put the following:

[version]

signature="$Windows NT$"

ClassGUID={00000000-0000-0000-0000-000000000000}

LayoutFile=layout.inf

[DefaultInstall]

4 - Now run setup from the flat you made on the hard drive, and movie maker won't be installed. You'll get an error during setup, but you can continue. After installation, in the program files folder you'll still have a movie maker folder, but it'll be empty.

The reason this works is because setup (syssetup.dll), sees it needs to process the DefaultInstall section of moviemk.inf. it finds the file and finds the section, but the section says to do nothing, so setup does nothing and continues.

Let's give another example that doesn't use DefaultInstall. Let's say you wanted to remove media player, which uses mplayer2.inf and InstallWMP64. All you would do is delete mplayer2.in_, make mplayer2.inf and put in it the following:

[version]

signature="$Windows NT$"

ClassGUID={00000000-0000-0000-0000-000000000000}

LayoutFile=layout.inf

[installWMP64]

I've used this method to remove system restore, net meeting, outlook express, wab, media player, defrag, windows messenger. One thing to note though is outlook express is very messy. If you remove outlook express you cannot install outlook XP, and it's very hard to reinstall outlook express. However the others are removed without problems.

You can use this method to remove things not in syssetup.inf, such as windows messenger. Just delete msmsgs.in_, make msmsgs.inf, and copy this into it:

; MSMSGS.INF

; Setup INF file for Messenger

; Version 4,7,0,0041

[Messenger]

Suite = Windows Component

RTCSP = 1

MinIEVersion = 4

[version]

signature="$Windows NT$"

Version=4,7,0,0041

[Optional Components]

msmsgs

[msmsgs]

If you think about it, windows messenger should be in syssetup.inf, since microsoft says it's a system componant that cannot be removed, but microsoft didn't.

One other thing id like to point out, is that everything under Infs.Always in syssetup.inf can be reinstalled. For example, anything that says DefaultInstall can be reinstalled by right clicking on the inf and clicking install. As you see above, system restore uses sr.inf, so you could right click on %windir%\inf\sr.inf and click install, to reinstall system restore.

-gosh

:huh:

A few things:
  • This is done through the registry.
  • THIS IS FOR WINDOWS 2000 ONLY!!!! I have only tested this in Win2k. It COULD work in XP, but I am not sure. Use it, but don't blame me if it screws something up in XP.
  • So far, I can only modify DWORD values. I'm trying to figure out how to modify string values and binary.

Has anyone tried this on XP yet? Would be cool if it worked :)

  • 4 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
I just redid just about everything. I was inspired recently by SmartBarXP and by the MCP skin for Trillian, and matched my VS to the Trillian skin (my winamp skin already fit well)

http://webpages.charter.net/hooya/desk.jpg

exact. where's the customization there... the sidebar? :rofl:

Welcome ladies and gents,

i am new to neowin and saw this thread. here are my last three desktops (sorry for the time the images need to load)

http://www.customize.org/details/28392

http://www.customize.org/details/28185

http://www.customize.org/details/27833

http://www.customize.org/details/28554

http://www.customize.org/details/26776

http://www.customize.org/details/25864

http://www.customize.org/details/25661

i hope it?s okay to link to other communities?

please feel free to comment!

are there really that much people using no styleXP?

This place isnt really to post your desktops people. It is to show what you have changed/tweaked. Then if you need to put a screenshot of that thing, but thats about it!!

well, he's right! what are you people thinking! this isn't the october, or whatever, desktop thread!! :p

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • NVIDIA officially supports Ubuntu, as linked above with the GeForce NOW Hands on I did in collaboration with Paul Hill.
    • TO be clear I am not running linux today, however I keep thinking about it. And I want to make sure there are minimal obstacles if I decide to make that switch in the coming months.
    • Yes, I actually glossed over the Linux part from the OP. You could always go for a 9070 XT and if you really want to play Ray Traced games in the future, GeForce Now is pretty damn good on Linux https://www.neowin.net/news/nvidias-native-geforce-now-app-for-linux-bridges-the-gaming-gap-hands-on/
    • One reason it might be running hotter is dust build up within the cooling or perhaps the paste has dried out. You could always try repasting your old GPU and cleaning the cooler. Your experience in Linux will be much better with an AMD GPU; the performance in gaming is much closer to Windows than nVidia would be. I personally think on Windows, AMD drivers are junk.
    • I reviewed it back in March, but I didn't have a 5070 at the time https://www.neowin.net/reviews/amd-rx-9070-review-vs-rtx-5070-4070-and-rx-9070-xt-7800-xt--just-good-enough/ When I reviewed the 9070 I did have a 5070 to compare it against, so the scores are there for the 9070 XT. it outperforms the 5070 in raster, and is barely neck and neck in Ray Tracing. So it's better than a 5070 in everything but Ray Tracing where it is neck and neck, or just under. To be honest, the uplift from 3080 when it was new to the 9070 XT is not as great a step up. If you can find a used 4080 Super for around the same money, you would probably be better off, but if you only want to buy new then the 16GB 9070 XT is the best value for money in its category.
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      252
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      69
    5. 5
      Skyfrog
      67
  • Tell a friend

    Love Neowin? Tell a friend!