Devices Turn On or Off Leave Touchpad On when Mouse Connected in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    touch

Touchpad_banner.png

This tutorial will show you how to turn on or off leave touchpad on when a mouse is connected for your account in Windows 11.

If your Windows 11 device (ex: laptop) has a built-in precision touchpad and you like to use an external USB or Bluetooth mouse, you can set to automatically disable the touchpad when a mouse is connected and automatically enable the touchpad when the mouse is disconnected.

Reference:


Contents

  • Option One: Turn On or Off Leave Touchpad On when Mouse Connected in Settings
  • Option Two: Turn On or Off Leave Touchpad On when Mouse Connected using REG file




Option One

Turn On or Off Leave Touchpad On when Mouse Connected in Settings


1 Open Settings (Win+I).

2 Click/tap on Bluetooth & devices on the left side, and click/tap on Touchpad on the right side. (see screenshot below)


Touchpad_on_when_mouse_connected_settings-1.png

3 Click/tap on Touchpad to expand it open. (see screenshot below step 4)

4 Check (on - default) or uncheck (off) Leave touchpad on when a mouse is connected for what you want. (see screenshot below)

Touchpad_on_when_mouse_connected_settings-2.png

5 You can now close Settings if you like.




Option Two

Turn On or Off Leave Touchpad On when Mouse Connected using REG file


1 Do step 2 (on) or step 3 (off) below for what you want.

2 Turn On Leave Touchpad On when Mouse Connected

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_ON_Leave_touchpad_on_when_mouse_is_connected.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad]
"LeaveOnWithMouse"=dword:ffffffff

3 Turn Off Leave Touchpad On when Mouse Connected

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_OFF_Leave_touchpad_on_when_mouse_is_connected.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad]
"LeaveOnWithMouse"=dword:00000000

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Will the Registry options override the Settings option under Windows?

Cheers!
 

My Computer

System One

  • OS
    Windows 11 Pro Version 23H2 (Build: 22631.4317)
    Computer type
    Laptop
    Manufacturer/Model
    Asus Flipbook Q504UAK - BHI5T13 [ Hybrid (2-in-1) Touch ]
    CPU
    7th gen Intel® Core™ i5 - 7200U (3MB Cache, 2.5GHz)
    Motherboard
    ASUS UX560A
    Memory
    16GB => 8GB [on-board] & 8GB Kingston HyperX DDR4 2666MHZ SoDIMM
    Graphics Card(s)
    Intel® HD Graphics 620
    Sound Card
    Harmon/Kardon built-in
    Monitor(s) Displays
    1
    Screen Resolution
    Touchscreen: 39.6 cm (15.6") Full HD 1920 x 1080 pixels Matt 16:9
    Hard Drives
    Samsung 2TB SSD 870 EVO [SATA]; Samsung 1TB SSD 980 PRO [NVMe Gen3];
    Samsung 4TB SSD T7 Shield [Portable]
    PSU
    19v@2.36A 45W - 20v@5.0A 65W PD (USB-C to Barrel plug 4.0mm x 1.35mm)
    Case
    Aluminum
    Cooling
    Standard cooling fan
    Keyboard
    Backlit, built-in keyboard
    Mouse
    Logitech Mice: G502X & G602
    Internet Speed
    802.11ac
    Browser
    Firefox v131.0.2
    Other Info
    Card Reader, WLAN, 802.11a, 802.11b, 802.11g, Wi-Fi 4 (802.11n), Wi-Fi 5 (802.11ac) , Webcam, HDMI x1
Will the Registry options override the Settings option under Windows?

Cheers!
Hello, :alien:

Options 1 and 2 in this tutorial are just different ways to change the same setting.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Is there a way to undo this? I've downloaded and installed the .reg files, but just in case I want to reverse it in the future, is there a file to uninstall it?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
Is there a way to undo this? I've downloaded and installed the .reg files, but just in case I want to reverse it in the future, is there a file to uninstall it?

Hello Matt, and welcome. :alien:

There's separate on or off REG files, so you can use the opposite of what you used to undo it.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Hello Matt, and welcome. :alien:

There's separate on or off REG files, so you can use the opposite of what you used to undo it.
Sorry, I didn't read the code properly. Cheers
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
In Settings, I have no option to "Leave touchpad on when a mouse is connected" Am I missing something?

In Regedit, the dword choices are 1 and 0.


Lenovo X1 Carbon laptop. Win 11 24h2.
 

My Computers

System One System Two

  • OS
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 20D CT01WW
    CPU
    Intel
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 21CB
    CPU
    Intel
    Motherboard
    OEM
In Settings, I have no option to "Leave touchpad on when a mouse is connected" Am I missing something?

In Regedit, the dword choices are 1 and 0.


Lenovo X1 Carbon laptop. Win 11 24h2.

Hello, :alien:

Usually when this setting is not available, it means you do not have a "Precision Touchpad". The registry value data will not be the same if not a precision touchpad.

You can check your touchpad's software settings to see if it may have its own setting for this instead.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
In the Registry, I have:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad

Setting this manually to 0 worked to turn off the touchpad when the Bluetooth mouse is connected. So your fix worked to get me to the right place.
What doesn't get disabled are the two mouse button equivalents at the top of the Lenovo touchpad. I still accidentally hit one or the other occasionally.
 

My Computers

System One System Two

  • OS
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 20D CT01WW
    CPU
    Intel
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 21CB
    CPU
    Intel
    Motherboard
    OEM
In the Registry, I have:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad

Setting this manually to 0 worked to turn off the touchpad when the Bluetooth mouse is connected. So your fix worked to get me to the right place.
What doesn't get disabled are the two mouse button equivalents at the top of the Lenovo touchpad. I still accidentally hit one or the other occasionally.

Does your Lenovo laptop have its own OEM touchpad settings that may be used for this instead?

I'm not sure if this below applies to your specific Lenovo X1 Carbon laptop, but hopefully it's close enough to help.


 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I had looked at all the settings that are shown in those links. They all seem to refer to enabling the touchpad. None show any settings for turning off the touchpad when mouse is active. That's why I came to ElevenForum. Your OP gave me the way to the answer I needed. So thank you again.

To be clear, in the Registry Precision Touchpad settings, the one for the touchpad I used is in:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad]
LeaveOnWithMouse
That is the entry where I set the dword to 0.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 20D CT01WW
    CPU
    Intel
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 21CB
    CPU
    Intel
    Motherboard
    OEM
I had looked at all the settings that are shown in those links. They all seem to refer to enabling the touchpad. None show any settings for turning off the touchpad when mouse is active. That's why I came to ElevenForum. Your OP gave me the way to the answer I needed. So thank you again.

You're most welcome. I was just hoping your OEM settings may have had something for the buttons.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Just as a followup, turning off the touchpad doesn't turn off the two buttons over the touchpad, equivalent of left and right mouse buttons. I find I am frequently touching one of those buttons and getting into menus I don't want.

Do you know any way to turn off the touchpad buttons as the touhpad itself is turned off?
 

My Computers

System One System Two

  • OS
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 20D CT01WW
    CPU
    Intel
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo X1 Extreme 21CB
    CPU
    Intel
    Motherboard
    OEM
Back
Top Bottom