Noxwizard / dnscrypt-winclient

Windows client for managing the DNSCrypt Proxy
MIT License
402 stars 81 forks source link

WinClient cannot install the service on Windows 10 build 10240 #27

Closed KrasnayaPloshchad closed 8 years ago

KrasnayaPloshchad commented 8 years ago

When I open the client directly and click the Install button, I got the following massage: Error massage _Translation: Accessing to “HKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Services\dnscrypt-proxy\Parameters” is refused. When I open the client via right ckick and choose “Run as administrator”, it massages some DLLs and CSV missing (as in #26).

KrasnayaPloshchad commented 8 years ago

This problem appeared to me for a long time before I updated to build 10240, and I have to run it as administrator. But after I updated to build 10240, it crashed mamy times even if run as administrator.

Noxwizard commented 8 years ago

The client must be run as an administrator on Windows 10 as Microsoft has increased the level of access required to make changes to the NIC settings and registry in Windows 10.

As for your other problems, I have finally been able to reproduce the. You seem to have placed the application in C:\Windows\System32\ or are using a shortcut with a "Start in" setting of C:\Windows\System32. Neither of those are supported by the .Net framework. You should be running the application from a normal location (Desktop, Program Files, etc...).

KrasnayaPloshchad commented 8 years ago

You seem to have placed the application in C:\Windows\System32\ or are using a shortcut with a "Start in" setting of C:\Windows\System32.

No. I placed it in D:\ drive all the time.

KrasnayaPloshchad commented 8 years ago

OK, after 4376bd6, it works for me when I run as an administrator, but I think the Install button should be fully works with UAC before it can install or uninstall the service.

KrasnayaPloshchad commented 8 years ago

Is it possible to let the client require UAC when double click it?