3mpty Posted May 3, 2009 Posted May 3, 2009 Hej jag undrade om ni kunde hjälpa mig med lite tips hur man snabbar upp XP på bästa sätt Alla svar är tacksamt mottagna Tack på förhand Quote
L-L Posted May 3, 2009 Posted May 3, 2009 Jag skrev en guide förra sommaren på Comodos forum, den är dock på engelska - och kanske - inte riktigt säker eller duglig för alla. Hoppas att jag får posta den ändå, kanske kan den inspirera något. Jag klistrar in den rakt av, har dock uppdaterat listan över de program jag använder. Originaltråden med en mängd relaterade diskussioner hittar ni här. *************************** Short summary of how to slim down your Windows XP, strictly based on my system/needs/experiences Introduction Why slim down Windows? Because there are, in most cases, a ton of files and functions you won't need. Your system will be much faster, and more secure. Since there are very few security functions in Windows (Data Execution Prevention [DEP], Firewall, File Protection [sFC]), the more you remove the safer it'll be. You will remove vulnerabilities that usually require patches or special settings (like disabling the function). At least this is my belief. It may be questionable, but for me personally, I've encountered less problems on a slimmed system because a slimmed system is a controlled system - it's easy to monitor what's going on. This guide is aimed mostly to inexperienced users who are willing try the "learning by doing" thing. It may take your Windows folder from gigabytes to a couple of hundreds of megabytes. My own Windows installation is currently 227+ 13 MB (Windows + themes & installers). Be aware, many things in the guide may cause irreversible damages to your Windows installation. Then you will have to start all over. Don't forget to back up all your personal files, settings etc! I'm not responsible for any problems! I'll make it all step by step, to guide you from a bloated installation to a slimmed installation. I also recommend you to use nLite, it will make things easier. If you haven't ever used nLite, then that will require a lot of attention on its own. It's a program to modify an existing Windows XP Setup CD, you can add Windows service packs, hotfixes, remove components etc. and nLite will finalize a bootable CD for you. This is a great start for a slimmed Windows. As this guide is based strictly on my own system/needs/experiences, here are the prerequisites: 1. Hardware: I have an Acer Laptop machine, 1.8 GHz, 1024+256 MB RAM, 80 GB HDD. No other fancy hardware, no portable things, no router etc. - just a pure laptop whith a USB mouse and a couple of USB sticks when needed. Internet comes via an ordinary network cable, to an ordinary network card. My IP address is static. 2. Software: Other than Windows XP Home SP3 and Internet Explorer (IE) 6 I have no Microsoft software. 7-Zip. No dependencies. Bryce. No dependencies. CCleaner. No dependencies. COMODO Internet Security. Needs IE for automatic update. COMODO System Cleaner. No dependencies. DC++. No dependencies. GIMP. No dependencies (just GTK+ which it installs by itself). InfraRecorder. No dependencies. Internet Explorer. No dependencies. JkDefrag. No dependencies. Media Player Classic. No dependencies. OpenOffice.org. Needs Windows Installer + DCOM Server Process Launcher services. Opera. Needs Windows Installer + DCOM Server Process Launcher services, unless you chose Classic Installer. PDFCreator. Needs Printer service. PDF-XChange Viewer. No dependencies. Spotify. No dependencies. 3. Other: What I do on my machine is delimited by the programs above. As you can see, for example, I don't play games on this machine. Furthermore, it's my personal machine, meaning that there is only one Windows user account. Finally, I'll bring up what I've kept rather than removed. That's an easier approach. You will see what I've kept in order to run Windows, stable, with support for the programs mentioned above. By the way, even though all programs seem to run fine, I'm not sure they work completely. Finally again, my system have no problems whatsoever, but there is sometimes an error reported in the Windows Event Log. It doesn't worry me, though. The guide Here's the fun part. 1. Use nLite on an existing Windows XP Setup CD. This step is not necessary, but again, it'll make things easier. Take a look in our nLite thread. Remove as much as you can - I won't go through it all here - and install your Windows XP (preferably SP3 if you ask me). This will be a fresh start. One important thing I disabled in my Windows XP Setup CD was the Windows File Protection - SFC. Disabling SFC will make it much easier to delete files manually, which you will have to do later, to slim down Windows. Otherwise, some things you delete will be recreated by Windows. Furthermore, disabling SFC is done very smoothly with nLite, whilst disabling it manually is quite tricky if you're on SP3. You will have to fool Windows so it thinks you've booted in safe mode. I don't think that's a good idea, so use nLite to disable SFC. EDIT 2008-08-03: Here's a description from Ragwing of how to delete SFC! Thanks Rag! 2. Windows startup: only CFP! I have COMODO Firewall Pro as my only protection at this machine, thus this is the only startup item. This is easy to manage in CCleaner. If you also have ctfmon.exe starting up, then you probably haven't used nLite enough! 3. Analyze which Windows services you need. Windows runs services in the background, which provides support for many functions - functions you can remove. But first, disable the services. Many services are also the reason to some of the processes you see in Task Manager. E.g. you probably have many svchost.exe - I only have two, thanks to my layout of services. Start at Start Menu -> Run -> services.msc Take a look at Black Viper's guide. Determine which services you need. Here's my complete layout: Automatic (these services are started) COMODO Firewall Helper Service DHCP Client Event Log Plug and Play Remote Procedure Call (RPC) Themes Windows Audio Manual (these services are stopped but Windows starts them on demand) Application Management Cryptograhpic Services Windows Installer Disabled (I enable these myself, on demand) DCOM Server Process Launcher (needed for Windows Installer!) Network Connections (needed to activate Windows online!) Print Spooler (needed for PDF printing!) Task Scheduler (needed for Prefetch, which I'll return to later) All other services have been removed since it's very unlikely that I'll need them, and if I'll do, well I have to reinstall Windows. To remove a service, double click on it in the Services manager. Take the name, e.g. 'wuauserv' for Automatic Updates. Then start the Command Prompt, and type 'sc delete name' - without the ' and replace name with the service name (like wuauserv). What may differ in your layout of services is e.g. what you need to establish an internet connection. 4. Install your programs. I actually recommend to install the programs you need before slimming down. This way you will be able to try them, while slimming down Windows, and make sure they run fine. If you did the opposite, there would be a risk that you made a hard down-slimming and then found out that a program doesn't work - and you couldn't tell why. It may be a painful learning process if your programs differ much from mine, and most important; have certain dependencies. 5. Time to delete files and folders! Before you delete, make a backup of the folder/file, and test if your system still works. If it still works after a couple of days and reboots, you'll have a lot to gain by cleaning the Windows registry. That's #6 though. Now, first of all let me point you to the very guide that was the cause of this thread, in the first place: Slimming Down Windows XP by Bold Fortune (many, many thanks to you if you see this! ). BF's guide is a great description of files and folders. I will only describe which folders I've kept - going through files would be too much, BF has already done that. So what have I kept? With the prerequisites of my system, needs, programs etc: Documents and Settings All Users LL [my profile] NetworkService Thanks to disabled services I could remove LocalService, and since I won't ever manage any user accounts I removed Default User. Keep that folder if you have to create a new account some time. Program Files\Common Files [Nothing Microsoft related at all] WINDOWS Cursors* Debug Fonts Installer** Prefetch*** Resources system32 Temp WinSxS * You can delete it, I kept it for some fancy mouse cursors ** Here are .msi packages in case any of your programs uses such files, e.g. OpenOffice.org, Adobe Reader. I kept it, so I can uninstall/reinstall these programs. *** Prefetch speeds up Windows booting, and it is said to speed up application launches. I've set prefetch to work only for booting. Here's how (value "2" in my case). When you've set it to 2, clear the folder -> enable the service Task Scheduler -> reboot -> leave computer idle for at least 15 minutes -> two files have been recreated in Windows\Prefetch. Then you can disable Task Scheduler again. There are two quite important folders missing: 1) Driver Cache - when you plug in a USB stick or any other hardware, Windows will look here for drivers. I've removed it from my system, after I plugged in all my USB hardware, but I kept a backup in case I need to plug in a new USB stick. 2) inf - BF says it's important and he's the master of slimming down XP. Still, I do fine without it, but in case I'd need it some day I have a backup of this folder as well. Finally, for the WINDOWS folder, I only have these four files: explorer.exe, hh.exe, regedit.exe and winhlp32.exe. WINDOWS\system32 config* drivers Macromed * In this folder you may be able to delete all of the folder systemprofile. The chances of having only these three folders (if you don't even have Flash, skip "Macromed") is probably little, but obviously it's possible. I really don't have any other folders in system32 and I would repeat myself if I told you "this system works great". To delete some folders you may have to boot in safe mode. 6. Clean the registry. So, you've deleted a bunch of folders and files, and now your Windows folder is sub 300 MB? Have you run your system for a while so you know it works? Great, let's proceed. Now comes the truly irreversible part - at least it's not even completely safe to make a backup here. In fact, I once cleaned the registry, and then ran into some problems. I thought "OK, let's restore the registry"... well, for some reason that didn't work. This time I was really lucky in my registry cleaning, it's unbelievable how much I removed. First, the gentle approach of CCleaner, then the real killer: RegSeeker. RegSeeker finds "green" and "red" entries, of which the green ones should be safe to remove. In the example above they turned out to be non-safe to remove... but on my current installtion, I have removed ALL entries found by RegSeeker (and CCleaner) - green and red, and also, the "invalid services" that RegSeeker may find. In short, I made one heck of a registry clean up - after I deleted all those Windows files - and my system still runs fine. After cleaning the registry, run a defragmenter. NTREGOPT is great! After running this program, it reported my registry to have a size of 8.9 MB which I think is quite small. 7. Finalize your Windows installation. Finalize your super-slimmed Windows XP installation by doing tweaks you haven't done already, and make sure Windows is updated with the latest patches. As you've installed everything now, and deleted all junk (CCleaner!), run a disk defragmenter. Finally, see the attached screen shots (for registered users only). They show what I've described above. I hope you enjoyed the guide and got some tips from it. Quote
JoWa Posted May 4, 2009 Posted May 4, 2009 Disabled (I enable these myself, on demand)DCOM Server Process Launcher (needed for Windows Installer!) DCOM Server Process Launcher används till mer än så. Vissa Windows-funktioner (t.ex. Diskdefragmenteraren, Diskhantering) är beroende av den, liksom vissa programfunktioner. En del program fungerar inte alls (kraschar) utan den tjänsten. Jag har valt startmetod Manuellt, och startar den själv vid behov. Kunde dock lika gärna välja Automatisk… Quote
L-L Posted May 4, 2009 Posted May 4, 2009 Finns säkert en massa användningsområden för DCOM Server Process Launcher, men jag är gladast när den är avstängd. Fick dock aktivera den ikväll, gick igenom ett inferno av installationer (Java m.m.) bara för att kunna deklarera online. Använde det förträffliga ZSoft Uninstaller för att sedan återställa datorn till föregående tillstånd. Så nu skall den vara ren igen, fri från Java, och med DCOM Server Process Launcher avstängd. Quote
JoWa Posted May 5, 2009 Posted May 5, 2009 Märkligt att du behöver DCOM Server Process Launcher för att starta Windows Installer. Det behöver inte jag. Hur som helst, innan man inaktiverar en massa tjänster bör man tänka igenom vad man vill skall fungera och vad man klarar sig utan. De flesta vill nog att Windows Update/Automatiska uppdateringar skall fungera, och det kräver en hel drös tjänster ( Varför???). Quote
e-son Posted May 5, 2009 Posted May 5, 2009 De flesta vill nog att Windows Update/Automatiska uppdateringar skall fungera, och det kräver en hel drös tjänster ( Varför???). Det gamla vanliga amerikanska kontrollbegäret... förövrigt samma kontrollbegär som har gett Europa Ipred och FRA-lagar m.m. Man verkar resonera som så, att gör du inte som vi vill, så gör vi det så svårt som det bara går för dig. För att t.ex Automatiska uppdateringar skall fungera så är du alltså tvungen att köra ett antal tjänster som kanske inte är nödvändiga egentligen men som microsoft, av olika orsaker, inte vill att du skall stänga av! Det är helt enkelt ett sätt att få folk att resignera och tänka... -Ja, ja... det får väl gå då! Quote
Guest DimensionX Posted May 5, 2009 Posted May 5, 2009 Har funkat klockrent och datorn har aldrig varit snabbare eller stabilare. http://www.freewarefiles.com/Safe-XP_program_14624.html Bocka i det som du vill stänga av. Quote
JoWa Posted May 5, 2009 Posted May 5, 2009 Det gamla vanliga amerikanska kontrollbegäret... förövrigt samma kontrollbegär som har gett Europa Ipred och FRA-lagar m.m. Man verkar resonera som så, att gör du inte som vi vill, så gör vi det så svårt som det bara går för dig. För att t.ex Automatiska uppdateringar skall fungera så är du alltså tvungen att köra ett antal tjänster som kanske inte är nödvändiga egentligen men som microsoft, av olika orsaker, inte vill att du skall stänga av! Det är helt enkelt ett sätt att få folk att resignera och tänka... -Ja, ja... det får väl gå då! Det gör dessutom funktionen buggigare och mer sårbar. Hur många trådar finns det inte här om att WU inte fungerar? Då uppdateringar släpps regelbundet andra tisdagen i varje månad, känns det en smula överdrivet att AU söker efter uppdateringar vid varje uppstart, istället för en gång i månaden… Och om AU inaktiveras, fungerar inte WU… Quote
e-son Posted May 5, 2009 Posted May 5, 2009 Det gör dessutom funktionen buggigare och mer sårbar. Hur många trådar finns det inte här om att WU inte fungerar? Då uppdateringar släpps regelbundet andra tisdagen i varje månad, känns det en smula överdrivet att AU söker efter uppdateringar vid varje uppstart, istället för en gång i månaden Och om AU inaktiveras, fungerar inte WU Mjoo... men det förser ju MS med info om ditt datoranvändande bl.a! Quote
JoWa Posted May 5, 2009 Posted May 5, 2009 Mjoo... men det förser ju MS med info om ditt datoranvändande bl.a! Inte om mitt datoranvändande! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.