Hi safiah,
If most of the keys are not working even in command prompt, I suspect the keys are faulty. Please click on the link below to check the warranty of the system. In case the system is under warranty, send me a private message with the system service tag to assist you further. Please click on my name and click Start Conversation to send me a private message.
In case the system is Out of warranty, let me know the regions you belong to, to provide the contact information to get the Keyboard replaced.