Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 1168 #5

Open
toto99303 opened this issue Nov 3, 2021 · 4 comments
Open

Error 1168 #5

toto99303 opened this issue Nov 3, 2021 · 4 comments

Comments

@toto99303
Copy link

Hello,

Awesome script! Although I have a problem removing Corsair KATAR PRO Wireless mouse.
I haven't been able to remove it in any way.....

******** Bluetooth Devices ********

1 - KATAR PRO Wireless (OK/Bluetooth/695520171719)

Select a device to remove (0 to Exit): 1
Removing device: KATAR PRO Wireless
Sorry, an error occured. Return was: 1168

Do you have any clue why it can't be removed? Thanks!

@robert-nabholz
Copy link

Our team seems to be getting the same error when attempting to remove Bluetooth devices with this script. Nothing else seems to work.

@jtska
Copy link

jtska commented Sep 13, 2023

https://answers.microsoft.com/en-us/windows/forum/all/error-1168-element-nor-found-the-dism-log-file-is/f3cdf4e7-cde5-4812-8f86-d86654a10bb0

The device is not available.

"Device Manager -> Bluetooth -> (right-click) YourBTDevice -> Uninstall Device" will remove them from the output of removeBtDevice.ps1

@GentlyD
Copy link

GentlyD commented Aug 8, 2024

https://answers.microsoft.com/en-us/windows/forum/all/error-1168-element-nor-found-the-dism-log-file-is/f3cdf4e7-cde5-4812-8f86-d86654a10bb0

The device is not available.

"Device Manager -> Bluetooth -> (right-click) YourBTDevice -> Uninstall Device" will remove them from the output of removeBtDevice.ps1

after exchange of the Wifi/Bluetooth card, there are "dead" entries in the list of bluetooth devices in the Windows Bluetooth settings. The "dead" entries' devices are not listed any more in the device manager and cannot be removed from there. Attempt to remove the devices from the Windows Bluetooth settings returns an error. Using the script returns error 1168. Removing the bluetooth devices from the registry (ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesBTHPORTParametersDevice) did not remove the devices from the list in the Windows Bluetooth settings.

This seems to be a stubborn part of Windows 11. There must be a device list somwhere to be manipulated, so we have a clean list in the Windows Bluetooth settings. Any ideas? :-)

@apos
Copy link

apos commented Aug 28, 2024

Same here, removing not possible due to

Sorry, an error occured. Return was: 1168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants