Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
:: fix-lenovo-w540-trackpad-buttons.bat
:: Author: d-georgiev-91
:: Version 1.0
:: Descrption: The following script aims to fix Lenovo Thinkpad w540 when the default trackpad is replaced with three buttons trackpad from Lenovo Thinkpad w541. When the UltraNav drivers are installed the three buttons does not work at all, because the install configures the UltraNav for the W540 trackpad. In order to fix that registry should be altered.
@ECHO UltraNav fix initiated...
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters /f /v ExtraCapabilities7Add /t REG_DWORD /d 0x00010000
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SynTP\Parameters /f /v ExtraCapabilities7Mask /t REG_DWORD /d 0xffffffff
@ECHO OFF
PAUSE
@The4thHorstman

This comment has been minimized.

Copy link

@The4thHorstman The4thHorstman commented Feb 19, 2021

Thank you so much for making this, I can now see the correct touchpad configuration.
I am also a w540 owner who swapped in the touchpad from the w541 however I keep having a problem that I was hoping you might have some insight on.
When I installed the driver gggr07ww.exe (version 19.017.142) and ran your .bat file the touchpad and buttons worked perfectly. However, sometimes after a restart nothing works. Other times, only the touchpad works and the buttons do not.
I set up a group policy editor in Windows 10 to prevent the driver from updating as well.
I am obviously missing something and I would greatly appreciate it you have any insight,
Chris

@d-georgiev-91

This comment has been minimized.

Copy link
Owner Author

@d-georgiev-91 d-georgiev-91 commented Feb 28, 2021

Thank you so much for making this, I can now see the correct touchpad configuration.
I am also a w540 owner who swapped in the touchpad from the w541 however I keep having a problem that I was hoping you might have some insight on.
When I installed the driver gggr07ww.exe (version 19.017.142) and ran your .bat file the touchpad and buttons worked perfectly. However, sometimes after a restart nothing works. Other times, only the touchpad works and the buttons do not.
I set up a group policy editor in Windows 10 to prevent the driver from updating as well.
I am obviously missing something and I would greatly appreciate it you have any insight,
Chris

@The4thHorstman I think I've used this driver for the touchpad and didn't have any issues so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment