Windows Service when in non-default install path
Brought to you by:
mavey
When the installer creates the windows service, it doesn't modify the service parameters list so that cntlm can find its config file.
For the key: My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cntlm\Parameters
The string AppArgs should be "-f -c /cygdrive/c/Programs/cntlm/cntlm.ini" rather than just "-f" when cntlm is installed in "c:\Programs"
If anyone else is having issues with this, I used the attached batch script to fix the service setup.
Just edit the "set CNTLM_INSTALL_DIR" on line 3 to be your install path