Closed lnsane closed 7 months ago
Everything is correct. The service is registered and running under the system user SYSTEM.
I'm not sure, but maybe it will work
options := make(service.KeyValue)
options["Password"] = "Pa$$WoRd"
svcConfig := &service.Config{
...
UserName: "admin",
Option: options,
}
user get user home C:\Users\admin
service get user home C:\WINDOWS\system32\config\systemprofile
why?