[0;36mDebug: Could not retrieve raw SID bytes from 'Administrator': Failed to convert string SID: Administrator: The security ID structure is invalid. [0m [0;36mDebug: Failed to call LookupAccountNameW with account: Administrator: No mapping between account names and security IDs was done. [0m [0;36mDebug: Could not retrieve raw SID bytes from 'EC2AMAZ-NAUKKA2\Administrator': Failed to convert string SID: EC2AMAZ-NAUKKA2\Administrator: The security ID structure is invalid. [0m [0;36mDebug: Failed to call LookupAccountNameW with account: EC2AMAZ-NAUKKA2\Administrator: No mapping between account names and security IDs was done. [0m [1;31mError: Failed to apply catalog: undefined method `bytesize' for nil:NilClassC:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/api_types.rb:125:in `from_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/api_types.rb:26:in `from_string_to_wide_string'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/sid.rb:184:in `string_to_sid_ptr'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/security.rb:431:in `add_access_allowed_ace'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/security.rb:659:in `block (7 levels) in set_security_descriptor'C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/windows/access_control_list.rb:28:in `block in each'
Please check and let me know if we have any workaround to recommend to customer.