13xforever / ps3-disc-dumper

A handy utility to make decrypted PS3 disc dumps
MIT License
434 stars 29 forks source link

Run as admin false-positive on win11 for 3.3.4 #30

Closed AstroDot closed 1 year ago

AstroDot commented 1 year ago

Hello,

Last build 3.3.4 is triggering run as Administrative check even when lunched normally.

13xforever commented 1 year ago

Without logs I presume you have uac disabled and it works as expected

AstroDot commented 1 year ago

No logs, program not started.

UAC most likely disabled, yes.

I still have option 'Run as Administrative'. Or you assume that if there is no UAC than everything is done from Administrative?

13xforever commented 1 year ago

I check for elevated context token, with UAC disabled it literally doesn't matter if you select run as administrator or not, if your user is in Administrators user group, it always runs apps with full privileges.

AstroDot commented 1 year ago

Still the last change makes last version un-sable in this situation. Is it possible to change the criticality of this message from exiting application to warning?

13xforever commented 1 year ago

Yes. It is done on purpose. Specifically, to prevent running it as administrator. Yes, it is possible to still run it, but I'm not helping with it, you'll have to understand the implications, and for that you'll have to understand how the code works, and as a result you'll be able to run it.

AstroDot commented 1 year ago

Thanks for explanation! I have enabled basic level of UAC following this guide and 3.3.4 is working. Hope it helps someone.