Jump to content

jdrom

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by jdrom

  1. I just came across this script (it's great!) but I'm having the same issue as above. I take it you never managed to figure this one out? I got all excited when I found the WlanSetProfileEapXmlUserData function on MSDN, got turned away that it was only C++ as the example, then found this and got excited again, only to be let down Has anyone figured out how to get credentials to save to HKLM instead of HKCU? I tried simply copying the registry key over but that didn't work.
  2. Thanks guy (or girls) I used Ascendants way though, easier for me to understand and works perfectly. Though I ditched the variable and just put my hex string in directly (without commas of course). It's the 2nd line in my script anyways so I don't see the need for a variable.
  3. Sadly I don't even know enough about AutoIt to understand that code you guys posted... I'm guessing your converting hex into binary? And 0x needs to be added in front of the hex value? I'd like to understand it though since obviously converting hex into ASCII and using that is far from ideal. Would this be how I'd implement it? RegWrite("HKEY_LOCAL_MACHINESOFTWARERaxcoPerfectDisk10.0", "License", "REG_BINARY", Binary ('0x'&'123ABC'))
  4. Awesome, thanks I used this: http://www.paulschou.com/tools/xlate/ and converted the hex to ASCII then used that StringToBinary function. Seems to do the job.
  5. Well I figured out the DWORD one, converted the hex to decimal and that worked out fine. Still no idea how to do the REG_BINARY that uses hex (or so I'm assuming).
  6. Not sure how to go about this, and well I can't seem to find anything about how to do it either. I have a REG_BINARY key which is in hexadecimal. When exported from regedit, it looks like this: "License"=hex:xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx Now in AutoIt I've tried doing: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Raxco\PerfectDisk\10.0", "License", "REG_BINARY", "xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx") I've tried spaces (instead of commas) and removing the commas as well. Also have some DWORD keys as well, and exported from regedit they look like so: "Wizard"=dword:0000000f And the AutoIt code I've tried: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Raxco\PerfectDisk\10.0", "Wizard", "REG_DWORD", "00 00 00 0f") Also tried without spaces too. Hopefully somebody on here has successfully used these functions before and can help me
×
×
  • Create New...