Closed cpressland closed 8 years ago
Thanks for reporting this.
In older versions of the windows cookbook, the cwd was broken
https://github.com/chef-cookbooks/windows/pull/311
Because they fixed that bug, and chef 12.6 moved to c:\opscode it looks like this is causing a problem. Strange that I haven't seen it on my systems.
Fixed in v4.2.0
When testing with Chef 12.6.0 the scheduled task fails to run because it's set to run in C:\chef\bin, when removing the "Start in (optional)" parameter from the scheduled task and rebooting the server everything runs as expected.
If I look in domain_join.rb I can see this after line 36:
Removing line 41 (cwd 'C:\chef\bin') should solve this, no? On my system the bin folder seems to be in "C:\opscode\chef\bin\"