Chef-client on Windows server


#1

Hi all,

We’ve just started implementing Chef in our environment - we are mostly running Windows servers (2016).
We noticed that after we added the Chef-client receipt from the supermarket it disabled the service and added a scheduled task - why would Chef force people to do that?
Is that the recommended way?
Thanks!


#2

This is the default for the chef-client recipe and is recommended for WIndows users. You are more then welcome to run it as a service but running as a Scheduled Task on Windows gives users the most functionality and has proven use to works around certain Windows restrictions.

Looks like we’ve got a HelpDesk article denoting some specifics around this recommendation as well: https://getchef.zendesk.com/hc/en-us/articles/205233360-Should-I-run-chef-client-on-Windows-as-a-service-or-a-scheduled-task-