Since a lot of people are still having this issue, I just have to post it here one more time. Having a keyboard with the wrong layout can be very frustrating, especially to tech professionals. Imagine not being able to use the pipe key | simply because your keyboard is on a wrong setting. So, see below, from my old posts on what to do when your keyboard has a wrong layout; how to correct keyboard errors arising from wrong key layouts.
You got a laptop and everything was cool but just when you pressed the shift+3 keys, the character that appeared wasn’t the # key. All hell is let loose!!! Don’t panic. Trust me. There is no need for that. Why? Because I said so. When you have a US layout keyboard but a UK language setting, then you are bound to experience the problem under consideration. All you have to do to correct this is simply go to the language setting in the control panel and change it to US English. Here is how to go about it:
Click on start >> Go to control panel
Click on add language
You may also like: how to install and run Ubuntu from usb drive
Scroll down to English, click on it and choose US English
Click on the US English and click on move up
Finally, click on the UK English and click on remove
Guys, there you have it. I hope this helps.