StackExchange / wmi

WMI for Go
http://godoc.org/github.com/StackExchange/wmi
MIT License
433 stars 173 forks source link

Getting "Not supported" as the error code when querying for data running as a windows service #44

Open srclosson opened 6 years ago

srclosson commented 6 years ago

Hi There,

Well, I am stumped. When I run the software from the command line, everything works properly. When I run the software as a windows service, I'll get the following line

2018-08-27T14:37:26Z I! ERROR [wmi.query]: Exception occurred. (Not supported )

I've tried running the service as both Administrator, as well as Local System. Both have the same results. I've changed the permissions for WMI to be open to everything. Still, no dice.

Ideas?