Press the Windows key plus the letter I key to bring up the Settings application. Select Devices.
Click on the device, in this example a Microsoft mouse, that you want to remove and then click Remove device.
Click on Yes to finish removing the device.