per la ram basta avviare con un CD linux che abbia l'opzione per il "memtest". Per l'HD non so, ma penso che qualche test esista.