landrush icon indicating copy to clipboard operation
landrush copied to clipboard

Windows10 - how to prevent UAC on ruby.exe?

Open bish0polis opened this issue 5 years ago • 4 comments

Windows User Account Control throws a pop-up and blocks Landrush until the operator can get to a machine and authorize it. How do we prevent the pop-up (which, in the middle of typing or in the next room, still amazingly infuriating) and just let landrush do its thing?

bish0polis avatar Jul 01 '19 00:07 bish0polis

As far as I know, it is impossible to by-pass UAC.

If you can make landrush run without elevated privileges, UAC won't be triggered. But since some registry changes are needed to get this working, I don't see how we could keep it from escalating.

One possible solution would be to add some kind of flag (config.landrush.non_uac = true) and warn the user to manually setup the DNS entries after vagrant up is done, but I don't like this approach.

What do you think?

davividal avatar Jul 01 '19 07:07 davividal

Is acrylic DNS still a thing? Can we leverage that like dnsmasq, and would that change the behaviour?

bish0polis avatar Jul 02 '19 06:07 bish0polis

Never heard of that.

Do you have some links? Can you provide a patch?

davividal avatar Jul 02 '19 07:07 davividal

I found something recent here: http://mayakron.altervista.org/wikibase/show.php?id=AcrylicHome

bish0polis avatar Aug 13 '19 14:08 bish0polis