THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Greg Low (The Bit Bucket: IDisposable)

Ramblings of Greg Low (SQL Server MVP, MCM and Microsoft RD) - SQL Down Under

Entering a backslash when using UK keyboard layout on US keyboard

This blog has moved! You can find this content at the following new location:

Published Monday, July 14, 2014 7:12 PM by Greg Low

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS



Enrique Madrid said:

The Brits are too polite to backslash over anything :-)

July 14, 2014 10:00 AM

ed (English) said:

The funny is thing is that I recently bought a laptop from eBay and it has a us keyboard so this is really I useful!

I've just been using the us layout but prefer uk!

July 29, 2014 3:12 PM

David from Kenya said:

Thanks a bunch buddy, that was really helpful.

September 19, 2014 7:15 AM

Zacy5000 said:

Or you could use 'Alt Gr + The normal US button for backslash'.

Alt Gr is the one to the right hand side of the space bar and the normal US button for the backslash is next to the enter button and shift key (may slightly differ on different keyboards). This is much easier then using the Alt code.

December 11, 2014 3:40 PM

nish said:

alt gr+ The normal US button for backslash'.not working

December 27, 2014 10:49 PM

good said:

THX alot greg.. very helpful

January 4, 2015 9:50 PM

Zacy5000 said:

you may need to have the US keyboard as a secondary keyboard on the computer.

January 28, 2015 8:33 AM

Ricky said:

@Zacy5000 - this does not work unfortunately.

February 19, 2015 12:26 PM

Ironsfan said:

ALT 92 works perfect, Thanks a bunch mate!

March 8, 2015 1:57 AM

payal said:

atl 92 is not working

April 8, 2015 11:05 PM

Greg Low said:

Are you trying this while in UK settings on a US keyboard?

April 8, 2015 11:18 PM

Darren said:

Try Ctrl + alt + (# or whatever the backslash button on your keyboard is). This works on my asus laptop when I change it to UK layout.

April 15, 2015 1:44 PM

Greg Low said:

That's the point though. On the keyboard I was using, no key did this, with or without other key combinations.

April 15, 2015 5:41 PM

Phil said:

Brilliant - I had IT people struggle with this, until my wife found your post!

Thank you

May 14, 2015 8:36 AM

sid said:

nice working

May 19, 2015 4:09 PM

Sarah said:

I found this post because I have the same problem on my HP Chromebook 11. (It's not Windows, but rather Google Chrome OS, but still the same problem.) That is, I have a UK keyboard layout set but I have a physical US keyboard.

I'm not sure how much, if at all, this applies to Windows, Mac, or Non-ChromeOS linux, but one thing that works for me is to do AltGr+Hyphen for the back-slash. And, although one can make the (previously) allographic equivalent of a vertical line, it's only a broken bar ( ¦ ).

Hope this helps for any Chromebook users out there! ^-^

June 23, 2015 3:17 PM

Keegan said:

Works fine, hold the alt button down and then nine and two on the key pad 9 and 2.

For those of you who said it didn't work, not the 92 above the keyboard.

August 2, 2015 5:42 PM

djpuk said:

As above:

Hold the Alt button down (NOT the AltGr button) and then key nine (9) and two (2) on the NUMERIC key pad...

Note:  the \ symbol only appears when you release the Alt key.  

- These notes have saved me hours!

- Just to show off, I did these \ backslashes following the instructions!

Thanks a lot to All  




Heh heh

August 10, 2015 7:12 AM

Lisl said:

Thanks for this.

My problem came at trying to change domains.  I had changed the Keyboard layout to US on the user which fixed the problem, but when I tried to change users, I needed to type he domain name, and it kept reverting to the UK layout, but on a US Laptop keyboard.

As this keyboard does not have a numeric pad, I used the ALT + FN + 92 (9K) and it worked

August 10, 2015 3:58 PM

Adam said:

I have a laptop that I bought in Singapore but has UK keyboard mapped. To get the backslash (took me a long time to work this out!) you have to press the <ALT> button to the RIGHT of the space bar + backslash button. As neither of the <ALT> buttons on my keyboard are actually labelled <ALT GR> I was of the assumption that they were both the same and of course the one on the left is, for me, the natural one to use so I hadn't been trying it. Hope this helps somebody else.

September 18, 2015 6:41 AM

without success help said:

I have tried all of the above without success. Can anyone help.

October 18, 2015 9:30 AM

IT illiterate said:

Help please.  I am using US keyboard and cannot type forward slash. I have tried all advice without joy.  can anyone help please.

October 18, 2015 9:39 AM

Marion said:

Thanks Darren - that's working perfectly, even when mapping a network drive via File Explorer (where Alt+92 wouldn't work).

October 20, 2015 3:11 AM

Laura said:

Thank you!

ALT + FN + 92 (9K) worked for me. :)

November 4, 2015 11:19 AM

Dave said:

Like several others, nothing seemed to work until ALT +FN+9K.

THANK YOU so much for your help

November 7, 2015 7:19 PM

prachi said:

ALT 92 works perfect :), thanks a lot!

January 3, 2016 11:02 PM

patrick said:

Thanks a lot Alt 92 works on my HP probook

January 13, 2016 4:18 AM

James said:

I have a Lenovo X201 laptop with no backslash key or numeric keypad.

Fn + Numlock (turns on the numeric keypad) then Alt + 92 worked.

January 21, 2016 4:14 AM

derrend said:

'Alt Gr' (right Alt) and '-' (minus sign) did it for me.

January 21, 2016 6:54 PM

Maddog said:

Thanks for the thread everyone. This has been frustrating me for weeks.  On HP US keyboard set to UK, Zacy500)'s 'ALT GR' + '\' works great for me.

February 4, 2016 10:51 AM

Dhivya Nallasamy said:

ALT + 92 works perfect..thanks a lot

February 11, 2016 6:24 AM

keyboard tester said:


On windows 8.1 upwards the ALT combinations don't work. Therefor the US/UK keyboard doesn't work and the backslash doesn't work. I had to use the onboard keyboard.

May 4, 2016 12:11 PM

Janica said:

Finally working, thanks.

Alt + Fn + 9 + k

May 12, 2016 10:39 PM

Dan K said:

My HP Probook works well with Function key 'fn' + hash key '#'

June 18, 2016 2:57 AM

Rich G said:

Thanks Alt+Fn+9k worked on my Vaio.

July 21, 2016 9:03 AM

Mike said:

None of the above worked on my Vortex laptop configured for the UK. Bright idea from or IT guy - use the on screen keyboard.

August 2, 2016 5:06 AM

Kyle said:

I have a US keyboard that I like to have set to UK layout settings and came across this problem. Since this method didn't work for me, the easiest thing I found to do on my laptop was to add the US keyboard layout as another keyboard in the languages settings on windows. Now I use the shortcut Win + space to quickly switch keyboard layout, press the normal key on the US keyboard for backslash and then use the same shortcut to switch back to the UK layout settings.

August 8, 2016 8:48 AM

GDV said:

I know this is an old post, but the advice here is fabulous. (And I'm an IT manager (-:)

Thank you very much indeed!

September 19, 2016 5:47 AM

rustam said:

thank you very much Greg low really it helped me.

November 22, 2016 10:22 PM

Roy V said:

Works great thank you

December 8, 2016 1:34 PM

Chris said:

I had to use ALT + 0092

February 21, 2017 12:20 PM

Chris said:

I had to use ALT + 0092

February 21, 2017 12:20 PM

CB said:


March 15, 2017 4:13 PM

K D said:

On raspberry pi jessie, the right Alt key + hyphen worked for me

May 10, 2017 10:38 PM

Tiffany Gppal said:

For anyone that don't know you may face this problem for usb mode because when I boot it up and got me to repair mode my backlash for command prompt didn't work for me I noticed I switched it to the wrong country that's why I recommend using uS keyboard because for UK I faced the problem few nights ago.

June 9, 2017 3:53 PM

D said:

On VMWARE console, \ is not visible... solution below-->

Simultaneously press right hand ALT key and -hyphen(‐) key... you will get \

June 25, 2017 6:56 AM

David Woods said:

UK keyboard driver on a US physical keyboard (where the backslash key produces #): Right Alt+\

It doesn't work using the left Alt key (at least not on my Dell).

For a vertical bar/pipe symbol (|) use Ctrl+Alt+Shift+\

Here it doesn't matter which side (left or right) you use for Ctrl, Alt & Shift.

August 14, 2017 5:54 AM

mo said:

right Alt key + -


August 23, 2017 2:39 PM

Z. said:

Thanks so much! This has saved me a lot of pain!

"Zacy5000 said:

Or you could use 'Alt Gr + The normal US button for backslash'.

Alt Gr is the one to the right hand side of the space bar and the normal US button for the backslash is next to the enter button and shift key (may slightly differ on different keyboards). This is much easier then using the Alt code."

Made my day! And helped save a lot of hassle.

August 31, 2017 3:00 AM

alan paton said:

ALT (hold down) + 9 + 2 (then release)

only works for me when you use the numeric keypad. not the numbers along the top of the key board.

but thanks, took me a few goes to figure it out.

September 1, 2017 8:07 AM

Chloe K said:

cheers for the alt + # method. This worked on Windows 10, but note that it only works with the alt on the right side of keyboard, not with the left hand alt key). and it's alt + shift + # to get the pipe (|)  

September 11, 2017 7:36 AM

Magesh Krishna said:

This Information was very Useful.

September 14, 2017 9:08 PM

Leave a Comment


This Blog



No tags have been created or used yet.


Privacy Statement