I will buy a used PC and I want to know how many hours the PC has worked.
I have already found :
systeminfo | findstr /C:"Install Date"
systeminfo | findstr /C:"BIOS Version"
but I need to know how many hours the PC has worked (used)
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityYou can use a software like CrystalDiskInfo to get the "Power on hours" of the hard drive.
Just keep in mind that the HDD may have been replaced and thus be newer than the PC.
If the computer has a computer which has been used from scratch with the computer you can check the hours used on the monitor with the ddcutil command. first you need to find if the monitor has that capability by the command
sudo ddcutil capabilities
if it has it will be something like Feature 0C (display usage time) and you could get the information by the command
sudo ddcutil getvcp 0C
and it will tell you how many hours it has been on. getvcp is used for getting info from the computer. you can also do some cool stuff with ddcutil like setting the brightness and so on without touching the monitor.
systeminfo
is no good if the OS has been reloaded at any time.systeminfo
is also not useful for your metrics. Most likely, any date gathered from there will be well before the PC was ever first booted - in fact, it could even be well before the motherboard was actually built. If previous owners kept the BIOS up to date though, then the date will be well after the system's first boot.