Assuming all other issues are gone, and its simply...
# windows
g
Assuming all other issues are gone, and its simply a matter of getting the service to install correctly an example should be provided with the correct escape charaters as such : With the correct escaping of it should look like this sc.exe create "osquery_b" type= own start= auto error= normal binpath= "\"C:\Program Files\osquery\osqueryd\osqueryd.exe\" --flagfile=\"C:\Program Files\osquery\osquery.flags\"" obj= LocalSystem displayname= "osquery_b"