# Dedicated key to toggle touchpad on/off

**URL:** <https://community.frame.work/t/dedicated-key-to-toggle-touchpad-on-off/50759>\
**Category:** Framework Laptop 16\
**Tags:** framework-laptop-16-amd-7040\
**Created:** [May 12, 2024, 2:57pm UTC](https://community.frame.work/t/dedicated-key-to-toggle-touchpad-on-off/50759 "2024-05-12T14:57:49Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![MJ1](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/mj1/32/15519_2.png) [@MJ1](https://community.frame.work/u/MJ1)\
**Post date:** [October 29, 2024, 3:56pm UTC](https://community.frame.work/t/dedicated-key-to-toggle-touchpad-on-off/50759/9 "2024-10-29T15:56:47Z")

</div>

It seems there are a couple ways to disable and re-enable devices by commandline. Took a little bit to find the ones I recalled seeing. `devcon.exe` and `PnPUtil` are 2 options.

Note that both devcon and PnPUtil are windows utilities, not 3rd party applications that one needs to trust & give permisions to which not everyone will be comfitable with.

> **[PnPUtil - Windows drivers](https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/pnputil)**
>
> PnPUtil

`pnputil /disable-device `  
`pnputil /enable-device`

I believe devcon might not be installed by default. [windows - Quick Method to install DevCon.exe? - Super User](https://superuser.com/questions/1002950/quick-method-to-install-devcon-exe/1751153#1751153)

`devcon disable`  
`devcon enable`

Finding the ID of the device you want to control with devcon, [batch file - Enabling/disabling a device in Windows 10 from command line - Stack Overflow](https://stackoverflow.com/a/59490940)

---

_[View the full topic](https://community.frame.work/t/dedicated-key-to-toggle-touchpad-on-off/50759)._
