torre said:
Did you check the keyboard driver (device manager) ?

Sounds like a defective keyboard. If not a driver issue, may be moisture in the keyboard.
As cbwilsha says above
You shouldn't have to "fix" a brand new computer!
I shall return it and accept a replacement or money back but not a repair. A brand new pc out of the box should be faulty.