Is there a way to set up a hotkey in windows 10 to un-minimize a specific app window? The app I want to do it (MS Teams) is already running in background.

I did assign a shortcut key to it

enter image description here

but for some reason it works very slow - bringing the window to from takes around 10 seconds, whereas if I click on the icon in the task bar, it's instant - so it cannot be a 'slow PC lag'.


To un-minimize the windows of a specific application, you may use the free AutoHotkey.

The following example script uses F12 key to un-minimize the windows of notepad.exe:

F12::WinActivate, ahk_exe notepad.exe

AutoHotKey is very versatile and many adaptations of the above command are possible.

After installing AutoHotKey, put the above text in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group at C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Useful AutoHotkey documentation:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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