HP Keyboard Fn key toggle – no option in BIOS

19 Nov

I ran into a small problem. How to turn off multimedia keys on included wireless keyboard and instead use fn keys. (HP Pavilion All In One, HP Pavilion gaming PC- Windows 10)

Most suggested solution was to enable or disable action key option in BIOS. But this option was not found in my BIOS.

Some people on google said holding down the Fn key and tapping the Caps Lock or fn+esc will solve this issue. but did not work in my case.

Then i read the following solution on an HP forum. Not a solution by HP.
Some user came up with this workaround.

This worked for me. Copy-pasting the post below for future reference.

” I found a pretty decent workaround about this Fn lock issue after hunting down for a while. The workaround is sort of sophisticated, so you can give it a shot if you are really dedicated to solving this Fn lock issue.

The workaround method involves the use of a program called AutoHotkey.

AutoHotkey uses hooks to map the media function key presses back to F keys and F key presses into media functions keys to achieve the effect of “unlocking” the Fn lock.
My HP keyboard is Pavilion Wireless Keyboard 600 (black). I really like the white version of this soft & short-distance chiclet keyboard when I was trying it in BestBuy, but the white version is only sold together with the all-in-one. That means, I am using this HP keyboard with my custom desktop (non-HP brand) tower and unable to fix the Fn lock issue in the BIOS.

The attached code is written based on the association of media function keys and F keys on Pavilion Wireless Keyboard 600 only. Other models or brands of keyboards will likely to have different associations. You may look into the tutorial of AutoHotkey to customize your own code.

1. Go to to download AutoHotkey.
2.Right-Click on your desktop.
3. Find “New” in the menu.
4. Click “AutoHotkey Script” inside the “New” menu.
5. Give the script a new name. It must end with a .ahk extension. For example: MyScript.ahk
6. Find the newly created file on your desktop and right-click it.
7. Click “Edit Script”.
8. A window should have popped up, probably Notepad. If so, SUCCESS!
9. Copy and paste the attached code into Notepad, and save the file.
10. Double-click the file/icon in the desktop to run it.
11. Create a shortcut of this .ahk file and move the shortcut to the “Startup” folder so that the script runs automatically every time you start windows.

The drawback of this method is that I haven’t found a way to revert the F7 & F8 keys. Therefore, only F1 through F5 and F8 through F12 can be reverted to achieve the effect of unlocking Fn lock by this code.

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

; Below based on HP Pavilion Wireless Keyboard 600

; F1 | Mute

; F2 | Volume Down

; F3 | Volume Up

; F4 | Last Song

; F5 | Play/Pause

; F6 | Next song

; F7 | Brightness Down

; F8 | Brightness Up

; F9 | Search

; F10 | Toggle display mode for multi-screen
SendInput {F10}

; F11 | ???
SendInput {F11}

; F12 | System Settings
SendInput {F12}

Credit: Crizalis


Posted by on November 19, 2019 in Windows


Tags: ,

19 responses to “HP Keyboard Fn key toggle – no option in BIOS

  1. panaglaw

    October 17, 2021 at 4:17 pm

    Thank you so so much!


  2. graybugs

    October 10, 2021 at 7:05 pm

    Thanks a million!


  3. Gray C Church

    October 10, 2021 at 7:05 pm

    Thanks so much! It works!

    Liked by 1 person

  4. Anonymous

    August 5, 2021 at 10:22 am

    Thanks a lot man!! Very smart solution to a very dumb problem! (and the only one that works)


  5. Eva

    July 29, 2021 at 12:22 pm

    You are great! It works now! I am so happy! Greatings from Germany! Liebe Grüße 🙂


    • NesiSamurai

      August 2, 2021 at 6:55 am

      Just a solution I found somewhere else. Still happy to hear it helped.


  6. John Andre

    May 25, 2021 at 7:09 am

    Thank you, You are the king of function keys. You give me back F2 key. You have saved me from untold number of the double mouse clicks to edit excel cells. Thank you so much. Kudos to you. You are rock.


  7. ryszardwania

    March 18, 2021 at 7:24 pm

    You saved my day! If by any chance you find out a way to change the F7 and F8, please post here! Thank you!!!

    Liked by 1 person

  8. Anonymous

    February 1, 2021 at 6:36 am

    10x dude! Finally a workaround


  9. Anonymous

    January 23, 2021 at 6:08 pm

    You don’t know how much you’ve helped me. This here literally is the only option I have found that worked.

    Liked by 1 person

  10. Ehab Abdel Fattah Osman

    January 10, 2021 at 5:36 pm

    Thank you so much. Do you have any idea how to get F7 and F8 to work as well?

    Liked by 1 person

    • NesiSamurai

      January 12, 2021 at 11:04 am

      Sorry, I still haven’t found a way to revert the F7 & F8 keys.


  11. Ramon

    December 10, 2020 at 3:16 pm

    Thanks for this!!

    Liked by 1 person

  12. Anonymous

    December 4, 2020 at 4:14 pm

    You saved me! I’m very grateful to you! Thank you!

    Liked by 1 person

  13. Orangeman

    December 1, 2020 at 8:59 pm

    Awesome!! thanks a lot. Works with HP Pavilion 300 as well. If not found this, I would return the keyboard to the store

    Liked by 1 person

  14. wow

    November 13, 2020 at 1:03 pm

    Really appreciated! Works like a charm!

    Liked by 1 person

  15. azaaq

    November 13, 2020 at 12:59 pm

    You’re a genius! Thank you man

    Liked by 1 person

  16. NesiSamurai

    November 3, 2020 at 1:09 pm

    It was the same case for me. a really annoying problem. 😀


  17. Anonymous

    November 3, 2020 at 10:49 am

    Thank you so much for this!! I have been struggling for several days now with that new keyboard (which I love). i’m working a lot with excel and suddenly working with no F keys in direct press made me almost crazy.

    Liked by 1 person


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: