Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Monday, April 1, 2013

Ten tips for a better running and more secure computer


OK, for all those people who have Microsoft Windows computers that run slowly and produce pop-up advertisements all the time, I'm going to do you a big favor and tell you what you need to do. The best part: ALL OF THESE SOLUTIONS ARE FREE!

1) Check your hard drive

Open a Command Prompt (click Start, Run, and type "cmd" then hit Enter) and run "chkdsk c: /f" to check for file errors on your hard drive. You can also use Windows Explorer for this.

2) Run Windows Update

Go to Start, Programs, and click the Windows Update icon. You'll need to be connected to the Internet for this to work. Make sure you download all the Critical Updates, regardless of how long it will take!


You should also update any plug-ins that are installed on your computer. Mozilla provides a good online checker for that.

3) Install anti-virus software (and keep it updated)

If you aren't running anti-virus software, you're asking for trouble. Likewise, if you think you're running it but haven't updated the signature files lately or worse, you let your subscription lapse, you might as well not be running anti-virus software at all!

Microsoft provides a free anti-virus program called Security Essentials that you can download and install. Other choices include AVG, Avast!, and ComodoAV.

Important: You need only install one anti-virus app!

4) Install or buy a firewall

First, find out if you need one. Go to GRC and click the "ShieldsUp!" link. If it says you have open ports, or you don't even know what a port is, read on...

Hardware firewalls are the best (most internet routers have a NAT firewall), but software versions work too and are generally cheaper and easier to use. If you're running Windows XP or Vista, they come with one, you just have to make sure you turn it on. Note that XP's built-in firewall is only a one-way firewall meaning that it protects your computer from external Internet connections but does not stop software on your computer from connecting to the Internet (phoning home).

More robust firewalls are available, like ZoneAlarm and Comodo (both free), and most anti-virus software now come with a firewall component.

5) Search for ad/spyware

Some anti-virus programs do this already, but just in case, you can download Spybot and/or AdAware. Another program that can help clean up your computer is CCleaner (but use with caution!)

6) Firefox and Chrome browsers (optional)

If you use Internet Explorer (IE) you might want to consider switching to a different browser. IE is known for having a lot of bugs, and even today there are still known bugs that have yet to be patched. Some are quite serious and can put you at risk just by surfing the net! (Do a Google search on "IE unpatched" for a sample.)

One browser that has gotten quite popular is Mozilla Firefox. It even has features IE doesn't, including numerous free plug-ins. For example, Adblock Plus allows you to say goodbye to annoying website advertisements forever! Google Chrome is also popular and contains similar features. You can also download Mozilla's Thunderbird e-mail client which has spam-blocking built in and works as a great replacement for Outlook Express.

7) Backup, backup, backup!

Anyone who has used computers long enough has learned the importance of backing up files. While there are many backup programs out there (Windows even comes with one), restoring a crashed OS where all files were lost can be a nightmare, if not impossible. Unfortunately, restoration is often the only solution if your system is infected by a virus or your hard drive suddenly fails. One program I use is DriveImage XML. It backs up the entire partition and allows individual file restores or entire partition restores (using their boot CD). If you're willing to spend a little money, there are some good commercial solutions out there that backup your files to the cloud or even your friend's computer. I'm currently using CrashPlan for this.

8) Use a custom hosts file

There is a simple text file on most modern operating systems (Windows, Mac, Linux, etc.) that can be used to both find and block Internet sites by name. This file is known as a hosts file. By using a custom hosts file you can block access from your computer to many malicious websites and unwanted advertisements residing on the Internet. That means that when you're surfing the Internet, advertisements on websites won't be displayed regardless of which browser you're using! It also means you're less likely to contract malware and, in the unlikely event that you do (or already have), it won't have much chance of communicating with other bad sites on the Internet. For Windows users, I recommend installing Hostsman to update the hosts file automatically since the list of bad websites is always changing.

In the same vein, you might consider switching to Google DNS for your Internet surfing.
  
9) Defragment your hard drive

Some computers, especially older ones, can start to slow down due to fragmented files on the hard drive. Windows has a built-in file defragmenter that does a decent job, but there are even better alternatives out there, like UltraDefrag.

10) Update your computer's BIOS firmware and drivers

Just like the software you load on your computer, there is software that resides on the hardware chips in your computer, present at the time you bought it and put there by the manufacturer. This software (or firmware) is what makes your computer work and often it can be updated too. The process for doing this is more complex because you must visit the manufacturer's website and follow their instructions for updating. For example, if you own a Dell you can download the updated BIOS firmware from their support site. Be sure to also download and install the latest drivers for your computer.



Good luck, and stay safe out there!


Tuesday, July 17, 2012

ATI display driver issues

I'm running Vista x64 with an ATI Radeon HD 4800 Series graphics card and for a while now I've been periodically getting a BSOD caused by "atikmpag.sys". This has been an intermittent issue that usually happens right after logging into Vista. I've always kept my ATI drivers up-to-date for my graphics card by downloading the latest Catalyst Control Center (CCC) from AMD's website. But I decided to do some digging. Using Windows Device Manager, I learned that even though I'd been installing the latest drivers, Windows was loading an older version for some reason and uninstalling and re-installing the AMD CCC drivers did not rectify the problem.

Device Manager's Driver Properties Window


So I did some Internet searching and ran across a related post that mentioned a free utility named Driver Sweeper (a.k.a. Driver Fusion) that supposedly detects and repairs driver file issues. After uninstalling CCC, I ran the utility and deleted all the AMD display driver files, then rebooted and re-installed the latest AMD CCC and it worked (verified by looking at the ATI driver version in Device Manager). Yay! Will have to wait to see if this resolves the BSOD issue (see my follow-up below).

I did notice one other odd thing: when I installed CCC its default install path was c:\Program Files\ATI Technologies. But after installing, I found all the files under c:\Program Files\ATI and nothing under the "ATI Technologies" folder. Huh? That looked suspicious so during my final install I changed the path to just "ATI" and deleted the "Technologies" part. No idea if this is a real problem or not.

Moral of the story: Even if you've been installing the latest AMD drivers (or any driver), you should double-check Device Manager to ensure Windows is actually loading them. If it's not, you may have some cleaning up to do, and Driver Sweeper appears to have done the job for me.

Follow-up: Unfortunately, even though I'm now running the correct version of the display driver, my system still gave me a BSOD upon login today. Sigh.

Tuesday, March 23, 2010

Tri-booting Vista, XP, and Linux


I've been successfully dual booting Vista and Linux (openSUSE) for a while now. The trick was to install Vista first (already done when I bought the laptop) and then openSUSE. GRUB was automatically installed and handled the dual boot situation well.
But after all the problems I've had with Vista not running programs that work fine in XP (Joint Ops, SSH/SMB port forwarding--see my other blog entry, my Hauppauge TV card) I decided that I also needed to be able to boot XP. But how do you get XP installed without clobbering GRUB or anything else? Turned out to be trickier than I thought...
First step is to use Vista's Disk Manager to shrink its partition and make room for XP. I was able to free up about 13GB of space which will be enough for now. Then I formatted it as NTFS.
I knew that installing XP was going to clobber GRUB by overwriting the Master Boot Record (MBR) on my hard drive. So I fired up my trusty Knoppix boot CD and used the program DD to backup the MBR to a file. The trick here is to only back up part of the MBR (the first 448 bytes) because the rest contains the parition table which we don't need to mess with.
Once the MBR has been backed up, you can start the XP install process. Just make sure to specify the new partition as the installation destination. No need to format it (did that above using Vista.)
After XP finishes its install the computer will reboot. XP will boot up because GRUB is now toast. Let it finish the install process completely--your old partitions and data will remain untouched.
Next step is to get GRUB back. Boot up Knoppix again and find that MBR backup file that was created above. Use DD again to copy the original MBR back to the disk.
When you reboot, you should see GRUB again. But you'll notice that XP is not one of the boot options. You'll need to modify the GRUB menu file (usually menu.lst--depends on your version of Linux) and add an entry for XP.
Once you've added XP to the list of boot options in GRUB, reboot and select it from the list. If all goes well, XP should boot up (and so should all the other OS's.)
If for some reason Vista won't boot anymore, you'll need to run Vista's Startup Repair tool to fix it.
That's it!
(Well not quite, at least not for me. I soon learned that HP does not provide XP drivers for my Pavilion dv6500 laptop! I had to find a hacked nVidia driver to install--one with a modified INF file to allow installing on XP, among other things. Also, since this laptop has a SATA drive controller, the XP install CD does not see it and, since I don't have a floppy drive, I couldn't hit F6 to install it! Solution was to use nLite to create a new XP install CD with the necessary driver.)