How to change the default shortcut in Windows 10

Creating your own keyboard shortcuts in Windows 10 is not too complicated. Just right-click on anything you want to create a shortcut for it, then click Properties, and then enter the new command in the box.

But what if the user wants to change the default shortcuts that Windows 10 has created, such as using Win + S to open your own Search tool instead of just pressing the Windows key? Everything seemed a bit more complicated at the time, but it was still fully feasible.

Learn about AutoHotkey

Unfortunately there is no way to change the default shortcuts in Windows. After so many years, Microsoft has not yet provided a bit of that simple flexibility, perhaps fearing that users will use shortcuts to access non-Microsoft applications.

Instead, users will have to create scripts for every shortcut they want to replace. Don't worry, this process is really easy thanks to a great tool called AutoHotkey. This is a scripting tool that can be used for all creative purposes, but today the article will only look specifically at how users can use it to change their default shortcuts. Windows.

How to change the default shortcut in Windows 10 with AutoHotkey

First, download AutoHotKey. After doing that, on the Windows desktop, right-click an empty space, then select 'New > Auto Hotkey script' , and give it a memorable name with a suffix ahk. (The example in today's article named the script 'Search.ahk', because the Windows Search shortcut will be replaced with a shortcut to the superior search engine, Search Everything).

How to change the default shortcut in Windows 10 Picture 1

Next, readers will become familiar with the basics of AutoHotkey syntax to change Windows shortcuts. Most Windows shortcuts use the following buttons:

AutoHotkey Syntax Representation ^ Ctrl key! Alt key + Shift key # Keys Win Up, Down, Left, Right Arrow keys run, Make hotkey open file, folder or program on PC send, Redirect hotkey to selected key combination

If you want to enter a letter, press the corresponding buttons on the keyboard. Buttons like Esc and Del and other letters can also be entered directly into the script. You can find a list of AutoHotkey syntax at this website: http://xahlee.info/mswin/autohotkey_key_notations.html

So if you want to redirect the default Windows Search shortcut Win + S to Search Everywhere, enter the following command:

 #s::run, "C:Program FilesEverythingEverything.exe" 

How to change the default shortcut in Windows 10 Picture 2

:: is the one that separates the hotkey from the action the user wants it to take. The preceding paragraph :: is the hotkey to enter ( Win + S in this case) and the following 'run' is the command to open the Search Everything application.

With all shortcut replacement on the table, users should add the #NoTrayIcon second line to the script. This will prevent the AutoHotkey icon from appearing, but make sure the entire process is in the background.

How to change the default shortcut in Windows 10 Picture 3

When the script is complete, close and save it, then double-click the script to run and check the keyboard shortcut to see if everything is right.

If everything is okay, move the .ahk script to the system startup folder in File Explorer (C: ProgramDataMicrosoftWindowsStart MenuProgramsStartUp). Do the same for all keyboard shortcuts that need replacing. In this way, all shortcuts will take effect as soon as the user starts the PC.

How to change the default shortcut in Windows 10 Picture 4

It will take a little bit of work, but it will certainly work, and the important thing is, now, users have learned the basics of AutoHotkey tool - an extremely handy tool, capable of running. The scenarios are much more complicated than what the article mentions here.

Good luck!

See more:

  1. Create shortcuts with AutoHotkey
  2. How to create shortcuts to open applications on Windows 10
  3. 17 shortcuts contain Shift useful in Windows
3.8 ★ | 4 Vote

May be interested

  • How to change fonts in Windows 11How to change fonts in Windows 11
    tired of windows 11's default fonts? here's how to set them to whatever you like. this article shows you how to change the windows 11 system font so that different areas of the os will use the font type you prefer.
  • How to change the default browser on Windows 11How to change the default browser on Windows 11
    changing the default browser on windows 11 is not easy for many people, because their interface is much different from previous versions of windows. to help readers understand better, taimienphi will guide you how to change the default browser on windows 11 with the most detailed illustrations.
  • What is a shortcut? How to create a Shortcut on WindowsWhat is a shortcut? How to create a Shortcut on Windows
    what is a shortcut? how to create a shortcut on windows. when you first use the computer will have some unique terms that make you not know what it means? today, software tips will help you define what is shortcut? and will show you how
  • How to change the default icon on Windows 10How to change the default icon on Windows 10
    the icons on windows 10 are all set by default, but users can also change those icons with the features available on the system, or use support software.
  • How to change the default programs in Windows 10How to change the default programs in Windows 10
    windows 10 always comes with a lot of applications available and is set by default to help you use it conveniently. however, in case you feel that the default programs of windows 10 are not good enough and need to change, so what to do?
  • Change the default browser in WindowsChange the default browser in Windows
    in the following article, we will cover the basic steps to change the default browser in windows. for example, opera, during the installation process, has no choice for users to set or change the default mode of this browser, and can accidentally cause many changes in the system or cause uncomfortable for users.
  • How to Change Default Folder in Windows TerminalHow to Change Default Folder in Windows Terminal
    by default, windows terminal will use your current user directory as the default directory when you open it. however, you can completely change this folder to any other folder on your windows pc.
  • How to change the default Download path on Windows?How to change the default Download path on Windows?
    i want to change the default download path on my system to another path, from the old path c: usersmynamedownloads to c: downloads. can i stop windows 10 from using my username profile location by default? and if so, how to change the default download path on windows 10?
  • Change the default browser in Windows 10Change the default browser in Windows 10
    the following article shows you how to change the default browser in windows 10 .. method 1: change the default browser in windows 10 via control panel. step 1: access the start menu - control panel: step 2: the control panel dialog box appears
  • How to create shortcuts to open applications on Windows 10How to create shortcuts to open applications on Windows 10
    by default, most applications on windows 10 will be pinned on the start menu. if you want to access the application, you must click on the application. however, instead of each time you want to use an application, you must use the mouse to open it. you can instead create a keyboard shortcut to open it.