Enable logon-as-service in windows_service (CHEF-4921).

you could use the shell_out mixins (Chef::Mixin::ShellOut) and save a couple lines here. There's a note in there about the difference between shell_out and shell_out!

```
output = shell_out(cmd).stdout
```