Chef 13.10.4 CreateProcessAsUserW (User 'Administrator' must hold the 'Replace a process level token'


#1

Hi,

I am trying to run a python script within a recipe, which basically does some SQL related tasks. I am using chef-client 13.10.4, but it fails with the error
"CreateProcessAsUserW (User 'Administrator' must hold the 'Replace a process level token'"

However, it works perfectly well with chef-client 12.X.

Is there something that changed?

Regards,

A


#2

This happens during the chef provision with Vagrant, however, it is working if I run chef-client on the box