You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
Does anyone have an example of using win_regedit to set binary data?
I have a hex encoded string from a reg export but so far not found a way to convert it to whatever powershell needs.
Many thanks,
Jon
J Hawkesworth
unread,
Feb 25, 2016, 9:47:38 AM2/25/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
To follow up, it appears you need to convert the incoming data to a byte array. I have some prototype code that can do this and will tidy up the code and create a pull request to add this when I get the chance. If anyone else hits this before the PR is available let me know and I'll send you a modified version of win_regedit.
All the best,
Jon
J Hawkesworth
unread,
Apr 15, 2016, 3:43:14 AM4/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
It's been a while, but as promised, pull request to fix working with binary registry data here: