OpenDNS Forums
The official support and discussion site of OpenDNS
Support
K-12 Forums
Categories
- Administrative
- Adult site blocking
- DNS-O-Matic / dynamic IPs
- Domain blocking
- Domain Name System (DNS) troubles
- Mobile instructions
- OpenDNS services
- Proxies, accelerators, and more
- Router instructions
- Satellite
- Shortcuts
- Wishlists and feature requests
-
Feeds
Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
This discussion has been inactive for longer than 30 days, and is thus closed.
Wishlists and feature requests: DNS Crypt to run as Service. No UAC prompt on boot for Win 7/Vista
Bottom of Page1 to 11 of 11
-
- CommentAuthoroutspoken2
- CommentTimeJun 18th 2012
Love DNS Crypt (Windows).
Problem is that the UAC Prompt on boot is a little annoying.
If it runs as a service, then that will go away. -
No problem. Create a service with srvany.exe starting dnscrypt-proxy.exe.
Alternatively, start dnscrypt-proxy.exe as scheduled task at system startup running under e.g. "NT Authority\System".Thankful People: jedisct1, outspoken2 -
AdministratorOther tools like MakeService and ServiceEx also seems to do the job, see: http://bitsum.com/forum/index.php?topic=1334.0Thankful People: outspoken2
-
- CommentAuthoroutspoken2
- CommentTimeJun 24th 2012 edited
This is how I did it, following @rotblitz
1) Remove DNSCrypt shortcut from "Startup" folder in Start menu
2) Control Panel -> Admin Tools -> Task Scheduler
3) I created TWO new tasks (one for proxy, one for UI (optional)
Proxy Task:
a) Create Task
b) Name: DNSCrypt-Proxy
c) Change User or Group-> "System" ->Check Names->OK
d) Triggers->At system Startup
e) Actions->"start a program"->
"C:\Program Files (x86)\OpenDNS\DNSCrypt\dnscrypt-proxy.exe"
Arguments: -d
f) Conditions (Imp, defaults are not right)->
Uncheck Everything
g) Settings->
Uncheck "Stop task if it runs longer than"
Check "Run task as soon as possible after scheduled start is missed"
UI Task (Optional):
Similar to above, only the changes should be
Name: DNSCrypt-UI
User: Take the default, which should be currently logged in user.
IMP: "Run with Highest Privilages" (I feel squirmish when setting this).
Trigger: At log on
Specific User (This user)
Uncheck any option that says "Stop if it runs longer than"
Actions: Start a program -> "C:\Program Files (x86)\OpenDNS\DNSCrypt\OpenDNSInterface.exe"
----------------
To TEST the setup:
Reboot PC after above.
open cmd (command prompt)
nslookup -type=txt debug.opendns.com
Output should contain:
debug.opendns.com text =
"dnscrypt enabled (<some number here>)"
----------------
Thanks to the users above for their suggestions, leading to above.
I wish OpenDNS has a "Wiki" where such steps could be added with screenshots, mush easier. -
Just a question, what would this "Arguments: -d" be good for?
-
Administrator
-
Thanks! Followed your suggestions, but, even though Task Manager showed the UI task to be running, the ICON would not appear in the Notification Area on the Taskbar, until I set the trigger to delay starting the task for 5 seconds! Everything works beautifully now! Don't have to respond to UACC anymore; therefore, no delay getting things going!Thankful People: maintenance
-
In Windows 7 Starter,
1) In Task settings:-
If target is "C:\Program Files\OpenDNS\DNSCrypt\dnscrypt-proxy.exe",
Only dnscrypt-proxy.exe is active.
However if target is "C:\Program Files\OpenDNS\DNSCrypt\OpenDNSCryptService.exe,
Both dnscrypt-proxy.exe & OpenDNSCryptService.exe is active as per original.
2) If change is User or Group > "System", there are occasions where 2 instances of (1) above are running on Network Service & System, in particular if you log off from one user to another.
However if User or Group > "Network Service", only 1 is running as per the original.
Could someone help verify if this condition valid or if this is an isolated case. -
- CommentAuthormaintenance
- CommentTimeJul 17th 2012
1) It rather sounds then like opendnscryptservice.exe calls dnscrypt-proxy.exe, and not the other way around.
2) Sounds like an effect of Fast User Switching being enabled.
You probably want to open a support ticket explaining what you are trying to do and why these things you notice bring some question to mind if you want a direct answer from OpenDNS. -
The whole purpose to take the steps as recommended by outspoken2 & weakham was to:-
1) Avoid the UAC prompt at Admin account.
2) Avoid having to key in the admin password at non admin accounts.
3) Plus have DNSCrypt function as it should b4 the change.
The conditions encountered in the previous post was something encountered when the recommend settings were put in place, just thought to share the info.
Thankful People: maintenance -
Administratordnscrypt 1.0.1 can run as a Windows service.
(not released yet, I need to test and document it first, but the code is in github if you want to give it a spin)Thankful People: rotblitz, zelus, maintenance
1 to 11 of 11
This discussion has been inactive for longer than 30 days, and is thus closed.