Adding a pointer to the docs for the registry_key resource, that would be the right thing to do from a Chef standpoint unless there are thousands of entries that need adding via that .reg file - in which case you could change your command to the following: