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

UAC handle side effect when create new process #46

Closed
anhphan opened this issue Oct 13, 2017 · 4 comments
Closed

UAC handle side effect when create new process #46

anhphan opened this issue Oct 13, 2017 · 4 comments

Comments

@anhphan
Copy link

anhphan commented Oct 13, 2017

When xmr-stak prompt UAC dialog to ask you, if you select yes, new process will be created and it will ignore all command line parameter.

Beside that, UAC handle is very annoying with who having correct setting about large page (you can even use large page when answer no), it's should have a switch or config option to enable or disable it. If it cannot turn on/off by switch/option please leave it as xmr-stak-cpu

@fireice-uk
Copy link
Owner

(you can even use large page when answer no)

Are you sure about that part? If yes please post the system and policy rights for the account

@anhphan
Copy link
Author

anhphan commented Oct 13, 2017

I running windows 10 x64 with the account belong Administrators group (not the Administrator) and that account linked to Microsoft account.

The local policy (edit in gpedit.msc): Local Computer Policy/Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assignment/Lock pages in memory content my account and Administrator account.

As I remember after change local policy, I must restart computer, the command gpupdate -Force is not help.

@fireice-uk
Copy link
Owner

Ok, this might be a change from Windows 7 where I do my testing then. I want to do UAC support to make the miner easier to use, but you are correct about the parameter problem.

I think the only way is to have the windows build to include UAC manifest (you will need to click yes to start the program), with an optional flag to build without it.

@anhphan
Copy link
Author

anhphan commented Oct 13, 2017

Ok, build option is also good choice.

I don't have windows 7 anymore, then not sure about it. But I remember windows 7 have 4 level of UAC. Do you testing xmr-stak-cpu (which not having uac manifest) with level: Only notify me when programs try to make changes to my computer.

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

2 participants