New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows_service action :start resets credentials on service #8080

gdoddsy opened this Issue Dec 27, 2018 · 0 comments


None yet
2 participants
Copy link

gdoddsy commented Dec 27, 2018


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")}

Chef Version


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.

@vijaymmali1990 vijaymmali1990 referenced a pull request that will close this issue Jan 8, 2019


Fix for windows service action start resets credentials on service #8103

2 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment