How to Enable or Disable “Last Active Click” on the Taskbar in Windows 11
“Last Active Click” on the Windows 11 taskbar lets you jump directly to your most recent window for an app, skipping the preview thumbnails.
The "Last Active Click" setting for the Windows 11 taskbar bypasses usual pop-up previews that show all open instances of an application. This feature allows you to immediately switch to the most recently used window of an app by clicking its icon, instead of seeing a list of all windows.
When enabled, clicking an app icon on your taskbar instantly opens the last window you were actively using in that program. This is especially useful if you juggle many open browser tabs or documents, helping you get back to work faster.
You can turn “Last Active Click” on or off by making a small change in the Windows Registry, which is a central database for Windows settings.
To enable or disable “Last Active Click” in Windows 11, open Registry Editor, navigate to 🗝️HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, and modify the LastActiveClick DWORD value. Set it to 1 to enable and 0 to disable, then restart your PC.
Method 1Using the Registry Editor
The Registry Editor is a special Windows tool that lets you change settings not found in the normal Windows settings menus. This tool provides the fastest way for you to make this change.
Open the Registry Editor
- Click the Start button .
- Type “Registry Editor” in the search bar.
- Click on “Registry Editor” when it appears in the search results.
- If a User Account Control prompt appears, click “Yes” to allow it.
You need to open the Registry Editor to change Windows settings . Click the Start button , then type ‘Registry Editor’ into the search bar. Click on the ‘Registry Editor’ app when it shows up. If a security message pops up, click ‘Yes’ to let it open.
Go to the Correct Folder
Once the Registry Editor is open, you must navigate to a specific folder. Type or paste this exact path into the address bar at the top: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced and press Enter. This takes you directly to the 'Advanced' folder where many Windows display and function settings are kept.
The "Advanced" folder, found within Taskbar Settings version 1.0, contains many settings that control how Windows looks and works, offering you direct access to customize your system's behavior.
Find or Create the 'LastActiveClick' Setting
The Registry Editor displays settings on its right side. Look for a setting named 'LastActiveClick'. If 'LastActiveClick' appears, double-click the 'LastActiveClick' setting to change its value. If 'LastActiveClick' is not present, right-click an empty space in the Registry Editor, choose 'New', then 'DWORD (32-bit) Value', and name the new item 'LastActiveClick'.
- If you find it: Double-click on
LastActiveClickto open its settings. - If you don't find it: No problem! We'll create it. Right-click on an empty spot on the right side. Then, go to New > DWORD (32-bit) Value. A new item will appear that you can name. Type
LastActiveClickand press Enter. Now, double-click the newLastActiveClickyou just made.
Set the Value to Turn the Feature On or Off
The Windows Registry editor allows you to set the 'LastActiveClick' value. To turn the taskbar feature ON, so clicking an app shows its last opened window, change the 'Value data' from 0 to 1. To turn the taskbar feature OFF, so clicking an app shows all open windows, change the 'Value data' from 1 to 0. Click 'OK' when you finish.
- To turn the feature ON (so clicking an app opens the last window you used): Change the "Value data" from 0 to
1. - To turn the feature OFF (so clicking an app shows all open windows again): Change the "Value data" from 1 to
0.
Click OK when you are finished.
The "Value data" setting controls the "Last Active Click" feature on the taskbar. Entering 0 turns the "Last Active Click" feature off, while entering 1 turns the "Last Active Click" feature on. This setting helps you manage how the taskbar responds to clicks.
Apply the Changes
Close the Registry Editor. Your changes won't take effect until you restart your computer. After it restarts, try clicking an app icon on your taskbar with multiple windows open. You should notice the difference immediately!
Method 2Using the Command Prompt
If you prefer using text commands or are comfortable with the Command Prompt, this is a good alternative. It's also useful for managing multiple computers or automating the process.
Open Command Prompt as Administrator
- Click the Start button.
- Type "Command Prompt."
- Right-click on "Command Prompt" in the search results.
- Select "Run as administrator."
- Click "Yes" if asked for permission by User Account Control.
Enter the Command to Turn the Feature On or Off
You can use the Command Prompt to change the 'Last Active Click' setting on the taskbar. To turn the 'Last Active Click' setting ON, type the command `reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LastActiveClick /t REG_DWORD /d 1 /f` and press Enter. To turn the 'Last Active Click' setting OFF, type `reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LastActiveClick /f`.
- To turn ON the "Last Active Click" feature:Registry
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LastActiveClick /t REG_DWORD /d 1 /f
- To turn OFF the "Last Active Click" feature:Registry
reg delete "HKCU\Software\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LastActiveClick /f
What these commands mean:
reg addorreg delete: These are commands to change the Windows Registry."HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced": This is the exact location (registry path) where the setting is saved./v LastActiveClick: This tells the command which value to change, named "LastActiveClick."/t REG_DWORD: This means we are setting a number (a DWORD value)./d 1(to turn on) or/d 0(to turn off): This is the number we are setting – 1 to turn it on, 0 to turn it off./f: This makes the command run without asking for confirmation, which is helpful for automation.
Restart Your Computer
Method 3Using Windows PowerShell
Like the Command Prompt, PowerShell is another powerful text-based tool in Windows. This method is especially useful for IT professionals managing many computers.
Open PowerShell as Administrator
- Click the Start button.
- Type "PowerShell."
- Right-click on "Windows PowerShell" in the search results.
- Select "Run as administrator."
- Click "Yes" if asked for permission by User Account Control.
Run the PowerShell Command
PowerShell offers another way to adjust the 'Last Active Click' setting. To activate the feature, type or paste this command and press Enter: Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "LastActiveClick" -Value 1 -Type DWord. To deactivate it, use: Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "LastActiveClick" -Value 0 -Type DWord.
- To turn ON the "Last Active Click" feature:PowerShell
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "LastActiveClick" -Value 1 -Type DWord
- To turn OFF the "Last Active Click" feature:PowerShell
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "LastActiveClick" -Value 0 -Type DWord
Understanding the command:
Set-ItemProperty: This is a PowerShell command used to change a property, in this case, a registry value.-Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced": This shows the exact registry location. The colon afterHKCU:is how PowerShell indicates a drive or registry hive.-Name "LastActiveClick": This tells PowerShell which specific value in that location to change.-Value 1or-Value 0: This sets the value – 1 to turn it on, 0 to turn it off.-Type DWord: This confirms we are working with a number (DWORD) data type.
Restart Your Computer
Close the PowerShell window and restart your computer. Your taskbar should now work the way you want it to.Tip: PowerShell is very powerful. If you want to learn how to automate computer tasks, it's worth exploring!
Summary
The 'Last Active Click' feature in Windows 11 lets you decide if clicking an app icon on the taskbar opens its most recent window or displays all your open windows for that app. You can turn this feature on or off using the Registry Editor, Command Prompt, or PowerShell. Remember that changes usually need a computer restart to take effect.
What is the last active click on the taskbar in 🪟 Windows 11?
Streamline user workflows by enabling the last active click feature in the Windows 11 taskbar. When you enable the last active click feature in your Windows 11 taskbar, it will automatically open your last active window in that application instead of showing you a preview of all of that application's open windows.
How do I turn on the end task on the taskbar in 🪟 Windows 11?
We rightclick. And now we have the end task option it wasn't there before. Obviously just just like this end the task. And then we're done super simple and easy to do this just makes ending tasks.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!