|
|
|||||||
We just switched from kix32 ver. 4.53 to ver. 4.63 for Win7 support. The sidtoname() function seems broken for resolving sid's for domain users and local users. (returns error 1332 (ERROR_NONE_MAPPED): "No mapping between account names and security IDs was done.") It now seems to work only for well-known sid's (groups and users). In kix versions 4.51 and 4.53 this function worked perfectly. Included a test script: tstsid.kix Strange that no one already notified this? |
||||||||
|
|
|||||||
Add this to your code... Code: $RC=setoption("WOW64AlternateRegView","On") Most likely you are using Win 7 64bit. Kix32 is a 32bit exe and without turning on the option, will only see the 32bit portion of the registry. |
||||||||
|
|
|||||||
Did that work for you? Didn't change the result when I tried that. G- |
||||||||
|
|
|||||||
I didn't try it. Just eyeballed it. Hmmm... |
||||||||
|
|
|||||||
Glenn is correct, "WOW64AlternateRegView" did not help. I tested this on Win 8 x64 with the same results... works with 4.53, but fails with 4.63. |
||||||||
|
|
|||||||
Wow, another amazing catch, great work! Turns out, this is another side-effect of changes in the new runtime libraries in VS2012. I've just debugged this and have added a fix for it in 4.64. Thanks for the report! Ruud |