Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows running as service: credentials #16

Open
arykov opened this issue Aug 3, 2021 · 2 comments
Open

Windows running as service: credentials #16

arykov opened this issue Aug 3, 2021 · 2 comments

Comments

@arykov
Copy link

arykov commented Aug 3, 2021

gontlm-proxy appears to have an ability to run as a service. Did give it a shot and don't seem to be able to use it this way(while starting it in a user's "session" works well). Didn't dig but is it related to the service unable to pull credentials when running as a service? And if it is the case does it even make sense to offer such an option?

@arykov
Copy link
Author

arykov commented Oct 7, 2021

It indeed is inability to pull credentials problem. Configuring service to "run as a user"...the right user solves the problem. Can be done manually as a workaround. Obviously password will have to change in the service every time it is changed for the user.
Might be worth while to change install function to be updated accordingly

@Eli-Black-Work
Copy link

Here's a PowerShell script that will install gontlm as a Windows service, running as the current user:

New-Service -Name "Go NTLM Proxy" -BinaryPathName 'C:\Program Files\gontlm-proxy.exe' -StartupType Automatic -Credential $(Get-Credential)

You'll then need to start the service:

Start-Service "Go NTLM Proxy"

The next time your start your computer, the gontlm service should automatically start 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants