# Error while updating registry

**URL:** https://discourse.chef.io/t/error-while-updating-registry/11132
**Category:** Chef Infra (archive)
**Created:** [July 6, 2017, 5:52am UTC](https://discourse.chef.io/t/error-while-updating-registry/11132 "2017-07-06T05:52:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![amb](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@amb](https://discourse.chef.io/u/amb)
#### Post date: [July 6, 2017, 5:52am UTC](https://discourse.chef.io/t/error-while-updating-registry/11132/1 "2017-07-06T05:52:36Z")

</div>

## I’m getting below error when running registry\_key resource on windows 2k8r2 chef-client version - 12.21.1 Encoding::InvalidByteSequenceError

incomplete “\x00” on UTF-16LE
