If you cannot type commands on CMD, there can be many reasons behind it. This could be due to a faulty keyboard, corrupt system files, lack of required permissions, and many other reasons. You can follow the fixes given above to resolve the issue.