How to remap any key on your keyboard in Windows 11 or 10

Turn a key you don't use such as "insert" into one you really need.

Keys

Even if you have one of the best gaming keyboards or best mechanical keyboards on the market, you may not have all the keys you want or need. For example, my 96 percent keyboard has a number pad, arrow keys and a function row, but no print screen key. 

I do have an insert key, but let's be honest — the last time I needed the insert key was in the 1990s. Fortunately, it's easy to remap any key to become any other key so I can turn insert into print screen or turn my numpad into a series of media buttons.

On some fancier keyboards, you can remap keys at the firmware level; these boards usually have either QMK or Via firmware. And, once you remap it there, the new key assignment will apply across computers and operating systems.

However, most keyboards don't have customizable firmware so the easiest way to remap a key is to do so by tweaking a setting in the OS. In Windows, it's really easy to remap a key by modifying the registry. And you don't even need to go into the registry, because there's a utility called SharpKeys that will write your remaps to the registry for you.

How to Remap a Key Using SharpKeys

1. Install SharpKeys from the Microsoft Store.

2. Launch SharpKeys.

3. Click the Add button.

Stay On the Cutting Edge: Get the Tom's Hardware Newsletter

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Click Add

4. Select the key to remap by either picking it in the left-side menu or clicking Type Key and typing it.

Click key to remap

5. Select the key to remap to from the right-side menu and Click Ok .

select key to remap to

6. Repeat steps 3 to 5 for additional key remaps if you need them.

7. Click Write to Registry .

click Write to Registry

You'll get a confirmation message. 

sharpkeys confirmation message

8. Close SharpKeys then reboot your PC or log out then in again.

The new key mappings should work in Windows from now on and you won't need to run SharpKeys again unless you want to do more remaps.

Related Tutorials

  • How to use numpad for macros media player
  • New Keyboard Shortcuts Every Windows 11 User Should Know
  • How to Build a Custom Mechanical Keyboard: A Step-By-Step Guide
  • How to Clean Your Keyboard

Undeletable 8.63GB cache emerges in latest Windows 11 24H2 update — checkpoint updates were the culprit, and Microsoft is working on a fix

Windows 11 2024 update boosts file copying by up to 94% — ReFS and Block Cloning transition from Windows Server to mainstream Windows

 alt=

SilverStone’s $799 Alta D1 chassis hits retail — modular workstation case is flexible and capacious at 79 liters

Most Popular

keystroke assignment

keystroke assignment

How do I reassign hot keys for my keyboard?

You can reassign some keys to access different commands, shortcuts, or Microsoft Mouse and Keyboard Center features to better fit your work style.

Note:  The options listed in this wizard vary depending on the key selected. For example, since you cannot reassign the Windows key, the only option available is to disable it.

To reassign a key

Download and install the Microsoft Mouse and Keyboard Center .

Connect the keyboard that you want to configure.

Select the Start  button, and then select Microsoft Mouse and Keyboard Center .

From the displayed list of key names, select the key that you want to reassign.

In the command list of the key that you want to reassign, select a command.

Facebook

Need more help?

Want more options.

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

keystroke assignment

Microsoft 365 subscription benefits

keystroke assignment

Microsoft 365 training

keystroke assignment

Microsoft security

keystroke assignment

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

keystroke assignment

Ask the Microsoft Community

keystroke assignment

Microsoft Tech Community

keystroke assignment

Windows Insiders

Microsoft 365 Insiders

Find solutions to common problems or get help from a support agent.

keystroke assignment

Online support

Was this information helpful?

Thank you for your feedback.

  • Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
  • Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand
  • OverflowAI GenAI features for Teams
  • OverflowAPI Train & fine-tune LLMs
  • Labs The future of collective knowledge sharing
  • About the company Visit the blog

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Get early access and see previews of new features.

Staging Ground badges

Earn badges by improving or asking questions in Staging Ground.

Logitech Setpoint Keystroke assignment

With the m570 Logitech mouse, I've been trying to setup a "Keystroke Assignment" that would send in the keystrokes Shift + Windows Key + Right arrow.

I've found this post https://superuser.com/questions/947869/windows-10-virtual-desktop-hotkeys post which references another post about how to update the user.xml page to do that here - https://tinkertry.com/logitech-multiple-desktop-mouse-mappings-for-windows-10 .

I've updated the forward "4" button to have this below. However, it doesn't seem to be doing anything. Any ideas how to get this working?

user1143550's user avatar

  • Add the language tag –  Vega Commented Apr 11, 2022 at 13:42
  • This can be done from Lua script in GHub. Use PressKey and ReleaseKey functions. –  Egor Skriptunoff Commented Apr 23, 2022 at 14:06

So, for anyone who has a similar issue, I couldn't get Logitech's software to do what I needed. I ended up using AutoHotKey where I created an .ahk file with this code below.

XButton2::SendEvent +#{Right}

It should be noted that SendEvent is important as Send had a habit of causing the Windows Key to be stuck.

Your Answer

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

Sign up or log in

Post as a guest.

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .

Not the answer you're looking for? Browse other questions tagged logitech or ask your own question .

  • The Overflow Blog
  • Is this the real life? Training autonomous cars with simulations
  • What launching rockets taught this CTO about hardware observability
  • Featured on Meta
  • Preventing unauthorized automated access to the network
  • Upcoming initiatives on Stack Overflow and across the Stack Exchange network...
  • Feedback Requested: How do you use the tagged questions page?
  • Proposed designs to update the homepage for logged-in users

Hot Network Questions

  • Otherworldly – Numberlink / Marching Bands
  • Equation numbering doesn't start at 1 for alignat inside minipage inside tabularray
  • Newbie with a grease gun - lacking a bleeder valve
  • Recursively move subtitle files into subdirectories
  • If the categorical variable is retained in my final model in R, then why does the post hoc analysis say the levels do not differ?
  • Nothing outside of you needed
  • Why is pqxdh of Signal not secure against active adversaries while PQ3 of iMessage is?
  • Bragg's Law: Don't Waves have to Overlap to Interfere?
  • Can an argument that has objectively true premises be valid if the conclusion is subjectively true?
  • What does Rich mean?
  • Belief in Teshuvah being a prerequisite
  • Why aren't activation functions variable as well instead of being fixed?
  • "Riiiight," he said. What synonym of said can be used here?
  • Approximation of Hamiltonian cycles
  • Inserting special characters like x̄ X̄ that aren't in the digraph table?
  • Book about a homeless girl who volunteers at a shady facility for money
  • Can we choose to believe our beliefs, for example, can we simply choose to believe in God?
  • PCB design review of my line following robot
  • What expressions (verbs) are used for the actions of adding ingredients (solid, fluid, powdery) into a container, specifically while cooking?
  • Is my sauerkraut fermenting safely?
  • What was Adam Smith's position on the American Revolution?
  • Is it possible to build a Full-Spectrum White Laser?
  • Are there any sane ways to make or explore the properties of FOOF (dioxygen difluoride)?
  • Do I need any transit visa or extra documents travelling from Kolkata to Nagoya via Hanoi and Hongkong? I might have separate airlines for this travel

keystroke assignment

IMAGES

  1. Keystroke Pro 2

    keystroke assignment

  2. What is Keystroke and How to make basic keystroke programme

    keystroke assignment

  3. Keystroke Dynamics

    keystroke assignment

  4. Keystroke Assignment in SetPoint Issue.

    keystroke assignment

  5. 마우스 버튼 Keystroke assignment

    keystroke assignment

  6. Logetech Mouse Keystroke Assignment : r/ParsecGaming

    keystroke assignment

VIDEO

  1. new keystroke counter!

  2. Keystroke Timeout Preference

  3. Black Phantom:Make every keystroke magical!😎🖤#foryour #fyp #keyboard #typ #black #tag #vira

  4. Keystroke Live! 02/11/15

  5. Roblox Exploiting

  6. How can keystroke logging compromise your credentials?

COMMENTS

  1. How to remap any key on your keyboard in Windows 11 or 10

    In Windows, it's really easy to remap a key by modifying the registry. And you don't even need to go into the registry, because there's a utility called SharpKeys that will write your remaps to...

  2. How do I reassign hot keys for my keyboard? - Microsoft Support

    You can reassign some keys to access different commands, shortcuts, or Microsoft Mouse and Keyboard Center features to better fit your work style. Note: The options listed in this wizard vary depending on the key selected.

  3. Shortcuts, Hotkeys, Macros, Oh My: How to Remap Your Keyboard

    Click Keyboard Manager, then select Remap a key to re-assign individual keys or Remap a shortcut to assign hotkey combinations to a single key.

  4. Simple modifier key assignment with G Hub : r/LogitechG - Reddit

    With Logitech Gaming Software, assigning a modifier key stroke such as CTRL+F, or SHIFT+2, or ALT+G, was very easy with the keystroke assignment. You click "keystroke", enter the keystroke, and you're done!

  5. Defining a Keystoke Assignment (Description) | iFIX 2022 ... - GE

    Each key macro requires a keystroke assignment. This assignment can be a single key or a key combination. A key combination can consist of most keyboard keys including the function keys, number pad, and punctuation keys.

  6. iCUE: How to set up onboard key assignments in iCUE

    To set up onboard key assignments: Open iCUE. Select the device you want to assign onboard key assignments to. Select/enable Device Memory Mode. Select Key Assignments on the left menu. Click the + button in the Assignments section. Select key assignment type you want in the Assignment Type section. Customize the key assignment to your liking.

  7. Mapping the Print Screen key in Logitech Options : r/LogitechG

    Does anyone know if it is possible to map the print screen key as a keystroke in Logitech options? I use Screenpresso to take and manage screenshots and this is currently activated when I press the print screen key.

  8. Defining a Keystroke Assignment (Steps) | Proficy iFIX 2024 ...

    Defining a Keystroke Assignment. To define a keystroke assignment: From the iFIX Key Macro Editor main window, click the Key Combination cell in an active row. The Keyboard dialog box appears. Use the mouse to select keys on the Keyboard dialog box, or enter the key combination in the text box.

  9. Defining a Keystroke Assignment (Steps) | iFIX 6.1 ... - GE

    Learn how to create a keystroke assignment for a key macro in iFIX 6.1, a software for industrial automation and control. Follow the steps to select keys on the Keyboard dialog box or enter them in the text box.

  10. Logitech Setpoint Keystroke assignment - Stack Overflow

    With the m570 Logitech mouse, I've been trying to setup a "Keystroke Assignment" that would send in the keystrokes Shift + Windows Key + Right arrow.