-
Notifications
You must be signed in to change notification settings - Fork 80
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
Terminating with "Something unforseen has happened..." in Device tab of HidHide Configuration Client #54
Comments
Hi nefarius, just to also add my error report to the pile, I am having the same crash, but my error message is different. Mine is: Description: I am also on a tower PC. This happens with AND WITHOUT the following Controllers connected: |
I was getting this error message upon load for the Applications tab, which I assumed was because a hard drive of mine recently failed. For what it's worth, once I gave myself permission to read/write HKLM\System\CurrentControlSet\Services\HidHide\Parameters, I was able to remove the references to that hard drive. It didn't work, but once I deleted the entire Parameters key to let HidHide start "fresh" (which isn't an option when uninstalling/reinstalling), there was no more problem. |
Same problem here. Event viewer says the following: Device Specs: Windows Specs: |
@Dgrif12 I have been struggling with this for months now and I believe it has something to do with me downloading it more than once on my drive. I went through the proper steps for uninstalling but this error message still pops up. Since December I've been forced to use DS4Windows exclusive mode, and honestly it isn't bad at all. If you open it upon startup and have "hide ds4 controller" checked then you should be ok from my experience. It doesn't randomly shift to shared mode and it allows myself to make changes to my profile even during a game. I really want to figure out how to reverse this HidHide error loop, but exclusive mode isn't half bad. Let us know if you come to any conclusions! |
I had a problem that seems very similar to what has been reported in this thread, specifically my event log said: What I found out, thanks to Nefarius's huge help, is that I had a "ghost" USB device installed (wouldn't even appear in devmgmt.msc) that returned an invalid/empty GUID, which was causing the client/CLI program to crash. It's a bit of a chore to find and remove the device to blame, but if you are able to compile HidHideClient yourself you can probably accomplish this feat. Here's what I needed to do to fix the problem: download the project, open the .sln file with Visual Studio, ignore the warnings, try to debug HidHideClient (right click on HidHideClient, click Debug->Start new instance), install the missing libraries from the Visual Studio Installer (just MFC C++ and Spectre mitigation libraries, I think), then put a breakpoint in HID.cpp on line 222 to check the After knowing the instance path of the device to blame, Nefarius suggested to use a tool from Uwe Sieber called DeviceCleanup (you can find this one easily online) and enable the "Device ID" column from the program's menu bar (Options->Columns->Device ID). With a little bit of scrolling (you can sort by Device ID to save some time), I was able to find the device with ease. Here's how my device entry looked like: I restarted the app as admin (File-> Restart 'As Administrator'), right clicked the device I found and clicked "Remove Device". At this point, HidHideClient wasn't crashing anymore when clicking the Devices tab. I've been told this is a bug within the program but it might take a little while to fix, so for now this is a pretty decent workaround in my opinion. Hopefully this works for you too! There might be more than just one device that causes the program to crash, so you may need to do this multiple times (I just needed to do it this once) but please make sure you only remove the actual ghost devices that are causing problems. Remember: you ONLY need to compile HidHideClient, not the "HidHide" drivers, so you don't need to install WiX or any windows kernel driver addons for Visual Studio if asked. |
Hello! Tried to remove all hidden devices (had a mobo swap at the start of the year, so there were a good lot of them) but HidHide still shows the same error as before:
(admin powershell prompt - "Zugriff verweigert" -> "Access denied") So I guess I will have to take the debugging route. Is there any plan to implement a proper fix for this in an upcoming release? Thanks! |
Make sure the UI isn't running at the same time, only one handle is allowed to be opened to the driver at the same time.
None of the core contributors currently has any free time to maintain this project, so no 😛 |
Should be fixed in this release. Please try it. |
@nefarius I can't get HidHide to run at all. When I try to launch the configuration client I get the "Something unforeseen" error. This is after a fresh install of v1.2.98 on Windows 11, 64-bit Intel. Never used HidHide or HidGuardian before, so I have no idea what could have happened with the install that would've caused it to fail right out of the box... |
Don't hijack other issues, use the support resources to get in touch, thanks. |
I had the same error (Windows 10), and in my case it went away when I disabled Bluetooth. This is the error I get in Event Viewer when I turn Bluetooth on again after HidHide is open on the Devices tab. HidHide just crashes immediately:
|
I had the same issue and couldn't figure out what..turns out I had an apple Magic Trackpad connected to my PC. I went to device manager-> human interface devices-> apple trackpad->uninstall , disconnect trackpad and it started working. |
Maybe this fixes it for you folks https://discord.com/channels/346756263763378176/1215282542828195980/1215344291241660496 |
Just starting having this problem a week ago and i have tried what feels like everything but nothing has worked yet |
Folks, for real. Please use the search and a bit of common sense. See if this fixes the problem #151 |
Bug description
When switching from the "Applications" tab to the "Device" tab in the HidHide Configuration Client, an error is produced: "Something unforseen has happened which cannot be recovered from. Program execution has to be terminated. Sorry for the inconvenience."
Steps to reproduce
Actual result: "Devices" tab is displayed alongside mentioned error, preventing further interaction with the client and then terminates.
Expected result: "Devices" tab is displayed, showing active devices and allowing options to be enabled or disabled.
Screenshots
"Applications" tab including whitelisted apps.
"Devices" tab displaying the mentioned error.
Windows Event Viewer log of the error.
Machine info
Microsoft Surface Laptop 3
"Device Specifications"
Device name LAPTOP-2MD7FKAQ
Processor Intel(R) Core(TM) i5-1035G7 CPU @ 1.20GHz 1.50 GHz
Installed RAM 8.00 GB (7.60 GB usable)
Device ID Probably not important
Product ID 00342-23779-84602-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch Pen and touch support with 10 touch points
"Windows Specifications"
Edition Windows 10 Home
Version 21H1
Installed on 12/27/2021
OS build 19043.1415
Serial number 025769604257
Experience Windows Feature Experience Pack 120.2212.3920.0
HidHide Configuration Client v1.1.50.0
Controller connected: DS4 v.2 via USB
Any other helpful information
https://github.com/ViGEm/HidHide/blob/ada5cc1dc997ebbe9e4776c1855edbef404bdc66/HidHideClient/src/HidHideClient.cpp#L155
https://github.com/ViGEm/HidHide/blob/ada5cc1dc997ebbe9e4776c1855edbef404bdc66/HidHideCLI/src/HID.cpp#L286
I made this issue, even though there are 2 other similar issues on the repo for two reasons:
The text was updated successfully, but these errors were encountered: