Post on 02-Jan-2016
Prepared by Bun khieng 1
Computer Repair Computer Repair lessonlesson
ITMSITMS(information Technology Management (information Technology Management
Specialist School)Specialist School)
Prepared by Bun khieng 2
Introduction to computer RepairIntroduction to computer Repair
• eKalkarN_kñúgkarsikSakmµvIFICYsCulkMuBüÚT½rmankMNt;dUcxageRkam
• HARDWARE– Spare Part– Installation hardwares– Check System Hardware– CMOS BIOS Setup
• SOFTWARE – Group Software– Keyword– Ms DOS ( Microsoft Disk Operating System)
– command Directory– Command File – Command Disk– Other Commands– command Change color In MS DOS
– NC (Norton Commander)– NC Command– NC Link
Prepared by Bun khieng 3
Introduction to computer Introduction to computer repairrepair
• Installation Software– Install Windows– Install Office and applications– Install font – Add Keyboard– Add Normal– Install Driver hardware– Install 2 office on one Windows– Setup Internet and E-mail– Install Winbdows 2 With
– Boot loader– Partition magic +boot Magic– Partition Expert +boot Magic– Efidks +boot Magic
– Repair hard Disk bad sector
– Repair diskette– Recovery files– Regedit , MMC,
Winboost– Anti Virus– Convert drive– Convert FAT
The End
Prepared by Bun khieng 4
II. II. Introduction To DataIntroduction To Data• 1.Definition
Data KwCa B½t’manEdlmanrUbragBitR)akdGacbBa¢ÚneGay computer mYy Process )an.
Data EckecjCaBIsPav³ 0 nig 1 Edl³ 0 tMNageGayKµancrnþ 1 tMNageGayman crnþ
2. Data Processing enAkñúg computer mYyk¾dUcCa computer
déTeTotEdr data eFVIdMeNItamRck Input => Process => Output .Input Process Output
Keyboard CPU Monitor
Prepared by Bun khieng 5
II. II. Introduction To DataIntroduction To Data
3.Data Unit xñat data tUcbMputKW
bit Edl 0=1bit nig 1=1bit
• 1 Byte (B) = 8bits = 1 character = 1 tYGkSr• 1 Kilobyte (KB) = 1024 Byte = 210 byte• 1 Megabyte (MB) = 1024 Kilobyte = 210 Kilobyte• 1 Gigabyte (GB ) = 1024 Megabyte = 210 Megabyte• 1 Terabyte (TB ) = 1024 Gigabyte = 210 Gigabyte
Prepared by Bun khieng 6
III.III. Computer TodayComputer Today eKEckcomputer Ca5 RbePTFM² KW
1. Super computer2. Mainframe Computer 3. Mini Computer, 4. Micro Computer,5. WorkStation .
• Super computer, Mainframe Computer and Mini Computer
KwCa Computer mYyRbePTEdlmanel,óWn rab;lanMHz(Megahertz) manTMhMFM minGacpøas;BITItaMgmYyeTATItaMg
mYyeTot)aneT eKeRbIvaCa Server FM².
• Micro Computer and Work Station KwCa ComputermYyRbePTEdlmanel,óWn 4.7 MHz eTA
4500 MHz ehIyGacpøas;bþÚrBITItaMgmYy eTATItaMg mYyeTot)an.
Prepared by Bun khieng 7
IV. IV. HardwareHardware
Definition
Hardware KWCaEpñkrwgrbs;computer
EdlpMÁúKñaCaeRcInbegáIt)anCacomputer mYy. Hardware man dUcCa
• Power Supply (PS)• Mainboard (Motherboard)• CPU (Central Processing Unit)=Processor• RAM (Random Access Memory)• ROM (Read Only Memory )• HDD (Hard Disk Drive)• FDD ( Floppy Disk Drive)• CD-ROM (Compact Disc Read Only Memory)• CD-RW (Compact Disk Read Write)• DVD ROM (Digital Video disc Read Only Memory)• DVD RW(Digital Video disc Read Write)• Tape drive• Zip disc Drive(250MB)
Prepared by Bun khieng 8
IV. IV. HardwareHardware
• Expansion Card :– VGA CARD ( Video Graphic Adapter card)– Sound card (Sound device)– Network card (connect Network)– Modem card (connect Internet)– USB card (Universal Serial Bus) (use USB Port to connect other hardware)– TV card (use computer as a TV)– SCSI card (Small Computer System Interface) (connect Hard Disk
SCSI)..............• Peripheral Device
– Mouse– Monitor– Keyboard– Printer– Scanner..........
Prepared by Bun khieng 9
Pictures of HardwarePictures of Hardware
POWER SUPPLY
CD-ROM
FAN&HEATSINK
Mainboard
Hard Disk
Floppy disk
CPU
RAMROM
Expansion card
Prepared by Bun khieng 10
Monitor
System Unit
Keyboard
Mouse
Prepared by Bun khieng 11
Power SupplyPower Supply1 PowerSupply
KWCahardwaremYyRbePTeRbIsMrab;bM
ElgcrnþBI AC(Alternative
Current) eTA DC(Direct Current)(+12v, -12v, +5v, -
5v,3.3v)ehIypÁt;pÁg ;eGay hardware
déTeTotkñúg
computer .
Prepared by Bun khieng 12
POWER SUPPLYPOWER SUPPLY
ElectricityAC Current
110v
220v
DC Current
12V,5V,3.3V
115V when we use 110v
230v when we use 220v
COMPUTER HARDWARE
BOTTON choose entry electric current
qk minqk
Prepared by Bun khieng 13
Power SupplyPower Supply
Prepared by Bun khieng 14
Power SupplyPower Supply• Power Supply man 2RbePT KW
– Power Supply AT – Power Supply ATX.
• Power Supply AT: is the Power Supply that has– Two connector to mainboard– Power Button– Not Shutdown Automatically( When you Click Start => shutdown=>
it displays message “it’s now safe to turn of your computer” you can press Power Button to Shutdown)
• Power Supply ATX: is the power Supply that has– One Connect to Mainboard– No power Button– Shutdown Automatically
Prepared by Bun khieng 15
• Note – If your computer use power supply ATX but ,
it doesn’t shutdown Automatically so you change it to shutdown automatically :
– ( start =>setting => control panel=> Power option =>APM=> you tick Enable Advanced Power management Support =>OK.)
Prepared by Bun khieng 16
Power Supply Power Supply • Connector Power supply
– Power supply AT has 8 connectors:• The same 2 big Connectors: used to connect to mainboard• The same 4 big Connectors : Used to connect to (HDD,
CD-ROM, CD-RW, DVD-ROM, DVD-RW, Zip internal, CPU Fan)
• The same 2 small Connectors:used to connect to Floppy Drive A: and Drive B:.
Prepared by Bun khieng 17
Power SupplyPower Supply• Connector Power supply
– Power supply ATX has 7 connectors:
• The same 1 big Connectors: used to connect to mainboard• The same 4 big Connectors : Used to connect to (HDD, CD-ROM, CD-RW,DVD-ROM, DVD-RW, Zip internal, CPU Fan)• The same 2 small Connectors:used to connect to Floppy Drive A:
and Drive B:.
Prepared by Bun khieng 18
Power Supply AT connectorPower Supply AT connectorPin number
Color Function connector
1 Orange "Power Good" P8
2 Red (XT No Wire) +5V DC P8
3 Yellow +12V DC P8
4 blue -12VDC P8
5 Black GROUND P8
6 Black GROUND P9
7 Black GROUND P9
8 Black GROUND P9
9 Black GROUND P9
10 yellow +5VDC P9
11 RED +5VDC P9
12 RED +5VDC P9
Prepared by Bun khieng 19
Power SupplyATX 20 PINS
• Detail connectorPin Name Color descrioption
1 3.3V orange +3.3VDC
2 3.3V orange +3.3VDC
3 Com Black Ground
4 5v Blue +5V
5 Com black Ground
6 5v Blue +5vDC
7 Com black Ground
8 Pwr_ok green Power ok(+5v&+3.3v is ok)
9 5VSB violet +5V standby vol(max=10mA)
10 12V yellow +12VDC
Prepared by Bun khieng 20
Power Supply ATXPower Supply ATX 20 PINS20 PINS• Detail
11 3.3v orange +3.3vDC
12 -12v blue -12VDC
13 Com black Ground
14 Ps_on green Supply on (active low)
15 Com black Ground
16 Com black Ground
17 Com black Ground
18 -5v yellow -5VDC
19 5v yellow +5VDC
20 5v yellow +5VDC
Prepared by Bun khieng 21
Power supply ATX 24 pinsPower supply ATX 24 pins
Pins name color description
1 +3.3V +3.3VDC
2 +3.3V +3.3VDC
3 Com GROUND
4 5v +5VDC
5 Com GROUND
6 5v +5VDC
7 Com GROUND
8 Pwr on Power on(+5&+3.3v)
9 +5VSB +5 VDC Standby Voltage (max 10mA)
10 +12V1 +12VDC
11 +12V1 +12VDC
12 +3.3V +3.3VDC
Prepared by Bun khieng 22
POWER SUPPLY ATX 24 pinsPOWER SUPPLY ATX 24 pins13 +3.3v +3.3VDC
14 -12v -12VDC
15 Com GORUND
16 Pw on Power Supply On (active low)
17 Com GORUND
18 Com GROUND
19 Com GROUND
20 N/A NOT ONNECT
21 5v +5VDC
22 5v +5VDC
23 5v +5VDC
24 Com GROUND
Prepared by Bun khieng 23
• Function power supply– Convert AC=>DC– Supply power to hardwares
• Categories of power supply– AT(not shutdown Auto)– ATX(shutdown Auto)
• Connector of Power supply– Three categories
• Test power supply(ATX)– String (green +black)
Prepared by Bun khieng 24
RAM (Random Access Memory)RAM (Random Access Memory)
• Definition– RAM is the memory that allow CPU read data from
or Write data to. RAM can store data temparorily.
– RAM store data when computer is on but it clear data when we turn off computer.
RAM CPU RAMread Write
Store Store
Store data temporarily
Prepared by Bun khieng 25
Picture of RAMPicture of RAM
Prepared by Bun khieng 26
Kind of RAMKind of RAM• There two kinds of RAM
– SRAM (Static Random Access Memory)– DRAM(Dynamic Random Access Memory)
• SDRAM( Sychronous DRAM)• DDR RAM(Double Data Rate RAM)• DDR2• DDR3• DDR SD• EDO (Extended Data Output)• FPM (Fast Page Mode)• VRAM (Video RAM)
Prepared by Bun khieng 27
Kind of RAMKind of RAM• SDRAM
Prepared by Bun khieng 28
Kind of RAMKind of RAM• DDR ( Double Data Rate RAM)
Prepared by Bun khieng 29
Kind of RAMKind of RAM
• EDO, FPM, VRAM
Prepared by Bun khieng 30
Properties of RAMProperties of RAM• Size of Store data: use to store data temparorily that has
(1MB, 2MB,4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1024MB, 2048MB.)
• PC is the speed that used to send to and getting data from CPU. It has (Pc100, pc133, pc166, pc200,……………., Pc 4300.
RAM CPU RAMread Write
Store Store
Store data temporarily
PC PC
Prepared by Bun khieng 31
Slot connect RAM Slot connect RAM Slot connect RAM is built on mainboard .
There are 2 kinds of slot : they are SIMM( Single Inline Memeory Module)
32 pins 72 pins
DIMM( Dual Inline Memory Module)168 pins184 pins
Prepared by Bun khieng 32
Slot connet RAMSlot connet RAMSIMM
32Pin 72 Pins
• 8bnÞH =1MB 1bnÞH =1MB
• 4bnÞH =1MB 1bnÞH =2MB
• 2bnÞH =1MB 1bnÞH =4MB
• 1bnÞH =1MB 1bnÞH =8MB
• 1bnÞH =2MB 1bnÞH =16MB
• 1bnÞH =4MB 1bnÞH =32MB
•
DIMM• 168Pin 184 Pins• 1bnÞH =16MB 1bnÞH
=16MB• 1bnÞH =32MB 1bnÞH
=32MB• 1bnÞH =64MB 1bnÞH
=64MB• 1bnÞH =128MB 1bnÞH =128MB
• 1bnÞH =256MB 1bnÞH =256MB
• 1bnÞH =512MB 1bnÞH =512MB
• 1bnÞH =1024MB 1bnÞH =1024MB
• 1bnÞH =2048MB 1bnÞH =2048MB
Prepared by Bun khieng 33
Slot connect RAMSlot connect RAM• SIMM (32pins, 72pins) are used to cinnect to
– EDO– FPM– VRAM
• DIMM(168 pins) is used to connect to – SDRAM
• DIMM(184 pins) is used to connect to – DDR– DDR2– DDR SD
Prepared by Bun khieng 34
How check size of RAMHow check size of RAM Start =>Run =>dxdiag
Prepared by Bun khieng 35
Right click on My Compter =>Properties
Prepared by Bun khieng 36
• We can see the label on the RAM• CMOS BIOS SETUP• POST SCREEN
Prepared by Bun khieng 37
HOW TO TEST RAMHOW TO TEST RAM
• Test ram – Monitor display
• Cannot setup program• Message POST Sreen“widows Protection Error”• Display “blue Screen background and white
character”
– Monitor not display• Connect ram (beep code)• Broken down Ram (beep code)• Broken down Slot dimm/simm (beep code)• Ram not sopport mainboard
Prepared by Bun khieng 38
ROM(Read Only Memory)ROM(Read Only Memory)
• Definition– ROM is the memory that allow CPU read data from
temporarily. There are many kind of ROM. ROM stores CMOS BIOS SETUP. CMOS BIOS is the software that used to configure all hardware.
Prepared by Bun khieng 39
CPU (Central Processing Unit)CPU (Central Processing Unit)=Processor=Processor
• . CPU (Central Processing Unit)
CPU Ca Hardware EdlmannaTI Process ral;Tinñn½yEdl )anbBa¢ÚncUlkñúg computer.Rkumh‘unplit CPU CaeRcIn nig Rkumh‘unk¾manplit CPU RcInCMnan;Edr dUcCaRkmuh‘un Intel, AMD, Cyrix, Winchip...........eyIgelIk CPU Rkumh‘un Intel mksikSa
EdlmanCMnan;dUcCa³ (4004, 4040, 8008, 8080 8085, 8086, 8088, 80186, 80188, 80286, 80386, 80486, Pentium, Pentium II &III,Celoron, PentiumIV )
•CPU 80486(486) Ca CPU Edlmanrag4RCug maneCIgcMnYn 3CMu
eCIgTImYyCa eCIgEqb.enAelIxñgCPU
maneQµaHRkumh‘un CMnan;CPU nig el,ÓnCPU.•
CPU Pentium(586) Edlmanrag4RCug maneCIgcMnYn
4rW5CMuBIrCYrQmKñaBIr² CIgTImYyCa eCIgEqb.
•CPU Pentium II&III CaCPU Edlmanrag4RCug maneCIgcMnYn 6CMueCIgTImYyCa eCIgEqb.
•CPU Pentium IV CaCPU Edlmanrag4RCug maneCIgcMnYn 6CuMjwkKña eCIgTImYyCa eCIgEqb.
Prepared by Bun khieng 40
CPU (Central Processing Unit)CPU (Central Processing Unit)• **Note CPU manlkçN³dUcCa
• -Base Frequency(BUS)orWFSB(Front Side Bus) KWCa el,ÓnEdlbBa¢Ún
data BI RAM mk CPU nig BI CPUmk RAM Edlmanel,Ónkan;Etx<s; kargar Process kan;EtRbesIr. BUS man 66MHz,100 MHz, 133 MHz,166 MHz, 200 MHz , 233 MHz 266 MHz 333 MHz 400 MHz 533 MHz 800 MHz.............
• -Multiplier Factor KWCaemKuNbBa¢ak;el,ÓnBitR)akdrbs; CPU
EdlmanBI 1x dl; 16x nig bnþbnÞab;eTot. edIm,IeGaydwgel,ÓnCPU eKyk Base Frequency KuNCamYynwg Multiplier Factor .]TahrN_ Base Frequency=166 MHz
KuN Multiplier Factor =1.6x esµInwg 266MHz énel,Ón CPU.• -Cache Memory KWCa GgÁcgcaMbeNÞaHGsnñEd;lmanelI
CPU(build in Cache) mantYnaTIcab;Tinñn½ymYycMnYnEdlCPU
kMBug process . eKEckcache CaBIrKW Cache Level 1(L1) nig Cache Level 2
(L2). Cache Level 1 manenAelI CPU Rsab; nig Cache level 2 manenAelI mainboard
Prepared by Bun khieng 41
• Intel processors 4004 | 4040 | 8008 | 8080 | 8085 | 8086 | 8088 | iAPX 432 | 80186 | 80188 | 80286 | 80386 | 80486 | i860 | i960 | Pentium | Pentium Pro | Pentium II | Celeron | Pentium III | XScale | Pentium 4 | Pentium M | Pentium D | Pentium Extreme Edition | Xeon | Core | Core 2 | Itanium | Itanium
• List of AMD microprocessors Am2900 • Am29000 • Am9080 • Am286 • Am386 •
Am486 • Am5x86 • K5 • K6 • K6-2 • K6-III • Duron • Sempron • Athlon • Athlon 64 • Athlon 64 X2 • Turion 64 • Turion 64 X2 • Opteron
Prepared by Bun khieng 42
How to check Speed of CPUHow to check Speed of CPU• Start => run=> dxdiag
Prepared by Bun khieng 43
Check speed of cpuCheck speed of cpu
• Right click on My computer =>Propertios:
• CMOS BIOS• POST Screen
Prepared by Bun khieng 44
eCIgsMrab;edateCIgsMrab;edat CPU CPU • edIm,IdwgfaedIm,Idwgfa Mainboard mYy mYy
support nwg nwg CPU
CMnan;NamYy CMnan;NamYy Rkumh‘unNamYy Rkumh‘unNamYy el,ÓnNamYy el,ÓnNamYy eKcaM)ac;RtUvemIlelIeCIeKcaM)ac;RtUvemIlelIeCIgedat gedat CPU (Socket CPU) EdlmandUcCaEdlmandUcCa Socket 1, Socket 2, Socket 3, Socket 4,Socket 5, Socket 6, Socket 7, Socket 8 Socket A Socket B Socket 754 Socket 370 Slot 1 Socket 478 Socket 423 Socket 478 Socket 755 Socket...... .
Prepared by Bun khieng 45
eCIgsMrab;edateCIgsMrab;edat CPU CPU• 1. Sockets• Socket 1 - 80486 • Socket 2 - 80486 • Socket 3 - 80486 • Socket 4 - Intel Pentium • Socket 5 - Intel Pentium; AMD K5; IDT WinChip C6, WinChip 2 • Socket 6 - 80486 • Socket 7 - Intel Pentium, Pentium MMX; AMD K6 • Super Socket 7 - AMD K6-2, AMD K6-III; Rise mP6 • Socket 8 - Intel Pentium Pro • Socket 370 - Intel Pentium III, Celeron; Cyrix III; VIA C3 • Socket 423 - Intel Pentium 4 • Socket 463 (also known as Socket NexGen) - NexGen Nx586 • Socket 478 - Intel Pentium 4, Celeron, Pentium 4 Extreme Edition • Socket 479 - Intel Pentium M, Celeron M • Socket 486 - 80486 • Socket 563 - AMD low-power mobile Athlon XP-M • Socket 603 - Intel Xeon • Socket 604 - Intel Xeon
Click here to see CPU Socket
Prepared by Bun khieng 46
eCIgsMrab;edateCIgsMrab;edat CPU CPU• Socket 754 - AMD single-processor systems using single-channel DDR-
SDRAM, including AMD Athlon 64, Sempron, Turion 64 • Socket 771 - Intel Xeon • Socket 775 (also known as LGA 775 or Socket T) - Intel Pentium 4,
Pentium D, Celeron D, Pentium Extreme Edition, Core 2 Duo, Core 2 Extreme
• Socket 939 - AMD single-processor systems using dual-channel DDR-SDRAM, including Athlon 64, Athlon 64 FX, Athlon 64 X2, Opteron 100-series
• Socket 940 - AMD single and multi-processor systems using DDR-SDRAM, including AMD Opteron, Athlon 64 FX
• Socket A (also known as Socket 462) - AMD Athlon, Duron, Athlon XP, Athlon XP-M, Athlon MP, and Sempron
• Socket F (also known as Socket 1207) - Future AMD multi-processor systems using DDR2-SDRAM, including AMD Opteron, replaces Socket 940
• Socket AM2 - AMD single-processor systems using DDR2-SDRAM, replaces Socket 754 and Socket 939
Prepared by Bun khieng 47
eCIgsMrab;edateCIgsMrab;edat CPUCPU• Socket 4x4 - AMD dual-processor systems using DDR2-SDRAM,
allows two dual-core microprocessors side by side (2x AM2 sockets are rumoured).
• Socket P - Future Intel-based, replaces Socket 479 for notebooks (Expected 2007)
• Socket S1 - Future AMD-based mobile platforms using DDR2-SDRAM, replaces Socket 754 in the mobile sector
• PAC418 - Intel Itanium • PAC611 - Intel Itanium 2, HP PA-RISC 8800 and 8900 • FCPGA6 - Intel Core Solo, Intel Core Duo, Intel Dual-Core Xeon
and Intel Core 2 Duo • Slots• Slot 1 - Intel Celeron, Pentium II, Pentium III • Slot 2 - Intel Pentium II Xeon, Pentium III Xeon • Slot A - AMD Athlon • Slot B - DEC Alpha
Prepared by Bun khieng 48
• CPU– Company(intel,AMD,Cyrix…..)– Generation(Pentiun,PentiunII&III,Pentiun IV..)– Speed – Bus– Socket CPU– Slot CPU
Prepared by Bun khieng 49
VGA(Video Graphic Adapter)VGA(Video Graphic Adapter)• VGA(Video Graphic Adapter)
• VGA Ca hardware mYyRbePTsMrab;pþl; Graphic. VGAmanTMhMCaeRcIndUcCa³ 1MB, 2MB, 4MB, 8MB ,16MB, 32MB, 64MB, 128MB, 256MB ,512MB .
• eKEck VGA CaBIrKW
– VGA Cab;( VGA Build in board)
– nig VGA dac;(VGA Card ).
• VGA Cab;(Build 0n board)
– sMKal;eday man Graphic port Cab;nwg mainboard,
– KµanTMhM vga enAnwg Mainboard eT – TMhMrbs; VGA RtUvkat;ecjBI RAM(1MB, 2 MB, 4 MB, 8 MB,16 MB,
32 MB, 64 MB, 128 MB,256MB,512MB......) tam CMOS BIOS.
• NoteHow to share memory
– VGA > RAM =>Monitor not display– VGA = RAM =>Monitor not display– VGA < RAM =>Monitor display
Prepared by Bun khieng 50
VGA(Video Graphic Adapter)VGA(Video Graphic Adapter)• VGA card(VGA Card)
–sMKal;eday man Graphic port Cab;nwg card
– TMhM VGA enAelI card
–TMhMrbs; VGA minRtUvkat;ecjBI RAMeT.
• eQµaHsMrab;sMKal; VGA – CGA( Color Graphic Adapter) 2colors– EGA( Enhance Graphic Adapter) 16 colors– VGA (Video Graphic Adapter) 256 color– SVGA( Super Video Graphic Adapter) 16 million colors
Prepared by Bun khieng 51
Check VGA memoryCheck VGA memory• Start=> run =>dxdiag=>display
Prepared by Bun khieng 52
Check VGA memoryCheck VGA memory• Right click on desktop =>properties=>setting=>advanced =>Adapter.• CMOS BIOS• POST Screen
Prepared by Bun khieng 53
Slot on computerSlot on computer• 5. Component On Mainboard
• enAelI Mainboard rbs; computer man Slot cMnYn 3 RbePT KW slot ISA, PCI nig AGP Edl³
• -ISA(Industry Standard Architecture )KWCa Slot
EdlmanBN’exµA GacbBa¢Ún data )an 8 bit =>16bit .
• -PCI(Peripheral Component Interconnect) KWCa Slot
EdlmanBN’-sGacbBa¢Ún data )an 32 bit =>64bit• -AGP(Accelerated Graphic Port)
KWCaSlotEdlmanBN’etñatGacbBa¢Úndata)an 128bit .
• ** Note -cMeBaH Slot ISA and Slot PCI eKeRbIsMrab; connect
Expansion Card dUcCa³ VGA Card, sound card, modem card, USB card, Network card, SCSI card, TV card, IDE card and other expansion card…………………..
• -cMeBaH Slot AGP eRbIsMrab; connect Et VGA card
RbePT AGP b:ueNÑaH.
Prepared by Bun khieng 54
Expantion SLOT Expantion SLOT
SLOT PCI
Slot AGP
Prepared by Bun khieng 55
Componant on MainboardComponant on Mainboard
Slot RAM DIMM
Socket CPU
Power ATX port
FDD PortIDE PortSATA Port
SLOT
Cmos Battery
CPU FAN
Prepared by Bun khieng 56
Port ON COMPUTERPort ON COMPUTER• Vga port• PS/2 port• Paralell port• Serial port• Usb port• Modem port• Game port• Sound port• Network port• Firewire(IEEE1394
) port
PS/2 Port Serial Port Sound Port Nerwork port
USB Port
Firewire
Prepared by Bun khieng 57
Graphic portGraphic port
• Name on mainboard– VGA1– VGA-CON– VGA-HEADER
• Connect to :– Monitor– LCD Projector
Red
1 2 3
13 14
Green Blue
HerizontalVertical
Prepared by Bun khieng 58
USB PortUSB Port
• Name on mainboard– USB1– USB2– USB3
• Connect to 170 devices:– Mouse – Keyboard– Printer– Scanner– Flash Drive– Hdd External– Fdd External– …………………
+5 VDC
Data -
Data +
Ground
1 2 3 4
Prepared by Bun khieng 59
PS/2 portPS/2 port
• Name on mainbaord– PS/2
• Connect ot :– Mouse– Keyboard5v
DATA KeyN/C
ground
ClockN/C
Prepared by Bun khieng 60
Parallel portParallel port
• Name on mainboard– PRN1– PRINT– PRINTER– LPT1, LPT2,…..
• CONNECT OT:– Printer– Link PC to PC– Modem PRN1/PRINT/PRINTER
/LPT1, LPT2,…..
Prepared by Bun khieng 61
Serial PortSerial Port• Name on mainboard
– Com1– Com2– Com3– Com4– …….
• Connect to :– Modem– Mouse– Keyboard– Link pc to pc
Com1Com2Com3Com4
Prepared by Bun khieng 62
Sound portSound port
• Mic– Microphone
• Line in – Musical Instruments– Walkman
• Line out– Speaker– Earphone
• Games– Joystick– Musical Instruments
Prepared by Bun khieng 63
Network port Network port
• Network port– Connector RJ45– BNC connector
Prepared by Bun khieng 64
MAINBOARD
LPT/Print/printer/PRN1
COM1/COM2/COMA/COMB
VGA1/VGA-CON/VGA-HEADER
GAME
AUDIO
LAN
USB1/USB2
USB portParallel Port
Serial Port
Graphic Port
audio Port
game Port
Network Port
Prepared by Bun khieng 65
Note Note • The expansion card are determined by port on the card
VGA CARD NETWORK CARD
USB CARDSOUND CARD
Prepared by Bun khiengPrepared by Bun khieng 6666
JUMPER(JP)JUMPER(JP) How to use jumperHow to use jumper How to configure jumperHow to configure jumper How to set jumperHow to set jumper How to clear cmosHow to clear cmos
Prepared by Bun khieng 67
•Definition– Jumpers allow the computer to close an electrical circuit allowing the
electricity to flow throughout certain sections of the circuit board. Generally, the jumpers consist of a set small pins which can be covered with a small plastic box. This box connects the two pins together allowing the electricity to flow freely between the two pins.
– Jumpers are used to configure computer peripherals such as Hard Drives, Modems, Sound Cards, and various other components. For example, when installing a new hard drive, you may need to change the jumper settings depending if the hard drive is a master drive or a slave drive.
Jumper pin
Jumper
Prepared by Bun khieng 68
DIP SwitchDIP Switch• Dip switches are designed with the
same intentions as jumpers. However, instead of having to remove the jumper block and placing it over separate pins, dip switches are actual small switches which can be turned to the ON or OFF position.
• Like jumpers, Dip Switches are used to configure computer peripherals such as Hard Drives, Modems, Sound Cards, and various other components. Generally, however, Dip Switches are usually only found on PC Boards such as the Motherboard, Sound Card, or other PC Boards.
Prepared by Bun khieng 69
JumperJumper• Hardware that has jumper
– Hard Disk– CD-ROM– CD-RW– DVD-ROM– DVD-RW– Mainboard– Expansion Cards
1. Jumper on Hard DiskThey use jumper on HDD to configure the funtion on the HDD when we connect the HDD to Mainboard. One HDD or more than one HDDs to the mainboard.a. Names of Jumper on the HDD
- Master(M): Used to configure First running of HDD-Slave (S):Used to cofigure the second running of HDD-Cable Selector(CS): Used to configure the last Running of
HDD
Prepared by Bun khieng 70
JumperJumper• Example
Master(Win2000)Slave (WinXP)
IDE
HDD1HDD2
It has to run from HDD Master (Win 2000)
Mainboard
Master(Win2000) Slave (WinXP)
IDE
HDD1 HDD2
It has to run from HDD Slave (Win XP)
Mainboard
Mainboard
Master(Win2000)CS (WinXP)
IDE
HDD1HDD2
It’s function like SLAVE
CS(Win2000)Slave (WinXP)
IDE
HDD1HDD2
It’s function Like Master Mainboard
Prepared by Bun khieng 71
How to set jumper How to set jumper
IDE Port Jumpter Power port
• How to set jumper on HDD ,you have to look for the advice on the HDD.
• For Example– 1.
– 2.
– 3
Master
Slave
Cable Selector
Slave Master Cable Selector
Master
Slave
Cable Selector
Advice for jumper
Prepared by Bun khieng 72
Jumper on HDDJumper on HDD
• Name on IDE– IDE 1
• Primary Master• Primary Slave
– IDE 2• Secondary Master • Secondary Slave
HDD1
HDD2Master
Slave
IDE1Primary
HDD1
HDD2Master
Slave
IDE2secondary
Prepared by Bun khieng 73
jumperjumper
• Note– If two HDDs connect to only one
IDE we have to check jumper on HDD before connect.
– If two HDD connect to deferent IDE we do not need to check jumper.
– When we connect CD-ROM, CD-RW, DVD-ROM, DVDRW,and HDD together we have to check them like above.
HDD1
HDD2Master
Slave
IDE1Primary
HDD1HDD2MasterSlave
IDE2secondary
Prepared by Bun khieng 74
jumperjumper• If you connect
another hard disk to the comuter to copy data, You can connect this hdd as slave (only one IDE)
HDD1
HDD2Master
Slave
IDE1 or 2Primary /secondary
Prepared by Bun khieng 75
jumperjumper• If you connect
another hard disk to the comuter to copy data, You can connect IDE 2 (IF 2 deferent IDE)
HDD1
IDE1
HDD2
Slave/Master
IDE2
Slave/Master
Prepared by Bun khieng 76
Jumper on mainboardJumper on mainboard
• Jumper on mainboard TXPro II– JP4:clear CMOS Memory
– Note: you can see jumper clear CMOS • it is near the CMOS Battery• There are 3 or 4 pins of jumper• Use the words”Normal, Default, Battery on, Clear CMOS”
Normal (mainboard works normally)
Clear CMOS Memory(mainboard does not work )
1 2 3
Prepared by Bun khieng 77
How to clear CMOSHow to clear CMOS
• Note– We clear CMOS when
• CMOS Error• Mainboard Error(error1**)• Can not open CMOS• Cannot remember hardwares• POST (Power On Self Test) screen error • Password CMOS
1 2 31 2 3
30s
2 31
Power off all activities
normal
Clear CMOS
normal
Prepared by Bun khieng 78
Jumper on mainboardJumper on mainboard
• Jp6: DIMM Voltage Selector
3.3v (DIMM use 3.3v for RAM)
5v (DIMM use 5v for RAM)
1 2 3
1 2 3
Prepared by Bun khieng 79
Jumer on mainboardJumer on mainboard
• Jp2: Enable/Disable on board Audio
Enable (mainboard use Fax/Modem on board)2
Disable (Mainboard does not use Fax /Modem on board )
1
Enable (mainboard use sound on board)2
Disable (Mainboard does not usesound on board )
1
•Jp8: Enable/Disable on board fax modem
Prepared by Bun khieng 80
Jumper on mainboardJumper on mainboard
• Note– If sound build on board and mainboard has jumper for
sound when we install sound card we have to disable sound on board.
– If sound build on board but mainboard has no jumper when we install sound card it will disable on board sound automatically.
– If sound build on board but mainboard has no jumper some maimbord, when we install sound card they all work but we have to select Driver that we want to use.
Prepared by Bun khieng 81
• Start => setting => control panel=>sound and audio device=>audio=> ( select driver you want to use )=> ok
Prepared by Bun khieng 82
Jumper on mainboardJumper on mainboard
• Jp2:LAN Enable/Disable
Enable (Network on mainboard works normally)
1 2 3
Disable (Network on mainboard does not work )
5v (Network use 5 voltage to work)
1 2 3
Standby 5v (Network does not work 5 voltage not use for it )
Use this jumper to Save power
•Jp5:LAN Power selector
Prepared by Bun khieng 83
Jumper on mainboardJumper on mainboard• Jp7: Enable/disable on board Graphic Adapter
1 2 3
Enable (VGA on mainboard works normally)
Disable (VGA on mainboard does not work ) when we install VGa Card
Prepared by Bun khieng 84
DIP SwitchDIP Switch• We always use DIP Switch to configure the CPU Speed.• Example:
1 2 3 4 5 6
ON
OFF
DIPCPU Speed
1 2 3 4 5 6
166 MHz ON ON ON ON ON ON
200MHz ON ON ON ON ON OFF
300MHz ON ON ON ON OFF OFF
Prepared by Bun khieng 85
DIP SwitchDIP Switch
1 2 3 4 5 6
ON
OFF
DIPCPU BUS
1 2 3
166 MHz ON ON ON
200MHz ON ON off
300MHz ON off off
333MHz off off off
366MHz Off On On
400MHz Off Off on
DIPMulti
4 5 6
1x ON ON ON
2x ON ON Off
3x ON Off Off
4x Off Off Off
5x Off On Off
6x Off On On
7x On On off
Prepared by Bun khieng 86
Storage deviceStorage device• Hdd
– IDE– SATA– SCSI
• Fdd– 5.25inches– 3.5 inches
• CD-ROM– CD– CD-RW– CD-R
• Dvd– DVD-ROM– DVD-RW– DVD-R
• Flash
Prepared by Bun khieng 87
FDD( Floppy Disk Drive)FDD( Floppy Disk Drive)definition
–Cahardare mYyRbePT read and write elI diskettes .• Floppy disk man5 RbePTepSg²KñaKW
– 360 KB(5.25 Inch) – 1.2MB(5.25 Inch)– 720 KB(3.5Inch)– 1.44MB(3.5Inch)– 2.88MB(3.5 Inch)
FDD 5.25 inch
FDD 3.5 inch
Prepared by Bun khieng 88
How connect Floppy disk bableHow connect Floppy disk bable
Drive B:
Drive A:
Mainboard
5.25 inch
3.5 inch
PORT FDD/FDC
Prepared by Bun khieng 89
Hard Disk DriveHard Disk Drive• Hard disk is the hardware that use to store
data perminantly.there are three king of hard Disk – IDE hard Disk– Sata Hard Disk– SCSI Hard Disk
Prepared by Bun khiengPrepared by Bun khieng 9090
INSTALLATIONINSTALLATION HARDWAREHARDWARE
Install power supplyInstall power supply Install mainboardInstall mainboard Install RAMInstall RAM Install CPU,CPU FANInstall CPU,CPU FAN Install HDD, FDD,CD-ROM,CD-RW,DVD-ROM Install HDD, FDD,CD-ROM,CD-RW,DVD-ROM
DVD-RW.DVD-RW. Install Expansion card and bracketInstall Expansion card and bracket Install jumper Install jumper
Prepared by Bun khieng 91
1. -Install Power Supply: edaycab; Power
Supply P©ab;eTAnwg case . power Supply man connector 8 ( Power Supply AT ) nig connector 7
(Power Supply ATX )Edl – connector FM² 2 dUcKña( Power Supply AT)
nig
connector FM1(power Supply ATX) : sMrab; connect
eTAkan;Mainboard(cMeBaH power supply AT
RtUvcab; ExSexµATl; exµA.– connector FM² 4 dUcKña sMrab;
connect eTAkan; Hard disk , CD ROM , CD RW , DVD ROM, DVD RW, ZIP Disk , CPU Fan.
– connector tUc² 2dUcKña : sMrab; connect
eTAkan; FloppyDisk(drive A: , drive B:).
Prepared by Bun khieng 92
Installation HardwareInstallation Hardware2. -Install Mainboard : edaycab; Mainboard P©ab;eTAnwg
case .• -Install CPU (Central Processing Unit):edayedat CPU eTAnwg
socket rW Slot SECC .
• -Install CPU Fan: edaycab;P©ab;eTAnwg Heatsink(EdkRtCak;) ehIy Heatsink cab;P©ab;eTAnwg
CPU. ExS Fan edateTAkan; Mainboard Rtg; Port eQµaH CPU Fan.
• -Install RAM(Random Access Memory): edayedateTAkan;
Mainboard tam Slot DIMM rW SIMM .
• - Install HDD(Hard Dsk Drive):edayedateTAnwgExS IDE
nig P©ab;eTAnwgExS Power Supply
(ExSRkhmTlRkhm) ehIyExS IDE
mçageTotedayeTAkan; Mainboard Rtg; Port IDE1 rW IDE2 (ExSRkhmCa eCIg TImYy).
Prepared by Bun khieng 93
Installation HardwareInstallation Hardware• Install CD-ROM: (krNIdUc Hard Disk)• - Install CD-RW: (krNIdUc Hard Disk)• - Install DVD-ROM: (krNIdUc Hard Disk)• - Install DVD-RW: (krNIdUc Hard Disk)• - Install FDD: edayedateTAnwgExS Floppy
Disk nig P©ab;eTAnwgExS Power Supply (ExSRkhmTlRkhm rW RkhmEbrecjGaRs½ynwgExS Power Supply connect mun) ehIyExS Flopy Disk mçageTotedayeTAkan; Mainboard Rtg; Port FDD rW FDC (ExSRkhmCa eCIg TImYy).
Prepared by Bun khieng 94
Installation HardwareInstallation Hardware• - Install Expansion Card:
– install VGA Card, sound Card , Network Card, Modem Card, USB Card, TV Card, SCSI Card, IDE Card
....................: edayedateTAkan; Slot ISA nig PCI .
– Install VGA Card: edayedateTAkan; Slot ISA, PCI nig AGP .• Install Expansion Bracket
– Parallel expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH (PRN1, Print, Printer, LPT1 , LPT2........)
– Serial expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH (com1, com2 , ComA, ComB)
– USB expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH (USB1, USB2)
– Game expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH(Game )
– Sound expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH( Game MIDI, Audio)
– Graphic expansion bracket: edayedateTAkan; Maiboard Rtg; Port eQµaH (VGA1, VGA Header, VGA-con)
– Network expansion bracket: edayedateTAkan; Maiboard Rtg; Port
eQµaH (LAN)
Prepared by Bun khieng 95
Installation HardwareInstallation Hardware•
-Set jumper power on/off ,Reset, ePøIg Hard Disk, ePøIg Power LED
-Reset : Ca Button restart
-Power on/off :Ca Button power On/Off
-HDD LED : ePøIgBN’RkhmsMKal;
Hard Disk dMeNIrkar.-Power LED : ePøIgBN’ébtgsMKal;
Machine kMBugdMeNIrkar.-Speaker : sMKal;sMelgecjBI Mainbord
(krNI Error code Mainboard)
Prepared by Bun khieng 96
HDD LED SPEAKER
POWER LED
PWS
RESET
MAINBOARD
Prepared by Bun khiengPrepared by Bun khieng 9797
CHECK SYSTEM HARDWARECHECK SYSTEM HARDWARE
Why don’t hardware work?Why don’t hardware work?
Why doesn’t monitor display?Why doesn’t monitor display?
Solve the problem of hardwareSolve the problem of hardware
Know the message when POST ScreenKnow the message when POST Screen
Prepared by Bun khieng 98
1 Check Power Supply( krNI Error)
•krNI Monitor min Display
– Connect DuycUl Power Supply mindit– Connect DuycUl Mainbord mindit–kgðar Power Supply KaMg– Power Suppy
pÁt;pÁg;crnþminRKb;RKan;– Power Supply xUc
Prepared by Bun khieng 99
Check System HardwareCheck System Hardware
2 Check RAM( krNI Error)
•krNI Monitor min Display– RAM Connect mindit ( bnøWsMelg TIt _
_ _ _ _)
–eCIg connect RAM xUc( bnøWsMelg TIt _ _ _ _ _)
– RAM min Support nwg Mainboard
– RAM xUc•krNI Monitor Display
– Setup Program mincUl– Message (Windows Protection Error)
Prepared by Bun khieng 100
3 Check CPU( krNI Error)• krNI Monitor min Display
– Connect CPU mindit– eCIg connect CPU(Socket or Slot) xUc– eCIg CPU vac– CPU min Support nwg Mainboard
– CPU xUc•krNI Monitor Display
– Setup Program mincUl– Message ( System Halt Error)
– tMeNIrkarehIyrlt;eTAvij (CPU ekþAeBk)
Check System HardwareCheck System Hardware
Prepared by Bun khieng 101
Check System HardwareCheck System Hardware
4 Check Mainboard( krNI Error)
–krNI Monitor min Display
• Mainboard qøg Cashe
• Mainboard xUc• Mainboard eqH Chipset
–krNI Monitor Display• setup windows Error
• Message ( Error 1 * * ) ]TahrN_ Error 161Ca ( Error ROM BIOS)
Prepared by Bun khieng 102
Check System HardwareCheck System Hardware
5 Check VGA( Video Graphic Adapter) ( krNI Error)
– krNI Monitor min Display
•VGA Connect mindit
• ECIg connect VGA xUc
•VGA xUc
–krNI Monitor Display
•Ebk Color RBal²emIlminyl;•GkSrdac;Can;elIKña
Prepared by Bun khieng 103
Check System HardwareCheck System Hardware
6 Check Monitor( krNI Error)
– Check CPU– Check RAM– Check Mainboard– Check VGA– Check Power Supply
Prepared by Bun khieng 104
• -POST SCREEN (Power On Self Test): – It is desplayed When you power on computer.
• System Board Errors: (1xx)
code Description
101 System board interrupt failure (unexpected interrupt)
102 BIOS ROM checksum error (PC, XT); timer error (AT, MCA)
103 BASIC ROM checksum error (PC, XT); timer interrupt error (AT, MCA)
Prepared by Bun khieng 105
CODE ERROR HARDWARE WHEN POST CODE ERROR HARDWARE WHEN POST SCREENSCREEN
• Memory Errors: (2xx)
code Description
20x Memory error
201 Memory test failure; error location might be displayed
202 Memory address error; lines 00-15
203 Memory address error; lines 16-23 (ISA) or 16-31 (MCA)
Prepared by Bun khieng 106
CODE ERROR HARDWARE WHEN POST SCREENCODE ERROR HARDWARE WHEN POST SCREEN
code Description 301 Keyboard did not respond correctly
301 Keyboard locked
303 Memory address error; lines 00-15
304 Keyboard and/or system board interface error;
305 keyboard controller fault Keyboard or system unit
306 Keyboard fuse failed on system board
• Keyboard Errors: (3xx)
Prepared by Bun khieng 107
code Description 601 General diskette or adapter failure 602 Diskette boot sector is not valid
603 Diskette size error
604 Media sense error
605 Diskette drive locked
Floppy Drive/Controller Errors: (6xx)Floppy Drive/Controller Errors: (6xx)
Prepared by Bun khieng 108
Math Coprocessor Errors: (7xx)Math Coprocessor Errors: (7xx)
code Description 701 Math coprocessor presence/initialization error
702 Exception errors test failure
703 Rounding test failure
704 Arithmetic test 1 failure
705 Arithmetic test 2 failure
706 Arithmetic test 3 failure; Test is performed on 80387 only
Prepared by Bun khieng 109
Parallel Printer Adapter Errors:(9XX)Parallel Printer Adapter Errors:(9XX)
code Description
901 Data register latch error
902 Control register latch error
903 Register address decode error
904 Address decode error
910 Status line wrap connector error
911 Status line bit 8 wrap error
912 Status line bit 7 wrap error
Prepared by Bun khieng 110
Enhanced Graphics Adapter or Video Graphics Adapter Enhanced Graphics Adapter or Video Graphics Adapter Errors:Errors:
code Description 2401 Video adapter test failure
2402 Video display error
2408 User indicated display attribute test failed
2409 Video display error
Prepared by Bun khiengPrepared by Bun khieng 111111
CMOS BIOS SETUPCMOS BIOS SETUP
CONFIGURE HARDWARECONFIGURE HARDWARE
Prepared by Bun khiengPrepared by Bun khieng 112112
CMOS BIOS SETUPCMOS BIOS SETUP CMOSCMOS (Complementary Metal Oxide Semiconductor) (Complementary Metal Oxide Semiconductor) BIOSBIOS ( Basic Input Output System) ( Basic Input Output System) SetupSetup=configure ,install=configure ,install
DefintitionDefintition Cmos bios Cmos bios is the software that used to is the software that used to configure hardwareconfigure hardware
and and coordinate hardware and Operating Systemcoordinate hardware and Operating System.. How to Open CMOS BIOSHow to Open CMOS BIOS
Power on => look for message on the screen (Press : Power on => look for message on the screen (Press : F1,F2,F3,F1,F2,F3,…………..F12 ,DEL, Ctrl +Alt + Esc, Ctrl +Alt + Enter, Ctrl +Alt …………..F12 ,DEL, Ctrl +Alt + Esc, Ctrl +Alt + Enter, Ctrl +Alt + F1, Ctrl +S, Ctrl +insert, Ctrl + Enter, Ctrl PU/PD………………)+ F1, Ctrl +S, Ctrl +insert, Ctrl + Enter, Ctrl PU/PD………………)
To To setupsetup Inter Inter setupsetup Bios Bios setupsetup SetupSetup Cmos Cmos setupsetup
Ex: PRESS Ex: PRESS F2 F2 TO TO SETUPSETUP
Prepared by Bun khiengPrepared by Bun khieng 113113
notenote How to open cmos biosHow to open cmos bios
If computer If computer Brand nameBrand name: we always use : we always use function key(F1, F2, F3,……….F12)function key(F1, F2, F3,……….F12)
IF computer IF computer cloneclone : we use key : we use key (del (del and and other key)other key)
If your computer does not display message: If your computer does not display message: you want your computer to show message you want your computer to show message on the screen, you have to on the screen, you have to remove IDE remove IDE cable from the mainboard computer.cable from the mainboard computer.
Prepared by Bun khiengPrepared by Bun khieng 114114
BIOSBIOS Interface of biosInterface of bios
The interface of bios is deferent to each The interface of bios is deferent to each other.other.
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Cmos bios
Prepared by Bun khiengPrepared by Bun khieng 115115
biosbios How to use key to control biosHow to use key to control bios
The CMOS BIOS use the The CMOS BIOS use the deferent key to deferent key to control CMOS BIOScontrol CMOS BIOS such as: such as:
Esc=QuiteEsc=Quite Enter =selectEnter =select F10= saveF10= save F2= Change colorF2= Change color F5 = default valueF5 = default value +/-/page up/page down= modified value+/-/page up/page down= modified value …………………………………………………………………………....
Prepared by Bun khiengPrepared by Bun khieng 116116
MS DOS MS DOS (Microsoft Disk Operating system(Microsoft Disk Operating system))
Prepare hard Disk to store dataPrepare hard Disk to store dataRepair Hard DiskRepair Hard DiskConfigure partitionConfigure partitionUse commandUse command
Prepared by Bun khieng 117
Ms DOS(Miscorsoft Disk Ms DOS(Miscorsoft Disk Operating System)Operating System)
• Definition– Ms Dos is the operating system that run by typing command .– FOR computer repair use ms dos to prepare hard disk to store data.
• Kind of ms dos– Ms dos mode – Ms dos prompt
Prepared by Bun khieng 118
Kind of Ms dos Kind of Ms dos – Ms dos mode is the ms dos dos that run not depend on windows– Ms dos prompt is ms dos run on windows
• How to Open Ms dos – Ms dos mode
• Use CD boot or diskette boot (power on => CMOS =>BOOT from CD-ROM=> insert CD BOOT)
– MS DOS PROMPT– WINDOW 95,98
– Start => Run => command=>ok– Start=>program=> ms dos prompt– Power on =>f8=> command Prompt only
– Windows me– Start => Run => command=>ok– Start=>program=> Accessory =>command prompt
– Window 2000,XP– Start => Run => command or cmd=>ok– Start=>program=> Accessory =>command prompt– Power on =>f8=>safe mode with command Prompt
Prepared by Bun khieng 119
notenote
• We always use ms dos mode in computer repair because the HDD is not store windows yet, so we have to prepare HDD to store data with ms DOS mode the run from CD BOOT or diskette.
Prepared by Bun khieng 120
FatusMxan;²kñúg MS MS DOSDOS
•A:\> sMKal; Prompt A
•B:\> sMKal; Prompt B
•C:\> sMKal; Prompt C
• D:\> sMKal; Prompt D
• (C:) ehAfa drive
•(\) ehAfa Back Slash
•(/) ehAfa Slash rW orward Slash
•(>) ehAfa Greater than
•(.) ehAfa Dot
•(-) ehAfa Cursor
Prepared by Bun khieng 121
DIRECTORYDIRECTORY• Directory: Ca RbGb; XaøMg rW ft
eRbIsMrab;pÞúk Éksar rWkmµviFIepSg². Directory manbIRbePT KW current directory, Parents Directry nig Root Directory .
• Current Directory : Ca directory EdlkMBugdMeNIkar rW ehAfa working Directory EdlsMKal;eday (.) .
• Parents Directory : Ca directory Edlmanfñak;xçs;Cag current Directory EdlsMKal;eday(..)
• Root directory : Ca directory Edl manfñak;xçs;CageK EdlsMKal;eday (\).
• Subdirectory : Ca directory EdlsßitenAkñúg directory
mYyepSgeTot.
Prepared by Bun khieng 122
filefile• File : Ca sMNMuÉksar. File manbIRbePT KW File
Document , File Program nig other Program File .
file document *.doc (file word) *.xls (file Excel) *.dmb (file Access) *.ppt (file power piont)
Other Program file*.dll*.drv*.ini*.inf*.log)
File Program *.Exe(execute )*.Sys(system)*.Com(communication)*.Bat(Batch file)
Prepared by Bun khieng 123
COMMAND USING WTIH DIRECTORYCOMMAND USING WTIH DIRECTORY
• - DIR ( Internal):
eRbIsMrab;emIlTinñn½ykñug drive,
Folder rYmmaneQµaH directory, file, date, time
nig size
• Syntax
– [Drive]dir • exampe: c:\>dir
– [Drive]dir [Drive]• exampe: c:\>dir d:
– [Drive]dir [Drive]path[directory]• exampe: c:\>dir d:\games
• Note– ( path=\) is used to tell where the file or folder is.
Prepared by Bun khieng 124
DIRDIR
Prepared by Bun khieng 125
COMMAND USING WTIH DIRECTORYCOMMAND USING WTIH DIRECTORY
• MD(Internal)=Make Directroy : sMrab;begáItdirectory– C:\>md names
• CD(Internal)=Change Directory sMrab;cUlkñúg directory– C:\>cd names– C:\names>
• CD .. ( Internal) : cakecjBI directory mþgmYy²– C:\names>cd..– C:\>
• CD\ (internal) : cakecjBI directory nig Subdirector– C:\gmes\ame32\ninja>cd\– C:\>
• RD(internal)=Remove Directory– C:\>Rd names
• CLS(internal) : sMGat Screen– C:\>CLS
Prepared by Bun khieng 126
Make directoryMake directory
• C:\>md names
• C:\>cd names
• C:\names>md dara
• C:\names>md chenda
• C:\names>md bopha
• C:\names>cd..
• C:\>
names
chenda
dara
bopha
C:\>
Prepared by Bun khieng 127
Remove directoryRemove directory• C:\>cd names• C:\ names>• C:\names>rd dara• C:\names>rd chenda• C:\names>rd bopha• C:\names>cd..• c:\>rd names
names
chenda
dara
bopha
C:\>
Prepared by Bun khieng 128
EXERCISEEXERCISE• Create and Remove the following directories
names
chenda
dara
bopha
C:\>
Games
Mario
Ninja
Ury
chenda
CPU
HDD
chenda
dara
bopha
RAM
Ur1
Ur2
Ur3
hardware
Prepared by Bun khieng 129
COMMAND USING WTIH DIRECTORYCOMMAND USING WTIH DIRECTORY
• copy con (internal) : eRbIsMrab;begáIt Files– C:\>copy con chapter1.doc
The website for Programming with java inclodes theintired intruction resause kit sollution to all text
exercise in chapter( ctrl +z or F6)
– C:\>copy con chapter1.xlsThere are a lot of the auniversities in Phnm Penh City.( ctrl +z or F6)
• Type ( internal) :
eRbIsMrab;emIlxøwmsar files– C:\>type Chapter1.doc
• Edit (external) : eRbIsMrab;Ekrxøwmsar Files– C:\>Edit Chapter1.doc
Prepared by Bun khieng 130
•-Del (internal): eRbIsMrab;lb; Files
– C:\>del Chapter1.doc
–C:\>del *.doc ( lb; files word TaMgGs;)
–C:\>del *.* (lb; file TaMgGs;)
•Deltree (External): eRbIsMrab;lb; Directory nig file (windows 95, 98,Me)
– C:\>deltree games Y– C:\>deltree/y games
• RD/s(External)= deltree (windows 2000, XP, 2003, 2005, .......)– C:\>rd/s games Y– C:\>rd/s/q games
•Ren(internal): eRbIsMrab;bþÚreQµaH directory rW files
– C:\>ren games games32 – C:\>ren chapter1.doc Chapter1.xls – C:\>ren chapter1.doc chapter2.doc – C:\>ren Chapter1.doc chenda.ppt – C:\>ren *.doc *.ppt
Prepared by Bun khieng 131
•copy (internal): eRbIsMrab; copy files – C:\>copy chapter1.doc d:– C:\>copy *.doc D:– C:\>copy *.* d: – C:\>copy d:chapter1.doc e: – C:\>copy chapter1.doc d:\games
•xcopy(external): eRbIsMrab; copy directory, files nig begáIt directory fµImYyeTot–
C:\>xcopy games d:\games32 cuc D – C:\>xcopy chapter1.doc D: – C:\>xcopy *.doc D: – C:\>xcopy *.* D:
• -Diskcopy(External): eRbIsMrab; copy kñúg FDD – A:\>diskcopy chapter1.doc B: – B:\>diskcopy Chapter.doc A:
Prepared by Bun khieng 132
•Attrib(External): eRbIsMrab;lak; direcotory rW files
C:\>Attrib/?Displays or changes file attributes.ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename] [/S [/D]]
+ Sets an attribute. - Clears an attribute. R Read-only file attribute. A Archive file attribute. S System file attribute. H Hidden file attribute. [drive:][path][filename] Specifies a file or files for attrib to process.
/S Processes matching files in the current folder and all subfolders.
/D Processes folders as well.
C:\>attrib +a +s +h +r Games ( lak; directory)
C:\>attrib +a +s +h +r Chapter1.doc ( lak; file)
C:\> attrib -a -s -h -r Games (bgðaj directory Edllak;)
C:\> attrib -a -s -h -r Chapter1.doc (bgðaj file Edllak;
Prepared by Bun khieng 133
• 5. COMMAND CHANGE DRIVE – C:\>A: – A:\>B: – B:\>D: – D:\>
• 6. COMMAND CHANGE COLOR - windows 2000, XP, 2003, 2005, ......
C:\>color/? Sets the default console foreground and background colors.COLOR [attr] attr Specifies color attribute of console outputColor attributes are specified by TWO hex digits -- the firstcorresponds to the background; the second the foreground. Each digitcan be any of the following values:
0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright WhiteC:\>color 71 colorbackground colorcharactor-windows 95, 98 Me
C:\>copy con config.sysdevice=c:windows\command\ansi.sys(Ctrl+Z or F6)
C:\>copy con autoexec.bat Prompt $e[1;31m $e[1;41m $p$g (Ctrl+Z or F6)
(restart Machine)
Ekr color C:\> edit autoexec.bat EkrRtg; ( [1;31m & [ 1;41m )
Prepared by Bun khieng 134
• . OTHER COMMAND
-Date (external): kMnt;
kalbriecäT– C:\>date – The current date is: Wed 01/01/1997– Enter the new date: (mm-dd-yy)
•Time(External):kMnt;em:ag
– C:\>time – The current time is: 7:32:30.81– Enter the new time:
•-Ver(External):emIl version windows
– C:\>ver – Microsoft Windows XP [Version 5.1.2600]
• -Vol
(External):emIleQµaHsMKal; drive
C:\>vol Volume in drive C is Important Volume Serial Number is E02A-210D
•Label(External):dak; eQµaHsMKal; drive
• C:\>label – Volume in drive C: is Important– Volume Serial Number is E02A-210D– Volume label (ENTER for none)?– Delete current volume label (Y/N)? n
•Mem(External):emIlcMnuH Memory
• C:\>mem – 655360 bytes total conventional memory– 655360 bytes available to MS-DOS– 634096 largest executable program size– 1048576 bytes total contiguous extended
memory– 0 bytes available contiguous extended
memory– 941056 bytes available XMS memory– MS-DOS resident in High Memory
Area
Prepared by Bun khieng 135
• 8 COMMAND USING WITH DISK
• -Chkdsk (external) : eRbIsMrab;emIlcMnuH drive– C:\>chkdsk – C:\>chkdsk D:– D:\>chkdsk
• -Scandisk(External): eRbIsMrab;CYsCul disk Edl Error – C:\>Scandisk
• -Format (External): eRbIsMrab;erobcM track sector sarCafµI– C:\>format D: – C:\>format D:/s/q/c/u
S: ehA File System
Q: Quick FormatC: Scandisk
U: Unsuitable (cab; bad Block)
• rebobeFVIkmµviFI Ms DOS dak;kñúg Diskette( Start Up Disk)
• ( eFVI)ancMeBaH Windows 95, 98, Me)– -Start Setting control Panel Add/Remove Program Windows setup Start Up disk dak;
Diskette cUl OKOK