Archive for Troubleshooting

“My computer is running slow”

In an interview a while back, I was asked to troubleshoot a Windows XP Laptop. The scenario was pretty simple: A client had reported that their Laptop had begun to run very slowly, particularly when booting; and it was my job to find the problem.

I thought I’d write down my usual procedure for this kind of scenario. Let’s go!

Check for Virii and Malware

Virii and Malware often consume large amounts of CPU time while going about their nefarious business, so let’s check those first:

  • Check Anti-virus is installed and up-to-date. Perform a manual check just in case.
  • Check Anti-Malware / Anti-Spyware is installed and up-to-date. Again, perform a manual check.
  • Spybot S&D, HijackThis, CWShredder, and Rootkit Revealer are tools that I find incredibly useful.
  • Filehippo is a great, centralised, place to find free and open-source apps for general troubleshooting.

Check your Startup programs and Services

Some useless, and damaging, things can get into your system Startup and Services areas. For example, do you really need to have QuickTime load every time your PC boots? This is another good place to check for Malware, and weird names like “fke38282gje.exe” should immediately flag your attention.

  • Check the Startup tab in the System Configuration Utility for anything suspect (Start > Run… > msconfig).
  • While you’re there, check in the Services tab for anything out of place.
  • Google anything you find, and you’ll usually find out if it’s malicious or not.

System Configuration Utility

Defrag and RAM

There are of course, perfectly natural reasons for a system’s slow down. The two main ones being a fragmented hard drive, and a lack of sufficient RAM.

  • Check Hard Drive fragmentation (Right click My Computer > Manage > Storage > Disk Defragmenter).
  • Check your RAM (Right click My Computer > Properties). XP really should have at least 512MB of RAM.

Disk Defragmenter

Less likely causes

In addition, you may want to check a few other things which are much less likely.

As the PC was reported to be slow to boot, check the DHCP Server and also the DHCP settings on the client PC. If a system is set to grab a DHCP address it will often wait a long period of time, for a response from the DHCP server, before timing out. After that it gives itself an AUTO-IP and continues to load. Because nothing really happens for a while, this will appear as though the PC is slow to boot. A time out might occur if the DHCP server is down, or there’s a problem with your network downstream.

If the PC is reported as being generally slow, check that the Hard Drive is running in DMA Mode, and hasn’t fallen back to PIO mode. PIO is a slower, and much more CPU intensive, method of accessing Hard Drives than DMA. Often if Windows notices that data is being corrupted in DMA (CRC failures), it’ll fall back to PIO mode, resulting in a much slower system. Steps: Right click My Computer > Manage > Device Manager > IDE ATA/ATAPI Controllers. Check both Primary and Secondary IDE Channels by right clicking, Properties, then looking in the Advanced Settings tab.

Check out this Microsoft KB article for a lot more detail on the issue.

2007-07-16_145631.png


Did this help you at all? Is there anything I should add? Let me know in the comment section below!

Network policy stops you from using Windows Update

After re-installing the OS on a Dell Powervault 715n, I remembered that out of the box, it won’t connect to Windows Update (which is of course really, really stupid for a Windows 2000 Server based NAS).

If you RDC into the box, and then try to connect to Windows Update, you’ll see a message like this:

Access Denied

Network policy settings prevent you from using Windows Update to download and install updates on your computer.

If you believe you have received this message in error, please check with your system administrator.

Solution

To get around this on the 715N, follow these instructions:

  1. Log in as Administrator
  2. Go Start > Run… > gpedit.msc
  3. In the Left pane: Open User Configuration, Administrative Templates, and then click Start Menu and Taskbar
  4. In the Right pane: Double-click on Disable and remove links to Windows Update
  5. Choose ‘Disable’ and click OK
  6. You can now get Windows Updates via the Start Menu
  7. Don’t forget to Enable Automatic Updates! (Control Panel > Automatic Updates)

For any other Operating System, have a look at the Microsoft KB article

Putty now supports Serial COM connections

This is pretty cool: Whilst searching for an alternative to HyperTerminal that supports Serial Port connections, I discovered that PuTTY now connects to Serial COM ports as well as the usual SSH/Telnet stuff :D

As a business you can’t use HyperTerminal Private Edition unless you pay a licence fee; and now that Microsoft has removed HyperTerminal from Windows Vista, finding an Open Source, free-for-commercial-use, replacement for HyperTerminal is invaluable for budget constrained IT departments.

Download PuTTY here

It also seems that Poderosa support Serial comms with a plugin, which I wasn’t aware of until reading this blog post.

What do you use instead of HyperTerminal? I’d love to hear about any programs I’ve missed! :)

Serial Settings for Dell Powervault 715n Console

If your Powervault NAS loses network connectivity or won’t boot into the OS, you’ll need to physically access it via the console port at the back. From there you can edit and upgrade the BIOS, run a recovery boot (boots the OS from another drive) and perform hardware diagnostics.

Here’s the settings you’ll need for HyperTerminal:

Bits per second: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow Control: Xon / Xoff

Serial Settings for Dell Powervault 715n Console

Asterisk Password Recovery

If you’ve ever misplaced, or forgotten to document, one of your passwords stored in an application, Asterisk Key is a free and invaluable tool.

Asterisk Key reveals saved passwords from most Windows apps and even Internet Explorer (which is probably a good reason to switch to Firefox!)

It doesn’t work on everything, but it’s worth a shot!

Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales
Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales