-
Notifications
You must be signed in to change notification settings - Fork 143
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
Can't activate sudo in settings #25
Comments
Update : https://twitter.com/joadoumie/status/1755682864555823394 Jordi had me command line activate it with sudo config --enable forceNewWindow and it is now working Still seem to be an issue with the original toggle in settings though, i have two more computer to upgrade to the same build, i will see if i hit the same issue. ![]() |
Another update, i upgraded my two other machines (samsung galaxybook3 pro 360 on dev & dell inspirion 14 2021 on canary) to the build and i'm hitting the same issue. The toggle in setting is not working : I'm pretty sure sudo config --enable forceNewWindow in an elevated terminal would fix those as well (@joadoumie gave me the command on twitter) as it worked on machine 1 (custom build desktop on canary) but i'm not doing it for now in case you want me to do some troubleshooting / log gathering into why exactly the toggle is not working. |
Okay, I've got an idea. Can you go enable logging process creation events, as this page describes: https://logrhythm.com/blog/how-to-enable-process-creation-events-to-track-malware-and-threat-actor-activity/? And also make sure to log the command-line params. Then, when you turn on the setting in the settings app, you should get one that's like If you don't see anything like that, well, that'd be important to know too. (i'll reach out in the meantime, see if there's other settings app traces I can have you gather) |
Apologies about the delay, i was on a work trip all week. Just did it, i'm seeing consent.exe A new process has been created. Creator Subject: Target Subject: Process Information: Then the second one : A new process has been created. Creator Subject: Target Subject: Process Information: Then a third one : A new process has been created. Creator Subject: Target Subject: Process Information: THen a 4th one : A new process has been created. Creator Subject: Target Subject: Process Information: Then a 5th one A new process has been created. Creator Subject: Target Subject: Process Information: Then a 7th one : A new process has been created. Creator Subject: Target Subject: Process Information: And finally an 8th one (i think that one is unrelated and just happened at the same time). A new process has been created. Creator Subject: Target Subject: Process Information: In the end, sudo wasnt activated. WerFault means an error was logged somewhere maybe ? |
Got it : Faulting application name: SystemSettingsAdminFlows.exe, version: 10.0.26058.1000, time stamp: 0xe94af5ec so 0xc0000005 As it's happening on 3 devices, i guess we can rule out faulty hardware. Could it be a permission issue? |
omg I found it |
That was funny seeing a "omg I found it" notification in my mail box :D . So i guess you don't need me to log anything more ? Just for curiosity, why does this only affect me and my machines? Do i have some rare software configuration somewhere on my machines affecting me ? |
That is a great question. The faulting line looks like it's from some vestigial code that's now trying to construct a On the bright side, since it's vestigial, I think I can just remove the entire thing 😄 |
The behavior is undefined if the input is a null pointer. https://en.cppreference.com/w/cpp/string/basic_string/basic_string |
I'm going on a slight tangent here but the reason i asked for details is that i have been having a very similar issue on the same 3 machines for over a year with the toggle to activate defender button. It does nothing and reverts. I had filled feedback on FB hub a long time ago but never heard anything back / found a solution and eventually just used a third party AV since Defender can't be activated on my machines. I'm now wondering if it could be the same issue / related. Back then, i tried to understand it via a lot of trial and error myself in virtual machines and it "looked to me" like it happened if you created a local account and then connected a MSA afterward which i always do to have a better username folder in C:\users\ but well, without having access to your internal stuff, i could never really confirm the inch and the behaviour wasn't always consistant. I could be totally off there but mentionning that just in case it's related. |
I can try and take a spin through the OS code, see if I see something similar. Which button in particular is that? |
Closing issue with 'Resolution-Fix-Committed' |
For my own record, this was fixed in MSFT:48806021 (and fixed EVEN MORE fixed in MSFT:49122115) I did not get a chance to loop around on that button in the security app yet, sorry |
Clicking the button in setting does nothing and it reverts a few seconds later.
See video of issue at https://t.co/wKHQ9o7Mm6
Also nothing seems to be in registry.
Thank you all !
The text was updated successfully, but these errors were encountered: