vagrant-landrush / landrush

A Vagrant plugin that provides a simple DNS server for Vagrant guests
MIT License
668 stars 80 forks source link

Windows10 - how to prevent UAC on ruby.exe? #351

Open bish0polis opened 5 years ago

bish0polis commented 5 years ago

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?

davividal commented 5 years ago

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?

bish0polis commented 5 years ago

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

davividal commented 5 years ago

Never heard of that.

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

bish0polis commented 4 years ago

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