When I try to start CNTLM, it fails. If I check in my Windows Event Log I see the message:

starting service 'cntlm' failed: fork 11, Resource temporarily unavailable

It worked before I updated to the latest Windows 10 (from 1511 to 1607). How can I solve this issue? (I already reinstalled CNTLM).


Solution 1:

This worked for me on Win 10 1607:

Open regedit.exe and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cntlm\Parameters.

Then change the AppArgs key to -f -c "C:\Program Files (x86)\Cntlm\cntlm.ini"

Solution 2:

Latest cntlm-0.92.3-setup.exe installed the service but it couldn't start. I tried every combination of params under different users by failed to make the bundled cygrunsrv.exe to successfully start cntlm.exe as windows service under W2k3 x64.

While it run fine without service:

cntlm.exe -T "C:\Program Files (x86)\Cntlm\debug.txt" -v -f -s -c "C:\Program Files (x86)\Cntlm\cntlm.ini"

Had to work this around by switching to srvany. It's just needed to copy srvany.exe from Windows Server 2003 Resourse Kit and run the following commands to repair the existing cntlm service:

reg ADD HKLM\SYSTEM\CurrentControlSet\Services\cntlm /v ImagePath /t REG_EXPAND_SZ /d "C:\Program Files (x86)\Cntlm\srvany.exe" /f
reg ADD HKLM\SYSTEM\CurrentControlSet\Services\cntlm\Parameters /v Application /d "C:\Program Files (x86)\Cntlm\cntlm.exe" /f
reg ADD HKLM\SYSTEM\CurrentControlSet\Services\cntlm\Parameters /v AppDirectory /d "C:\Program Files (x86)\Cntlm" /f
reg ADD HKLM\SYSTEM\CurrentControlSet\Services\cntlm\Parameters /v AppParameters /d "-T \"C:\Program Files (x86)\Cntlm\debug.txt\" -v -f -c \"C:\Program Files (x86)\Cntlm\cntlm.ini\"" /f