This study presents an expert system utilizing rule-based techniques to diagnose computer hardware failures efficiently, allowing users to identify issues without inspecting each component individually. The system covers nine categories of hardware failures and implements decision tables and data mining techniques for analysis. The findings suggest that using the expert system significantly reduces the time required for diagnosing faults compared to manual methods.