A key not working usually indicates a faulty keyboard.
You don't mention if that laptop is running Windows 7 or 8/8.1 or 10.
If it's Windows 8.1 or 10, there is a way to do a reset on Windows that will restore it back to a factory condition.
If it is Windows 7, you will have to do a reinstall of Windows or use the recovery options.