How do you force SLREGWRITEVAL to write to 64bit registry?
You would think that it would be as easy as using the KIX SETOPTION "WOW64ALTERNATEREGVIEW" command. However, it appears that the Desktop Authority API function SLREGWRITEVAL ignores it and continues to write to the 32bit registry. I haven't checked any of the other DA API registry functions.
With $RC = SETOPTION("WOW64ALTERNATEREGVIEW","ON") or $RC = SETOPTION("WOW64ALTERNATEREGVIEW","OFF")
The script command : $rc=slregwriteval("HKLM\Software\Scriptlogic\LocalMachine", "ComputerType", "Desktop", "REG_SZ")
Returns the following in the slTrace : sub> slRegEdit: Action=[WriteValue] Key=[HKLM\Software\Scriptlogic\LocalMachine] Value=[ComputerType] Data=[Desktop] Type=[REG_SZ] Force32=
Looks like there should be a 5th parameter passed to the function that would change "Force32=0". Maybe some undocumented variable? $slRegForce32=0?
I hadn't run into this before since all my scripts using the functions are reading and writing to the 32bit area of HKLM. (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node).
Any input would be appreciated. Yes, I've opened a support request with Dell and I'll let you know when I hear from them.