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

Everything started is now as an Administrator #165

Closed
XeonG opened this issue May 26, 2024 · 13 comments
Closed

Everything started is now as an Administrator #165

XeonG opened this issue May 26, 2024 · 13 comments

Comments

@XeonG
Copy link

XeonG commented May 26, 2024

How can I disable this, there are certain programs that don't work well like Unity when run as Administrator and it seems since running this tool apps like Unity are being started in Administrator mode. Last thing run was this tool and its changed some settings that need reverting or an option of disabling

@AndnixSH
Copy link

Change your UAC settings back to "Notify me only when programs try to make changes to my computer (default)"

Tutorial: https://www.elevenforum.com/t/change-user-account-control-uac-settings-in-windows-11.1523/

@XeonG
Copy link
Author

XeonG commented May 27, 2024

I made the change to that setting but it has made no difference, previously my setting for UAC was the very lowest and I never had this issue of everything starting up in Admininstrator mode before this DefenderRemover.exe from this repo ...so it is something else this tool has changed that has messed things up somewhere... any other ideas?

there was a windows update that got ran at the restart of this tool being run aswel.... but I doubt mmsuck would do an update to cause apps to start in admin mode, so I'm thinking its this tool that changed a setting?

@AndnixSH
Copy link

that's weird. For me, reverting UAC back to default makes a difference. I only tried it on Win11 ARM running in VM on my Mac mini

@ionuttbara
Copy link
Owner

put these in a command prompt and UAC will work again.
forgot to make separately. sorry. 😊
the option for you is 'A' not 'Y'

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 3 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 3 /f

@CyberLykan
Copy link

CyberLykan commented May 29, 2024

put these in a command prompt and UAC will work again. forgot to make separately. sorry. 😊 the option for you is 'A' not 'Y'

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 3 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 3 /f

I made those changes but everything still wants to run in administrator mode.

I also tried reverting the changes made by windows-defender-remover/Remove_SecurityComp/DisableLSAProtection.reg with values from a fresh Windows install (and removing the added keys if they are not present in the fresh Windows install), but that did not fix the issue either.

I'm also using Unity like OP.

EDIT: I looked at the wrong file. The correct file is windows-defender-remover/Remove_SecurityComp/DisableUAC.reg

@XeonG
Copy link
Author

XeonG commented May 29, 2024

yeah none of those reg changes made any difference still getting things start in admininstrator

@XeonG
Copy link
Author

XeonG commented May 29, 2024

put these in a command prompt and UAC will work again. forgot to make separately. sorry. 😊 the option for you is 'A' not 'Y'

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 3 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 3 /f

I made those changes but everything still wants to run in administrator mode.

I also tried reverting the changes made by windows-defender-remover/Remove_SecurityComp/DisableLSAProtection.reg with values from a fresh Windows install (and removing the added keys if they are not present in the fresh Windows install), but that did not fix the issue either.

I'm also using Unity like OP.

damn same issues .. yeah hope get a solution to this its a bit annoying and I don't feel like doing a full system wipe right now to fix it.

@CyberLykan
Copy link

put these in a command prompt and UAC will work again. forgot to make separately. sorry. 😊 the option for you is 'A' not 'Y'

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 3 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 3 /f

I made those changes but everything still wants to run in administrator mode.
I also tried reverting the changes made by windows-defender-remover/Remove_SecurityComp/DisableLSAProtection.reg with values from a fresh Windows install (and removing the added keys if they are not present in the fresh Windows install), but that did not fix the issue either.
I'm also using Unity like OP.

damn same issues .. yeah hope get a solution to this its a bit annoying and I don't feel like doing a full system wipe right now to fix it.

My apologies, I looked at the wrong file. It should be windows-defender-remover/Remove_SecurityComp/DisableUAC.reg
I got confused thinking LSA was a typo for LUA.
Changing the values mentioned in that file back to the defaults seems to have fixed the issue.

@XeonG
Copy link
Author

XeonG commented May 30, 2024

what are the defaults?

@ionuttbara
Copy link
Owner

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 3 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 3 /f

these.

@XeonG
Copy link
Author

XeonG commented May 30, 2024

Does it require a restart as I still got the issue after running that.. .also despite running the tool I still have this microshit running

Taskmgr_5PRnNPgVQN

@xuestrange
Copy link

same issue, but solved by #120 and #165 (comment)

@XeonG hope to help u.

@Big-Daddio
Copy link

had the same problem here...

In conjunction with a couple of restarts and also adjusting the UAC slider back to normal, this post with the registry entries seems to have sorted it. The reg entries alone did not work for me...
https://github.com/ionuttbara/windows-defender-remover/issues/165#issuecomment-2133935272

I must say though, this is a heck of a security risk to introduce without anyone being forewarned. Some folks (admittedly not likely those using a script like this) may not appreciate the security aspect and think nothing of it...

Assuming this is a bug happening for everyone, it should probably be fixed pronto, or at least the remediation provided above should be integrated into the package...

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

6 participants