R
R
Roman Rakzin2016-06-04 21:19:27
go
Roman Rakzin, 2016-06-04 21:19:27

How to enable/disable a specific windows service in golang?

How to enable/disable a specific windows service in golang?
Do you need administrator rights here if you register from a regular program (not another service)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Grabko, 2016-06-04
@VGrabko

You can use C code in Go. So google

Q
qweqwa, 2016-06-07
@qweqwa

Stop the service manually without administrator rights. Does not work? Pick "Windows Group Policies" to add rights. Go has nothing to do with it.
How to create/delete/run/install a program written in Go - see here
https://github.com/kardianos/service/blob/master/s...
The program manages itself as a service, but there is no difference.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question