-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to load PowerToys settings app version > 0.59 #18725
Comments
just for your notice: MSI Afterburner does not have any issue with this, it's only the RivaTuner Statistics Server (RTSS), which also comes bundled with MSI AB, where a hook exception has to be made. |
See zipped crash dump. Thanks! I also see in %LOCALAPPDATA%\CrashDumps dmp files for PowerToys.ColorPickerUI.exe and PowerToys.PowerLauncher.exe I reverted to an earlier release (I think it was 0.57.2) in order to to open settings without crashing. FancyZones was still crashing with the same "Security check failure or stack buffer overrun" in the crash dump files. I reverted to 0.55.2 and now I'm able to use FancyZones. I've tried:
|
Hi @jspilinek , what I see here is that we have an exception with the message "Indirect call guard check detected invalid control transfer." occurring. For the .net installed you're using the ".net for Desktop apps", correct? 0.56 was the version where we updated to .net 6 and seems like it was the one that stopped working for you regarding FancyZones. |
I was having a similar issue on a fresh install of win11, installing 0.59.1 via winget. RTSS not installed, nor any of the other mentioned software. Settings window would not open, FancyZones functioned, but the zone editor would not open. reverting to 0.57.2 allowed settings to open, but the fancyzones editor still did not function. Reverted to 0.55.2 in an attempt to get the zone editor to open, without success. Uninstalled and returned to 0.59.1 and enabled crashdumps, none were created when attempting to open the settings window. On a hunch I downloaded the latest version of the .NET 6.0 Desktop Runtime (v6.0.6), and now the settings window and zone editor open. I've attached the most recent pre-fix bug report .zip in case it might be helpful. |
@jaimecbernardo, earlier I had updated the .NET SDK. I just installed .NET Desktop Runtime 6.0.6 but still see these crashes with PowerToys 0.59.1 I'm not using the other apps mentioned: H24, MSI Afterburner, RivaTuner Statistics Server, HW64 |
I don't know if this will help anyone but I had this issue in 0.58 and I fixed it by right clicking the settings executable and unchecking run as admin from the properties menu. I didn't have a github account back then so I'm posting this now in case it helps anyone. I also have rtss running and I have set it to not detect powertoys settings but it didn't fix the problem on its own. Wndows 10 64bit. |
0.63.0 powertoy settings app is crashing for me with the below callstack. 0.62.0 was fine. This is on Version 22H2 Build 22621.608.
|
@mikesart how did you install powertoys? scoop? |
Adding to this: In actual Rivatuner Statistics Server installation (7.3.4 beta) there is now a predefined default exclusion for PowerToys.exe, PowerToysSettings.exe and even PowerToys.FancyZones.exe |
@jaimecbernardo It worked - thank you very much! |
I do not have RTSS or MSI Afterburner installed. When I first try to open the settings app, it fails and this is logged in the Windows Event Viewer:
After the first failure, the second time I try the settings app opens correctly. This repeats every day after shutting down Windows and booting up again the next morning. Here is a dump: |
I've been using v0.55.2 as a workaround. I updated to v0.64.1 and I tried @ItzAfroBoy's suggestion but didn't work for me. I was able to resolve the issue. Below are the steps I took. I used WinDbg to analyze the crash dump. I noticed the following:
My laptop used to have the SSD partitioned into C: and D: drives. I was running out of space on the C: drive. IT eliminated the D: drive and maximized the C: drive. I no longer have a D: drive so I knew the above error indicates it's looking in the wrong directory path. I searched through the windows registry but couldn't find any references to D: drive. I tried running "dotnet --info" from command prompt, but nothing was displayed. I noticed that dotnet was also crash dumping when I rand this command. I reviewed my environment variables and noticed the following:
dtagent.dll is for Dynatrace App Mon. I'm no longer using this app so I deleted all three of these environment variables. Restarted and now I can open PowerToys settings and FancyZones. "dotnet --info" command is also working now. |
Encountered the issue on 0.66.0 as well, though it was working for me in 0.65.0
I updated using the built-in update method. FYI - I am unable to attach the crash dumps via a comment as I'm getting a 503 back from the uploader. |
I just uninstalled all version of the .Net Desktop Runtime and PowerToys then reinstalled PowerToys via the Github releases download and it is working for me. |
Great! .66 has the runtimes self-contained so we hoped this would have magically "solved" itself :) @jaimecbernardo we should be able to close this out, correct? |
I'm not really sure that it "magically" solved itself as I had to remove my previously installed versions of the runtimes. This could be problematic for folks who need those installed for other reasons. I'm still not sure that I didn't need them for some other piece of software on my host. |
@jheiselman the new version should have zero dependencies on prior installed runtimes |
@crutkas That may be, but there was still a conflict with prior installed runtimes in my case. It would not work for me until I uninstalled the other instances and then re-installed the PowerToys package itself. |
Uninststalling prior .Net runtimes is not an option for me either. I have a few other apps that require those & those are way more important than getting into the PowerToys settings(my Fancy Zones still work & I don't use anything else). I'd rather leave it be & let you guys fix the problem with a newer version. |
Nothing GUI-related works for me since v.0.60. FancyZones snapping does though.
There are entries for a bunch of different PowerToys application modules. None of the abovementioned software is installed. |
@jstaro how do you install the app? Via scoop? |
Sorry, yes, that's correct.
|
My bad, I was using |
The latest conversations seem to have been related to non - official install methods, so I think this issue can be closed as completed. |
Microsoft PowerToys version
0.59
Running as admin
Area(s) with issue?
Settings
Steps to reproduce
This issue is a continuation of #18015 , since some of the issues there are already solved, to clean up a bit and update the version.
Settings still won't start and needs to be added as an exception to software like H24, MSI Afterburner, RivaTuner Statistics Server or HW64 if you're using it.
In case this doesn't help, it's useful if you can send a dump report through these instructions:
One way of achieving this would be by creating an entry in the Registry Editor (
regedit.msc
), forComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerToys.Settings.exe
, according to the instructions in https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumpsIt should look something like this in the end:

After that, please replicate the bug, navigate to
$LOCALAPPDATA%\CrashDumps
in the File Explorer and upload the zippedPowerToys.Settings.exe.*.dmp
file to a GitHub comment.The idea is that this could show us the stack trace and help pinpoint what the issue might be.
✔️ Expected Behavior
Settings app opens after clicking settings button in tray.
❌ Actual Behavior
Nothing happens when clicking settings button in tray.
Other Software
H24, MSI Afterburner, RivaTuner Statistics Server, HW64
The text was updated successfully, but these errors were encountered: