A machine is described as being "really slow" or "freezing". How can I troubleshoot/resolve this issue? What should be the first steps to take?
Assuming you are using a Windows OS...
Things to check:
- PC has 10% at least of free disk space
- PC has at least 1 GB of RAM for Windows XP and 2 GB for Windows Vista
- If there are any hanging programs or drivers.
- Corrupt system files. If that is so, run sfc /scannow in cmd and let it replace any corrupt system files. It may ask for your Windows CD. Or, if it is seriously damaged then perform a Windows XP repair install or Windows Vista repair install
- A badly corrupted file system. This is from experience rather than knowledge. Run chkdsk /r in the command prompt.
- Due to the way Windows handles files, it will in inevitably get slow over time. Your MFT structure gets bigger and bigger over time. The only cure is a fresh install.
- Malware. Download and run HijackThis, and then post the log here. It'll give us a decent idea of what's running and what could be hogging all your memory/CPU.
Most system freezes (where you can't use hot-keys like CTRL+ALT+DEL) are caused by hanging drivers,
so you will have to either replace the device or update the driver. Troubleshooting can be done:
- Download Windows Performance Analyzer for your Windows version.
- Install the software on your system.
Open a command prompt as administrator, and copy paste the next command:
xperf -start perf!GeneralProfiles.InBuffer && timeout -1 && xperf -stop perf!GeneralProfiles.InBuffer myTrace.etl
Press ENTER once to start the command, now you will have to wait till your system hangs.
You can do whatever you want to. Please no heavy activity like gaming or private things...
- Right after your system stops hanging you go to the console and press ENTER.
- After waiting some time a log file myTrace.etl will be produced, compress this to a zip file.
- Put this compressed version of the file somewhere online (perhaps 2shared).
- Share the link here, I will do an attempt to find and show you the cause of your problem.
- OR troubleshoot the trace yourself using instructions found here, start with step 6 - 7.
First off, I check what is automatically started when the machine boots up.
- Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Run -> services.msc This will list all the services that are started up when your machine turns on. You can manage all of them here from this MMC snap-in.
- Scheduled Tasks
I will then run process explorer and see what is running after it is booted and see what hogs up a lot of memory and CPU.
I will then make sure all the drivers are up to date, same with anti-virus, windows update and other critical applications such as web browsers, java, flash, etc.
Then I will defrag their hard drive if it needs to be done.
Sometimes I will clear out their web browser history and cookies and also clean out their temp folders.
I will also look through the event viewer to see if there are any errors being reported and check into them if they do.
If all else fails and the system will support it, a RAM upgrade may be in order.
(assuming for a moment, we are talking about Windows)
If your computer is suddenly running slow (i.e. you don't just have a slow computer), I would check the Windows Task Manager.
Ctrl-Alt-Deleteto bring up the Task Manager.
- Select the 'Processes' tab at the top to bring up the list of all processes running on the computer.
- Click on the 'CPU' column at the top of the process window... twice (to sort processes with max CPU usage first).
- See if anything (other than "System Idle Process") is taking more than a few percent CPU consistently.
Virus scanners or other background services can sometimes become overzealous in using system resources. Sometimes an application can enter a race condition where it gets "stuck" in some loop of code it just runs continuously. Then, sometimes, you just have some application you forgot about taking up all your CPU time.
The Task Manager should tell you if anything like this is going on.
In this order usually...
- Hardware - Hardware is the fastest and easiest thing to check that is usually the culprit. Memory is cheap these days, seeing people that still have 128 MB and 256 MB installed makes me want to cry. With Moore's law being so apparent in the hardware world, CPUs that are still blazing fast and can be bought very cheap as well.
- Software clutter - the amount of software installed and running upon system startup impacts performance big time. There may also be malicious software slowing you down.
- Updated drivers - these can give your machine big performance boosts.
To see if your machine is going to be slow, check
- Amount of memory
- Speed of CPU
- Disk space available
There are many third-party tools available that give you information on your computer, but to do this quite easily without those you can use the Windows Task Manager.
To open "Task Manager"
- In the task bar, right click the mouse then select "Task Manager"
On the performance tab you will see how 'busy' your CPU is also how much physical memory is available.
If CPU is consistently above 10% and there is less than 500000 K of memory available your machine is probably going to be running slowly.
Also if your hard drive is full, this could lead to poor performance. You should aim to have at least 15% of free space.
To check this, open Windows Explorer, you can do this by
- At the same time, press the windows Key followed by the letter e
Select the C: drive with a mouse click. Then right click and select properties - this will tell you how much free/used space you have on your hard drive.
Not without knowing what is causing the freezing as it is not actually causing a crash.
This sounds like at first guess that it is a hardware interrupt / bad device driver causing this, as for banging the keyboard - this is most likely just down to luck.
Try first looking through your system event log for any errors or warnings that could be driver related.
Next either uninstall the driver or if you do not find anything, I would first advise unplugging all extra USB devices as the easiest solution, then if that solves it, plug them in one by one until you find the bad one. If you do not find anything, you may actually need to uninstall drivers.
If you still have errors or want to rule it out earlier, I would advise running a memory test, and going to the command prompt to run a
Chkdsk to scan the hard drive for problems.
I used to get this all the time on old machines, 99% of the time it was people buying cheap/unknown brand devices with VERY bad drivers - it gives Windows a bad name. If however you still getting problems after following this, please say and I will try to help further.
Defragment your hard drive. For Windows XP Disk Defragmenter is located at
Start -> Programs -> Accessories -> System tools.
For Windows 7 or Vista see this question.
For another speed boost, disable unnecessary Windows services. There are a few well-trusted databases on what's safe to disable and what's not, for example, The Elder Geek's Services Guide for Windows XP.
In addition to the other suggestions here, I have found that simply emptying the Recycle Bin can make a difference to performance, if I have been filling it with large collections of files.
Personally, I go with the following:
Open Task-manager and sift through all running processes jotting down those that are unncessary and taking special care to check for any suspicious proceses. 99.9% of the time, if you don't recognize a process, just type the name into google and you will get ample information about the nature of the process and wether it's necessary or not.
With the list of procceses in mind, I open up msconfig (type msconfig in the run dialog) and in the start-up tab start unchecking those proccesses that are not neeed in the background. Take care disabling different startup items as sometimes these rely on each other.
Go to Control Panel and once again sift through installed software and uninstall those which the user doesn't need.
I then go through the Services that are running (type services.msc in the run dialog) and either set them to disable or manual depending on the service.
I run a full antivirus and spyware scan on the system and restart.
Now, if the computer hasn't speeded up somewhat, I recommend them to simply let me format the system and start over clean. Because of the nature of windows and all the junk that inevitably forms over years of use, this is usually the only viable solution.
I always check the following...
RAM. Modern OSes are RAM-hungry and the more you have the better off they are.
Hard drive space. Modern OSes are hard drive hungry and the more you have the better off are.
Background processes (e.g. open applications, disk scanning software, virus software, viruses themselves). The more gadgets, widgets, applications, etc., the slower things will be overall. Only keep open what really needs to be open.
Time between reboots. Every OS needs to be rebooted every once in a while.
Assuming a machine used to be running fast, and is now running slow (and it isn't Linux based)....
- Restart the machine
- Check for viruses and other malware first.
- Open Task Manager (or the equivalent) and see what application is monopolizing the CPU or doing a lot of harddrive writes/reads. I may close/kill the app or I would google it and see what the other complaints/solutions are for it.
Other options to consider are:
Raising the amount of virtual memory used by the system
This how to geek guide shows that disk cleanup doesn't really clean-up everything unless you perform a registry tweak. The guide shows how to fix that.
Finally a reinstall of the OS is my final option. Windows likes to keep a lot of crap
That sounds like an unusual circumstance (as many people experience little trouble day-to-day with Windows 7 and your issue sounds quite inconvenient).
Could you provide more detail? Is this a "new" new PC or just one that is new to you (i.e. second hand with Windows 7 newly installed)? Do you know the specification of the PC? Does the problem happen regularly in normal use, intermittently with no obvious pattern, or at specific times like shortly after start-up?
In the absence of more information, a first stab at somewhere to look for the cause of the issue is to check that you drives are healthy by querying their SMART status paramaters with a tool like http://gsmartcontrol.berlios.de/ (available for both Linux and Windows - there are numerous other utilities with similar abilities if this doesn't work well on your PC). A failing drive is quite a common cause of unexpected pauses, as for certain faults the drive will cycle retrying until it manages to read/write what it has been asked to read/write and the user interface seem to hang until the OS gets a response from the drive.
Also check the Windows event logs for around the time(s) the issue is apparent. Most hardware drivers will report unexpected conditions there and Windows itself will report certain driver errors there that the drivers themselves fall over before reporting (older Windows variants would just bluescreen in such circumstances, but newer releases will try restart drivers and log the event when an otherwise "fatal" error condition occurs) - so if the problem is caused by an errant driver or faulty hardware those logs may give useful clues.
In case of Windows, install only those software which you need. Don't mess up your PC with all useless stuff. Check for registry errors and fix them using a good software like regcure or registry booster. Don't forget to check whether your antivirus is updated or not. Outdated antivirus often tends to slow down the system. Use CCleaner to remove the crap. Don't exhaust your RAM by using too many programs in background. Turnoff Windows sidebar or desktop enhancement software if you don't need them. Scan all system by updated virus to make sure it is not infected. Also disk defrag etc. small utilities can be helpful for your PC.
One of the causes of the slowdown, especially at startup, can be Windows trying to restore connection with network share. Configure Registry to prevent it:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider] "RestoreConnection"=dword:00000000
If there's a performance problem, disable all the unneeded services and startups, use a lightweight browser (see memory usage), disable Aero theme, etc.
If you suspect malwares have infected your PC, it is advisable to format you're drive (and not trying to clean it).
Also, USB pendrives can prevent the system to boot. Unplug them.
protected by nhinkle♦ Oct 16 '13 at 21:56
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?