You can configure the touchpad to be disabled automatically when an external mouse is connected to the computer and re-enabled when the mouse is disconnected from the computer.
If you are using a wireless mouse connected to the computer via a USB receiver, you must remove the USB receiver from the computer to disconnect the mouse and re-enable the touchpad.
Enable or disable the touchpad when an external USB mouse is connected to the computer. You can also configure the touchpad to be disabled automatically when an external mouse is connected.
If the option to enable or disable the touchpad is not available, download and install the latest touchpad driver from Windows Update. For more information, see HP PCs - Updating drivers using Windows update (Windows 11, 10).
Update your Windows 11 or Windows 10 computer using Windows Update.