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

    • Let's goooooooo! I've been loving the entries so far! I still have to finish Rebirth (things have been busy!)! Excited for this next installment.
    • "Revelation?" I was hoping for this episode to be called "Reunion". Oh, well... In a related note, the Final Fantasy VII compilation has received an EC entry, short for Ever Crisis. For those who don't know, it already had AC, BC, CC, and DC entries, short for Advent Children, Before Crisis, Crisis Core, and Dirge of Cerberus. I hope it doesn't get an FC entry becaude that would be a freakin' crisis.
    • Uh, after intense testing now, 'Samsung Browser' is not the best one outside of 'Microsoft Edge' after all. Opera Air is that. It has "some" bloat, but it's far less than what both Microsoft Edge and Brave browser have.
    • Weekend PC Game Deals: Resident Evil, Mafia, Like a Dragon, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic concluded its mystery giveaways this week with another double freebie promotion. As a part of this, you can now grab Rogue Waters and Songs of Conquest to keep. Songs of Conquest is a turn-based 4X strategy game where you'll be managing a kingdom, making tough decisions, and taking down enemy forces in tactical combat. Meanwhile, Rogue Waters is a roguelike where, as a pirate captain, you command a ship and crew through procedurally generated encounters. The double giveaway is coming to an end on June 11. On the same day, Warhammer 40K Speed Freeks will join in as the next freebie. Another Humble Choice offer was revealed earlier this week, bringing a refreshed eight-game selection to jump into. The June selection is Octopath Traveler 2, The Riftbreaker, Life is Strange: Double Exposure, INDIKA, Citizen Sleeper 2: Starward Vector, Construction Simulator, Hell Clock, and Overlooting to keep as Steam keys. The $15 bundle gives you all eight games from this month's Choice selection. The month-long promotion will come to an end on July 6, giving you ample time to decide on whether you want the titles. The Humble Store also brought in standard gaming collections this week. The IGN Live Bundle kicked things off with games like Control, Shadow Gambit: The Cursed Crew, Blair Witch, Rollerdrome, and The Last Campfire for $10. At the same time, the We Will Always be Here bundle carried in titles like Bad End Theater, Thirsty Suitors, Vampire Therapist, and Tavern Talk for $12. Next, the 2K Sports Champions Bundle comes touting games like NBA 2K26, PGA TOUR 2K25, OlliOlli World Rad Edition, and TopSpin 2K25 with a hefty $25 price tag. Lastly, the Redline Racing Bundle is touting games like Art of Rally, Descenders, Mudrunner, and Assetto Corsa Competizione with a $10 price tag. Big Deals The biggest promotions of this weekend come from franchise discounts for hits like Mafia, Like a Dragon, Resident Evil, and more. With all those and more, here's our hand-picked big deals list for the weekend: Mafia: The Old Country – $34.99 on Steam ARC Raiders – $31.99 on Steam Forza Horizon 5 – $29.99 on Steam Monster Hunter Wilds – $29.39 on Steam Satisfactory – $27.99 on Steam No Rest for the Wicked – $27.99 on Steam Satisfactory – $27.99 on Steam Esoteric Ebb – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Cloudheim – $19.79 on Steam Pacific Drive – $17.99 on Steam Like a Dragon: Infinite Wealth – $17.49 on Steam ACE COMBAT 7: SKIES UNKNOWN – $14.99 on Steam Yakuza 0 Director's Cut – $14.99 on Steam Like a Dragon Gaiden: The Man Who Erased His Name – $14.99 on Steam Like a Dragon: Pirate Yakuza in Hawaii – $14.99 on Steam Grand Theft Auto V Enhanced – $14.99 on Steam Lost Judgment – $13.99 on Steam The Crew Motorfest – $13.99 on Steam Stronghold Crusader: Definitive Edition – $12.59 on Steam The Stanley Parable: Ultra Deluxe – $12.49 on Steam Blood West – $12.49 on Steam Yakuza Kiwami 2 – $11.99 on Steam Judgment – $11.99 on Steam Like a Dragon: Ishin! – $11.99 on Steam Alien: Isolation – $11.99 on Steam Goat Simulator: Remastered – $10.19 on Steam Resident Evil Village – $9.99 on Steam Yakuza 4 Remastered – $9.99 on Steam Yakuza 5 Remastered – $9.99 on Steam Yakuza 6: The Song of Life – $9.99 on Steam Caravan SandWitch – $9.99 on Steam Spyro Reignited Trilogy – $9.99 on Steam Assassin's Creed III Remastered – $9.99 on Steam The Expanse: A Telltale Series – $9.99 on Steam Sons Of The Forest – $8.99 on Steam Untitled Goose Game – $7.99 on Steam Resident Evil 2 – $7.99 on Steam Resident Evil 3 – $7.99 on Steam Resident Evil 7 Biohazard – $7.99 on Steam Yakuza: Like a Dragon – $7.99 on Steam Airborne Kingdom – $7.49 on Steam Assassin's Creed Syndicate – $7.49 on Steam The Wolf Among Us – $7.49 on Steam Amnesia: The Bunker – $7.49 on Steam Mini Motorways – $6.99 on Steam Age of History 3 – $6.99 on Steam Fabledom – $6.29 on Steam Trine 4: The Nightmare Prince – $5.99 on Steam Mafia: Definitive Edition – $5.99 on Steam Mafia II: Definitive Edition – $5.99 on Steam Resident Evil 6 – $4.99 on Steam Resident Evil 5 – $4.99 on Steam Resident Evil Revelations 2 – $4.99 on Steam Resident Evil 3 Nemesis (1999) – $4.99 on Steam Terra Memoria – $4.99 on Steam FOR HONOR – $4.49 on Steam Metro Exodus – $4.49 on Steam The Forest – $4.39 on Steam Mini Metro – $3.99 on Steam Songs of Conquest – $0 on Epic Store Rogue Waters – $0 on Epic Store Gravity Circuit – $0 on Steam DRM-free Specials The DRM-free store GOG has plenty of discounts to look over this weekend too. Here are some highlights: Trials of Mana - $14.99 on GOG SPORE Collection - $14.99 on GOG Stellaris - $12.49 on GOG FINAL FANTASY VIII - REMASTERED - $7.99 on GOG Final Fantasy IV (3D Remake) - $7.99 on GOG Final Fantasy III (3D Remake) - $7.99 on GOG FINAL FANTASY IX - $6.29 on GOG The Forgotten City - $6.25 on GOG Warlords Battlecry 3 - $5.99 on GOG Heroes of Might and Magic 3: Complete - $4.99 on GOG Heroes of Might and Magic 4: Complete - $4.99 on GOG SimCity 4 Deluxe Edition - $4.99 on GOG FINAL FANTASY VII - $4.79 on GOG Cultures 1+2 - $3.99 on GOG Outlast - $3.75 on GOG Dungeon Keeper 2 - $2.99 on GOG Theme Hospital - $2.99 on GOG Sid Meier's Alpha Centauri Planetary Pack - $2.99 on GOG Dungeon Keeper Gold - $2.99 on GOG Alba: A Wildlife Adventure - $2.55 on GOG Disciples 2 Gold - $1.99 on GOG Outcast - Second Contact - $1.49 on GOG Disciples: Sacred Lands Gold - $1.49 on GOG Port Royale 2 - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
  • Recent Achievements

    • Week One Done
      pestcontrol46 earned a badge
      Week One Done
    • One Month Later
      pestcontrol46 earned a badge
      One Month Later
    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
  • Popular Contributors

    1. 1
      +primortal
      497
    2. 2
      PsYcHoKiLLa
      276
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      65
  • Tell a friend

    Love Neowin? Tell a friend!