• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

[winxp] GUIDE: Making your windows folder smaller!

Recommended Posts

pichu    0

It's really a good way to keep WinXP fit

Share this post


Link to post
Share on other sites
Bold_Fortune    0

If someone is going to do it update...it's not going to be me. LOL

But like I said, with the installation of SP2, only 88 new files were created in the system32 folder. Some of those files are easy to figure out...because we got some more Foreign Keyboard KBD*.*.dlls. But other than that, I'm not delving into them any further.

I spent over two years on this project and I'm kind of pooped. I need to get laid or something. Or maybe learn how to do other fun things with my computer.

Other than those 88 files, there is NO need to update this thread. Like I said above..."there wouldn't really be any difference in the files you would be removing from SP2. You'd, at most, only be removing updated versions by the same file name.

SP2, actually adds 88 new files to the system32 directory. The others are simply updated versions...or, probably more precise, "more recently dated files" . More likely than not we already have those same file version updates installed from downloading the Windows Critical Updates. "

Hey, have fun everyone.

On a personal note. I gladly and freely shared with all of you my findings about files.

BUT, when I see a full-blown program made...and I know for a fact that the guy who made it got much of what he now knows about files from me and my posts here, and my threads on other sites about file removal...I would like a little honorable mention maybe...instead of this "and thanks to the many others..." BS.

Share this post


Link to post
Share on other sites
aggrophobik    1

Still, it's a great guide and I appriciate the time you put into it. Like I said earlier, I used it on my laptop install and things are still running smooth as glass, I was just curious. Thanks for the reply. :)

Share this post


Link to post
Share on other sites
McGazza    0
I need to get laid or something

Yeah i think you need to aswell ;) Anyway I think because of this guide my shutdown times seem to have greatly improved and is running a lot better, the time an effort gone into this guide is worth it to us and Neomayhem :)

Share this post


Link to post
Share on other sites
Bold_Fortune    0

I finally got a chance to play around with my System32 Batch file. Some of you have been asking about an update with the advent of SP2. A couple of files have become very important to Windows since we've all installed SP2. I really didn't want to get into this, but this seemed important.

You can either take these four files out of the backup folder and put them back in the system32 Directory...in which case you might want to delete the newly created wuauclt1.exe (It gets created with the removal of wuauclt.exe).

Or, you can open my batch file in Notebook and modify it by deleting the corresponding removal entries....

wuauclt.exe > (Windows Update AutoUpdate Client)

wuaueng.dll > Windows Update AutoUpdate Engine. Deleting this file will remove the Automatic Updates applet in System properties.

wuauserv.dll > (Windows Update AutoUpdate Service)

mspatcha.dll > Microsoft® Patch Engine

I recieved an error opening Systems Properties.

__________________________________________________________________________________________

Oh poop...I'll just go ahead and put up my own modified system32 batch file with those four file entries removed.

__________________________________________________________________________________________

Here's a refresher on the Smart Placement my batch file creates....

The .cmd and .bat file I created will move and save the folders and their files to a backup folder on C:\ . The backup folder is simply named, Backup.

Within the Backup folder you'll notice what I call "smart placement" of subfolders, identical to how they look in XP. For example, you will see a folder named Program Files. Within Program Files you will see Common Files. Within Common Files you will see Microsoft Shared. Within Microsoft Shared you will see Speech. Within Speech you will see all the files the Speech folder contains.

I did this "smart placement" of folders and their files for you, so you would always know exactly where they came from should you decide to replace some, or all, of them to their original locations.

__________________________________________________________________________________________

Share this post


Link to post
Share on other sites
Nelsinho    3

simply fantastic, thanks a lot; my system before=1,76GB now 1,04GB and runs fine I am very happy lol.

Share this post


Link to post
Share on other sites
Bold_Fortune    0
I finally got a chance to play around with my System32 Batch file. Some of you have been asking about an update with the advent of SP2. A couple of files have become very important to Windows since we've all installed SP2. I really didn't want to get into this, but this seemed important.

You can either take these four files out of the backup folder and put them back in the system32 Directory...in which case you might want to delete the newly created wuauclt1.exe (It gets created with the removal of wuauclt.exe).

Or, you can open my batch file in Notebook and modify it by deleting the corresponding removal entries....

wuauclt.exe > (Windows Update AutoUpdate Client)

wuaueng.dll > Windows Update AutoUpdate Engine. Deleting this file will remove the Automatic Updates applet in System properties.

wuauserv.dll > (Windows Update AutoUpdate Service)

mspatcha.dll > Microsoft? Patch Engine

I recieved an error opening Systems Properties.

__________________________________________________________________________________________

Oh poop...I'll just go ahead and put up my own modified system32 batch file with those four file entries removed.

__________________________________________________________________________________________

Here's a refresher on the Smart Placement my batch file creates....

The .cmd and .bat file I created will move and save the folders and their files to a backup folder on C:\ . The backup folder is simply named, Backup.

Within the Backup folder you'll notice what I call "smart placement" of subfolders, identical to how they look in XP. For example, you will see a folder named Program Files. Within Program Files you will see Common Files. Within Common Files you will see Microsoft Shared. Within Microsoft Shared you will see Speech. Within Speech you will see all the files the Speech folder contains.

I did this "smart placement" of folders and their files for you, so you would always know exactly where they came from should you decide to replace some, or all, of them to their original locations.

__________________________________________________________________________________________

I thought this was pretty important for those of you using my system32 batch file with SP2 installed, so I'm re-posting it above in the quote, since it was the last post on the previous page and I'm sure it will go unnoticed there. This thread moves along fairly fast at times.

I've also added one more file I found SP2 seems to want to keep, and have removed it from my updated System32 Batch File which I will put up below.

netrap.dll > Net Remote Admin Protocol DLL

I received an application unable to start properly error, that this file was missing.

Share this post


Link to post
Share on other sites
aggrophobik    1

I'd really like to try this, but am a tad nervous. I think I'll wait 'till more ppl. reply w/ their experiences using it.

Share this post


Link to post
Share on other sites
McGazza    0
I'd really like to try this, but am a tad nervous. I think I'll wait 'till more ppl. reply w/ their experiences using it.

1 to 20 odd pages lol aint that enough :D

Share this post


Link to post
Share on other sites
KayMan2K    1

Nice work. I've always wondered what some of those funny named directories are all about....

Share this post


Link to post
Share on other sites
Bold_Fortune    0

Here we go. I'm going to give this to you in parts. Removing these, the first list of files I am about to give you will give you the most bang for your buck.

I'm going to start with the toughest files in this first part. Just so we can get them out of the way.

Here we go...

____________________________________________________________________________________________

Slimming Down XP-SP2 Slipstreamed Installation: A Simple Guide To Removing Some Unnecessary Files From Your XP-SP2 Installation...PART I

____________________________________________________________________________________________

The first thing I do is download the latest "Preview Version of XPLite". (I still don't recommended buying XPLite because even though it says it has been updated for SP2, the program is still a bit buggy. It removes a few files it shouldn't, it doesn't remove some files it should, and creates some errors in the Event Viewer...which is something I dislike.

Go to this page and in the upper right-hand corner click on "Download Preview".

http://www.litepc.com/xppreview.html

Open it's zip folder and copy its "XPlite_TRIAL.exe" to your Desktop or a folder of your choice.

Open it and go to its "Windows File Protection" tab. Select "Disabled" and then "Apply". Close the program and reboot your computer.

Then I go to this site and download and install "Register - Unregister This DLL v1.0.0.1".

http://www.programmersheaven.com/zone16/cat633/30729.htm

This helps me unregister DLLS I will be removing. It will put two items in your right-click context menu when you highlight and right click on single DLLs, or when you highlight multiple DLLS and right-click on one of them..."Register This Dll" and "UnRegister This Dll". I really like its ability to unregister multiple DLLS at one time.

Now lets remove some files.

____________________________________________________________________________

C:\WINDOWS\Driver Cache\i386

I delete "drivers.cab" and "sp2.cab" (I have SP2 Slipstreamed so that is why sp2.cab shows up here for me.) ...I do have backup copies of "drivers.cab" and "sp2.cab" on other backup images I have stored, along with my Slipstreamed Installation CD, so should I ever need a file I can get it from one of those.

I DON'T DELETE ANY NEW FILES ever created in i386. Because, later, as Updates arrive from Microsoft, any newer versions of files then placed in the "i386" folder will be the only copies I will have.

____________________________________________________________________________

C:\WINDOWS\system32\dllcache

I remove all files in the dllcache. ...I do have backup copies of the dllcache on other backup images I have stored, along with my Slipstreamed Installation CD, so should I ever need a file I can get it from one of those.

I'll only do this this one time. I DON'T DELETE ANY NEW FILES ever created in the dllcache. Because, later, as Updates arrive from Microsoft, any newer versions of files then placed in the the dllcache folder will be the only copies I will have.

____________________________________________________________________________

C:\WINDOWS\Fonts

Sometimes .fon extension fonts (The red A fonts) hide, so you need to run a search for *.fon in Search Assistant.

Open your Search Assistant. Be sure under "More Advanced Options" you have "Search for hidden files and folders" selected. Do a search for *.fon

About 138 of these Fonts should show up.

Now, highlight these specific 15 Fonts...

cga40woa.fon

cga80woa.fon

coure.fon

dosapp.fon

ega40woa.fon

ega80woa.fon

modern.fon

roman.fon

serife.fon

smalle.fon

sserife.fon

symbole.fon

vgafix.fon

vgaoem.fon

vgasys.fon

At the top of your Search Assistant click on "Edit". Scroll down and select "Invert Selection". Now delete all at once the other 123 unnecessary Fonts.

___________________________________________________________________________

TTF Font Extentions:

Here is a list of the 22 remaining *.ttf Fonts I have in C:\WINDOWS\Fonts. To see them all, because some are hidden, you need to do a search with your Search Assistant for *.ttf

You can do the Search Assistant trick above to keep these and remove all the others.

arial.ttf

arialbd.ttf

arialbi.ttf

ariali.ttf

courbd.ttf

lucon.ttf

marlett.ttf

micross.ttf

tahoma.ttf

tahomabd.ttf

times.ttf

timesbd.ttf

verdana.ttf

verdanab.ttf

verdanai.ttf

verdanaz.ttf

These could not be removed on my new system since I bought this new computer even in safe mode, so I also keep these three now:

trebuc.ttf

trebucbd.ttf

trebucbi.ttf

trebucit.ttf

These 2 Fonts I think SP2 holds dearly now, because they will not delete for me as they did with SP1:

framd.ttf

framdit.ttf

So I'll just keep them too.

__________________________________________________________________________

The two single file areas that YOU MUST BE MOST CAREFUL WITH are NLS Files = Multiple Language Resource Files. Character Translation; National Language Services driver (font or font map) ...and "KBD*.dll" files...which are for foreign language keyboard layouts.

VERY IMPORTANT. IF YOU DO NOT READ CAREFULLY...AND UNDERSTAND WHAT IS SAID PERFECTLY...THE WORDS OF CAUTION OFFERED IN THESE NEXT TWO PARTS....STAY AWAY FROM THE NEXT TWo TYPES OF FILES I REMOVE,

*.nls Files and kbd*.dll Files.

___________________________________________________________________________

C:\WINDOWS\system32

There are 85 kbd*.dlls in the system32 folder...you only need one of them.

A WORD OF CAUTION about kbd*.dlls. kbd*.dlls are Keyboard Layout files. My settings are for U.S. English, so I only need and keep the "kbdus.dll". All others I remove.

While in the system32 folder, highlight all the kdb*.dlls in system32. Hold down your "Ctrl" key on your Keyboard, and click on the one kbd*.dll you need to keep (in my case the "kbdus.dll", the United States Keyboard Layout). This takes that file out of the highlighted grouping.

Now right-click on one of the highlighted files and select "UnRegister This Dll" that is now in the context menu because you already downloaded and installed that program I told you about up top...right?

84 little windows will pop up trying to unregister these files individually. Chances are, like me, none will be able to be unregistered. But it's worth a shot.

A good registry cleaner will do the job for you.

Or you can manually edit the registry in these three locations of your registry:

1. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts

2. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Keyboard Layouts

3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts

Or, you could even leave them alone. It won't hurt anything.

_________________________________________________________________________

A list of kbd*.dlls...

KBDAL.DLL > Albania Keyboard Layout

kbdaze.dll > Azerbaijan_Cyrilic

kbdazel.dll > Azerti-Latin

kbdbe.dll > Belgian Dutch

kbdbene.dll > Belgian

kbdblr.dll > Belarusian

kbdbr.dll > Brazillian

kbdbu.dll > Bulgarian

kbdca.dll > Canadian Multilingual

kbdcan.dll > Canadian National Standard

kbdcr.dll > Croatian/Slovenian

kbdcz.dll > Czech

kbdcz1.dll > Czech_101

kbdcz2.dll > Czech_Programmer's

kbdda.dll > Dannish

kbddv.dll > Dvorak US English

kbdes.dll > Spanish Alternate

kbdest.dll > Estonia

kbdfc.dll > Canadian French

kbdfi.dll > Finnish

kbdfo.dll > Faeroese

kbdfr.dll > French

kbdgae.dll > Gaelic

kbdgkl.dll > Greek_Latin

kbdgr.dll > German

kbdgr1.dll > German_IBM

kbdhe.dll > Greek IBM 220

kbdhe220.dll > Greek IBM 319

kbdhe319.dll > Greek

kbdhela2.dll > Greek IBM 220 Latin

kbdhela3.dll > Greek IBM 319 Latin

kbdhept.dll > Greek_Polytonic

kbdhu.dll > Hungarian

kbdhu1.dll > Hungarian 101-key

kbdic.dll > Icelandic

kbdir.dll > Irish

kbdit.dll > Italian

kbdit142.dll > Italian 142

kbdkaz.dll > Kazak_Cyrillic

kbdkyr.dll > Kyrgyz

kbdla.dll > Latin-American Spanish

kbdlt.dll > Lithuania

kbdlt1.dll > Lithuanian

kbdlv.dll > Latvia

kbdlv1.dll > Latvia-QWERTY

kbdmac.dll > FYROMacedonian_Cyrillic

kbdmon.dll > Mongolian

kbdne.dll > Dutch

kbdnec.dll > JP Japanese Keyboard Layout for (NEC PC-9800)

kbdno.dll > Norwegian

kbdpl.dll > Polish

kbdpl1.dll > Polish Programmer's

kbdpo.dll > Portuguese

kbdro.dll > Romanian

kbdru.dll > Russian

kbdru1.dll > Russia(Typewriter)

kbdsf.dll > Swiss French

kbdsg.dll > Swiss German

kbdsl.dll > Slovak

kbdsl1.dll > Slovak(QWERTY)

kbdsp.dll > Spanish

kbdsw.dll > Swedish

kbdtat.dll > Tatar_Cyrillic

kbdtuf.dll > Turkish F

kbdtuq.dll > Turkish Q

kbduk.dll > United Kingdom

kbdur.dll > Ukrainian

kbdusl.dll > Dvorak Left-Hand US English

kbdusr.dll > Dvorak Right-Hand US English

kbdusx.dll > US Multinational

kbduzb.dll > Uzbek_Cyrillic

kbdycc.dll > Serbian_Cyrillic

kbdycl.dll > Serbian_Latin

And then there are a few other new ones that SP2 installed. I also delete those.

___________________________________________________________________________

C:\WINDOWS\system32

A WORD OF CAUTION about NLS files. Delete any one of these you're not supposed to and your system may not restart.

NLS Files = Multiple Language Resource Files. Character Translation; National Language Services driver (font or font map).

My system settings are for U.S.English. If you live outside of the U.S. using a foreign from U.S. computer you will need to check within your Layout.ini file within your Prefetch folder to see exactly which NLS files your system uses.

For my U.S.English settings, I remove all of these 40 NLS files:

c_037.nls

c_500.nls

c_737.nls

c_775.nls

c_850.nls

c_852.nls

c_855.nls

c_857.nls

c_860.nls

c_861.nls

c_863.nls

c_865.nls

c_866.nls

c_869.nls

c_874.nls

c_875.nls

c_1026.nls

c_1258.nls

c_10000.nls

c_10006.nls

c_10007.nls

c_10010.nls

c_10017.nls

c_10029.nls

c_10079.nls

c_10081.nls

c_10082.nls

c_20127.nls

c_20261.nls

c_20866.nls

c_20905.nls

c_21866.nls

c_28592.nls

c_28593.nls

C_28594.NLS

C_28595.NLS

C_28597.NLS

c_28598.nls

c_28599.nls

c_28603.nls

c_28605.nls

_________________________________________________________________________

C:\WINDOWS\system32

ALL "noise", "wbcache" and "wbdbase" files ( files in different languages) can be deleted.

(Registry keys location for files listed below:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Language)

noise.chs

noise.cht

noise.dat

noise.deu <<...Note: ...DEU = acronym for Deutsch (german)

noise.eng

noise.enu <<English

noise.esn <<Spanish

noise.fra <<French

noise.ita <<Italian

noise.nld <<Dutch

noise.sve <<Swedish

noise.tha

ALL "noise", "wbcache" and "wbdbase" files ( files in different languages) can be deleted.

(Registry keys location for files listed below:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Language)

wbcache.deu <<...Note: ...DEU = acronym for Deutsch (german)

wbcache.enu <<English

wbcache.esn <<Spanish

wbcache.fra <<French

wbcache.ita <<Italian

wbcache.nld <<Dutch

wbcache.sve <<Swedish

wbdbase.deu <<...Note: ...DEU = acronym for Deutsch (german)

wbdbase.enu <<English

wbdbase.esn <<Spanish

wbdbase.fra <<French

wbdbase.ita <<Italian

wbdbase.nld <<Dutch

wbdbase.sve <<Swedish

__________________________________________________________________________

C:\WINDOWS\inf

I deleted all .PNF files in this folder.

PNF files, are cache-type that help making the opening of some applications quicker and more responsive. These are files which, when deleted, will re-create themselves should its corresponding .inf file by the same name be called upon.

Per Rob Elder: It's a "pre-compiled" version of the ASCII .INF file that gets created when the Setup first processes a particular .INF file. It's done to speed up searches of the .INF files (as you've noticed there are LOTS of those on the system in Windows 2000/XP); if the dates of the .INF and .PNF files compare favorably (.PNF is later than .INF) the corresponding .PNF file will be used (if present).

If, and only after you give it some time, (say 30 days), a corresponding .PNF file is not re-created alongside the .INF file, it means you aren't using the .INF file at all. Then go ahead and delete them.

However, in the meanwhile, I picked this tip up from NeoMayhem:

"Do a search for mdm*.* and delete all the *.inf files that comes up. These are all modem drivers, and it is very unlikely you will ever need them because you either have a modem installed already, or if you do add one, it will come with newer drivers."

____________________________________________________________________________

C:\WINDOWS\Help\Tours

I delete the entire "Tours" folder and its contents.

Then I go and delete The "tourstart.exe" file from the system32 folder.

____________________________________________________________________________

Share this post


Link to post
Share on other sites
Bold_Fortune    0

Are you keeping up so far? Here's Part II. These ones are easy choices for you to make if you want to remove them.

____________________________________________________________________________________________

Slimming Down XP-SP2 Slipstreamed Installation: A Simple Guide To Removing Some Unnecessary Files From Your XP-SP2 Installation...PART II

____________________________________________________________________________________________

C:\Documents and Settings\All Users...

C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures

I only delete "quest.bmp"

C:\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\Default Pictures

I delete the avatars I will probably never use, and place a few of my own in the folder I like.

C:\Documents and Settings\All Users\Documents (or Shared Documents)\My Music

I'll delete the "Sample Music" folder and its contents only.

C:\Documents and Settings\All Users\Documents (or Shared Documents)\My Pictures

I delete the "Sample Pictures" folder and its contents

_________________________________________________________________________

C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Accessibility

I delete this folder and its contents.

Then I delete these file that belong to Accessibility Options:

C:\WINDOWS\Help

acc_dis.chm

access.chm

access.hlp

accessib.chm

magnify.chm

magnify.hlp

osk.chm

osk.hlp

utilmgr.chm

utilmgr.hlp

And in C:\WINDOWS\system32

access.cpl

accwiz.exe

mag_hook.dll

magnify.exe

narrator.exe

narrhook.dll

osk.exe

sethc.exe

utilman.exe

__________________________________________________________________________

C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Communications

I delete the entire "Communications" folder and all its contents. This removes these shortcuts from my desktop. I access them rarely, I just enter the Control Panel to get to them.

_________________________________________________________________________

C:\Documents and Settings\USERNAME...

C:\Documents and Settings\USERNAME\Favorites

I delete "MSN.com" and "Radio Station Guide".

C:\Documents and Settings\USERNAME\My Documents\My Music

I delete the contents of this folder.

C:\Documents and Settings\USERNAME\My Documents\My Pictures

I delete the contents of this folder.

C:\Documents and Settings\Username\My Documents\My eBooks

I delete this folder.

___________________________________________________________________________

C:\Documents and Settings\USERNAME\Start Menu\Programs\Accessories

I take the Accessories shortcuts I use (such as "Notepad" and "Windows Explorer") and cut and paste them to...

C:\Documents and Settings\All Users\Start Menu\Programs\Accessories,

and then I come back and delete the...

C:\Documents and Settings\USERNAME\Start Menu\Programs\Accessories folder.

___________________________________________________________________________

C:\Program Files...

___________________________________________________________________________

C:\Program Files\Common Files\SpeechEngines

I delete the contents of the SpeechEngines folder and its contents.

C:\Program Files\Common Files\Microsoft Shared\Speech

I delete the contents of the Speech folder.

Then I delete these to files that belong to Speech in C:\WINDOWS\Help...

sapicpl.hlp

speech.chm

___________________________________________________________________________

C:\Program Files\Common Files\Microsoft Shared\Stationary

I delete any stationaries in this folder that I most-likely won't use.

___________________________________________________________________________

C:\Program Files\Internet Explorer\Connection Wizard

I delete entire contents of the Connection Wizard folder.

And, C:\Program Files\Internet Explorer\SIGNUP

I delete the contents of the SIGNUP folder.

Then I delete these 2 files that belong to them in C:\WINDOWS\Help...

connect.hlp

icwdial.chm

And also these 5 files that belong to it in C:\WINDOWS\system32

icfgnt5.dll

icwdial.dll

icwphbk.dll

inetcfg.dll

isign32.dll ...Internet Signup

____________________________________________________________________________

C:\Program Files\Messenger

I delete the entire contents of the Messenger folder. (Don't if you use it.)

C:\Program Files\Movie Maker

I delete the entire contents of the Movie Maker folder. (Don't do it if you use Movie Maker. I don't, so I delete it.)

C:\Program Files\MSN

I delete contents of the MSN folder.

C:\Program Files\MSN Gaming Zone

I delete the contents of this folder.

______________________________________________________________________

C:\Program Files\Netmeeting

I delete the entire contents of the Netmeeting folder. (Don't do it if you use Netmeeting. I don't, so I delete it.)

Then I delete these 4 files belonging to NetMeeting in C:\WINDOWS\Help...

conf.chm

conf.hlp

nmchat.chm

nmwhiteb.chm

And these 8 files that belong to NetMeeting in C:\WINDOWS\system32...

mnmdd.dll

mnmsrvc.exe

msconf.dll

msg723.acm

msh261.drv

msh263.drv

nmevtmsg.dll

nmmkcert.dll

_______________________________________________________________________

C:\Program Files\Online Services

I delete contents of the Online Services folder.

C:\Program Files\Windows Media Player\Skins

I delete all the Windows Media player skins I will never use.

__________________________________________________________________________

C:\WINDOWS...

C:\WINDOWS\Cursors

I deleted any cursors and animated cursors I will never use.

C:\WINDOWS\Media

I delete most of the sounds Windows makes.

C:\WINDOWS\Temp

I delete any files I ever find in here. (note: It's a good idea to delete these after a reboot, because some programs you install still use these temporary installation files to complete their installation on the next boot

C:\WINDOWS\Web\Wallpaper

I deleted all the wallpapers I didn't like...which is actually all of them.

__________________________________________________________________________

Individual Files I remove in the Windows Directory:

C:\WINDOWS

any *.log files (I regularly delete any ".log" files that turn up in this folder.) "WindowsUpdate.log" will not be deleted in SP2.

control.ini (zero-length file)

system.ini (XP doesn't use this.)

win.ini (XP just ignores it anyway.)

NOTEPAD.EXE (They is another one in system32 I keep.)

All *.bmp Files

clock.avi

________________________________________________________________________

C:\WINDOWS\system32...

I delete all the empty numbered folders except 1033, which isn't empty.

This just kind of gets them out of my way so I can more easily see what's in system32.

C:\WINDOWS\system32\DirectX\Dinput

I delete contents of the Dinput.

____________________________________________________________________________

C:\WINDOWS\system32\oobe

I delete the entire contents of the "oobe" folder.

OOBE is "Out of the Box Experience". OOBE is the wizard that usually runs after Setup and performs the following functions: product activation, registration, mouse tutorial, user creation.

_____________________________________________________________________________

C:\WINDOWS\system32

Individual Files I also remove from system32 at this point while I'm in there:

Any *.scr Files (SreenSavers) I don't like.

ctfmon.exe ...CTF Loader (The Language bar appears on your desktop automatically when you add handwriting recognition, speech recognition, or an Input Method Editor (IME) as a method of entering text. In addition, if you add a second language or keyboard layout, you can display the Language bar from the taskbar.)

ntimage.gif

packager.exe

setup.bmp

sysedit.exe

Share this post


Link to post
Share on other sites
aggrophobik    1

So I d/led and ran your little batch file for fun on my laptop and this is what I get on reboot:

A problem is preventing Windows from accuratly checking the liscence for this computer Error 0x80070002

Oops, guess that'll teach me...

Share this post


Link to post
Share on other sites
Bold_Fortune    0

Part III has only two steps to it.

_______________________________________________________________________________________________

Slimming Down XP-SP2 Slipstreamed Installation: A Simple Guide To Removing Some Unnecessary Files From Your XP-SP2 Installation...PART III

_______________________________________________________________________________________________

1. Windows Optional Components...

I simply remove all the Optional Components in Disk Cleanup > More Options > Windows Components I don't want installed. I don't bother with the "sysoc.inf file tweak" ...where you remove all the "Hide"s between the commas...it never shows me that much additional Optional Components it'll let me remove anyway.

____________________________________________________________________________

2. Removing TEMP and Junk files...

There are many good TEMP and Junk File Cleaners out there. Most of them are free and will work as well or maybe even better than mine. I happen to use these two: HDValet and IE Privacy Keeper. I just like them. (I know, I know...yours are bigger and better...LOL.)

This is how I configure my Temp File Cleaner, HDValet to delete certain file extensions:

____________________________________________________________________________

LOG files...

*.log ...Log Files

But I protect these log files:

INSTALL.LOG

uninstal.log

Unistall.log

install.log

NTUSER.DAT.LOG

UsrClass.dat.LOG

PASSWORD.LOG

default.log

SAM.LOG

SECURITY.LOG

software.LOG

system.LOG

PASSWD.LOG

AVVirus.log

AVApp.log

AVError.log

C:\WINDOWS\WindowsUpdate.log

C:\WINDOWS\SoftwareDistribution\DataStore\Logs\edb.log

_____________________________________________________________________________

The reason I protect the particular log files above is because without the Unistall.log and install.log files I can't uninstall certain programs if I want to.

The system-protected LOG files, and NAV log files can't be deleted this way anyway, but I enter them so HDValet won't spend 5 minutes trying to figure out it can't delete them.

____________________________________________________________________________

TEMP and Junk files...

I remove the...

"Temp folder" and

"Temporary files" and

"Internet Explorer cache"

...from HDValets default list because I have it setup with IE Privacy Keeper instead. HDValet just takes too much time to realize it can't remove some of the files that are in use at the time. And in "Internet Explorer cache" it creates those stupid numbers and letters folders, and it re-creates the Index.dat file IE Privacy Keeper removes.

(This is not the permanent Index.dat file in the Cookies Folder, btw. That one can't be removed permanently. It can only be deleted momentarily, but then re-creates itself clean.)

____________________________________________________________________________

TEMP and Junk files:

*.000 ...sequential file in split Zip archive?

*.001 ...sequential file in split Zip archive?

*.002 ...sequential file in split Zip archive?

*.1st ...(system.1st is a Windows diagnostic file)

*.$$$ ...MS-DOS Temporary Files

*.&db ...Temporary Files (dBASE IV)

*.--- ...Setup Temporary Files

*.?$? ...Temporary Files(st Reader)

*.?~? ...Temporary Files

*.MS ...Microsoft Product Backup Files

*.^ ...Temporary Files

*.__ ...Temporary Files

*._dd ...Lost Cluster Files

*._detmp ...Temporary Files

*.mp ...Temporary Files

*.bak ...Backup Files

*.b~k ...Backup file, some text editors

*.bk ...Backup file

*.bk? ...Potential junk

chklist.* ...Lost Cluster Files

*.chk ...Lost Cluster Log Files

*.cpy ...Backup Files

*.db$ ...Temporary Files (dBASE)

*.dmp ...Potential junk

____________________________________________________________________________

*.edb ....Exchange Server store (a database)

But I protect these files because Windows will not allow them to be deleted.

C:\WINDOWS\SoftwareDistribution\DataStore\Logs\tmp.edb

C:\WINDOWS\SoftwareDistribution\DataStore\DataStore.edb

____________________________________________________________________________

*.err ...Error File

*.fic ...Potential junk

*.fnd ...Find Result Files

*.ftg ...Word List File of *.HLP

*.fts ...Word List File of *.HLP

*.gid ...Windows Help Index Files

___________________________________________________________________________

I also protect this folder's contents.

C:\Documents and Settings\USERNAME\Local Settings\Temp

I don't instruct HDValet to remove the files here because it just takes too long to figure out it can't remove a file or two which can be in use at the time. IE Privacy Keeper does a much better job with this type of file.

___________________________________________________________________________

*.nav ...Backup Files

*.nu3 ...Symantec Backup File

*.old ...Backup Files

*.prv ...Backup Files (bootlog.prv: Windows diagnostic file)

*.sav ...Backup file.

*.sdi ...Archive Content File

*.sik ...Potential junk

*.spc ...Temporary Files (WordPerfect for Windows)

*.syd ...Backup Files

*.temp ...Temporary Files

*.tmp ...Temporary Files

*.wbk ...Word Backup Files

*.~* ...Temporary Files

*__ofidx*.* ...Microsoft Find Fast Indexer File

*.license.txt ...Potential junk

*install*.txt ...Potential junk

*.log.txt ...Log Files Windows diagnostic files

*modemlog.txt ...Windows Modem Log File

*order*.txt ...Potential junk

____________________________________________________________________________

*readme*.txt ...Potential junk

I have to protect Perfect Disk's readme files because it won't operate without its "readme.txt" or "register.txt" files:

C:\Program Files\RAXCO\PD60Install\program files\Raxco\PerfectDisk\Readme.txt

C:\Program Files\RAXCO\PD60Install\program files\Raxco\PerfectDisk\Register.txt

C:\Program Files\RAXCO\PerfectDisk\readme.txt

C:\Program Files\RAXCO\PerfectDisk\register.txt

____________________________________________________________________________

*whatsnew*.txt ...Potential junk

0*.nch ...Temporary Files created by MS Outlook Express

ABEND.LOG ...Novell Abend Log

anti-vir.dat ...Created by F-Prot Anit-Virus

eula.txt ...Microsoft end-user license agreement

file_id.diz ...Description of Shareware

ghosterr.txt ...Norton Ghost Error File

iebak.dat ...Internet Explorer Junk File

modemdet.txt ...Windows Diagnostic file

mscreate.dir ...Microsoft Junk File

msoe.txt ...Readme for Microsoft Outlook Express

mssecure.xml ...Microsoft Baseline Security Analyzer File

pq_debug.txt ...PowerQuest PartitionInfo file

pspbrwse.jbf ...Paint Shop Folder Image Information Cache File

suhdlog.dat ...Windows diagnostic file

system.st ...Windows diagnostic file

twain???.mtx ...TWAIN Temporary file

I'm still need to add definitions to...

*.bmk

*.cam

*.cb

*.cln

*.cnt

*.da1

*.da2

*.diz

*.doc

*.fix

*.ign

*.ink

*.lgc

*.lge

*.lic

*.new

*.out

*.par

*.pvt

*.query

*.syd

*.umb

*.~mp

*.!!!

*.lhx

____________________________________________________________________________

Additional extensions already in HDValet...

Borland Temporary Files:

*.ilc

*.ild

*.ilf

*.ils

*.tds

Setup Temporary Files:

mscreate.dir

Temporary Files:

*.~*

*.^*

*.??$

Visual Studios temp files:

*.bsc

*.ilk

*.res

*.pch

WS_FTP temporary files:

ws_ftp.log

____________________________________________________________________________

Share this post


Link to post
Share on other sites
Pierreken    1

So for those of you who have done all this, did you notice a speed-up? I'm thinking about following all these instructions but I don't need it to save space (got plenty of it). If this does speed up the PC it would be worth the time.

Share this post


Link to post
Share on other sites
Bold_Fortune    0

The past few days I've been fighting like hell with XPLite...trying to get my $50.00!!! worth out of the program. It's such a shame that XPLite is such a **** poor program. 98Lite was a fantastic program, and the makers are banking on the reputation of 98Lite to take our money gladly for this very unstable, unready XPLite.

Below, I'll list the components I removed using XPLite...for a grand total space savings of 34MB.

These files are the exact files XPLite removes.

These are also the only components I could remove with XPLite that did not start creating errors in the Event Viewer, or crippling some of SP2's new vital and cool stuff...like Firewall Protection, as one example.

Microsoft definitely tied some components together this time with the integration of SP2. The files in C:\WINDOWS\system32\wbem are not as easily removed as they were with SP1...at least, not without mucking some things up.

Many components are now tied together. You can't even remove the Wireless Zero files from system32 without messing up Microsoft's Firewall Protection. And the list goes on.

Anyway, back to XPLite. I paid $50.00!!! for the program. As my way of getting even with the makers...You won't have to!

Here's what I used XPLite to remove from my system, and the exact files it removes. Other than these, if you go any further with deleting things with it, you'll find yourself in a world of hurt. This program was not ready for market, and the makers should be ashamed of themselves.

I won't be keeping my setup this way. I don't trust this program getting it right. I would much rather go on learning about files and what can be removed on my own. This is just something I just I thought I'd try. I still trust myself more about what I know about files than I do the makers of XPLite.

Now, here's how to save 34MB with XPLite...

____________________________________________________________________________

Active Directories Service

Deleted these 3 files from C:\WINDOWS\system32\wbem

dsprov.dll

dsprov.mfl

dsprov.mof

Deleted these 11 files from C:\WINDOWS\system32

activeds.dll

activeds.tlb

adsldp.dll

adsldpc.dll

adsmsext.dll

adsnt.dll

dsprop.dll

dsquery.dll

dssec.dat

dssec.dll

dsuiext.dll

___________________________________________________________________________

Web Client

Removed these 2 files from C:\WINDOWS\system32

davclnt.dll

webclnt.dll

__________________________________________________________________________

Internet Authentification Service

Deleted the entire contents of C:\WINDOWS\system32\ias(IAS)

Deleted these 10 files from C:\WINDOWS\system32

iasacct.dll

iasads.dll

iashlpr.dll

iasnap.dll

iaspolcy.dll

iasrad.dll

iasrecst.dll

iassam.dll

iassdo.dll

iassvcs.dll

____________________________________________________________________________

MSAC (MS Data Access Components)

--------------------------------------------------------------------------

Per X-teq: Microsoft Data Access Component (MDAC) includes a service DataFactory, that allows developers to easily access data over the internet on this machine.

However, it can happen that this technique is a security problem. If configured in "Unsafe Mode", it allows hacker to execute code, query data and other ugly things. This bug was fixed with MDAC 2.o, but can still be a problem.

To make sure your machine is safe, activate this option.

--------------------------------------------------------------------------

C:\Program Files\Common Files\Microsoft Shared\DAO

All the contents of this folder.

C:\Program Files\Common Files\MSSoap\Binaries\Resources\1033

All the contents of this folder.

--------------------------------------------------------------------------

C:\Program Files\Common Files\System\ado

Deleted these 14 files:

adojavas.inc

adovbs.inc

MDACReadme.htm

msader15.dll

msado15.dll

msado20.tlb

msado21.tlb

msado25.tlb

msado26.tlb

msadomd.dll

msador15.dll

msadox.dll

msadrh15.dll

msjro.dll

But kept this 1 file:

msado27.tlb

--------------------------------------------------------------------------

C:\Program Files\Common Files\System\msadc

All the contents of this folder and its contents.

--------------------------------------------------------------------------

C:\Program Files\Common Files\System\Ole DB

Deleted these 22 files:

msdadc.dll

msdaenum.dll

msdaer.dll

msdaorar.dll

msdaosp.dll

msdaps.dll

msdasc.dll

msdasql.dll

msdasqlr.dll

msdatl3.dll

msdatt.dll

msdaurl.dll

msxactps.dll

oledb32.dll

oledb32r.dll

oledbjvs.inc

oledbvbs.inc

sqloledb.dll

sqloledb.rll

sqlsoldb.chm

sqlxmlx.dll

sqlxmlx.rll

But kept these 3 files:

MSDAIPP.DLL

msdaora.dll

MSDAPML.DLL

____________________________________________________________________________

System Restore

Deleted this file from C:\WINDOWS\system32\drivers

sr.sys

Deleted the entire contents of C:\WINDOWS\system32\Restore

Deleted these 3 individual files from C:\WINDOWS\system32

srclient.dll

srrstr.dll

srsvc.dll

____________________________________________________________________________

USR/3Com Modem drivers

Deleted these 16 files from C:\WINDOWS\system32

usrcntra.dll

usrcoina.dll

usrdpa.dll

usrdtea.dll

usrfaxa.dll

usrlbva.dll

usrmlnka.exe

usrprbda.exe

usrrtosa.dll

usrsdpia.dll

usrshuta.exe

usrsvpia.dll

usrv42a.dll

usrv80a.dll

usrvoica.dll

usrvpa.dll

_________________________________________________________________________

Microsoft Agent

Deleted these 18 files from C:\WINDOWS\Help

agt0405.hlp

agt0406.hlp

agt0407.hlp

agt0408.hlp

agt0409.hlp

agt040b.hlp

agt040c.hlp

agt040e.hlp

agt0410.hlp

agt0413.hlp

agt0414.hlp

agt0415.hlp

agt0416.hlp

agt0419.hlp

agt041d.hlp

agt041f.hlp

agt0816.hlp

agt0c0a.hlp

Deletes these 11 files from C:\WINDOWS\msagent

agentanm.dll

agentctl.dll

agentdp2.dll

agentdpv.dll

agentmpx.dll

agentpsh.dll

agentsr.dll

agentsvr.exe

agtctl15.tlb

agtintl.dll

mslwvtts.dll

Deleted this 1 files from C:\WINDOWS\msagent\chars

merlin.acs

Deleted these 18 files from D:\LastGood\msagent\intl

agt0405.dll

agt0406.dll

agt0407.dll

agt0408.dll

agt0409.dll

agt040b.dll

agt040c.dll

agt040e.dll

agt0410.dll

agt0413.dll

agt0414.dll

agt0415.dll

agt0416.dll

agt0419.dll

agt041d.dll

agt041f.dll

agt0816.dll

agt0c0a.dll

___________________________________________________________________________

OBDC Database drivers

ODBC is a programming interface that enables applications to access data in database management systems that use Structured Query Language (SQL) as a data access standard.

Open DataBase Connectivity (ODBC) is an Application Programming Interface (API) that allows a programmer to abstract a program from a database. When writing code to interact with a database, you usually have to add code that talks to a particular database using a proprietary language. If you want your program to talk to an Access, Fox and Oracle databases you have to code your program with three different database languages.

___________________________________________________________________________

Deleted these two files from C:\WINDOWS\Help

msorcl32.chm

odbcinst.chm

Deleted these 37 files from C:\WINDOWS\system32

cliconfg.dll

cliconfg.exe

cliconfg.rll

dbmsrpcn.dll

DBnetlib.dll

dbnmpntw.dll

ds16gt.dll

ds32gt.dll

mscpx32r.dll

mscpxl32.dll

msorc32r.dll

msorcl32.dll

odbc16gt.dll

odbc32gt.dll

odbcad32.exe

odbcconf.dll

odbcconf.exe

odbcconf.rsp

odbccp32.cpl

odbccp32.dll

odbccr32.dll

odbccu32.dll

odbcji32.dll

odbcjt32.dll

odbcp32r.dll

odbctrac.dll

oddbse32.dll

odexl32.dll

odfox32.dll

odpdx32.dll

odtext32.dll

sqlsodbc.chm

sqlsrv32.dll

sqlsrv32.rll

sqlunirl.dll

sqlwid.dll

sqlwoa.dll

----------------------------------------------------------------------------

Then I deleted the shortcut, "Data Sources (ODBC)", in

C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools

--------------------------------------------------------------------------

Then I removed this file in C:\WINDOWS

OBDCINST.INI

___________________________________________________________________________

Search Assistant

Deleted all files in C:\WINDOWS\srchasst

Deleted all files in C:\WINDOWS\srchasst\chars

Deleted all files in C:\WINDOWS\srchasst\mui\0409

___________________________________________________________________________

Twain Image Acquisition Drivers

Deleted these individual files from C:\WINDOWS

twunk_16.exe (Twain Working Group)

twunk_32.exe (Twain Working Group)

twain.dll ...Twain Source Manager (Image Acquisition Interface) I don't have a scanner.

twain_32.dll ...Twain_32 Source Manager (Image Acquisition Interface) I don't have a scanner.

____________________________________________________________________________

Indexing Service and Indexing Service language resources

Deleted these 14 files from C:\WINDOWS\system32

ciadmin.dll

ciadv.msc

cic.dll

cidaemon.exe

ciodm.dll

cisvc.exe

idq.dll

infosoft.dll

ixsso.dll

LangWrbk.dll

mimefilt.dll

nlhtml.dll

offfilt.dll

webhits.dll

___________________________________________________________________________

Smart Card Services

Deletes these 9 files from C:\WINDOWS\system32

scarddlg.dll

scardssp.dll

scardsvr.exe

sccbase.dll

sccsccp.dll

scredir.dll

slbcsp.dll

slbiop.dll

slbrccsp.dll

____________________________________________________________________________

Migration Wizard

Deleted these 20 files from C:\WINDOWS\system32\usmt

guitrn.dll

guitrn_a.dll

iconlib.dll

log.dll

migapp.inf

migism.dll

migism.inf

migism_a.dll

migload.exe

migsys.inf

miguser.inf

migwiz.exe

migwiz.inf

migwiz_a.exe

script.dll

script_a.dll

sysfiles.inf

sysmod.dll

sysmod_a.dll

usmtdef.inf

_____________________________________________________________________________

Share this post


Link to post
Share on other sites
xGokux    0

Thx! This helped a lot with my comp. problems!

Share this post


Link to post
Share on other sites
kitchenutensils    0

i have a tonne of $ntuninstall$'s but iv started to worry if there something unrelated to just $uninstall$s - could anyone clear that up for me?

Share this post


Link to post
Share on other sites
odious_m    0
i have a tonne of $ntuninstall$'s but iv started to worry if there something unrelated to just $uninstall$s - could anyone clear that up for me?

What do you mean? Please elaborate!

Share this post


Link to post
Share on other sites
McGazza    0
i have a tonne of $ntuninstall$'s but iv started to worry if there something unrelated to just $uninstall$s - could anyone clear that up for me?

I thought that was in relation to the service packs incase you wanted to uninstall them, i am not sure either so i just kept it :)

Share this post


Link to post
Share on other sites
Bold_Fortune    0

Sorry it took so long for me to get back with PART 5 of this new SP2 file deleting guide, but I recently switched to a DSL connection from a Dialup connection and have been have tons of fun downloading movies, and learning about codecs and such needed to watch these movies.

Anyway, for PART 5 I ran some tests with the cmd files I made for SP1. I find they work perfectly for SP2 as well.

Please do read some of the notes I made next to some of the files listed below before downloading and using the three cmd files I'll post below all this.

____________________________________________________________________________________________

Slimming Down XP-SP2 Slipstreamed Installation: A Simple Guide To Removing Some Unnecessary Files From Your XP-SP2 Installation...PART 5

____________________________________________________________________________________________

I have three .cmd files I made for removing "complete" folders and all their contents.

They remove only the folders which I normally remove the entire folder and its contents. They do not remove individual files I single out from a folder to remove. That will have to come later. For now you'll have to remove those manually.

Files and folders that cannot be removed will either not be removed or else be replaced by Windows immediately or upon the next boot.

I made them the .cmd files into three sections:

1. Documents and Settings Folders.cmd

2. Programs Files Folders.cmd

3. WINDOWS and system32 Folders.cmd

(I'll post the three files in a zip folder below.)

-----------------------------------------------------------------------------------------------------------------------

Smart Placement:

These .cmd files will move and save the folders and their files to a backup folder on C:\ . The backup folder is simply named, Backup.

Within the Backup folder you'll notice what I call "smart placement" of subfolders, identical to how they look in XP. For example, you will see a folder named Program Files. Within Program Files you will see Common Files. Within Common Files you will see Microsoft Shared. Within Microsoft Shared you will see Speech. Within Speech you will see all the files the Speech folder contains.

I did this "smart placement" of folders and their files for you, so you would always know exactly where they came from should you decide to replace some, or all, of them to their original locations.

----------------------------------------------------------------------------------------------------------------------

Some files and folders I already removed in Parts 1-4 of this new SP2 file deleting guide.

----------------------------------------------------------------------------------------------------------------------

Removed using my cmd files:

C:\Documents and Settings

I completely delete the LocalService folder, not just its contents.

I completely delete the NetworkService folder, not just its contents.

(I'm not on a network of computers.)

ALTHOUGH, I notice that these folders will no longer delete for me, even with System File Protection disabled. It either has something to do now with SP2, or because I am now using DSL instead of a Dialup connection.

___________________________________________________________________________

C:\Documents and Settings\All Users\DRM

I delete the folder and its contents.

C:\Documents and Settings\All Users\Templates

I delete the folder.

C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto

I delete the folder and its subfolders.

C:\Documents and Settings\All Users\Application Data\Microsoft\Dr Watson

I delete the folder.

C:\Documents and Settings\All Users\Application Data\Microsoft\HTML Help

I delete the folder.

__________________________________________________________________________

C:\Documents and Settings\USERNAME\Application Data\Help

I delete the folder.

C:\Documents and Settings\USERNAME\Application Data\Identities

I delete the folder and its contents.

C:\Documents and Settings\USERNAME\Application Data\Microsoft\MMC

I delete the folder.

_______________________________________________________________________

C:\Program Files...

C:\Program Files\ComPlus Applications

I delete the ComPlus Applications folder.

C:\Program Files\microsoft frontpage

I delete the microsoft frontpage folder.

C:\Program Files\Uninstall Information

I delete the Online Services folder.

C:\Program Files\xerox

I delete the xerox folder.

______________________________________________________________________

C:\Program Files\Common Files\Microsoft Shared\MSInfo

I delete the folder and its contents.

C:\Program Files\Common Files\Microsoft Shared\Web Folders

I delete the folder and its contents.

C:\Program Files\Common Files\Services

I delete the Services folder and its contents

______________________________________________________________________

C:\WINDOWS

I delete all $NtUninstall$xxxx folders. These first folders you see in the WINDOWS folder are Windows Update installation/uninstall files for the updates gotten from Windows Update. These files are only used if you want to "uninstall" a particular Hotfix. They have nothing to do with the Hotfixes being in good working order on your system. You can safely delete these folders. Then go to the Add/Remove Utility. From here you can delete their corresponding Hotfix entries, as it will be invalid now anyway. Highlight their Hotfix entry and click on Remove.

C:\WINDOWS\addins

ActiveX controls (.ocx) files This folder is always empty on my system, so I delete the folder.

C:\WINDOWS\AppPatch (Application compatibility files)

I delete the folder and its contents.

C:\WINDOWS\Config

I delete the folder.

C:\WINDOWS\Debug\UserMode

I delete the folder.

C:\WINDOWS\Downloaded Installations

I delete the contents of the folder.

C:\WINDOWS\Downloaded Program Files

I delete the contents of the folder.

--------------------------------------------------------------------

C:\WINDOWS\Help

I delete all individual files but keep the folder.

ALTHOUGH, I have decided to keep my Help files...I'm not that bright, and I can still learn a lot from them. So I replace the Help folder and its files back to C:\WINDOWS after I run the command files.

-------------------------------------------------------------------

C:\WINDOWS\ime (language files)

I delete the "ime" folder and its contents.

C:\WINDOWS\msapps

I delete the folder and its contents. Files that support backward compatibility in applications.

C:\WINDOWS\mui

I delete the "mui" folder. Multi-user interface files.

C:\WINDOWS\nview

I delete the folder and its contents.

C:\WINDOWS\Offline Web Pages

I delete the folder.

C:\WINDOWS\PIF

I delete the folder and its contents.

C:\WINDOWS\pss

I delete the folder and its contents.

C:\WINDOWS\Profiles (Seemingly useless folder created by Adobe Reader.)

I delete the folder and its contents

-------------------------------------------------------------------------

C:\WINDOWS\repair

I delete the folder and its contents.

(Registry backup files. These files are updated if you use NTBackup and choose to back up system state files. Per relder: There are backup copies of the hive files in the systemroot\repair directory. But if you are not running MSBackup, they are from the day that the operating system was installed. If you're using MSBackup then they are from the date of the last backup.)

--------------------------------------------------------------------------

C:\WINDOWS\security\Database

I delete the folder and it's contents.

C:\WINDOWS\ShellNew (I delete the folder.)

--------------------------------------------------------------------------

C:\WINDOWS\system (Backward compatibility files related to the System folder)

I delete contents of the folder.

Some older applications you install that look for files in the System folder. The majority of these files have duplicates in the system32 folder. If you want, you can cut and paste them to the system32 folder. The couple of files system32 does not contain will then be placed there now instead, and you shouldn't have any problem installing older applications.

I found three files that did not already exist in system32:

crlds3d.dll

setup.inf

stdole.tlb

--------------------------------------------------------------------------

C:\WINDOWS\twain_32 (Imaging files for scanners)

I delete the folder and its contents. I don't have a scanner.

__________________________________________________________________________

C:\WINDOWS\system32...

C:\WINDOWS\system32\3com_dmi

I delete the folder.

--------------------------------------------------------------------------

C:\WINDOWS\system32\Com

I delete the folder.

Component Object Model (COM) objects. I don't use this. So I'll delete this folder and its contents, and then I open up the Control Panel/Administrative Tools and delete the "Component Services" shortcut there. Also, while I'm in Control Panel/Administartive Tools, I'll go ahead delete "Data Sources (ODBC)" as I do not use this either.

--------------------------------------------------------------------------

C:\WINDOWS\system32\Defaults

I delete the folder and its contents.

C:\WINDOWS\system32\dhcp

I delete the folder.

C:\WINDOWS\system32\export

I delete the folder.

C:\WINDOWS\system32\ias (Internet Authentication Service files)

I delete the folder and its contents.

C:\WINDOWS\system32\icsxml (Universal Plug and Play files)

I delete the folder and its contents.

C:\WINDOWS\system32\IME

I delete the "IME" folder and its contents.

C:\WINDOWS\system32\inetsrv

I delete the folder.

C:\WINDOWS\system32\Macromed

I delete the folder and its contents. I do not use Macromedia Flash.

C:\WINDOWS\system32\MsDtc\Trace (Microsoft Distributed Transaction Coordinator files)

I delete the folder and its contents.

C:\WINDOWS\system32\mui (Multi-user interface files)

I delete the "mui" folder and all its contents. Don't, if you have multiple users logging onto your computer.

C:\WINDOWS\system32\npp (Network Monitor and trace files.)

I delete the "npp" folder and its contents. I'm not on a network of computers.

C:\WINDOWS\system32\ras ( Remote access server encryption files )

I delete the "ras" folder and its contents.

C:\WINDOWS\system32\ShellExt

I delete the folder.

C:\WINDOWS\system32\wins

I delete the folder.

C:\WINDOWS\system32\xircom

I delete the folder

___________________________________________________________________

Share this post


Link to post
Share on other sites
McGazza    0

Hey Bold, is it ok if u put all ur part 1234 and 5 guides in one? Plz dont flame me if u cant :)

Share this post


Link to post
Share on other sites
Bold_Fortune    0

McGazza?, they are free to do with as you wish. I didn't do this for profit...I did it for you guys and gals. (I already know what I can delete.)

But use this for part 4...since I have made some additions to it since last posting it...

____________________________________________________________________________________________

Slimming Down XP-SP2 Slipstreamed Installation: A Simple Guide To Removing Some Unnecessary Files From Your XP-SP2 Installation...PART 4

____________________________________________________________________________________________

PART 4a:

____________________________________________________________________

C:\Documents and Settings

I completely delete the Default User folder, not just its contents.

CAUTION: Per Rob Elder: The default user folder is used to build a profile for any user logging on to your PC for the first time. If you delete the default user folder, any new user accounts will not be able to log on. Also if any current profile becomes corrupted, that account will be toasted too

____________________________________________________________________

C:\WINDOWS...

C:\WINDOWS\lastgood

I delete this folder and it's contents.

C:\WINDOWS\msdownld.tmp

I delete the folder and its contents.

C:\WINDOWS\RegisteredPackages

I delete the folder and its contents.

C:\WINDOWS\SoftwareDistribution

You can delete the contents of this folder. Upon your next visit to Windows Update it will be recreated.

____________________________________________________________________

C:\WINDOWS\system32...

C:\WINDOWS\system32\CatRoot

I delete the entire contents of this folder. What needs to be replaced does so automatically. Usually after a Windows Update.

C:\WINDOWS\system32\CatRoot2

I delete the entire contents of this folder. What needs to be replaced does so automatically. Ususally after a Windows Update.

Also, I regularly delete all the temp files that return to this folder. I have my temp file cleaner configured to delete these file extentions: .txt, .chk, .log files.

____________________________________________________________________

C:\WINDOWS\system32\ReinstallBackups

I'll delete all backup files in here when I'm certain I will be keeping all of my updated drivers.

____________________________________________________________________

C:\WINDOWS\system32\config\systemprofile

I delete the "systemprofile" folder and all its contents.

____________________________________________________________________

PART 4b: (Using XPLite...although, I didn't need it. I just wanted to see what it could do. Personally, I think I do better at deleting files...LOL.)

____________________________________________________________________

Active Directories Service

Deleted these 3 files from C:\WINDOWS\system32\wbem

dsprov.dll

dsprov.mfl

dsprov.mof

Deleted these 11 files from C:\WINDOWS\system32

activeds.dll

activeds.tlb

adsldp.dll

adsldpc.dll

adsmsext.dll

adsnt.dll

dsprop.dll

dsquery.dll

dssec.dat

dssec.dll

dsuiext.dll

____________________________________________________________________

Advanced System Services

____________________________________________________________________

Distributed Link Tracking Client

Deleted this file from C:\WINDOWS\system32

trkwks.dll

--------------------------------------------------------------------

Error Reporting

Deletes this file from C:\WINDOWS\system32

ersvc.dll

--------------------------------------------------------------------

Network DDE

Deletes this file from C:\WINDOWS\system32

netdde.exe

--------------------------------------------------------------------

Web Client

Removed these 2 files from C:\WINDOWS\system32

davclnt.dll

webclnt.dll

____________________________________________________________________

Internet Authentification Service

Deleted the entire contents of C:\WINDOWS\system32\ias(IAS)

Deleted these 10 files from C:\WINDOWS\system32

iasacct.dll

iasads.dll

iashlpr.dll

iasnap.dll

iaspolcy.dll

iasrad.dll

iasrecst.dll

iassam.dll

iassdo.dll

iassvcs.dll

___________________________________________________________________

MSAC (MS Data Access Components)

-------------------------------------------------------------------

Per X-teq: Microsoft Data Access Component (MDAC) includes a service DataFactory, that allows developers to easily access data over the internet on this machine.

However, it can happen that this technique is a security problem. If configured in "Unsafe Mode", it allows hacker to execute code, query data and other ugly things. This bug was fixed with MDAC 2.o, but can still be a problem.

To make sure your machine is safe, activate this option.

-------------------------------------------------------------------

C:\Program Files\Common Files\Microsoft Shared\DAO

All the contents of this folder.

C:\Program Files\Common Files\MSSoap\Binaries\Resources\1033

All the contents of this folder.

-------------------------------------------------------------------

C:\Program Files\Common Files\System\ado

Deleted these 14 files:

adojavas.inc

adovbs.inc

MDACReadme.htm

msader15.dll

msado15.dll

msado20.tlb

msado21.tlb

msado25.tlb

msado26.tlb

msadomd.dll

msador15.dll

msadox.dll

msadrh15.dll

msjro.dll

But kept this 1 file:

msado27.tlb

-------------------------------------------------------------------

C:\Program Files\Common Files\System\msadc

All the contents of this folder and its contents.

-------------------------------------------------------------------

C:\Program Files\Common Files\System\Ole DB

Deleted these 22 files:

msdadc.dll

msdaenum.dll

msdaer.dll

msdaorar.dll

msdaosp.dll

msdaps.dll

msdasc.dll

msdasql.dll

msdasqlr.dll

msdatl3.dll

msdatt.dll

msdaurl.dll

msxactps.dll

oledb32.dll

oledb32r.dll

oledbjvs.inc

oledbvbs.inc

sqloledb.dll

sqloledb.rll

sqlsoldb.chm

sqlxmlx.dll

sqlxmlx.rll

But kept these 3 files:

MSDAIPP.DLL

msdaora.dll

MSDAPML.DLL

____________________________________________________________________

MS Networking Services

____________________________________________________________________

Alerter Service

Deletes this file from C:\WINDOWS\system32

alrsvc.dll

--------------------------------------------------------------------

Computer Browser

Deletes this file from C:\WINDOWS\system32

browser.dll

--------------------------------------------------------------------

Messenger

Deletes this file from C:\WINDOWS\system32

msgsvc.dll

____________________________________________________________________

System Restore

Deleted this file from C:\WINDOWS\system32\drivers

sr.sys

Deleted the entire contents of C:\WINDOWS\system32\Restore

Deleted these 3 individual files from C:\WINDOWS\system32

srclient.dll

srrstr.dll

srsvc.dll

____________________________________________________________________

Communication and Messenging

____________________________________________________________________

Chat

Removed these 2 files from C:\WINDOWS\Help

winchat.chm

winchat.hlp

Removed this 1 file from C:\WINDOWS\system32

winchat.exe

--------------------------------------------------------------------

Phone Dialer

Removed this 1 file from C:\Program Files\Windows NT

dialer.exe

Removed these 2 files from C:\WINDOWS\Help

dialer.chm

dialer.hlp

Removed these 3 files from C:\WINDOWS\system32

avmeter.dll

avtapi.dll

avwav.dll

---------------------------------------------------------------------

USR/3Com Modem drivers

Deleted these 16 files from C:\WINDOWS\system32

usrcntra.dll

usrcoina.dll

usrdpa.dll

usrdtea.dll

usrfaxa.dll

usrlbva.dll

usrmlnka.exe

usrprbda.exe

usrrtosa.dll

usrsdpia.dll

usrshuta.exe

usrsvpia.dll

usrv42a.dll

usrv80a.dll

usrvoica.dll

usrvpa.dll

_____________________________________________________________________

Multimedia

_____________________________________________________________________

ICM Color Profiles

Deleted all the files in C:\WINDOWS\system32\spool\drivers\color

Deleted these 3 files in C:\WINDOWS\system32

htui.dll

icm32.dll

icmui.dll

_____________________________________________________________________

Operating System Options

_____________________________________________________________________

Clipbook

Deleted this 1 file from C:\WINDOWS\system32

ClipSrv.exe

---------------------------------------------------------------------

Extra Fonts (.ttf)

Removed these 6 additional fonts from C:\WINDOWS\Fonts from what I normally removed (See PART I of guide.)

framd.ttf

framdit.ttf

trebuc.ttf

trebucbd.ttf

trebucbi.ttf

trebucit.ttf

These 3 files replaced themselves immediately in C:\WINDOWS\Fonts

framd.ttf

framdit.ttf

trebucbd.ttf

However, upon rebooting, they were removed.

---------------------------------------------------------------------

Microsoft Agent

Deleted these 18 files from C:\WINDOWS\Help

agt0405.hlp

agt0406.hlp

agt0407.hlp

agt0408.hlp

agt0409.hlp

agt040b.hlp

agt040c.hlp

agt040e.hlp

agt0410.hlp

agt0413.hlp

agt0414.hlp

agt0415.hlp

agt0416.hlp

agt0419.hlp

agt041d.hlp

agt041f.hlp

agt0816.hlp

agt0c0a.hlp

Deletes these 11 files from C:\WINDOWS\msagent

agentanm.dll

agentctl.dll

agentdp2.dll

agentdpv.dll

agentmpx.dll

agentpsh.dll

agentsr.dll

agentsvr.exe

agtctl15.tlb

agtintl.dll

mslwvtts.dll

Deleted this 1 files from C:\WINDOWS\msagent\chars

merlin.acs

Deleted these 18 files from D:\LastGood\msagent\intl

agt0405.dll

agt0406.dll

agt0407.dll

agt0408.dll

agt0409.dll

agt040b.dll

agt040c.dll

agt040e.dll

agt0410.dll

agt0413.dll

agt0414.dll

agt0415.dll

agt0416.dll

agt0419.dll

agt041d.dll

agt041f.dll

agt0816.dll

agt0c0a.dll

-------------------------------------------------------------------

OBDC Database drivers

ODBC is a programming interface that enables applications to access data in database management systems that use Structured Query Language (SQL) as a data access standard.

Open DataBase Connectivity (ODBC) is an Application Programming Interface (API) that allows a programmer to abstract a program from a database. When writing code to interact with a database, you usually have to add code that talks to a particular database using a proprietary language. If you want your program to talk to an Access, Fox and Oracle databases you have to code your program with three different database languages.

--------------------------------------------------------------------

Deleted these two files from C:\WINDOWS\Help

msorcl32.chm

odbcinst.chm

Deleted these 37 files from C:\WINDOWS\system32

cliconfg.dll

cliconfg.exe

cliconfg.rll

dbmsrpcn.dll

DBnetlib.dll

dbnmpntw.dll

ds16gt.dll

ds32gt.dll

mscpx32r.dll

mscpxl32.dll

msorc32r.dll

msorcl32.dll

odbc16gt.dll

odbc32gt.dll

odbcad32.exe

odbcconf.dll

odbcconf.exe

odbcconf.rsp

odbccp32.cpl

odbccp32.dll

odbccr32.dll

odbccu32.dll

odbcji32.dll

odbcjt32.dll

odbcp32r.dll

odbctrac.dll

oddbse32.dll

odexl32.dll

odfox32.dll

odpdx32.dll

odtext32.dll

sqlsodbc.chm

sqlsrv32.dll

sqlsrv32.rll

sqlunirl.dll

sqlwid.dll

sqlwoa.dll

---------------------------------------------------------------------

Then I deleted the shortcut, "Data Sources (ODBC)", in

C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools

---------------------------------------------------------------------

Then I removed this file in C:\WINDOWS

OBDCINST.INI

---------------------------------------------------------------------

Search Assistant

Deleted all files in C:\WINDOWS\srchasst

Deleted all files in C:\WINDOWS\srchasst\chars

Deleted all files in C:\WINDOWS\srchasst\mui\0409

---------------------------------------------------------------------

Twain Image Acquisition Drivers

Deleted these individual files from C:\WINDOWS

twunk_16.exe (Twain Working Group)

twunk_32.exe (Twain Working Group)

twain.dll ...Twain Source Manager (Image Acquisition Interface) I don't have a scanner.

twain_32.dll ...Twain_32 Source Manager (Image Acquisition Interface) I don't have a scanner.

____________________________________________________________________

Server Components

____________________________________________________________________

Indexing Service and Indexing Service language resources

Deleted these 14 files from C:\WINDOWS\system32

ciadmin.dll

ciadv.msc

cic.dll

cidaemon.exe

ciodm.dll

cisvc.exe

idq.dll

infosoft.dll

ixsso.dll

LangWrbk.dll

mimefilt.dll

nlhtml.dll

offfilt.dll

webhits.dll

____________________________________________________________________

System Services

____________________________________________________________________

Secondary Logon

Removed this file from C:\WINDOWS\system32

seclogon.dll

--------------------------------------------------------------------

Smart Card Services

Deletes these 9 files from C:\WINDOWS\system32

scarddlg.dll

scardssp.dll

scardsvr.exe

sccbase.dll

sccsccp.dll

scredir.dll

slbcsp.dll

slbiop.dll

slbrccsp.dll

____________________________________________________________________

System Tools & Utilities

____________________________________________________________________

Migration Wizard

Deleted these 20 files from C:\WINDOWS\system32\usmt

guitrn.dll

guitrn_a.dll

iconlib.dll

log.dll

migapp.inf

migism.dll

migism.inf

migism_a.dll

migload.exe

migsys.inf

miguser.inf

migwiz.exe

migwiz.inf

migwiz_a.exe

script.dll

script_a.dll

sysfiles.inf

sysmod.dll

sysmod_a.dll

usmtdef.inf

_____________________________________________________________________

Edited by Bold_Fortune

Share this post


Link to post
Share on other sites
Bold_Fortune    0
Hey Bold, is it ok if u put all ur part 1234 and 5 guides in one? Plz dont flame me if u can:):)

Oh, if "I" can.

I don't think one post will handle them all. Even in separate posts, they will always get lost within this thread because the thread sometimes moves along so fast.

I sort of wish a moderator would pin these 5 guides so people wouldn't have to go searching through endless posts to figure out what is deletable.

Unless someone has a site of their own where they can be posted and pinned.

Share this post


Link to post
Share on other sites
Ruciz    2

I just followed this guide. I have WinXP and SP2 installed, I deleted everything but the oobe stuff and it removed about 7860 files totalling 1.2GB.. Nice stuff really. Excellent :)

someone should make a bat file that will auto-remove most of these dir/files. I don't know if its possible, it would be a big bat... but would clean up like 1.5GB of Windows garbage. :)

Edited by Ruciz

Share this post


Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.