Closed gdoddsy closed 5 years ago
When we run the following in a recipe it resets the credentials on the service to Local System
windows_service 'myServiceName' do action :start only_if { ::Win32::Service.exists?("myServiceName")} end
14.7.17
Windows 2016
Whenever we use windows_service with action :start it replaces the credentials the service runs as with Local System.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
When we run the following in a recipe it resets the credentials on the service to Local System
Chef Version
14.7.17
Platform Version
Windows 2016
Replication Case
Whenever we use windows_service with action :start it replaces the credentials the service runs as with Local System.