25
Computer Troubleshooting Basics

Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Embed Size (px)

Citation preview

Page 1: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Computer Troubleshooting Basics

Page 2: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Illegal Operations

• Memory conflicts (bad memory?)• Dirty CD or corrupt files on a floppy• Highly fragmented hard drive• Corrupt files (Windows or another program)• Virus or spyware• New hardware (possible driver issue or setting

conflict)

Page 3: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Slow Computer

• Check free space on your hard drive• Run scandisk (possibly corrupt files)• Too many processes (possibly spyware)

running in the background• Computer overheating (check fans)• Recently installed hardware, software or

updates?

Page 4: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Program Not Responding

• Bugged software• Conflicts between hardware or software• Lack of system resources (memory, hard disk

space, too many active programs)

Page 5: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Computer Lock Up?• No mouse control? Do you have keyboard control?

– You can check by pushing the caps lock or num lock keys on your keyboard and seeing if the corresponding lights respond.

• Have keyboard control, push CTRL-ALT-DELETE at the same time to access the task manager.

• End the program that is “not responding” in the task manager.• Save anything you are working on and reboot the computer.• No keyboard control? Hold the power button in for a few

seconds.

Page 6: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Use The Tools Available

• Check Disk or Scandisk • Disk Cleanup• Defragment Drive• System Restore (Windows ME & XP)

Page 7: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Backup

• Keep the files you want to backup in a central location. I suggest My Documents. You can easily backup the My Documents folder using Windows Backup tool.

• Be aware that if you want to backup your entire system you’ll need a large capacity storage device.

Page 8: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Common Spyware/Adware Symptoms

• Computer suddenly slow.• Unknown icons in your windows system tray

(the lower right corner)• Modem lights blinking when you aren’t doing

anything online.• Pop up windows when you don’t have any

programs running.

Page 9: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Help!?

• Sources for help: Internet, computer enthusiasts, your software/computer vendor tech support, maybe a local computer repair company.

• Have as much information as you can ready when you find you need to call for technical support.– Details about your computer.– Description of your problem.

Page 10: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

“DOS is dead, (long live the command line)“

• Source for most of this material:– http://commandwindows.com

Page 11: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

DOS is Dead

• There is a common misconception that the command prompt in Windows XP is the same as DOS

• Even Microsoft itself isn't always careful about the distinction

• There are some superficial resemblances• However, all remnants of DOS are totally gone

from the Windows XP kernel (there is a DOS emulator to run legacy apps)

Page 12: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

File System Hierarchy

C:

Page 13: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

C:

Absolute Path to here?

C:\windows\system32\drivers

Page 14: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

C:

Relative Path from Windows to Drivers?

System32\drivers

Page 15: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

C:

Relative path from system to drivers?

../system32/drivers

Page 16: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Internal Commandsassocdir move set break echo path setlocal call endlocal pause

shift cd exit popd start cls for prompt time colorftype

pushd title copy goto rd type date if rem verify del md ren volume

Page 17: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Common Usage

Command [arguments] Command [switches] [path to file or folder]Command [switches] [path] [path]

Page 18: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Common UsageExamples:dirdir /wdir /w c:\windowsdir /w /p ..

Page 19: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Common UsageExamples:copy mydoc.doc c:\files move c:\docs\* c:\backupsrename *.txt *.doc

Page 20: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Symbols used with commands

Symbol Function Example

> Sends output to a named file. If file does not exist, it creates one. Overwrites existing file command > somefile

>> Appends output to contents of a named file or creates a file if none exists command >> somefile

< Uses contents of a named file as input to a command command < somefile

¦ Sends ("pipes") the output of command1 to the input of command2 command1 ¦ command2

& Used to combine two commands. Executes command1 and then command2 command1 & command2

&& A conditional combination. Executes command2 if command1 completes successfully command1 && command2

¦¦ Command2 executes only if command1 does not complete successfully. command1 ¦¦ command2

@ Used in batch files at the beginning of a line to turn off the display of commands @echo off

Page 21: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Extended UsageExamples:dir c:\windows > windowsDirectoryList.txtdir | moreecho. | dateDel *.* < y.txt

Page 22: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Environmental Variables

• %username%• %systemroot%

• SET command• My Computer.Properties-

>Advanced.Environmental Variables

Page 23: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Exercises

• What’s the absolute path of Temp?• What’s the relative path from Temp to \ ?• What’s the relative path from Pagemaker to

Drivers?

C:

Page 24: Computer Troubleshooting Basics. Illegal Operations Memory conflicts (bad memory?) Dirty CD or corrupt files on a floppy Highly fragmented hard drive

Exercises

• On a floppy, create this directory structure using the command line.

• Create a .txt file in the pagemaker directory• Copy and rename that file to the elements directory

using only one command• Write a batch script that will display the contents of

A:\, and write those contents (the listing) to a file called C:\acontents.txt, and then attempt to format the floppy

C: