Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Friday, 19 August 2011

Repairing Runtime Error 9 Issues


Runtime errors are very often experienced by people trying to use various applications. If you ever experience runtime error 9 then this could be a result of a bug in an application, or possibly missing files on your computer.
Correcting Runtime Error 9 Messages
If you ever experience a runtime error 9 messages then it can be very difficult and troubling to get to the bottom of it. You should take a look at the problem and try and find out what is causing the problem in the first place. If you can discover the root of the problem then it will be possible to correct the problem much easier.
Running Windows Update
You should enable the automatic update setting in Microsoft windows as this will keep your operating system fully up to date. It will not only protect you from runtime error 9 but it will also protect you from various vulnerabilities. Update the drivers so that hardware works much quicker.
Virus
Runtime error 9 can also be caused because of malware on your computer. If there are any spyware or virus infections on your computer then these can lead to runtime error 9 messages. You should use an antivirus application to look for these threats and get rid of them.
Registry Problems
If the windows registry becomes corrupted or gets damaged in any way then this can also cause a number of problems. You should be using a registry scanner on a regular basis to speed up your computer and to keep it free from errors.
Hardware problems
Another potential reason for these problems is due to problems with your hardware. If none of the other techniques have solved the problem then you may need to try inspecting your current hardware configuration.

Fixing the Runtime Error 53


Runtime errors are very common on windows based computers, these all mean that there is a problem loading some or all of the components needed to launch certain applications. A very common type of runtime error is known as runtime error 53 and this can affect users running XP or Vista.
Causes of Runtime Error 53
There are many different reasons that a computer can suffer from runtime error 53, these will often display an error message stating that a certain file cannot be found. The file that’s missing is actually an important DLL or OCX file on your computer.
If one of these files is missing then it can generate the runtime error 53 messages. If you have recently changed the hardware or software on your computer then this may be causing the problems.
Solving Runtime Error 53 Messages
There are many different steps that you can take to fix runtime error 53 messages. You first need to check that any changes you have recently made to your computer are not creating the problem. If you only experience the error when using certain pieces of software then it might be a good idea to try uninstalling and reinstalling these to see if that cures the problem.
You might get patches for the software from the developer’s website. The developer’s website may also have a forum with stories from people who are having similar problems.
Fixing run time error 53 problems can be time consuming but it’s a very useful investment of your time.

Monday, 8 August 2011

Why PC slows down? Possible Hardware issues and fixes.


Over heating of processor:



ProblemSolution
Cooler fans that’s mounted on processor gets dust and slows down. This heats up the processor. Upon reaching certain temperature set in the BIOS, the system slows down.To fix this, make sure the fan is clean. Take your laptop or terminal to service center, and ask them to clean up all the dust. You can do this yourself if you have previously opened your terminal or laptop.


Hard drive failures from bad sectors:


ProblemSolution
Over time, hard disk starts to develop bad sectors  (Sectors are small data units on hard disk), from frequent data usage. In that case the new data are automatically copied to free or good sectors. But this
wont happen exactly as is, the data might end up on bad sectors resulting in the failure of that data. As the drive starts to fail, this would then happen often.
To fix this, turn on SMART features in the BIOS  to let the SMART diagnose alert the failure immediately.
In addition to that, benchmark tools such as Fresh Diagnose or Aida64 (previously known as Everest) helps to run results of your system hardware and know its current status to easily determine whether to carry on with it or buy a new one.

Friday, 5 August 2011

How to restore Grub 2 after reinstalling Windows XP/Vista/Win7


After reinstalling Windows in the computer dual boot with both Windows and Ubuntu Linux,you need restore grub because mbr has been rewritten.This tutorial shows how to restore grub 2.
Update:Today I ghost my XP system,but after restore grub,I cannot boot into XP by clicking the old windows option in grub menu.So you’d better to run this command to renew the grub2 boot list after trying following method:
sudo update-grub
1).Using grub4dos
First download grub4dos from here.
1. For XP user,copy the file “grldr”(without quotes) from grub4dos package to C:\.Editboot.ini (hidden file in C:\) and add this line to the file:
c:\grldr="grub4dos"
For Vista/win7 user,copy the file “grldr”,”grldr.mbr” to C:\.Create boot.ini file in the root directory of C:,copy and paste following into this file.
[boot loader]
timeout=0
default=c:\grldr.mbr
[operating systems]
C:\grldr.mbr="Grub4Dos"
2. Now,create menu.lst in root directory of C:,its content:
timeout 0
default 0
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot
Restart computer,and select boot from Grub4Dos.Then select boot up Ubuntu in grub menu.
Once login,use this command to install grub into mbr:
sudo grub-install /dev/sda
2).Using Ubuntu 9.10 livecd or higher
Here assuming the Ubuntu partition is sda7,and /boot partition is sda6 (if you have a separate /boot partition).
Boot up ubuntu from the livecd,open terminal and run:
sudo -i
mount /dev/sda7 /mnt
mount /dev/sda6 /mnt/boot  #skip this one if not have a separate /boot partition
grub-install --root-directory=/mnt/ /dev/sda
If you miss “grub.cfg” file,use following to recreate:
mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
chroot /mnt update-grub
umount /mnt/sys
umount /mnt/dev
umount /mnt/proc
exit
3).Using the cd/usb boot up with grub
Boot up the cd/usb,press c in grub menu.Type:
grub>find /boot/grub/core.img
grub>root (hdx,y)   (previous command will output the x,y)
grub>kernel /boot/grub/core.img
grub>boot
After the boot command,you’ll go into grub2 menu.Select to boot up ubuntu,and run this command to restore grub:
sudo grub-install /dev/sda

Thursday, 4 August 2011

Windows Automatic Updates Service is Missing

One of my customers computers was infected by an Autorun worm over the weekend. The worm discovered by antivirus products in the middle of March 2011 scares customers by dropping files on the hard drive such as
  • myporno.avi
  • setup[4 random number]
  • myporno.avi
  • pornmovs   
However, this isn't the worst problem. The malware appears to have shut down the Windows Automatic Updates service. In fact, it appears to have completely deleted the service from the Windows XP machine I was working on.

The Windows Security Center shows the Automatic Updates service as being turned off, but the fact is the service is gone from the computer. Although I dont know for sure this autorun.aabl worm was the cause for the updates not working, it is very likely.

In case this situation happens to you, follow the steps below to reactivate the Automatic Updates service and get your computer up-to-date again.


For Windows XP

1) Click on Start
2) Click on Run
3) In the run window, type CMD and press Enter
4) In the black command prompt window, type the following command and press Enter

REGSVR32 %SystemRoot%\System32\WUAUENG.DLL

For Windows Vista/7

1) Click on the Start Orb
2) Click on All Programs
3) Click on Accessories
4) Right click on the Command Prompt icon and choose Run As Administrator
5) Iin the command prompt window, type the following command and press Enter

REGSVR32 %SystemRoot%\System32\WUANUENG.dll

Although the service should now restart on its own, its probably a good idea to also restart your computer now.

After the machine has restarted open the Security Center is Control Panel and verify that the Automatic Updates option is now working.

How to Delete Undeleteable Files


Windows 95/98/ME


If you are using Windows 95, 98, or Windows ME, the easiest way to remove an undeleteable file is to boot to a DOS prompt and manually delete the file. Before you do this, you'll want to make a note of the location of the file including the entire path to it. Follow the steps below to delete these types of files.

If you already know the path to the file, please skip to Step 7

  1. Click on Start, Find, Files and Folders
  2. Type the name of the undeletable file in the Named or Search For box 
  3. Make sure the Look In box shows the correct drive letter 
  4. Click on Find Now or Search Now and let the computer find the file 
  5. Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to

    c:\windows\system32\undeleteablefilesname.exe
  6. Close the search box  
  7. Locate a boot disk for your version of Windows, if you do not have a boot disk, follow the steps on the link below to create an emergency boot disk.

    How to Create an Emergency Boot Disk for Windows
  8. Shut down and restart your computer with the boot disk in your floppy drive. 
  9. The computer will boot to a DOS prompt that will look similar to c:\
  10. Type the following command and press Enter to delete the filer, substituting the phrase <path to file> with the actual path and file name you discovered in Step 5 above.

    del <path to file>

    Example: del c:\windows\undeleteablefile.exe
  11. Remove the boot disk in the floppy drive and restart your computer 
  12. The file should now be deleted. 

Windows XP


In Windows XP, there are a couple ways to remove an undeleteable file, a manual way, and a couple automated ways using some freeware programs. First, I'll show you the manual way.

Manual Method

If you already know the path to the file, please skip to Step 7

  1. Click on Start, Search, All Files and Folders
  2. Type the name of the undeletable file in the box shown 
  3. Make sure the Look In box shows the correct drive letter 
  4. Click Search and let the computer find the file 
  5. Once the file is located, right-click on it and choose properties, make a note of the file location. Usually this is something similar to

    c:\windows\system32\undeleteablefilesname.exe
  6. Close the search box  
  7. Click on Start, Run, and type CMD and Press Enter to open a Command Prompt window 
  8. Leave the Command Prompt window open, but proceed to close all other open programs 
  9. Click on Start, Run and type TASKMGR.EXE and press Enter to start Task Manager
  10. Click on the Processes tab, click on the process named Explorer.exe and click on End Process. 
  11. Minimize Task Manager but leave it open 
  12. Go back to the Command Prompt window and change to the directory where the file is located. To do this, use the CD command. You can follow the example below.

    Example: to change to the Windows\System32 directory you would enter the following command and Press Enter

    cd \windows\system32
  13. Now use the DEL command to delete the offending file. Type DEL <filename> where <filename> is the file you wish to delete.

    Example: del undeletable.exe
  14. Use ALT-TAB to go back to Task Manager 
  15. In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell
  16. Close Task Manager

Windows Vista/7

Manual Method
  1. Click on Start
  2. Type CMD in the Search box
  3. Right-click on CMD and choose Run as Administrator
  4. Leave the Command Prompt window open, but proceed to close all other open programs 
  5. Right click on the Task bar and click on Task Manager
  6. Click on the Processes tab, click on the process named Explorer.exe and click on End Process. 
  7. Minimize Task Manager but leave it open 
  8. Go back to the Command Prompt window and change to the directory where the file is located. To do this, use the CD command. You can follow the example below.

    Example: to change to the Windows\System32 directory you would enter the following command and Press Enter

    cd \windows\system32
  9. Now use the DEL command to delete the offending file. Type DEL <filename> where <filename> is the file you wish to delete.

    Example: del undeletable.exe
  10. Use ALT-TAB to go back to Task Manager 
  11. In Task Manager, click File, New Task and enter EXPLORER.EXE to restart the Windows shell. 
  12. Close Task Manager

Copying with Windows Explorer

Open Windows Explorer
You can find Windows Explorer by going to 'Start', then 'Programs'. If you don't see it in 'Programs' then look in 'Accessories'. Double click the Windows Explorer icon and it will open.

Viewing Folders and Files
On the left side of Windows Explorer you will see a section called 'Folders'. Normally under Folders you should see at a minimum:

  • My Computer
  • My Network Place
  • Recycle Bin
  • My Documents

To see the all the drives on your PC, click on 'My Computer'. Typically you will have listed:

  • 3-1/2 inch Floppy (A:)
  • Hard drive (C:)
  • CD or DVD (D:)

Control Panel icon.Click the drive you want and all the folders for it become accessible.

Copying Files and Folder


  • Navigate to the folder or file that you want to copy. and place your cursor over the file or folder you want to copy, then right-click your mouse.
  • Select copy from the menu that appears.
  • Now place your cursor over the destination folder and again right-click your mouse. This time select paste from the menu.
  • That's it! The item is copied to the destination folder.

Cut, Copy and Paste

Cut, Copy and Paste with your Mouse

Before text in a file can be cut or copied, it must first be selected. It can they be pasted into another part of the file you are working on or even into a completely different file.

Selecting Text 

  • To select text, place your cursor (looks like an I- beam) at the beginning or end of a section of text you wish to select. 
  • Then click the left mouse button and a vertical bar called the 'text selection bar' appears and blinks at the cursor location. 
  • Hold the left mouse button down and sweep the selection bar across text you want to select. 
  • The text becomes hi lighted as you sweep it which means you've successfully selected it. 
  • Release the mouse button when you reach the end of the text you want to select.

Copying Text


  • Now that the text you want is selected, right click your mouse. Do not left click your mouse. If you do all the text becomes unselected. 
  • A drop down menu appears with a number of different choices. Choose copy by moving your cursor over the word copy and clicking either mouse button. 
  • Doing this places a copy of the selected text in an area of memory called the 'clipboard'. The selected text is left intact in source file.Pasting Text 
  • The text in the clipboard can now be pasted where ever you want it. 
  • Left click your mouse at the place in the text where you want to paste the clipboard contents. The blinking text selection bar appears. 
  • Right click your mouse and a drop down menu appears as well. Choose paste by moving your mouse over it and clicking either button. 
  • The clipboard contents are pasted at the location of the selection bar.That's it, you are done copying and pasting! If you like the changes you made be sure to save your work right away. 
Pasting Text


  • The text in the clipboard can now be pasted where ever you want it. 
  • Left click your mouse at the place in the text where you want to paste the clipboard contents. The blinking text selection bar appears. 
  • Right click your mouse and a drop down menu appears as well. Choose paste by moving your mouse over it and clicking either button. 
  • The clipboard contents are pasted at the location of the selection bar.That's it, you are done copying and pasting! If you like the changes you made be sure to save your work right away.

Cutting Text 

  • Select the text you want to work with. 
  • When your place your cursor over the selected text and right click the mouse, the drop down menu appears. Choose the 'cut' option by moving your cursor over it and clicking either mouse button. 
  • The selected is sent to the clipboard and it is cut (removed) from the source file. 
  • Follow the same procedure as above to paste it in the destination file.

Cut, Copy and Paste with the Keyboard

Sometimes it is easier and faster to use the keyboard instead of the mouse.

Selecting Text

  • Use the up, down, left and right arrows to move the selection bar to the end of the text you want to hi light. 
  • Hold down the 'shift' key and use the 'left' arrow key to sweep the selection bar across the text you want to select. 
  • The selected text becomes hi lighted.
Copying Text 

  • Hold down the 'Ctrl' key while pressing the 'C' key and the hi lighted text is copied to the clipboard.
Pasting Text 

  • Move the text selection bar to the place in the file where you want to paste the clipboard contents. 
  • Hold down the 'Ctrl' key while pressing the 'V' key and the clipboard contents are pasted at the insertion point. 

Cutting Text

  • Select the text you want to work. 
  • Hold down the 'Ctrl' key while pressing the 'X' key and the selected text is cut from the source file and copied to the clipboard. 
  • Follow the same procedure as above to paste it in the destination file.

Running Scandisk

This is not caused by anything you are doing wrong. A PC is a very complex, fast machine and despite the best efforts of all the designers, engineers and programmers who've toiled to make it flawless, sometimes programs collide and mess up each others files.

This unwanted interaction can result in invalid files, files with lost file fragments, and cross linked files. You don't always know right away when this happens. This is why you should run the Scandisk utility from time to time.

For Windows 9x and ME

1) Click the Start button.

2) Select Programs, Accessories, then System Tools. Click Scandisk.

3) Select and click the drive you want to scan, and then choose either the Standard or the Thorough test.

4) Click Start.

Scandisk runs in two modes


The Standard test checks the files and folders on the selected drive for errors.


The Thorough test performs the Standard test and then checks the entire surface of your hard drive for physical damage. You can even specify to scan areas of your disk containing only data files, or just the areas with system files, or both. This process takes a long time. Unless the Standard test fails you shouldn't need to run this test.
For Windows XP and 2000

In XP and 2000, the utility is called 'Error Checking' and doesn't offer the full physical surface check.

1) From 'Start' double click 'My Computer'.

2) Right-click the drive you want.

3) Click on 'Properties', then 'Tools'.

4) Under 'Error Checking' click 'Check Now' and then Start.

5) A small scandisk window appears and the process begins.

Emptying your Recycle Bin

Everytime you delete a file on a PC running a Windows Operating system it isn't really deleted. It is instead stored in a temporary holding area called the Recycle Bin. It stays there until you restore it or permanently delete it.

From time to time it is a good idea to go and delete the files you have no intention of restoring.

To delete all the files in the Recycle Bin do the following:

1) Locate the Recycle Bin icon on your desktop and double-click it.

2) When the Recycle Bin opens, click 'File' on the menu bar and a list of options appears.

3) Select 'Empty Recycle Bin' from this list and every item in the Recycle Bin is deleted.

Change Icon spacing on your Desktop


You can move icons on the desktop closer together or farther apart.

1) Right-click anywhere on the desktop. Select Properties and the display properties box opens.

2) Click the Appearance tab:

* For Windows 98 - Select 'Icon Spacing (Horizontal)' or ‘Icon Spacing (Vertical)’ in the Item box

* For Windows XP - Click the Advanced button, then select 'Icon Spacing (Horizontal)' or ‘Icon Spacing (Vertical)’ in the Item box

3) Adjust the number in the Size box and you’ll see the effect of changes, as you make them, in the small display near the top of the window.

4) When you have the spacing you want, Click OK to save the setting.

Shortcuts on your Desktop

A shortcut is path to a program and is represented by an icon on the desktop that you can click to access the program. This saves you from having to navigate the path to the actual location of the program. It's easy to add a shortcut:

1) Right-click anywhere on the desktop. A pop-up menu appears.

2) Select New, then Shortcut and the ‘create shortcut’ window opens.

3) Use the Browse button to find the path to the application or program.

4) Select the program you want and the path to it appears in the 'location of item' box.

5) Click Next and the ‘select a title box’ appears where you are asked to enter a name for the shortcut.

6) Enter a name and then click Finish. The new shortcut appears on the desktop. Just drag it to where on the desktop you want it.

Change your Desktop Background

1) Right-click anywhere on your open desktop and select Properties from the drop-down list that appears.

2a) For Windows 98 - Select the Background tab in the window that appears and find the    section labeled Wallpaper that contains a list of files you can choose to use as Wallpaper.

2b) For Windows XP - Select the Desktop tab in the window that appears, and find the section labeled Background which contains a list of files you can choose to use as your Desktop background.

3) Click on one and it is shown in the small display in the window.

4) When you find one you like, click OK to keep as your desktop wallpaper!

Note: If the image does not cover your entire display and you want it to, go to the Display box and select the Stretch option.