criteo-cookbooks / winrm-config

Windows Remoting Server
Apache License 2.0
5 stars 2 forks source link

Service recipe completely break WinRM service on Chef 14 after converge #14

Closed jugatsu closed 5 years ago

jugatsu commented 5 years ago

By default windows_service uses LocalSystem as a default user. So when service is restarting by default in starts with LocalSystem user as a result breaks WinRM service because this service is using NT AUTHORITY\NetworkService account.

https://github.com/criteo-cookbooks/winrm-config/blob/master/recipes/service.rb#L47 https://github.com/criteo-cookbooks/winrm-config/blob/master/recipes/windows_service.rb#L23

jugatsu commented 5 years ago

2018-10-10 22 55 28